es-abstract
Advanced tools
Comparing version 1.18.0 to 1.18.1
'use strict'; | ||
// TODO, semver-major: delete this | ||
var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); | ||
@@ -4,0 +6,0 @@ |
'use strict'; | ||
// TODO, semver-major: delete this | ||
var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); | ||
@@ -4,0 +6,0 @@ |
'use strict'; | ||
// TODO, semver-major: delete this | ||
var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); | ||
@@ -4,0 +6,0 @@ |
@@ -0,1 +1,14 @@ | ||
1.18.1 / 2021-05-25 | ||
================= | ||
* [readme] update and clarify entry points | ||
* [meta] add "exports" field, with escape hatch | ||
* [meta] add `sideEffects` field | ||
* [meta] use `prepublishOnly`, for npm 7+ | ||
* [eslint] clean up eslint rules | ||
* [Deps] update `is-regex`, `is-string`, `object-inspect`, `unbox-primitive` | ||
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` | ||
* [actions] disable fail-fast on matrix jobs | ||
* [actions] use `node/install` action instead of `node/run` | ||
* [actions] update codeql-analysis to new best practices | ||
1.18.0 / 2021-03-03 | ||
@@ -2,0 +15,0 @@ ================= |
{ | ||
"name": "es-abstract", | ||
"version": "1.18.0", | ||
"version": "1.18.1", | ||
"author": { | ||
@@ -22,2 +22,16 @@ "name": "Jordan Harband", | ||
"main": "index.js", | ||
"type": "commonjs", | ||
"exports": { | ||
".": "./index.js", | ||
"./package.json": "./package.json", | ||
"./2020/*": "./2020/*.js", | ||
"./2019/*": "./2019/*.js", | ||
"./2018/*": "./2018/*.js", | ||
"./2017/*": "./2017/*.js", | ||
"./2016/*": "./2016/*.js", | ||
"./2015/*": "./2015/*.js", | ||
"./5/*": "./5/*.js", | ||
"./": "./" | ||
}, | ||
"sideEffects": false, | ||
"scripts": { | ||
@@ -27,3 +41,4 @@ "prespackle": "git ls-files | xargs git check-attr spackled | grep -v 'unspecified$' | cut -d: -f1 | xargs rm || true", | ||
"postspackle": "git ls-files | xargs git check-attr spackled | grep -v 'unspecified$' | cut -d: -f1 | xargs git add", | ||
"prepublish": "safe-publish-latest && (not-in-publish || npm run spackle)", | ||
"prepublish": "not-in-publish || npm run prepublishOnly", | ||
"prepublishOnly": "safe-publish-latest && npm run spackle", | ||
"pretest": "npm run lint", | ||
@@ -61,5 +76,5 @@ "test": "npm run tests-only && npm run test:ses", | ||
"is-negative-zero": "^2.0.1", | ||
"is-regex": "^1.1.2", | ||
"is-string": "^1.0.5", | ||
"object-inspect": "^1.9.0", | ||
"is-regex": "^1.1.3", | ||
"is-string": "^1.0.6", | ||
"object-inspect": "^1.10.3", | ||
"object-keys": "^1.1.1", | ||
@@ -69,8 +84,8 @@ "object.assign": "^4.1.2", | ||
"string.prototype.trimstart": "^1.0.4", | ||
"unbox-primitive": "^1.0.0" | ||
"unbox-primitive": "^1.0.1" | ||
}, | ||
"devDependencies": { | ||
"@ljharb/eslint-config": "^17.5.1", | ||
"@ljharb/eslint-config": "^17.6.0", | ||
"array.prototype.indexof": "^1.0.2", | ||
"aud": "^1.1.4", | ||
"aud": "^1.1.5", | ||
"cheerio": "=1.0.0-rc.3", | ||
@@ -80,3 +95,3 @@ "diff": "^5.0.0", | ||
"es-value-fixtures": "^1.2.1", | ||
"eslint": "^7.21.0", | ||
"eslint": "^7.27.0", | ||
"foreach": "^2.0.5", | ||
@@ -95,3 +110,3 @@ "functions-have-names": "^1.2.2", | ||
"ses": "^0.10.4", | ||
"tape": "^5.2.1" | ||
"tape": "^5.2.2" | ||
}, | ||
@@ -98,0 +113,0 @@ "testling": { |
@@ -11,5 +11,7 @@ # es-abstract <sup>[![Version Badge][npm-version-svg]][package-url]</sup> | ||
ECMAScript spec abstract operations. | ||
When different versions of the spec conflict, the default export will be the latest version of the abstract operation. | ||
All abstract operations will also be available under an `es5`/`es2015`/`es2016`/`es2017`/`es2018`/`es2019` entry point, and exported property, if you require a specific version. | ||
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` 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 | ||
@@ -16,0 +18,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1203304
29701
44
1
Updatedis-regex@^1.1.3
Updatedis-string@^1.0.6
Updatedobject-inspect@^1.10.3
Updatedunbox-primitive@^1.0.1