@modernpoacher/deps 2.0.2 → 2.0.3
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 +2 -2
- package/where-am-i.mjs +9 -1
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modernpoacher/deps",
|
|
3
|
-
"
|
|
4
|
-
"version": "2.0.2",
|
|
3
|
+
"version": "2.0.3",
|
|
5
4
|
"description": "Update NPM package dependencies from the command line",
|
|
6
5
|
"keywords": [
|
|
7
6
|
"deps",
|
|
@@ -12,6 +11,7 @@
|
|
|
12
11
|
"peerDependencies"
|
|
13
12
|
],
|
|
14
13
|
"main": "./index.mjs",
|
|
14
|
+
"type": "module",
|
|
15
15
|
"author": "Jonathan Perry for Modern Poacher Limited <modernpoacher@modernpoacher.com>",
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"engines": {
|
package/where-am-i.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import debug from 'debug'
|
|
2
|
+
|
|
1
3
|
import {
|
|
2
4
|
dirname
|
|
3
5
|
} from 'node:path'
|
|
@@ -6,4 +8,10 @@ import {
|
|
|
6
8
|
fileURLToPath
|
|
7
9
|
} from 'node:url'
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
const log = debug('@modernpoacher/deps')
|
|
12
|
+
|
|
13
|
+
const PATH = dirname(fileURLToPath(import.meta.url))
|
|
14
|
+
|
|
15
|
+
log(PATH)
|
|
16
|
+
|
|
17
|
+
export default PATH
|