global-cache
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -0,1 +1,7 @@ | ||
1.0.3 / 2015-10-19 | ||
================= | ||
* [Robustness] Ensure that when `Symbol` and `Symbol.for` are available, they're real Symbols and not gross fake ones | ||
* package.json: use object form of "authors", add "contributors" | ||
* [Dev Deps] update `jscs`, `eslint`, `@ljharb/eslint-config` | ||
1.0.2 / 2015-10-14 | ||
@@ -2,0 +8,0 @@ ================= |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var globalKey = '__ global cache key __'; | ||
if (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') { | ||
if (typeof Symbol === 'function' && isSymbol(Symbol()) && typeof Symbol['for'] === 'function') { | ||
globalKey = Symbol['for'](globalKey); | ||
@@ -10,0 +10,0 @@ } |
{ | ||
"name": "global-cache", | ||
"version": "1.0.2", | ||
"author": "Jordan Harband", | ||
"version": "1.0.3", | ||
"author": { | ||
"name": "Jordan Harband", | ||
"email": "ljharb@gmail.com", | ||
"url": "http://ljharb.codes" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Jordan Harband", | ||
"email": "ljharb@gmail.com", | ||
"url": "http://ljharb.codes" | ||
} | ||
], | ||
"description": "Sometimes you have to do horrible things, like use the global object to share a singleton. Abstract that away, with this!", | ||
@@ -35,6 +46,6 @@ "license": "MIT", | ||
"covert": "^1.1.0", | ||
"jscs": "^2.3.1", | ||
"jscs": "^2.3.4", | ||
"nsp": "^1.1.0", | ||
"eslint": "^1.6.0", | ||
"@ljharb/eslint-config": "^1.3.0", | ||
"eslint": "^1.7.1", | ||
"@ljharb/eslint-config": "^1.4.1", | ||
"replace": "^0.3.0", | ||
@@ -41,0 +52,0 @@ "semver": "^5.0.3" |
Sorry, the diff of this file is not supported yet
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
17975