putout 38.0.8 → 38.0.9

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,13 @@
1
+ 2025.02.08, v38.0.9
2
+
3
+ fix:
4
+ - a5caadeb0 putout: get rid of sourceFileName
5
+ - 917e3cb49 @putout/operator-declare: rm unused check
6
+
7
+ feature:
8
+ - 49ca79f58 @putout/operator-declare: rm unused check
9
+ - 7e1a59001 @putout/compare: @putout/operate v13.0.0
10
+
1
11
  2025.02.06, v38.0.8
2
12
 
3
13
  feature:
package/lib/putout.js CHANGED
@@ -30,15 +30,12 @@ function putout(source, opts) {
30
30
  parser,
31
31
  isTS,
32
32
  isJSX,
33
- sourceFileName,
34
- sourceMapName,
35
33
  printer,
36
34
  } = opts;
37
35
 
38
36
  const [clearSource, shebang] = cutShebang(source);
39
37
 
40
38
  const ast = parse(clearSource, {
41
- sourceFileName,
42
39
  parser,
43
40
  isTS,
44
41
  isJSX,
@@ -54,7 +51,6 @@ function putout(source, opts) {
54
51
  };
55
52
 
56
53
  const printed = print(ast, {
57
- sourceMapName,
58
54
  printer,
59
55
  });
60
56
 
@@ -74,15 +70,12 @@ module.exports.putoutAsync = async (source, opts) => {
74
70
  parser,
75
71
  isTS,
76
72
  isJSX,
77
- sourceFileName,
78
- sourceMapName,
79
73
  printer,
80
74
  } = opts;
81
75
 
82
76
  const [clearSource, shebang] = cutShebang(source);
83
77
 
84
78
  const ast = parse(clearSource, {
85
- sourceFileName,
86
79
  parser,
87
80
  isTS,
88
81
  isJSX,
@@ -98,7 +91,6 @@ module.exports.putoutAsync = async (source, opts) => {
98
91
  };
99
92
 
100
93
  const printed = print(ast, {
101
- sourceMapName,
102
94
  printer,
103
95
  });
104
96
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "38.0.8",
3
+ "version": "38.0.9",
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",