eslint-config-adjunct
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -20,4 +20,2 @@ // From kcd-scripts | ||
const hasFile = (...p) => fs.existsSync(fromRoot(...p)) | ||
const ifFile = (files, t, f) => | ||
arrify(files).some((file) => hasFile(file)) ? t : f | ||
@@ -29,5 +27,2 @@ const hasPkgProp = (props) => arrify(props).some((prop) => has(pkg, prop)) | ||
const ifPkgSubProp = (pkgProp) => (props, t, f) => | ||
hasPkgSubProp(pkgProp)(props) ? t : f | ||
const hasScript = hasPkgSubProp('scripts') | ||
@@ -40,8 +35,2 @@ const hasPeerDep = hasPkgSubProp('peerDependencies') | ||
const ifPeerDep = ifPkgSubProp('peerDependencies') | ||
const ifDep = ifPkgSubProp('dependencies') | ||
const ifDevDep = ifPkgSubProp('devDependencies') | ||
const ifAnyDep = (deps, t, f) => (hasAnyDep(arrify(deps)) ? t : f) | ||
const ifScript = ifPkgSubProp('scripts') | ||
function parseEnv(name, def) { | ||
@@ -108,7 +97,2 @@ if (envIsSet(name)) { | ||
hasAnyDep, | ||
ifDep, | ||
ifDevDep, | ||
ifFile, | ||
ifPeerDep, | ||
ifScript, | ||
parseEnv, | ||
@@ -115,0 +99,0 @@ pkg, |
{ | ||
"name": "eslint-config-adjunct", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"author": "David J. Bradshaw", | ||
@@ -30,3 +30,5 @@ "license": "MIT", | ||
"arrify": "^2.0.1", | ||
"lodash.has": "^4.5.2" | ||
"cosmiconfig": "^6.0.0", | ||
"lodash.has": "^4.5.2", | ||
"read-pkg-up": "^7.0.1" | ||
}, | ||
@@ -33,0 +35,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
21684
4
494
+ Addedcosmiconfig@^6.0.0
+ Addedread-pkg-up@^7.0.1
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@types/normalize-package-data@2.4.4(transitive)
+ Added@types/parse-json@4.0.2(transitive)
+ Addedcallsites@3.1.0(transitive)
+ Addedcosmiconfig@6.0.0(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addedfind-up@4.1.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhosted-git-info@2.8.9(transitive)
+ Addedimport-fresh@3.3.0(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedis-core-module@2.16.1(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedjson-parse-even-better-errors@2.3.1(transitive)
+ Addedlines-and-columns@1.2.4(transitive)
+ Addedlocate-path@5.0.0(transitive)
+ Addednormalize-package-data@2.5.0(transitive)
+ Addedp-limit@2.3.0(transitive)
+ Addedp-locate@4.1.0(transitive)
+ Addedp-try@2.2.0(transitive)
+ Addedparent-module@1.0.1(transitive)
+ Addedparse-json@5.2.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpath-type@4.0.0(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedread-pkg@5.2.0(transitive)
+ Addedread-pkg-up@7.0.1(transitive)
+ Addedresolve@1.22.10(transitive)
+ Addedresolve-from@4.0.0(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedspdx-correct@3.2.0(transitive)
+ Addedspdx-exceptions@2.5.0(transitive)
+ Addedspdx-expression-parse@3.0.1(transitive)
+ Addedspdx-license-ids@3.0.20(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedtype-fest@0.6.00.8.1(transitive)
+ Addedvalidate-npm-package-license@3.0.4(transitive)
+ Addedyaml@1.10.2(transitive)