putout 38.0.0 → 38.0.2

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/ChangeLog CHANGED
@@ -1,3 +1,24 @@
1
+ 2025.02.01, v38.0.2
2
+
3
+ fix:
4
+ - 682989347 putout: exit codes: RULLER -> RULER
5
+
6
+ feature:
7
+ - e947022dd @putout/operator-keyword: isStatementKeyword: add
8
+
9
+ 2025.01.31, v38.0.1
10
+
11
+ fix:
12
+ - 003699b56 @putout/plugin-return: remove-useless
13
+
14
+ feature:
15
+ - 151732a11 putout: @putout/plugin-extract-keywords-from-variables v2.0.0
16
+ - ad89e159f @putout/plugin-extract-keywords-from-variables: drop support of 🐊 < 38
17
+ - 7c314f9d6 @putout/plugin-extract-keywords-from-variables: add support of Identifier used as init
18
+ - d3bd4516f @putout/plugin-putout-config: drop support of 🐊 < 38
19
+ - 281827db0 @putout/plugin-putout-config: add apply-return
20
+ - ab0804f65 root: eslint-plugin-putout v24.0.0
21
+
1
22
  2025.01.29, v38.0.0
2
23
 
3
24
  fix:
@@ -11,8 +11,8 @@ module.exports = {
11
11
  INVALID_OPTION: 7,
12
12
  CANNOT_LOAD_PROCESSOR: 8,
13
13
  CANNOT_LOAD_FORMATTER: 9,
14
- RULLER_WITH_FIX: 10,
15
- RULLER_NO_FILES: 11,
14
+ RULER_WITH_FIX: 10,
15
+ RULER_NO_FILES: 11,
16
16
  INVALID_CONFIG: 12,
17
17
  UNHANDLED: 13,
18
18
  CANNOT_LINT_STAGED: 14,
@@ -8,8 +8,8 @@ export const WAS_STOP = 6;
8
8
  export const INVALID_OPTION = 7;
9
9
  export const CANNOT_LOAD_PROCESSOR = 8;
10
10
  export const CANNOT_LOAD_FORMATTER = 9;
11
- export const RULLER_WITH_FIX = 10;
12
- export const RULLER_NO_FILES = 11;
11
+ export const RULER_WITH_FIX = 10;
12
+ export const RULER_NO_FILES = 11;
13
13
  export const INVALID_CONFIG = 12;
14
14
  export const UNHANDLED = 13;
15
15
  export const CANNOT_LINT_STAGED = 14;
package/lib/cli/index.js CHANGED
@@ -37,8 +37,8 @@ const {
37
37
  WAS_STOP,
38
38
  INVALID_OPTION,
39
39
  UNHANDLED,
40
- RULLER_WITH_FIX,
41
- RULLER_NO_FILES,
40
+ RULER_WITH_FIX,
41
+ RULER_NO_FILES,
42
42
  INVALID_CONFIG,
43
43
  CANNOT_LINT_STAGED,
44
44
  INTERACTIVE_CANCELED,
@@ -154,7 +154,7 @@ module.exports = async ({argv, halt, log, write, logError, readFile, writeFile,
154
154
  }
155
155
 
156
156
  if (fix && (enable || disable || enableAll || disableAll))
157
- return exit(RULLER_WITH_FIX, Error(`'--fix' cannot be used with ruler toggler ('--enable', '--disable')`));
157
+ return exit(RULER_WITH_FIX, Error(`'--fix' cannot be used with ruler toggler ('--enable', '--disable')`));
158
158
 
159
159
  if (enable || disable) {
160
160
  const {ruler} = await simpleImport('@putout/cli-ruler');
@@ -229,7 +229,7 @@ module.exports = async ({argv, halt, log, write, logError, readFile, writeFile,
229
229
  const noFiles = !names.length;
230
230
 
231
231
  if (noFiles && (enableAll || disableAll))
232
- return exit(RULLER_NO_FILES, Error('`path` is missing for ruler toggler (`--enable-all`, `--disable-all`)'));
232
+ return exit(RULER_NO_FILES, Error('`path` is missing for ruler toggler (`--enable-all`, `--disable-all`)'));
233
233
 
234
234
  if (noFiles)
235
235
  return exit();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "38.0.0",
3
+ "version": "38.0.2",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json",
@@ -115,7 +115,7 @@
115
115
  "@putout/plugin-declare-before-reference": "^5.0.0",
116
116
  "@putout/plugin-eslint": "^10.0.0",
117
117
  "@putout/plugin-esm": "^1.0.0",
118
- "@putout/plugin-extract-keywords-from-variables": "^1.0.0",
118
+ "@putout/plugin-extract-keywords-from-variables": "^2.0.0",
119
119
  "@putout/plugin-extract-object-properties": "^9.0.0",
120
120
  "@putout/plugin-extract-sequence-expressions": "^3.0.0",
121
121
  "@putout/plugin-filesystem": "^7.0.0",
@@ -232,7 +232,7 @@
232
232
  "currify": "^4.0.0",
233
233
  "eslint": "^9.0.0",
234
234
  "eslint-plugin-n": "^17.0.0",
235
- "eslint-plugin-putout": "^23.0.0",
235
+ "eslint-plugin-putout": "^24.0.0",
236
236
  "just-camel-case": "^6.2.0",
237
237
  "lerna": "^6.0.1",
238
238
  "madrun": "^10.0.0",