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

es6-store

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es6-store - npm Package Compare versions

Comparing version 0.0.1 to 0.1.1

10

package.json
{
"name": "es6-store",
"version": "0.0.1",
"version": "0.1.1",
"description": "es6 local storage library ",

@@ -13,2 +13,10 @@ "main": "src/Store.js",

},
"keywords": [
"localstorage",
"local storage",
"es6",
"es2015",
"ecmascript 6",
"ecmascript 2015"
],
"author": "Evgeny Zaytsev <overhawlin@gmail.com>",

@@ -15,0 +23,0 @@ "license": "MIT",

2

src/Store.js

@@ -256,3 +256,3 @@ let ls = Symbol('localStorage');

static clone (obj) {
return Object.assign({}, obj);
return JSON.parse(JSON.stringify(obj));
}

@@ -259,0 +259,0 @@

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