putout 38.0.9 → 38.1.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.
package/ChangeLog CHANGED
@@ -1,3 +1,31 @@
1
+ 2025.02.09, v38.1.0
2
+
3
+ feature:
4
+ - 83cca883d putout: @putout/plugin-parens v2.0.0
5
+ - 67adb9f8a putout: @putout/plugin-typescript v11.0.0
6
+ - 3c5b53f29 @putout/plugin-typescript: drop supprot of 🐊 < 38
7
+ - d5acfc730 @putout/plugin-parens: drop support of 🐊 < 38
8
+ - e047933a5 @putout/plugin-putout: apply-parens: add
9
+ - 943fa0cd5 @putout/plugin-putout: hasParens: add
10
+ - 4f0e164b0 @putout/opereate: hasParens: add
11
+ - 9eb02880b @putout/plugin-putout: declare: addParens, removeParens
12
+ - 6cf363866 @putout/operate: addParens, removeParens: add
13
+ - 4f41b2f2d @putout/engine-parser: mark used printer in ast
14
+ - 4f273837f @putout/plugin-react-hook-form: drop support of 🐊 < 38
15
+
16
+ 2025.02.09, v38.0.10
17
+
18
+ feature:
19
+ - d8372b25d putout: @putout/processor-css v10.0.0
20
+ - 4088078e4 @putout/processor-css: drop support of 🐊 < 38
21
+ - 1ecef2753 @putout/processor-css: align-spaces v2.0.0
22
+ - 96f8b560e @putout/engine-parser: align-spaces v2.0.0
23
+ - 751e23450 eslint-plugin-putout: align-spaces v2.0.0
24
+ - 9cf373e4b @putout/engine-parser: printer: babel: trim spaces (babel/babel#17121)
25
+ - c30554998 @putout/engine-parser: printer: babel: align spaces by default (babel/babel#17120)
26
+ - 970f80ba1 putout: printer: babel
27
+ - 1de78eb14 @putout/engine-parser: print: improve support of babel
28
+
1
29
  2025.02.08, v38.0.9
2
30
 
3
31
  fix:
package/lib/putout.js CHANGED
@@ -52,6 +52,7 @@ function putout(source, opts) {
52
52
 
53
53
  const printed = print(ast, {
54
54
  printer,
55
+ source,
55
56
  });
56
57
 
57
58
  const code = mergeShebang(shebang, printed);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "38.0.9",
3
+ "version": "38.1.0",
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",
@@ -139,7 +139,7 @@
139
139
  "@putout/plugin-npmignore": "^5.0.0",
140
140
  "@putout/plugin-optional-chaining": "^1.0.1",
141
141
  "@putout/plugin-package-json": "^9.0.0",
142
- "@putout/plugin-parens": "^1.0.0",
142
+ "@putout/plugin-parens": "^2.0.0",
143
143
  "@putout/plugin-promises": "^16.0.0",
144
144
  "@putout/plugin-putout": "^23.0.0",
145
145
  "@putout/plugin-putout-config": "^8.0.0",
@@ -186,9 +186,9 @@
186
186
  "@putout/plugin-tape": "^16.0.0",
187
187
  "@putout/plugin-try-catch": "^4.0.0",
188
188
  "@putout/plugin-types": "^6.0.0",
189
- "@putout/plugin-typescript": "^10.0.0",
189
+ "@putout/plugin-typescript": "^11.0.0",
190
190
  "@putout/plugin-webpack": "^3.0.0",
191
- "@putout/processor-css": "^9.0.0",
191
+ "@putout/processor-css": "^10.0.0",
192
192
  "@putout/processor-filesystem": "^5.0.0",
193
193
  "@putout/processor-ignore": "^6.0.0",
194
194
  "@putout/processor-javascript": "^5.0.0",