putout 40.6.0 → 40.6.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,26 @@
1
+ 2025.08.25, v40.6.2
2
+
3
+ feature:
4
+ - 7800fce99 putout: @putout/plugin-convert-arguments-to-rest v4.0.0
5
+ - 7a9310e1c @putout/plugin-convert-arguments-to-rest: migrate to ESM
6
+ - ddaf705ad @putout/plugin-minify: merge-variables: include let
7
+ - fc958785e @putout/plugin-minify: convert-const-to-var -> convert-const-to-let
8
+ - 059d0195e @putout/engine-parser: hermes-parser v0.32.0
9
+
10
+ 2025.08.24, v40.6.1
11
+
12
+ fix:
13
+ - 9514e40fd @putout/plugin-nodejs: declare: util: types
14
+ - e3fecb830 @putout/processor-html: branch: trim
15
+
16
+ feature:
17
+ - 708aa2fb2 @putout/formatter-dump: get rid of chalk
18
+ - 740818804 @putout/formatter-codeframe: get rid of chalk
19
+ - e1d707d0e @putout/plugin-nodejs: declare: util: styleText
20
+ - e539beba6 putout: get rid of chalk
21
+ - 436dbd95f @putout/engine-loader: rules: parse-rules: throw if passed array instead of object
22
+ - 2c6077ed9 @putout/processor-html: no semicolon
23
+
1
24
  2025.08.16, v40.6.0
2
25
 
3
26
  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.6.0",
3
+ "version": "40.6.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",
@@ -100,7 +100,7 @@
100
100
  "@putout/plugin-browserlist": "^2.0.0",
101
101
  "@putout/plugin-conditions": "^8.0.0",
102
102
  "@putout/plugin-convert-apply-to-spread": "^4.0.0",
103
- "@putout/plugin-convert-arguments-to-rest": "^3.0.0",
103
+ "@putout/plugin-convert-arguments-to-rest": "^4.0.0",
104
104
  "@putout/plugin-convert-array-copy-to-slice": "^3.0.0",
105
105
  "@putout/plugin-convert-concat-to-flat": "^1.0.0",
106
106
  "@putout/plugin-convert-const-to-let": "^5.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",