@modernpoacher/deps 2.1.29 → 2.1.30

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.1.29",
3
+ "version": "2.1.30",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -69,7 +69,7 @@
69
69
  "cross-env": "^7.0.3",
70
70
  "eslint": "8.57.1",
71
71
  "eslint-config-standard": "^17.1.0",
72
- "husky": "^9.1.6",
72
+ "husky": "^9.1.7",
73
73
  "mocha": "^10.8.2"
74
74
  },
75
75
  "imports": {
@@ -253,13 +253,13 @@ export function awkGitRemoteShowOriginHead (d = DIRECTORY) {
253
253
 
254
254
  return (
255
255
  new Promise((resolve, reject) => {
256
- const command = 'git remote show origin | awk \'/HEAD branch/ {print $NF}\''
256
+ const commands = 'git remote show origin | awk \'/HEAD branch/ {print $NF}\''
257
257
  const options = getOptions(directory)
258
258
 
259
259
  const {
260
260
  stdout,
261
261
  stderr
262
- } = exec(command, options, (e, v = '') => {
262
+ } = exec(commands, options, (e, v = '') => {
263
263
  (!e)
264
264
  ? resolve(trim(v))
265
265
  : reject(e)
@@ -321,13 +321,13 @@ export function gitRevParseAbbrevRefHead (d = DIRECTORY) {
321
321
 
322
322
  return (
323
323
  new Promise((resolve, reject) => {
324
- const command = 'git rev-parse --abbrev-ref HEAD'
324
+ const commands = 'git rev-parse --abbrev-ref HEAD'
325
325
  const options = getOptions(directory)
326
326
 
327
327
  const {
328
328
  stdout,
329
329
  stderr
330
- } = exec(command, options, (e, v = '') => {
330
+ } = exec(commands, options, (e, v = '') => {
331
331
  (!e)
332
332
  ? resolve(trim(v))
333
333
  : reject(e)