@modernpoacher/deps 2.2.37 → 2.2.38

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.
@@ -42,9 +42,10 @@ import {
42
42
  import debug from '#deps/src/common/debug'
43
43
 
44
44
  import {
45
+ BIN,
46
+ NAME,
45
47
  VERSION,
46
- PLATFORM,
47
- BIN
48
+ PLATFORM
48
49
  } from '#deps/src/common/env'
49
50
 
50
51
  import {
@@ -72,7 +73,7 @@ const log = debug('@modernpoacher/deps')
72
73
  const info = debug('@modernpoacher/deps:info')
73
74
  const error = debug('@modernpoacher/deps:error')
74
75
 
75
- log(`\`common\` (${VERSION} - ${PLATFORM}) is awake`)
76
+ log(`\`common\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
76
77
 
77
78
  const ARGV = argv.slice(2)
78
79
 
package/bin/deps.mjs CHANGED
@@ -7,6 +7,7 @@ import {
7
7
  import debug from '#deps/src/common/debug'
8
8
 
9
9
  import {
10
+ NAME,
10
11
  VERSION,
11
12
  PLATFORM
12
13
  } from '#deps/src/common/env'
@@ -35,7 +36,7 @@ import {
35
36
 
36
37
  const log = debug('@modernpoacher/deps')
37
38
 
38
- log(`\`deps\` (${VERSION} - ${PLATFORM}) is awake`)
39
+ log(`\`deps\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
39
40
 
40
41
  const {
41
42
  table
@@ -18,6 +18,7 @@ import '#deps/src/common/write'
18
18
  import debug from '#deps/src/common/debug'
19
19
 
20
20
  import {
21
+ NAME,
21
22
  VERSION,
22
23
  PLATFORM
23
24
  } from '#deps/src/common/env'
@@ -64,7 +65,7 @@ import {
64
65
  const log = debug('@modernpoacher/deps')
65
66
  const info = debug('@modernpoacher/deps:info')
66
67
 
67
- log(`\`execute\` (${VERSION} - ${PLATFORM}) is awake`)
68
+ log(`\`execute\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
68
69
 
69
70
  const {
70
71
  table
@@ -9,9 +9,9 @@ import '#deps/src/common/write'
9
9
  import debug from '#deps/src/common/debug'
10
10
 
11
11
  import {
12
+ NAME,
12
13
  VERSION,
13
14
  PLATFORM
14
-
15
15
  } from '#deps/src/common/env'
16
16
 
17
17
  import {
@@ -36,7 +36,7 @@ import {
36
36
 
37
37
  const log = debug('@modernpoacher/deps')
38
38
 
39
- log(`\`install\` (${VERSION} - ${PLATFORM}) is awake`)
39
+ log(`\`install\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
40
40
 
41
41
  /**
42
42
  * @function app
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.2.37",
3
+ "version": "2.2.38",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -72,7 +72,7 @@
72
72
  "@typescript-eslint/parser": "^8.45.0",
73
73
  "chai": "^6.2.0",
74
74
  "cross-env": "^10.1.0",
75
- "eslint": "^9.36.0",
75
+ "eslint": "^9.37.0",
76
76
  "eslint-plugin-jsdoc": "^60.7.1",
77
77
  "globals": "^16.4.0",
78
78
  "husky": "^9.1.7",
@@ -7,7 +7,8 @@ import {
7
7
  } from 'node:fs'
8
8
 
9
9
  import {
10
- platform
10
+ platform,
11
+ homedir
11
12
  } from 'node:os'
12
13
 
13
14
  import PATH from '#where-am-i'
@@ -21,6 +22,8 @@ const {
21
22
 
22
23
  const PLATFORM = platform()
23
24
 
25
+ const HOMEDIR = homedir()
26
+
24
27
  const {
25
28
  env: {
26
29
  HOME
@@ -39,6 +42,7 @@ export {
39
42
  NAME,
40
43
  VERSION,
41
44
  PLATFORM,
45
+ HOMEDIR,
42
46
  HOME,
43
47
  BIN
44
48
  }
@@ -1,16 +1,17 @@
1
1
  import debug from 'debug'
2
2
 
3
- import {
4
- homedir
5
- } from 'node:os'
6
-
7
3
  import stripAnsi from 'strip-ansi'
8
4
 
9
5
  import {
10
- PLATFORM
6
+ NAME,
7
+ VERSION,
8
+ PLATFORM,
9
+ HOMEDIR
11
10
  } from '#deps/src/common/env'
12
11
 
13
- const HOMEDIR = homedir()
12
+ const log = debug('@modernpoacher/deps')
13
+
14
+ log(`\`common/format\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
14
15
 
15
16
  /**
16
17
  * @function toHomeDir
@@ -23,6 +23,7 @@ import debug from '#deps/src/common/debug'
23
23
 
24
24
  import {
25
25
  BIN,
26
+ NAME,
26
27
  VERSION,
27
28
  PLATFORM
28
29
  } from '#deps/src/common/env'
@@ -74,7 +75,7 @@ git push --tags
74
75
 
75
76
  const log = debug('@modernpoacher/deps')
76
77
 
77
- log(`\`common/git\` (${VERSION} - ${PLATFORM}) is awake`)
78
+ log(`\`common/git\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
78
79
 
79
80
  const LF = String.fromCodePoint(10)
80
81
 
@@ -14,14 +14,15 @@ import PATH from '#where-am-i'
14
14
  import debug from '#deps/src/common/debug'
15
15
 
16
16
  import {
17
- tidy
18
- } from '#deps/src/common/format'
19
-
20
- import {
17
+ NAME,
21
18
  VERSION,
22
19
  PLATFORM
23
20
  } from '#deps/src/common/env'
24
21
 
22
+ import {
23
+ tidy
24
+ } from '#deps/src/common/format'
25
+
25
26
  export const DIRECTORY = '.'
26
27
 
27
28
  export const REGISTRY = 'https://registry.npmjs.org'
@@ -32,7 +33,7 @@ export const NVM = join(PATH, 'nvm.sh')
32
33
 
33
34
  const log = debug('@modernpoacher/deps')
34
35
 
35
- log(`\`common\` (${VERSION} - ${PLATFORM}) is awake`)
36
+ log(`\`common\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
36
37
 
37
38
  const SP = String.fromCodePoint(32)
38
39
 
@@ -5,6 +5,7 @@
5
5
  import debug from '#deps/src/common/debug'
6
6
 
7
7
  import {
8
+ NAME,
8
9
  VERSION,
9
10
  PLATFORM
10
11
  } from '#deps/src/common/env'
@@ -38,7 +39,7 @@ export const OPTIONS = {
38
39
 
39
40
  const log = debug('@modernpoacher/deps')
40
41
 
41
- log(`\`common/options\` (${VERSION} - ${PLATFORM}) is awake`)
42
+ log(`\`common/options\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
42
43
 
43
44
  /**
44
45
  * @function getOptions
package/src/index.mjs CHANGED
@@ -30,6 +30,7 @@ import {
30
30
  import debug from '#deps/src/common/debug'
31
31
 
32
32
  import {
33
+ NAME,
33
34
  VERSION,
34
35
  PLATFORM
35
36
  } from '#deps/src/common/env'
@@ -63,7 +64,7 @@ import {
63
64
  const log = debug('@modernpoacher/deps')
64
65
  const info = debug('@modernpoacher/deps:info')
65
66
 
66
- log(`\`deps\` (${VERSION} - ${PLATFORM}) is awake`)
67
+ log(`\`deps\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
67
68
 
68
69
  /**
69
70
  * @function getInstallSaveExactCommands
@@ -23,6 +23,7 @@ import {
23
23
  import debug from '#deps/src/common/debug'
24
24
 
25
25
  import {
26
+ NAME,
26
27
  VERSION,
27
28
  PLATFORM
28
29
  } from '#deps/src/common/env'
@@ -52,7 +53,7 @@ import {
52
53
  const log = debug('@modernpoacher/deps')
53
54
  const info = debug('@modernpoacher/deps:info')
54
55
 
55
- log(`\`install\` (${VERSION} - ${PLATFORM}) is awake`)
56
+ log(`\`install\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
56
57
 
57
58
  /**
58
59
  * @function getInstallSaveExactCommands