putout 40.5.2 → 40.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/ChangeLog CHANGED
@@ -1,3 +1,35 @@
1
+ 2025.08.24, v40.6.1
2
+
3
+ fix:
4
+ - 9514e40fd @putout/plugin-nodejs: declare: util: types
5
+ - e3fecb830 @putout/processor-html: branch: trim
6
+
7
+ feature:
8
+ - 708aa2fb2 @putout/formatter-dump: get rid of chalk
9
+ - 740818804 @putout/formatter-codeframe: get rid of chalk
10
+ - e1d707d0e @putout/plugin-nodejs: declare: util: styleText
11
+ - e539beba6 putout: get rid of chalk
12
+ - 436dbd95f @putout/engine-loader: rules: parse-rules: throw if passed array instead of object
13
+ - 2c6077ed9 @putout/processor-html: no semicolon
14
+
15
+ 2025.08.16, v40.6.0
16
+
17
+ fix:
18
+ - 0ecbe9720 @putout/plugin-regexp: optimize: exclude RegExp with slash (DmitrySoshnikov/regexp-tree#273)
19
+
20
+ feature:
21
+ - 51588604c putout: @putout/operator-regexp v2.0.0
22
+ - 114aeec46 @putout/plugin-putout: transformRegExp: add
23
+ - f026eb3b8 @putout/plugin-regexp: remove-useless-regexp: transformRegExp
24
+ - 056a8dce0 @putout/plugin-regexp: remove-useless-group: transformRegExp
25
+ - d3e9731de @putout/plugin-regexp: remove-duplicates-from-character-class: add
26
+ - 53a2dd161 @putout/operator-regexp: transformRegExp: add
27
+ - a33f11522 @putout/operator-regexp: transformRegExp: add
28
+ - ad17b375e @putout/engine-reporter: @putout/formatter-progress v6.0.1
29
+ - a1dfa278d @putout/plugin-regexp: apply-character-class: exclude not escaped
30
+ - 9bdb516dd @putout/plugin-regexp: apply-character-class: escaped
31
+ - 41e9fe2aa @putout/plugin-regexp: apply-character-class: add
32
+
1
33
  2025.08.13, v40.5.2
2
34
 
3
35
  fix:
@@ -1,4 +1,4 @@
1
- import chalk from 'chalk';
1
+ import chalk from '../lib/cli/chalk.mjs';
2
2
 
3
3
  export const onDebuggerExit = ({log, process, inspector}) => {
4
4
  const {pid} = process;
@@ -0,0 +1,12 @@
1
+ import {styleText} from 'node:util';
2
+
3
+ const red = (a) => styleText('red', a);
4
+
5
+ const bgBlueBright = (a) => styleText('bgBlueBright', a);
6
+
7
+ const chalk = {
8
+ red,
9
+ bgBlueBright,
10
+ };
11
+
12
+ export default chalk;
package/lib/cli/exit.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import chalk from 'chalk';
1
+ import chalk from './chalk.mjs';
2
2
 
3
3
  const {red} = chalk;
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "40.5.2",
3
+ "version": "40.6.1",
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",
@@ -85,7 +85,7 @@
85
85
  "@putout/operator-keyword": "^2.0.0",
86
86
  "@putout/operator-match-files": "^9.0.0",
87
87
  "@putout/operator-parens": "^2.0.0",
88
- "@putout/operator-regexp": "^1.0.0",
88
+ "@putout/operator-regexp": "^2.0.0",
89
89
  "@putout/operator-rename-files": "^5.0.0",
90
90
  "@putout/plugin-apply-arrow": "^3.0.0",
91
91
  "@putout/plugin-apply-at": "^2.0.0",
@@ -194,7 +194,6 @@
194
194
  "@putout/processor-yaml": "^8.0.0",
195
195
  "@putout/traverse": "^14.0.0",
196
196
  "ajv": "^8.8.2",
197
- "chalk": "^5.3.0",
198
197
  "ci-info": "^4.0.0",
199
198
  "debug": "^4.1.1",
200
199
  "deepmerge": "^4.0.0",