@eslint-react/shared
Advanced tools
Comparing version 1.17.0 to 1.17.1-beta.0
@@ -5,3 +5,5 @@ 'use strict'; | ||
var tools = require('@eslint-react/tools'); | ||
var localPkg = require('local-pkg'); | ||
var pm = require('picomatch'); | ||
var tsPattern = require('ts-pattern'); | ||
@@ -1336,3 +1338,4 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; } | ||
return acc.set(name, as); | ||
}, /* @__PURE__ */ new Map()) | ||
}, /* @__PURE__ */ new Map()), | ||
version: tsPattern.match(settings.version).with(tsPattern.P.union(tsPattern.P.nullish, "", "detect"), () => localPkg.getPackageInfoSync("react")?.version).otherwise(tools.F.identity) ?? "18.3.1" | ||
}); | ||
@@ -1339,0 +1342,0 @@ }, { isEqual: shallowEqual }); |
{ | ||
"name": "@eslint-react/shared", | ||
"version": "1.17.0", | ||
"version": "1.17.1-beta.0", | ||
"description": "ESLint React's Shared constants and functions.", | ||
@@ -39,4 +39,6 @@ "homepage": "https://github.com/rel1cx/eslint-react", | ||
"@typescript-eslint/utils": "^8.15.0", | ||
"local-pkg": "^0.5.1", | ||
"picomatch": "^4.0.2", | ||
"@eslint-react/tools": "1.17.0" | ||
"ts-pattern": "^5.5.0", | ||
"@eslint-react/tools": "1.17.1-beta.0" | ||
}, | ||
@@ -43,0 +45,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
231873
4785
5
1
+ Addedlocal-pkg@^0.5.1
+ Addedts-pattern@^5.5.0
+ Added@eslint-react/tools@1.17.1-beta.0(transitive)
+ Addedconfbox@0.1.8(transitive)
+ Addedlocal-pkg@0.5.1(transitive)
+ Addedmlly@1.7.3(transitive)
+ Addedpathe@1.1.2(transitive)
+ Addedpkg-types@1.2.1(transitive)
+ Addedts-pattern@5.6.0(transitive)
+ Addedufo@1.5.4(transitive)
- Removed@eslint-react/tools@1.17.0(transitive)