array.prototype.at
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -8,2 +8,14 @@ # Changelog | ||
## [v1.1.0](https://github.com/es-shims/Array.prototype.at/compare/v1.0.3...v1.1.0) - 2022-04-11 | ||
### Commits | ||
- [actions] reuse common workflows [`9c1bb77`](https://github.com/es-shims/Array.prototype.at/commit/9c1bb77ab96fa49ecbdc1b165582d7644112bdea) | ||
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`0c09344`](https://github.com/es-shims/Array.prototype.at/commit/0c093448390f366ff1518361378b5c377e6acf45) | ||
- [actions] update codecov uploader [`83aa293`](https://github.com/es-shims/Array.prototype.at/commit/83aa2933353015e7385464d96bcbe92740a07be5) | ||
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`bf6ad69`](https://github.com/es-shims/Array.prototype.at/commit/bf6ad69d08818237b09c4b8079bd06bf0499ff0e) | ||
- [New] `shim`/`auto`: add `at` to `Symbol.unscopables` [`7d9840f`](https://github.com/es-shims/Array.prototype.at/commit/7d9840f124331582a597ec2c57070e29ff739977) | ||
- [Deps] update `es-abstract` [`3ff5bb3`](https://github.com/es-shims/Array.prototype.at/commit/3ff5bb35381015b807be56b8fceee3b439475dbb) | ||
- [Deps] update `es-abstract` [`8dd0858`](https://github.com/es-shims/Array.prototype.at/commit/8dd0858910e7ecb7ed2df7b18340b5e4412fb3f3) | ||
## [v1.0.3](https://github.com/es-shims/Array.prototype.at/compare/v1.0.2...v1.0.3) - 2021-09-30 | ||
@@ -10,0 +22,0 @@ |
{ | ||
"name": "array.prototype.at", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "An ES-spec-compliant (proposed) Array.prototype.at shim/polyfill/replacement that works as far down as ES3", | ||
@@ -15,6 +15,6 @@ "main": "index.js", | ||
], | ||
"./auto": "./auto.js", | ||
"./polyfill": "./polyfill.js", | ||
"./implementation": "./implementation.js", | ||
"./shim": "./shim.js", | ||
"./auto": "./auto.js", | ||
"./package.json": "./package.json" | ||
@@ -61,11 +61,11 @@ }, | ||
"devDependencies": { | ||
"@ljharb/eslint-config": "^18.0.0", | ||
"aud": "^1.1.5", | ||
"auto-changelog": "^2.3.0", | ||
"eslint": "^7.32.0", | ||
"@ljharb/eslint-config": "^21.0.0", | ||
"aud": "^2.0.0", | ||
"auto-changelog": "^2.4.0", | ||
"eslint": "=8.8.0", | ||
"functions-have-names": "^1.2.2", | ||
"has-strict-mode": "^1.0.1", | ||
"nyc": "^10.3.2", | ||
"safe-publish-latest": "^1.1.4", | ||
"tape": "^5.3.1" | ||
"safe-publish-latest": "^2.0.0", | ||
"tape": "^5.5.3" | ||
}, | ||
@@ -75,3 +75,4 @@ "dependencies": { | ||
"define-properties": "^1.1.3", | ||
"es-abstract": "^1.19.0" | ||
"es-abstract": "^1.19.2", | ||
"es-shim-unscopables": "^1.0.0" | ||
}, | ||
@@ -78,0 +79,0 @@ "auto-changelog": { |
'use strict'; | ||
var define = require('define-properties'); | ||
var shimUnscopables = require('es-shim-unscopables'); | ||
var getPolyfill = require('./polyfill'); | ||
@@ -8,2 +10,3 @@ | ||
var polyfill = getPolyfill(); | ||
define( | ||
@@ -14,3 +17,6 @@ Array.prototype, | ||
); | ||
shimUnscopables('at'); | ||
return polyfill; | ||
}; |
Sorry, the diff of this file is not supported yet
21964
175
4
17
+ Addedes-shim-unscopables@^1.0.0
+ Addedes-shim-unscopables@1.1.0(transitive)
Updatedes-abstract@^1.19.2