@putout/printer 17.0.0 → 17.0.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,15 @@
1
+ 2026.01.11, v17.0.1
2
+
3
+ fix:
4
+ - ee1df33 @putout/printer: drop support of node < 22
5
+
6
+ feature:
7
+ - 183f7ba @putout/printer: supertape v12.0.9
8
+ - cfa04f4 @putout/printer: fullstore v4.0.0
9
+ - 399ad3d @putout/printer: estree-to-babel v12.0.0
10
+ - 2641280 @putout/printer: @putout/operator-json v3.1.0
11
+ - ea8a6fe @putout/printer: @babel/parser v7.28.5
12
+
1
13
  2026.01.04, v17.0.0
2
14
 
3
15
  feature:
package/README.md CHANGED
@@ -56,6 +56,7 @@ To benefit from it.
56
56
  ```js
57
57
  import {print} from '@putout/printer';
58
58
  import {parse} from 'putout';
59
+
59
60
  const ast = parse('const a = (b, c) => {const d = 5; return a;}');
60
61
 
61
62
  print(ast);
@@ -310,7 +311,6 @@ About speed, for file `speed.js`:
310
311
 
311
312
  ```js
312
313
  import {readFileSync} from 'node:fs';
313
-
314
314
  import {putout} from 'putout';
315
315
  import parser from '@babel/parser';
316
316
 
@@ -1,14 +1,8 @@
1
1
  export * from './function/functions.js';
2
2
  export * from './unary-expression/unary-expressions.js';
3
3
  export * from './member-expression/member-expressions.js';
4
- export {
5
- ClassExpression,
6
- ClassDeclaration,
7
- } from './class/class.js';
8
- export {
9
- CallExpression,
10
- OptionalCallExpression,
11
- } from './call-expression/call-expression.js';
4
+ export {ClassExpression, ClassDeclaration} from './class/class.js';
5
+ export {CallExpression, OptionalCallExpression} from './call-expression/call-expression.js';
12
6
  export {NewExpression} from './new-expression/new-expression.js';
13
7
  export {ObjectExpression} from './object-expression/object-expression.js';
14
8
  export {ObjectProperty} from './object-expression/object-property.js';
@@ -38,4 +38,3 @@ export const JSXClosingElement = (path, {print}) => {
38
38
  print('__name');
39
39
  print('>');
40
40
  };
41
-
@@ -43,4 +43,3 @@ export const MetaProperty = (path, {write}) => {
43
43
  export const Super = (path, {write}) => {
44
44
  write('super');
45
45
  };
46
-
@@ -28,4 +28,3 @@ export const InterpreterDirective = (path, {print}) => {
28
28
  print(`${SHEBANG_HASHBANG}${path.node.value}\n`);
29
29
  print.newline();
30
30
  };
31
-
@@ -1,4 +1,4 @@
1
- import fullstore from 'fullstore';
1
+ import {fullstore} from 'fullstore';
2
2
  import {traverse as babelTraverse} from '@putout/babel';
3
3
  import {TYPES} from '../types.js';
4
4
  import * as baseVisitors from './visitors.js';
@@ -175,4 +175,3 @@ export const TSExternalModuleReference = (path, {print}) => {
175
175
  export const TSThisType = (path, {print}) => {
176
176
  print('this');
177
177
  };
178
-
@@ -1,4 +1,4 @@
1
- import {isNext} from '../../is.js';
1
+ import {isNext} from '#is';
2
2
  import {maybeDeclare} from '../../maybe/maybe-declare.js';
3
3
 
4
4
  export const TSModuleDeclaration = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/printer",
3
- "version": "17.0.0",
3
+ "version": "17.0.1",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Simplest possible opinionated Babel AST printer for 🐊Putout",
@@ -36,8 +36,8 @@
36
36
  "@putout/babel": "^5.0.0",
37
37
  "@putout/compare": "^19.0.1",
38
38
  "@putout/operate": "^15.0.0",
39
- "@putout/operator-json": "^2.0.0",
40
- "fullstore": "^3.0.0",
39
+ "@putout/operator-json": "^3.1.0",
40
+ "fullstore": "^4.0.0",
41
41
  "just-snake-case": "^3.2.0",
42
42
  "parse-import-specifiers": "^1.0.1",
43
43
  "rendy": "^4.0.0"
@@ -69,7 +69,7 @@
69
69
  }
70
70
  },
71
71
  "devDependencies": {
72
- "@babel/parser": "8.0.0-beta.2",
72
+ "@babel/parser": "^7.28.5",
73
73
  "@putout/eslint": "^5.0.2",
74
74
  "@putout/plugin-minify": "^11.2.1",
75
75
  "@putout/plugin-printer": "^7.0.0",
@@ -82,7 +82,7 @@
82
82
  "escover": "^5.0.0",
83
83
  "eslint": "^9.0.0",
84
84
  "eslint-plugin-putout": "^29.0.0",
85
- "estree-to-babel": "^11.0.2",
85
+ "estree-to-babel": "^12.0.0",
86
86
  "goldstein": "^7.0.0",
87
87
  "just-kebab-case": "^4.2.0",
88
88
  "madrun": "^12.0.0",
@@ -91,13 +91,13 @@
91
91
  "putout": "^41.0.0",
92
92
  "redlint": "^5.0.2",
93
93
  "samadhi": "^4.0.2",
94
- "supertape": "^11.1.0",
94
+ "supertape": "^12.0.9",
95
95
  "try-catch": "^4.0.6",
96
96
  "typescript": "^5.3.3"
97
97
  },
98
98
  "license": "MIT",
99
99
  "engines": {
100
- "node": ">=20"
100
+ "node": ">=22"
101
101
  },
102
102
  "publishConfig": {
103
103
  "access": "public"