internal-slot
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -7,2 +7,11 @@ ### Changelog | ||
#### [v1.0.6](https://github.com/ljharb/internal-slot/compare/v1.0.5...v1.0.6) | ||
> 20 October 2023 | ||
- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape` [`4d568d2`](https://github.com/ljharb/internal-slot/commit/4d568d2897a2efe9b0604ae240bc89787924070f) | ||
- [Refactor] use `hasown` instead of `has` [`f946e94`](https://github.com/ljharb/internal-slot/commit/f946e94885f5fa092a4de04f366d746c0c5a2f2f) | ||
- [Deps] update `get-intrinsic` [`1bbc885`](https://github.com/ljharb/internal-slot/commit/1bbc885b0225dadac6e50f421cda5814c242b0bb) | ||
- [meta] remove unused `.eslintignore` [`6fdde1a`](https://github.com/ljharb/internal-slot/commit/6fdde1a25348cf9fc41c9808d342e6502f37658d) | ||
#### [v1.0.5](https://github.com/ljharb/internal-slot/compare/v1.0.4...v1.0.5) | ||
@@ -9,0 +18,0 @@ |
'use strict'; | ||
var GetIntrinsic = require('get-intrinsic'); | ||
var has = require('has'); | ||
var hasOwn = require('hasown'); | ||
var channel = require('side-channel')(); | ||
@@ -40,3 +40,3 @@ | ||
var slots = channel.get(O); | ||
return !!slots && has(slots, '$' + slot); | ||
return !!slots && hasOwn(slots, '$' + slot); | ||
}, | ||
@@ -43,0 +43,0 @@ set: function (O, slot, V) { |
{ | ||
"name": "internal-slot", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "ES spec-like internal slots", | ||
@@ -44,4 +44,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@ljharb/eslint-config": "^21.0.1", | ||
"aud": "^2.0.2", | ||
"@ljharb/eslint-config": "^21.1.0", | ||
"aud": "^2.0.3", | ||
"auto-changelog": "^2.4.0", | ||
@@ -52,9 +52,9 @@ "eslint": "=8.8.0", | ||
"nyc": "^10.3.2", | ||
"object-inspect": "^1.12.3", | ||
"object-inspect": "^1.13.1", | ||
"safe-publish-latest": "^2.0.0", | ||
"tape": "^5.6.3" | ||
"tape": "^5.7.2" | ||
}, | ||
"dependencies": { | ||
"get-intrinsic": "^1.2.0", | ||
"has": "^1.0.3", | ||
"get-intrinsic": "^1.2.2", | ||
"hasown": "^2.0.0", | ||
"side-channel": "^1.0.4" | ||
@@ -61,0 +61,0 @@ }, |
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
20150
10
+ Addedhasown@^2.0.0
- Removedhas@^1.0.3
- Removedhas@1.0.4(transitive)
Updatedget-intrinsic@^1.2.2