@modernpoacher/deps 2.2.35 → 2.2.37
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/deps.mjs +5 -1
- package/bin/node/execute.mjs +5 -1
- package/package.json +3 -3
- package/src/common/format/index.mjs +1 -1
package/bin/deps.mjs
CHANGED
|
@@ -37,6 +37,10 @@ const log = debug('@modernpoacher/deps')
|
|
|
37
37
|
|
|
38
38
|
log(`\`deps\` (${VERSION} - ${PLATFORM}) is awake`)
|
|
39
39
|
|
|
40
|
+
const {
|
|
41
|
+
table
|
|
42
|
+
} = console
|
|
43
|
+
|
|
40
44
|
/**
|
|
41
45
|
* @function app
|
|
42
46
|
*/
|
|
@@ -78,7 +82,7 @@ async function app () {
|
|
|
78
82
|
registry
|
|
79
83
|
} = commander.opts()
|
|
80
84
|
|
|
81
|
-
|
|
85
|
+
table({
|
|
82
86
|
saveProd: P,
|
|
83
87
|
saveDev: D,
|
|
84
88
|
saveOptional: O,
|
package/bin/node/execute.mjs
CHANGED
|
@@ -66,6 +66,10 @@ const info = debug('@modernpoacher/deps:info')
|
|
|
66
66
|
|
|
67
67
|
log(`\`execute\` (${VERSION} - ${PLATFORM}) is awake`)
|
|
68
68
|
|
|
69
|
+
const {
|
|
70
|
+
table
|
|
71
|
+
} = console
|
|
72
|
+
|
|
69
73
|
/**
|
|
70
74
|
* @param {{ code?: number, message?: string }} [e]
|
|
71
75
|
*/
|
|
@@ -592,7 +596,7 @@ async function app () {
|
|
|
592
596
|
author
|
|
593
597
|
} = commander.opts()
|
|
594
598
|
|
|
595
|
-
|
|
599
|
+
table({
|
|
596
600
|
...(P ? { path: P } : {}),
|
|
597
601
|
...(F ? { from: F } : {}),
|
|
598
602
|
...(O ? { only: O } : {}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modernpoacher/deps",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.37",
|
|
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.14",
|
|
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.88",
|
|
66
|
-
"@sequencemedia/eslint-config-typescript": "^0.1.
|
|
66
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.150",
|
|
67
67
|
"@sequencemedia/eslint-merge": "^0.0.54",
|
|
68
68
|
"@types/chai": "^5.2.2",
|
|
69
69
|
"@types/debug": "^4.1.12",
|
|
@@ -18,7 +18,7 @@ const HOMEDIR = homedir()
|
|
|
18
18
|
*/
|
|
19
19
|
export const toHomeDir = PLATFORM === 'win32'
|
|
20
20
|
? (directory) => directory
|
|
21
|
-
: (directory) => directory.includes(HOMEDIR) ? directory.replace(HOMEDIR, '
|
|
21
|
+
: (directory) => directory.includes(HOMEDIR) ? directory.replace(HOMEDIR, '~') : directory
|
|
22
22
|
|
|
23
23
|
const LF = String.fromCodePoint(10)
|
|
24
24
|
|