储能智慧云小程序
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
dong 488fa3b88d 更换接口日常优化 vor 1 Jahr
..
.github 更换接口日常优化 vor 1 Jahr
test 更换接口日常优化 vor 1 Jahr
.eslintrc 更换接口日常优化 vor 1 Jahr
CHANGELOG.md 更换接口日常优化 vor 1 Jahr
LICENSE 更换接口日常优化 vor 1 Jahr
README.md 更换接口日常优化 vor 1 Jahr
eval.d.ts 更换接口日常优化 vor 1 Jahr
eval.js 更换接口日常优化 vor 1 Jahr
index.d.ts 更换接口日常优化 vor 1 Jahr
index.js 更换接口日常优化 vor 1 Jahr
package.json 更换接口日常优化 vor 1 Jahr
range.d.ts 更换接口日常优化 vor 1 Jahr
range.js 更换接口日常优化 vor 1 Jahr
ref.d.ts 更换接口日常优化 vor 1 Jahr
ref.js 更换接口日常优化 vor 1 Jahr
syntax.d.ts 更换接口日常优化 vor 1 Jahr
syntax.js 更换接口日常优化 vor 1 Jahr
tsconfig.json 更换接口日常优化 vor 1 Jahr
type.d.ts 更换接口日常优化 vor 1 Jahr
type.js 更换接口日常优化 vor 1 Jahr
uri.d.ts 更换接口日常优化 vor 1 Jahr
uri.js 更换接口日常优化 vor 1 Jahr

README.md

es-errors Version Badge

github actions coverage License Downloads

npm badge

A simple cache for a few of the JS Error constructors.

Example

const assert = require('assert');

const Base = require('es-errors');
const Eval = require('es-errors/eval');
const Range = require('es-errors/range');
const Ref = require('es-errors/ref');
const Syntax = require('es-errors/syntax');
const Type = require('es-errors/type');
const URI = require('es-errors/uri');

assert.equal(Base, Error);
assert.equal(Eval, EvalError);
assert.equal(Range, RangeError);
assert.equal(Ref, ReferenceError);
assert.equal(Syntax, SyntaxError);
assert.equal(Type, TypeError);
assert.equal(URI, URIError);

Tests

Simply clone the repo, npm install, and run npm test

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.