@modernpoacher/deps 2.1.34 → 2.1.35

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.34",
3
+ "version": "2.1.35",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -23,25 +23,25 @@
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
26
- "url": "git://github.com/modernpoacher/deps"
26
+ "url": "git://github.com/modernpoacher/deps.git"
27
27
  },
28
28
  "homepage": "https://github.com/modernpoacher/deps",
29
29
  "bugs": {
30
30
  "url": "https://github.com/modernpoacher/deps/issues"
31
31
  },
32
32
  "scripts": {
33
- "deps": "cross-env DEBUG_COLORS=yes NODE_ENV=production node bin/deps.mjs",
34
- "deps-deps": "cross-env DEBUG_COLORS=yes NODE_ENV=production node bin/deps/deps.mjs",
35
- "deps-execute": "cross-env DEBUG_COLORS=yes NODE_ENV=production node bin/deps/execute.mjs",
36
- "deps-head": "cross-env DEBUG_COLORS=yes NODE_ENV=production node bin/deps/head.mjs",
37
- "deps-install": "cross-env DEBUG_COLORS=yes NODE_ENV=production node bin/deps/install.mjs",
38
- "deps-push": "cross-env DEBUG_COLORS=yes NODE_ENV=production node bin/deps/push.mjs",
39
- "deps-wipe": "cross-env DEBUG_COLORS=yes NODE_ENV=production node bin/deps/wipe.mjs",
40
- "lint": "eslint . --ext .mjs,.cjs",
33
+ "deps": "cross-env NODE_OPTIONS=--disable-warning=ExperimentalWarning DEBUG_COLORS=yes NODE_ENV=production node bin/deps.mjs",
34
+ "deps-deps": "cross-env NODE_OPTIONS=--disable-warning=ExperimentalWarning DEBUG_COLORS=yes NODE_ENV=production node bin/deps/deps.mjs",
35
+ "deps-execute": "cross-env NODE_OPTIONS=--disable-warning=ExperimentalWarning DEBUG_COLORS=yes NODE_ENV=production node bin/deps/execute.mjs",
36
+ "deps-head": "cross-env NODE_OPTIONS=--disable-warning=ExperimentalWarning DEBUG_COLORS=yes NODE_ENV=production node bin/deps/head.mjs",
37
+ "deps-install": "cross-env NODE_OPTIONS=--disable-warning=ExperimentalWarning DEBUG_COLORS=yes NODE_ENV=production node bin/deps/install.mjs",
38
+ "deps-push": "cross-env NODE_OPTIONS=--disable-warning=ExperimentalWarning DEBUG_COLORS=yes NODE_ENV=production node bin/deps/push.mjs",
39
+ "deps-wipe": "cross-env NODE_OPTIONS=--disable-warning=ExperimentalWarning DEBUG_COLORS=yes NODE_ENV=production node bin/deps/wipe.mjs",
40
+ "lint": "cross-env NODE_OPTIONS=--disable-warning=ExperimentalWarning eslint . --ext .mjs,.cjs",
41
41
  "lint:fix": "npm run lint -- --fix",
42
42
  "prepare": "husky",
43
43
  "start": "npm run deps",
44
- "test": "cross-env DEBUG_COLORS=yes NODE_ENV=test mocha test --recursive --verbose --color"
44
+ "test": "cross-env NODE_OPTIONS=--disable-warning=ExperimentalWarning DEBUG_COLORS=yes NODE_ENV=test mocha test --recursive --verbose --color"
45
45
  },
46
46
  "bin": {
47
47
  "deps": "bin/deps.mjs",
@@ -7,6 +7,7 @@ import {
7
7
 
8
8
  const {
9
9
  env: {
10
+ NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
10
11
  SSH_AUTH_SOCK,
11
12
  HOME,
12
13
  PATH
@@ -21,6 +22,7 @@ export const OPTIONS = {
21
22
  FORCE_COLOR: PLATFORM === 'win32'
22
23
  ? 3
23
24
  : 2,
25
+ NODE_OPTIONS,
24
26
  SSH_AUTH_SOCK,
25
27
  HOME,
26
28
  PATH
@@ -50,6 +52,8 @@ log(`\`common/options\` (${VERSION} - ${PLATFORM}) is awake`)
50
52
  * }}
51
53
  */
52
54
  export function getOptions (cwd) {
55
+ log('getOptions')
56
+
53
57
  return {
54
58
  ...OPTIONS,
55
59
  cwd