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

web-storage-manager

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-storage-manager - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

26

package.json
{
"name": "web-storage-manager",
"version": "4.0.2",
"description": "Web utility storage manager to handle save, update and data purge",
"version": "4.0.3",
"description": "Web utility storage manager for handling data encryption, save and persist, update and data purge in your local and session storage",
"main": "lib/index.js",

@@ -19,17 +19,27 @@ "type": "commonjs",

"type": "git",
"url": "git+https://github.com/nferocious76/web-storage-manager.git"
"url": "git+https://github.com/nfhipona/web-storage-manager.git"
},
"keywords": [
"react",
"storage",
"local",
"storage",
"local storage",
"web storage"
"session",
"session storage",
"web storage",
"encrypted",
"encrypted storage",
"encrypted web storage"
],
"author": "Neil Francis Ramirez Hipona",
"author": {
"name": "Neil Francis Ramirez Hipona",
"email": "github.oet1k@passmail.com",
"url": "https://www.npmjs.com/package/web-storage-manager"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/nferocious76/web-storage-manager/issues"
"url": "https://github.com/nfhipona/web-storage-manager/issues",
"email": "github.oet1k@passmail.com"
},
"homepage": "https://github.com/nferocious76/web-storage-manager#readme",
"homepage": "https://github.com/nfhipona/web-storage-manager#readme",
"devDependencies": {

@@ -36,0 +46,0 @@ "@babel/cli": "^7.22.5",

@@ -121,6 +121,6 @@ [![NPM](https://nodei.co/npm/web-storage-manager.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/web-storage-manager/)

const cryptor = new Cryptor(CryptorDefaults, oldVectorivHex);
const WebStorage = new EncryptedWebStore(window.localStorage, cryptor);
const OldWebStorage = new EncryptedWebStore(window.localStorage, cryptor);
// then... use as normal
const result = WebStorage2.getItem('npmjs-encrypted');
const result = OldWebStorage.getItem('npmjs-encrypted');
// expected result: encrypted-web-storage-manager

@@ -229,10 +229,10 @@

<img width="1099" alt="Web Storage API Unit Test Result" src="https://github.com/nferocious76/web-storage-manager/assets/8805997/66e72f6e-52ab-43d9-95ce-6ba0b0e7a077">
<img width="1099" alt="Web Storage API Unit Test Result" src="https://github.com/nfhipona/web-storage-manager/assets/8805997/66e72f6e-52ab-43d9-95ce-6ba0b0e7a077">
`Encrypted Storage API Unit Test Result`
<img width="1471" alt="Encrypted Storage API Unit Test Result" src="https://github.com/nfhipona/web-storage-manager/assets/8805997/3eaa9e26-e6a7-48e9-b706-f54dcb070054">
<img width="1471" alt="Encrypted Storage API Unit Test Result" src="https://github.com/nfhipona/web-storage-manager/assets/8805997/971b494b-f1f3-42d3-a812-eb01ecf3cf43">
## Contribute
We would love for you to contribute to `Web Storage Manager`. See the [LICENSE](https://github.com/nferocious76/web-storage-manager/blob/master/LICENSE) file for more info.
We would love for you to contribute to `Web Storage Manager`. See the [LICENSE](https://github.com/nfhipona/web-storage-manager/blob/master/LICENSE) file for more info.

@@ -248,2 +248,2 @@

`Web Storage Manager` is available under the MIT license. See the [LICENSE](https://github.com/nferocious76/web-storage-manager/blob/master/LICENSE) file for more info.
`Web Storage Manager` is available under the MIT license. See the [LICENSE](https://github.com/nfhipona/web-storage-manager/blob/master/LICENSE) file for more info.
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