@modernpoacher/deps 2.0.4 → 2.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -23,7 +23,7 @@ const PLATFORM = platform()
23
23
 
24
24
  const log = debug('@modernpoacher/deps')
25
25
 
26
- log(`\`env\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
26
+ log(`\`env\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake at "${PATH}"`)
27
27
 
28
28
  export {
29
29
  NAME,
@@ -21,7 +21,7 @@ export const NVM = resolve(PATH, 'nvm.sh')
21
21
 
22
22
  const log = debug('@modernpoacher/deps')
23
23
 
24
- log(`\`common\` (${VERSION} - ${PLATFORM}) is awake`)
24
+ log(`\`common\` (${VERSION} - ${PLATFORM}) is awake at "${PATH}"`)
25
25
 
26
26
  const tidy = (v) => v.replace(/\n\n/gm, String.fromCharCode(10)).trim()
27
27
 
package/where-am-i.mjs CHANGED
@@ -1,5 +1,3 @@
1
- import debug from 'debug'
2
-
3
1
  import {
4
2
  dirname
5
3
  } from 'node:path'
@@ -8,10 +6,4 @@ import {
8
6
  fileURLToPath
9
7
  } from 'node:url'
10
8
 
11
- const log = debug('@modernpoacher/deps:where-am-i')
12
-
13
- const PATH = dirname(fileURLToPath(import.meta.url))
14
-
15
- log(PATH)
16
-
17
- export default PATH
9
+ export default dirname(fileURLToPath(import.meta.url))