iterator.prototype
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -8,2 +8,9 @@ # Changelog | ||
## [v1.1.2](https://github.com/ljharb/Iterator.prototype/compare/v1.1.1...v1.1.2) - 2023-09-13 | ||
### Commits | ||
- [Fix] properly name `Iterator.prototype[Symbol.iterator]` method [`42ddaf7`](https://github.com/ljharb/Iterator.prototype/commit/42ddaf757d941ab3e5baf341ccb2598b8b86a1a1) | ||
- [Deps] update `define-properties`, `reflect.getprototypeof` [`8b06aec`](https://github.com/ljharb/Iterator.prototype/commit/8b06aec1a6e79c14806a4ba1e783a2dc79de5e5d) | ||
## [v1.1.1](https://github.com/ljharb/Iterator.prototype/compare/v1.1.0...v1.1.1) - 2023-08-30 | ||
@@ -10,0 +17,0 @@ |
@@ -7,2 +7,3 @@ 'use strict'; | ||
var define = require('define-properties'); | ||
var setFunctionName = require('set-function-name'); | ||
@@ -24,5 +25,6 @@ var arrayIterProto = GetIntrinsic('%ArrayIteratorPrototype%', true); | ||
// needed when result === iterProto, or, node 0.11.15 - 3 | ||
defined[Symbol.iterator] = function () { | ||
defined[Symbol.iterator] = setFunctionName(function SymbolIterator() { | ||
return this; | ||
}; | ||
}, '[Symbol.iterator]', true); | ||
predicates[Symbol.iterator] = trueThunk; | ||
@@ -29,0 +31,0 @@ } |
{ | ||
"name": "iterator.prototype", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "`Iterator.prototype`, or a shared object to use.", | ||
@@ -40,6 +40,7 @@ "main": "index.js", | ||
"dependencies": { | ||
"define-properties": "^1.2.0", | ||
"define-properties": "^1.2.1", | ||
"get-intrinsic": "^1.2.1", | ||
"has-symbols": "^1.0.3", | ||
"reflect.getprototypeof": "^1.0.3" | ||
"reflect.getprototypeof": "^1.0.4", | ||
"set-function-name": "^2.0.1" | ||
}, | ||
@@ -46,0 +47,0 @@ "devDependencies": { |
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
10145
62
5
+ Addedset-function-name@^2.0.1
Updateddefine-properties@^1.2.1