reflect.getprototypeof
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -8,2 +8,9 @@ # Changelog | ||
## [v1.0.9](https://github.com/es-shims/Reflect.getPrototypeOf/compare/v1.0.8...v1.0.9) - 2024-12-18 | ||
### Commits | ||
- [Fix] avoid a crash with node `--disable-proto=throw` flag [`73f449d`](https://github.com/es-shims/Reflect.getPrototypeOf/commit/73f449dff08fe574a4cd937d7265aceb1774de05) | ||
- [Deps] update `dunder-proto`, `es-abstract`, `get-intrinsic`, `which-builtin-type` [`80c8227`](https://github.com/es-shims/Reflect.getPrototypeOf/commit/80c8227aac6cef446ac8460f8bbdd9a83bd1d131) | ||
## [v1.0.8](https://github.com/es-shims/Reflect.getPrototypeOf/compare/v1.0.7...v1.0.8) - 2024-12-06 | ||
@@ -10,0 +17,0 @@ |
{ | ||
"name": "reflect.getprototypeof", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "An ES2015 mostly-spec-compliant `Reflect.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible", | ||
@@ -61,8 +61,8 @@ "main": "index.js", | ||
"define-properties": "^1.2.1", | ||
"dunder-proto": "^1.0.0", | ||
"es-abstract": "^1.23.5", | ||
"dunder-proto": "^1.0.1", | ||
"es-abstract": "^1.23.6", | ||
"es-errors": "^1.3.0", | ||
"get-intrinsic": "^1.2.4", | ||
"get-intrinsic": "^1.2.6", | ||
"gopd": "^1.2.0", | ||
"which-builtin-type": "^1.2.0" | ||
"which-builtin-type": "^1.2.1" | ||
}, | ||
@@ -69,0 +69,0 @@ "devDependencies": { |
@@ -9,3 +9,10 @@ 'use strict'; | ||
var hasProto = [].__proto__ === Array.prototype; // eslint-disable-line no-proto | ||
var hasProto; | ||
try { | ||
hasProto = [].__proto__ === Array.prototype; // eslint-disable-line no-proto | ||
} catch (e) { | ||
if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') { | ||
throw e; | ||
} | ||
} | ||
@@ -12,0 +19,0 @@ var getDunder = require('dunder-proto/get'); |
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
23312
168
+ Addedarray-buffer-byte-length@1.0.2(transitive)
+ Addeddata-view-buffer@1.0.2(transitive)
+ Addeddata-view-byte-length@1.0.2(transitive)
+ Addedes-abstract@1.23.7(transitive)
+ Addedfunction.prototype.name@1.1.8(transitive)
- Removedarray-buffer-byte-length@1.0.1(transitive)
- Removeddata-view-buffer@1.0.1(transitive)
- Removeddata-view-byte-length@1.0.1(transitive)
- Removedes-abstract@1.23.6(transitive)
- Removedfunction.prototype.name@1.1.7(transitive)
- Removedis-negative-zero@2.0.3(transitive)
- Removedreflect.getprototypeof@1.0.9(transitive)
Updateddunder-proto@^1.0.1
Updatedes-abstract@^1.23.6
Updatedget-intrinsic@^1.2.6
Updatedwhich-builtin-type@^1.2.1