Socket
Socket
Sign inDemoInstall

global-cache

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

global-cache - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

CHANGELOG.md

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

2

index.js

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

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