webhook/node_modules/es-abstract
2022-11-10 20:43:16 +10:00
..
5 update modules 2022-11-10 20:43:16 +10:00
2015 update modules 2022-11-10 20:43:16 +10:00
2016 update modules 2022-11-10 20:43:16 +10:00
2017 update modules 2022-11-10 20:43:16 +10:00
2018 update modules 2022-11-10 20:43:16 +10:00
2019 update modules 2022-11-10 20:43:16 +10:00
2020 update modules 2022-11-10 20:43:16 +10:00
helpers update modules 2022-11-10 20:43:16 +10:00
operations update modules 2022-11-10 20:43:16 +10:00
.editorconfig update modules 2022-11-10 20:43:16 +10:00
.eslintrc update modules 2022-11-10 20:43:16 +10:00
.nycrc update modules 2022-11-10 20:43:16 +10:00
CHANGELOG.md update modules 2022-11-10 20:43:16 +10:00
es5.js add ability to call self-signed or invalid certificate clients 2021-02-26 13:58:33 +10:00
es6.js Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
es7.js Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
es2015.js update modules 2022-11-10 20:43:16 +10:00
es2016.js update modules 2022-11-10 20:43:16 +10:00
es2017.js update modules 2022-11-10 20:43:16 +10:00
es2018.js update modules 2022-11-10 20:43:16 +10:00
es2019.js update modules 2022-11-10 20:43:16 +10:00
es2020.js update modules 2022-11-10 20:43:16 +10:00
GetIntrinsic.js add ability to call self-signed or invalid certificate clients 2021-02-26 13:58:33 +10:00
index.js update modules 2022-11-10 20:43:16 +10:00
LICENSE update modules 2022-11-10 20:43:16 +10:00
package.json update modules 2022-11-10 20:43:16 +10:00
README.md update modules 2022-11-10 20:43:16 +10:00

es-abstract Version Badge

dependency status dev dependency status License Downloads

npm badge

ECMAScript spec abstract operations.

Every operation is available by edition/year and by name - for example, es-abstract/2020/Call gives you the Call operation from ES2020, es-abstract/5/Type gives you the Type operation from ES5.

All abstract operations are also available under an es5/es2015/es2016/es2017/es2018/es2019/es2020/es2021 entry point, and as a property on the main export, but using deep imports is highly encouraged for bundle size and performance reasons. Non-deep entry points will be removed in the next semver-major release.

Example

var ES = require('es-abstract');
var assert = require('assert');

assert(ES.isCallable(function () {}));
assert(!ES.isCallable(/a/g));

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.