New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dataunlocker

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dataunlocker - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

3

dist/bin/patch/index.js

@@ -44,3 +44,3 @@ import { getEnv, getRelativeFileToCwd, isFileExists } from '../../lib/utils/index.js';

}
console.log(`Patching, please wait...`);
console.log(`Patching`);
if (isBackupFileExists) {

@@ -60,2 +60,3 @@ jsToPatch = (await readFile(fileBackup)).toString();

console.log(` ↳ ${getRelativeFileToCwd(file)} will be overwritten`);
console.log(` ↳ Patching, please wait...`);
const url = `https://api${env ? `.${env}` : ''}.dataunlocker.com/domains/${id}/defender/patch-js${args.endpoint ? `?endpoint=${encodeURIComponent(args.endpoint)}` : ''}`;

@@ -62,0 +63,0 @@ let result;

{
"name": "dataunlocker",
"version": "2.0.0",
"version": "2.0.1",
"description": "DataUnlocker's command line interface utilities",

@@ -5,0 +5,0 @@ "type": "module",

@@ -53,3 +53,3 @@ # DataUnlocker's CLI

```
💜 DataUnlocker CLI v2.0.0
💜 DataUnlocker CLI v2.0.1
🔧 ID=000000000000000000000000

@@ -60,8 +60,9 @@

✔ Backed up to local/test.js.backup
Patching, please wait...
Patching
↳ Using original file contents (local/test.js)
↳ Using the latest healthy endpoint (automatic)
↳ local/test.js will be overwritten
↳ Patching, please wait...
↳ Writing local/test.js...
✔ Done!
```
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