eslint-plugin-jest 27.5.0 → 27.6.1

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/lib/index.js CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  var _fs = require("fs");
4
4
  var _path = require("path");
5
+ var _package = require("../package.json");
5
6
  var _globals = _interopRequireDefault(require("./globals.json"));
6
7
  var snapshotProcessor = _interopRequireWildcard(require("./processors/snapshot-processor"));
7
8
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
@@ -30,6 +31,10 @@ const createConfig = rules => ({
30
31
  rules
31
32
  });
32
33
  module.exports = {
34
+ meta: {
35
+ name: _package.name,
36
+ version: _package.version
37
+ },
33
38
  configs: {
34
39
  all: createConfig(allRules),
35
40
  recommended: createConfig(recommendedRules),
@@ -3,10 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.preprocess = exports.postprocess = void 0;
6
+ exports.preprocess = exports.postprocess = exports.meta = void 0;
7
+ var _package = require("../../package.json");
7
8
  // https://eslint.org/docs/developer-guide/working-with-plugins#processors-in-plugins
8
9
  // https://github.com/typescript-eslint/typescript-eslint/issues/808
9
10
 
11
+ const meta = exports.meta = {
12
+ name: _package.name,
13
+ version: _package.version
14
+ };
10
15
  const preprocess = source => [source];
11
16
  exports.preprocess = preprocess;
12
17
  const postprocess = messages =>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-jest",
3
- "version": "27.5.0",
3
+ "version": "27.6.1",
4
4
  "description": "ESLint rules for Jest",
5
5
  "keywords": [
6
6
  "eslint",
@@ -122,7 +122,7 @@
122
122
  "eslint-plugin-eslint-comments": "^3.1.2",
123
123
  "eslint-plugin-eslint-plugin": "^5.0.6",
124
124
  "eslint-plugin-import": "^2.25.1",
125
- "eslint-plugin-node": "^11.0.0",
125
+ "eslint-plugin-n": "^15.0.0",
126
126
  "eslint-plugin-prettier": "^5.0.0",
127
127
  "eslint-remote-tester": "^3.0.0",
128
128
  "eslint-remote-tester-repositories": "~1.0.0",
@@ -154,11 +154,14 @@
154
154
  "optional": true
155
155
  }
156
156
  },
157
- "packageManager": "yarn@3.6.4",
157
+ "packageManager": "yarn@3.7.0",
158
158
  "engines": {
159
159
  "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
160
160
  },
161
161
  "publishConfig": {
162
162
  "provenance": true
163
+ },
164
+ "resolutions": {
165
+ "typescript": "~5.2.2"
163
166
  }
164
167
  }