disposablestack
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -54,3 +54,3 @@ 'use strict'; | ||
'[[Configurable]]': true, | ||
'[[Enumerable]]': true, | ||
'[[Enumerable]]': false, | ||
'[[Get]]': disposed | ||
@@ -57,0 +57,0 @@ }); |
@@ -8,2 +8,13 @@ # Changelog | ||
## [v1.1.6](https://github.com/es-shims/DisposableStack/compare/v1.1.5...v1.1.6) - 2024-05-28 | ||
### Fixed | ||
- [Fix] `.disposed` should be nonenumerable [`#8`](https://github.com/es-shims/DisposableStack/issues/8) | ||
### Commits | ||
- [Tests] Update nonFunctions adopt test [`2f7eb6e`](https://github.com/es-shims/DisposableStack/commit/2f7eb6e13ea986fa5d4404c60782a84151f9a15e) | ||
- [Dev Deps] update `@ljharb/eslint-config` [`fa59c73`](https://github.com/es-shims/DisposableStack/commit/fa59c73b0e5191e8b403d582490bbcdc8ffa16ad) | ||
## [v1.1.5](https://github.com/es-shims/DisposableStack/compare/v1.1.4...v1.1.5) - 2024-05-14 | ||
@@ -10,0 +21,0 @@ |
@@ -48,3 +48,3 @@ 'use strict'; | ||
'[[Configurable]]': true, | ||
'[[Enumerable]]': true, | ||
'[[Enumerable]]': false, | ||
'[[Get]]': disposed | ||
@@ -51,0 +51,0 @@ }); |
{ | ||
"name": "disposablestack", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "An ESnext spec-compliant `DisposableStack`, `AsyncDisposableStack`, `Symbol.dispose`, and `Symbol.asyncDispose` shim/polyfill/replacement that works as far down as ES3.", | ||
@@ -86,3 +86,3 @@ "main": "index.json", | ||
"@es-shims/api": "^2.5.0", | ||
"@ljharb/eslint-config": "^21.1.0", | ||
"@ljharb/eslint-config": "^21.1.1", | ||
"aud": "^2.0.4", | ||
@@ -89,0 +89,0 @@ "auto-changelog": "^2.4.0", |
@@ -47,3 +47,3 @@ 'use strict'; | ||
configurable: true, | ||
enumerable: true, | ||
enumerable: false, | ||
get: desc.get, | ||
@@ -177,3 +177,3 @@ set: undefined | ||
st['throws']( | ||
function () { instance.adopt(nonFunction); }, | ||
function () { instance.adopt(undefined, nonFunction); }, | ||
TypeError, | ||
@@ -341,3 +341,3 @@ 'throws on a nonfunction: ' + inspect(nonFunction) | ||
configurable: true, | ||
enumerable: true, | ||
enumerable: false, | ||
get: desc.get, | ||
@@ -344,0 +344,0 @@ set: undefined |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63699