@modernpoacher/deps 2.1.1 → 2.1.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.
@@ -82,10 +82,11 @@ ${getExportPath(getNvm(getRegistryParameter(registry, getForceParameter(force, '
82
82
 
83
83
  export function getArgs () {
84
84
  return (
85
- ARGV
86
- .join(
87
- String.fromCodePoint(32)
88
- )
85
+ PLATFORM === 'win32'
86
+ ? ARGV.map((v) => v.startsWith('-') ? v : `"${v}"`)
87
+ : ARGV.map((v) => v.startsWith('-') ? v : `'${v}'`)
88
+ ).join(
89
+ String.fromCodePoint(32)
89
90
  )
90
91
  }
91
92
 
package/bin/deps/head.mjs CHANGED
@@ -32,8 +32,8 @@ const error = debug('@modernpoacher/deps:error')
32
32
 
33
33
  const command = (
34
34
  PLATFORM === 'win32'
35
- ? 'bash .\\bin\\bash\\wipe.sh'
36
- : 'bash ./bin/bash/wipe.sh'
35
+ ? 'bash .\\bin\\bash\\head.sh'
36
+ : 'bash ./bin/bash/head.sh'
37
37
  )
38
38
 
39
39
  const args = getArgs()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",