Socket
Socket
Sign inDemoInstall

react-secure-storage

Package Overview
Dependencies
2
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1 to 1.2.2

2

package.json
{
"name": "react-secure-storage",
"version": "1.2.1",
"version": "1.2.2",
"description": "This libraries is used to securely store data in local storage",

@@ -5,0 +5,0 @@ "author": "Sushin Pv",

@@ -76,2 +76,19 @@ [![npm](https://img.shields.io/npm/v/react-secure-storage.svg)](https://www.npmjs.com/package/react-secure-storage) [![downloads](https://img.shields.io/npm/dm/react-secure-storage.svg)](http://npm-stat.com/charts.html?package=react-secure-storage)

## How to use with Vite
In the latest version of Vite, process is not defined by default, It uses `import.meta.env`,
To define the process, You need to add the following code inside `vite.config.ts`
import { defineConfig } from 'vite'
// ...
export default defineConfig({
// ...
define: {
"process.env": {},
},
})
Here you can pass all the required `ENV` variables supported by the library inside the process.env object
## To disable properties from key generation

@@ -78,0 +95,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc