@nx/eslint-plugin 16.6.0-beta.5 → 16.6.0-beta.7

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": "@nx/eslint-plugin",
3
- "version": "16.6.0-beta.5",
3
+ "version": "16.6.0-beta.7",
4
4
  "private": false,
5
5
  "description": "The eslint-plugin package is an ESLint plugin that contains a collection of recommended ESLint rule configurations which you can extend from in your own ESLint configs, as well as an Nx-specific lint rule called enforce-module-boundaries.",
6
6
  "repository": {
@@ -33,9 +33,9 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "@nrwl/eslint-plugin-nx": "16.6.0-beta.5",
37
- "@nx/devkit": "16.6.0-beta.5",
38
- "@nx/js": "16.6.0-beta.5",
36
+ "@nrwl/eslint-plugin-nx": "16.6.0-beta.7",
37
+ "@nx/devkit": "16.6.0-beta.7",
38
+ "@nx/js": "16.6.0-beta.7",
39
39
  "@typescript-eslint/type-utils": "^5.60.1",
40
40
  "@typescript-eslint/utils": "^5.60.1",
41
41
  "chalk": "^4.1.0",
@@ -51,5 +51,5 @@
51
51
  "migrations": "./migrations.json"
52
52
  },
53
53
  "types": "./src/index.d.ts",
54
- "gitHead": "aab868aa0c30949832fe2c4b9cb109c204442e39"
54
+ "gitHead": "6afe0a7c20059d6cdc8e455758a17886f933a0dc"
55
55
  }
@@ -124,7 +124,9 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
124
124
  }
125
125
  if (npmDependencies[packageName] === '*' ||
126
126
  packageRange === '*' ||
127
- (0, semver_1.satisfies)(npmDependencies[packageName], packageRange)) {
127
+ (0, semver_1.satisfies)(npmDependencies[packageName], packageRange, {
128
+ includePrerelease: true,
129
+ })) {
128
130
  return;
129
131
  }
130
132
  context.report({
@@ -216,7 +218,7 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
216
218
  ['JSONExpressionStatement > JSONObjectExpression > JSONProperty[key.value=/^(dev|peer|optional)?dependencies$/i]'](node) {
217
219
  validateMissingDependencies(node);
218
220
  },
219
- ['JSONExpressionStatement > JSONObjectExpression > JSONProperty[key.value=/^(dev|peer|optional)?dependencies$/i] > JSONObjectExpression > JSONProperty'](node) {
221
+ ['JSONExpressionStatement > JSONObjectExpression > JSONProperty[key.value=/^(peer|optional)?dependencies$/i] > JSONObjectExpression > JSONProperty'](node) {
220
222
  const packageName = node.key.value;
221
223
  const packageRange = node.value.value;
222
224
  if (ignoredDependencies.includes(packageName)) {