Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

es6-collections-iterators

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es6-collections-iterators - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

20

iterators.js

@@ -5,9 +5,13 @@ (function (exports) {'use strict';

if (typeof Map != 'undefined') {
if (typeof Map.prototype.entries == 'undefined') {
var map = new Map();
if (typeof Map.prototype.entries === 'undefined'
|| typeof map.entries().next === 'undefined') {
Map.prototype.entries = mapEntries;
}
if (typeof Map.prototype.values == 'undefined') {
if (typeof Map.prototype.values === 'undefined'
|| typeof map.values().next === 'undefined') {
Map.prototype.values = mapValues;
}
if (typeof Map.prototype.keys == 'undefined') {
if (typeof Map.prototype.keys === 'undefined'
|| typeof map.keys().next === 'undefined') {
Map.prototype.keys = mapKeys;

@@ -18,9 +22,13 @@ }

if (typeof Set != 'undefined') {
if (typeof Set.prototype.entries == 'undefined') {
var set = new Set();
if (typeof Set.prototype.entries === 'undefined'
|| typeof set.entries().next === 'undefined') {
Set.prototype.entries = setEntries;
}
if (typeof Set.prototype.values == 'undefined') {
if (typeof Set.prototype.values === 'undefined'
|| typeof set.values().next === 'undefined') {
Set.prototype.values = setValues;
}
if (typeof Set.prototype.keys == 'undefined') {
if (typeof Set.prototype.keys === 'undefined'
|| typeof set.keys().next === 'undefined') {
Set.prototype.keys = setValues;

@@ -27,0 +35,0 @@ }

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.1.0",
"version": "0.2.0",
"main": "iterators.js",

@@ -8,0 +8,0 @@ "repository": {

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