Socket
Socket
Sign inDemoInstall

es6-weak-map

Package Overview
Dependencies
9
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 2.0.0

2

is-implemented.js

@@ -6,3 +6,2 @@ 'use strict';

if (typeof WeakMap !== 'function') return false;
if (String(WeakMap.prototype) !== '[object WeakMap]') return false;
try {

@@ -14,2 +13,3 @@ // WebKit doesn't support arguments and crashes

}
if (String(weakMap) !== '[object WeakMap]') return false;
if (typeof weakMap.set !== 'function') return false;

@@ -16,0 +16,0 @@ if (weakMap.set({}, 1) !== weakMap) return false;

{
"name": "es6-weak-map",
"version": "1.0.2",
"version": "2.0.0",
"description": "ECMAScript6 WeakMap polyfill",

@@ -23,10 +23,10 @@ "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",

"d": "^0.1.1",
"es5-ext": "^0.10.6",
"es6-iterator": "^0.1.3",
"es5-ext": "^0.10.7",
"es6-iterator": "1",
"es6-symbol": "^2.0.1"
},
"devDependencies": {
"tad": "^0.2.2",
"tad": "^0.2.3",
"xlint": "^0.2.2",
"xlint-jslint-medikoo": "^0.1.2"
"xlint-jslint-medikoo": "^0.1.4"
},

@@ -33,0 +33,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc