propagate-cli 1.9.11 → 1.9.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/constants.js
CHANGED
package/bin/utilities/shell.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
const childProcess = require("child_process");
|
|
4
4
|
|
|
5
|
-
const { shellUtilities } = require("necessary");
|
|
5
|
+
const { encodings, shellUtilities } = require("necessary");
|
|
6
6
|
|
|
7
|
-
const {
|
|
8
|
-
{ validateAnswer } = require("../utilities/validate"),
|
|
7
|
+
const { validateAnswer } = require("../utilities/validate"),
|
|
9
8
|
{ isAnswerAffirmative } = require("../utilities/prompt"),
|
|
10
9
|
{ INVALID_ANSWER_MESSAGE } = require("../messages"),
|
|
11
10
|
{ FAILED_SCRIPT_DESCRIPTION } = require("../descriptions");
|
|
12
11
|
|
|
13
|
-
const { prompt } = shellUtilities
|
|
12
|
+
const { prompt } = shellUtilities,
|
|
13
|
+
{ UTF_8_ENCODING } = encodings;
|
|
14
14
|
|
|
15
15
|
function execute(shellCommands, quietly, callback) {
|
|
16
16
|
const success = execSync(shellCommands, quietly);
|
|
@@ -57,7 +57,7 @@ function execSync(shellCommands, quietly) {
|
|
|
57
57
|
let success;
|
|
58
58
|
|
|
59
59
|
try {
|
|
60
|
-
const encoding =
|
|
60
|
+
const encoding = UTF_8_ENCODING, ///
|
|
61
61
|
options = {
|
|
62
62
|
encoding
|
|
63
63
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "propagate-cli",
|
|
3
3
|
"author": "James Smith",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.15",
|
|
5
5
|
"license": "MIT, Anti-996",
|
|
6
6
|
"homepage": "https://github.com/djalbat/propagate-cli",
|
|
7
7
|
"description": "Propagate updated packages throughout a project.",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"argumentative": "^2.0.15",
|
|
17
|
-
"necessary": "^
|
|
18
|
-
"occam-directed-graphs": "^3.0.
|
|
17
|
+
"necessary": "^11.0.40",
|
|
18
|
+
"occam-directed-graphs": "^3.0.28"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {},
|
|
21
21
|
"scripts": {}
|