@putout/operator-ignore 2.0.0 → 3.0.0

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.
Files changed (2) hide show
  1. package/lib/ignore.js +2 -2
  2. package/package.json +9 -9
package/lib/ignore.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  const {types} = require('@putout/babel');
4
4
  const {traverseProperties} = require('@putout/operate');
5
- const {StringLiteral} = types;
5
+ const {stringLiteral} = types;
6
6
  const getValue = ({value}) => value;
7
7
 
8
8
  module.exports.ignore = (type, {name, property, list}) => {
@@ -68,7 +68,7 @@ const createReplace = ({type, property, collector, list}) => ({options}) => {
68
68
 
69
69
  for (const name of newNames) {
70
70
  if (!list.includes(name))
71
- elements.push(StringLiteral(name));
71
+ elements.push(stringLiteral(name));
72
72
  }
73
73
 
74
74
  return path;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/operator-ignore",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout operator adds ability to ignore referenced variables that was not defined",
@@ -30,28 +30,28 @@
30
30
  "ignore"
31
31
  ],
32
32
  "devDependencies": {
33
- "@putout/test": "^11.0.0",
33
+ "@putout/eslint-flat": "^3.0.0",
34
+ "@putout/test": "^13.0.0",
34
35
  "c8": "^10.0.0",
35
36
  "eslint": "^9.0.0",
36
37
  "eslint-plugin-n": "^17.0.0",
37
- "eslint-plugin-putout": "^24.0.0",
38
- "lerna": "^6.0.1",
39
- "madrun": "^10.0.0",
38
+ "eslint-plugin-putout": "^27.0.0",
39
+ "madrun": "^11.0.0",
40
40
  "montag": "^1.2.1",
41
41
  "nodemon": "^3.0.1",
42
42
  "putout": "*",
43
- "supertape": "^10.0.0",
43
+ "supertape": "^11.0.3",
44
44
  "try-catch": "^3.0.0"
45
45
  },
46
46
  "license": "MIT",
47
47
  "engines": {
48
- "node": ">=18"
48
+ "node": ">=20"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@putout/babel": "^3.0.0",
55
- "@putout/operate": "^13.0.0"
54
+ "@putout/babel": "^4.0.1",
55
+ "@putout/operate": "^14.0.0"
56
56
  }
57
57
  }