dataunlocker
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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! | ||
``` |
11065
194
67