You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-npm-encrypt-decrypt

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-npm-encrypt-decrypt - npm Package Compare versions

Comparing version

to
1.0.13

2

package.json
{
"name": "react-npm-encrypt-decrypt",
"version": "1.0.12",
"version": "1.0.13",
"description": "The package used to encrypt and decrypt the data dynamically with keys.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,5 +10,5 @@ // Assuming you load CryptoJS library separately in your HTML file

// Function to fetch the content of a file asynchronously
async function fetchFileContent(filePath) {
async function fetchFileContent(GLOBAL_CONFIG_PATH) {
try {
const response = await fetch(filePath);
const response = await fetch(GLOBAL_CONFIG_PATH);
if (response.ok) {

@@ -15,0 +15,0 @@ const content = await response.text();