Socket
Socket
Sign inDemoInstall

iterator.prototype

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iterator.prototype - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

7

CHANGELOG.md

@@ -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 @@

6

index.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc