@modernpoacher/deps 2.2.31 → 2.2.33
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/bash/deps.sh +0 -7
- package/bin/bash/head.sh +0 -7
- package/bin/bash/push.sh +0 -7
- package/bin/bash/wipe.sh +0 -7
- package/bin/common/index.mjs +0 -8
- package/bin/deps/deps.sh +0 -7
- package/bin/deps/execute.sh +0 -7
- package/bin/deps/head.sh +0 -7
- package/bin/deps/install.sh +0 -7
- package/bin/deps/push.sh +0 -7
- package/bin/deps/wipe.sh +0 -7
- package/bin/deps.sh +0 -7
- package/bin/node/deps.mjs +2 -0
- package/package.json +3 -3
- package/src/common/format/index.mjs +5 -5
- package/src/common/git/index.mjs +0 -4
package/bin/bash/deps.sh
CHANGED
package/bin/bash/head.sh
CHANGED
package/bin/bash/push.sh
CHANGED
package/bin/bash/wipe.sh
CHANGED
package/bin/common/index.mjs
CHANGED
|
@@ -81,14 +81,6 @@ const MESSAGE = 'Either no error message has been defined or no error has been s
|
|
|
81
81
|
|
|
82
82
|
const SP = String.fromCodePoint(32)
|
|
83
83
|
|
|
84
|
-
/**
|
|
85
|
-
* @param {string} v
|
|
86
|
-
* @returns {string}
|
|
87
|
-
*/
|
|
88
|
-
export {
|
|
89
|
-
tidy
|
|
90
|
-
}
|
|
91
|
-
|
|
92
84
|
const getRmrfCommands = PLATFORM === 'win32'
|
|
93
85
|
? () => tidy(`
|
|
94
86
|
rmdir /s /q node_modules 2> nul & del package-lock.json 2> nul
|
package/bin/deps/deps.sh
CHANGED
package/bin/deps/execute.sh
CHANGED
package/bin/deps/head.sh
CHANGED
package/bin/deps/install.sh
CHANGED
package/bin/deps/push.sh
CHANGED
package/bin/deps/wipe.sh
CHANGED
package/bin/deps.sh
CHANGED
package/bin/node/deps.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modernpoacher/deps",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.33",
|
|
4
4
|
"description": "Update NPM package dependencies from the command line",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deps",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"deps-wipe": "bin/deps/wipe.sh"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@sequencemedia/write": "^0.2.
|
|
57
|
+
"@sequencemedia/write": "^0.2.9",
|
|
58
58
|
"commander": "^14.0.1",
|
|
59
59
|
"debug": "^4.4.3",
|
|
60
60
|
"glob": "^11.0.3",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@sequencemedia/eslint-config-standard": "^0.2.85",
|
|
66
|
-
"@sequencemedia/eslint-config-typescript": "^0.1.
|
|
66
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.146",
|
|
67
67
|
"@sequencemedia/eslint-merge": "^0.0.52",
|
|
68
68
|
"@types/chai": "^5.2.2",
|
|
69
69
|
"@types/debug": "^4.1.12",
|
|
@@ -2,14 +2,14 @@ import debug from 'debug'
|
|
|
2
2
|
|
|
3
3
|
import stripAnsi from 'strip-ansi'
|
|
4
4
|
|
|
5
|
-
const LF = String.fromCodePoint(
|
|
5
|
+
const LF = String.fromCodePoint(10)
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @param {string} v
|
|
9
9
|
* @returns {string}
|
|
10
10
|
*/
|
|
11
|
-
export function
|
|
12
|
-
return v.
|
|
11
|
+
export function trim (v) {
|
|
12
|
+
return v.split(LF).map(trimEnd).join(LF).trim()
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -24,8 +24,8 @@ export function trimEnd (v) {
|
|
|
24
24
|
* @param {string} v
|
|
25
25
|
* @returns {string}
|
|
26
26
|
*/
|
|
27
|
-
export function
|
|
28
|
-
return v.
|
|
27
|
+
export function tidy (v) {
|
|
28
|
+
return v.replace(/\n{2,}}/gm, LF).trim()
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|