diff options
author | isaacs <i@izs.me> | 2020-10-23 20:51:58 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-10-23 20:51:58 +0300 |
commit | ed6e6a9d3c36ffc5fb77fc25b6d66dbcb26beeb9 (patch) | |
tree | 3a4563fc6398e94c98979c8cac98562230ca9cac | |
parent | b9c1caa8e4cc7c900d09657425ea361db5974319 (diff) |
eslint-plugin-standard@4.0.2
-rw-r--r-- | lib/utils/flat-options.js | 4 | ||||
-rw-r--r-- | package-lock.json | 28 | ||||
-rw-r--r-- | package.json | 2 |
3 files changed, 24 insertions, 10 deletions
diff --git a/lib/utils/flat-options.js b/lib/utils/flat-options.js index 1e169535a..37daabe03 100644 --- a/lib/utils/flat-options.js +++ b/lib/utils/flat-options.js @@ -165,8 +165,8 @@ const flatOptions = npm => npm.flatOptions || Object.freeze({ binLinks: npm.config.get('bin-links'), rebuildBundle: npm.config.get('rebuild-bundle'), // --no-shrinkwrap is the same as --no-package-lock - packageLock: npm.config.get('package-lock') === false || - npm.config.get('shrinkwrap') === false ? false : true, + packageLock: !(npm.config.get('package-lock') === false || + npm.config.get('shrinkwrap') === false), packageLockOnly: npm.config.get('package-lock-only'), globalStyle: npm.config.get('global-style'), legacyBundling: npm.config.get('legacy-bundling'), diff --git a/package-lock.json b/package-lock.json index da0bf8565..9a06e3202 100644 --- a/package-lock.json +++ b/package-lock.json @@ -155,7 +155,7 @@ "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-standard": "^4.0.1", + "eslint-plugin-standard": "^4.0.2", "marked-man": "^0.7.0", "require-inject": "^1.4.4", "tap": "^14.10.8" @@ -1821,10 +1821,24 @@ } }, "node_modules/eslint-plugin-standard": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.1.tgz", - "integrity": "sha512-v/KBnfyaOMPmZc/dmc6ozOdWqekGp7bBGq4jLAecEfPGmfKiWS4sA8sC0LqiV9w5qmXAtXVn4M3p1jSyhY85SQ==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.2.tgz", + "integrity": "sha512-nKptN8l7jksXkwFk++PhJB3cCDTcXOEyhISIN86Ue2feJ1LFyY3PrY3/xT2keXlJSY5bpmbiTG0f885/YKAvTA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "peerDependencies": { "eslint": ">=5.0.0" } @@ -9272,9 +9286,9 @@ "dev": true }, "eslint-plugin-standard": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.1.tgz", - "integrity": "sha512-v/KBnfyaOMPmZc/dmc6ozOdWqekGp7bBGq4jLAecEfPGmfKiWS4sA8sC0LqiV9w5qmXAtXVn4M3p1jSyhY85SQ==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.2.tgz", + "integrity": "sha512-nKptN8l7jksXkwFk++PhJB3cCDTcXOEyhISIN86Ue2feJ1LFyY3PrY3/xT2keXlJSY5bpmbiTG0f885/YKAvTA==", "dev": true, "requires": {} }, diff --git a/package.json b/package.json index 176329a25..bed78187f 100644 --- a/package.json +++ b/package.json @@ -184,7 +184,7 @@ "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-standard": "^4.0.1", + "eslint-plugin-standard": "^4.0.2", "marked-man": "^0.7.0", "require-inject": "^1.4.4", "tap": "^14.10.8" |