es6-weak-map
Advanced tools
Comparing version 1.0.2 to 2.0.0
@@ -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
11708
+ Addedes6-iterator@1.0.0(transitive)
- Removedes6-iterator@0.1.3(transitive)
Updatedes5-ext@^0.10.7
Updatedes6-iterator@1