putout 42.13.0 → 42.15.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,115 @@
1
+ 2026.09.13, v42.15.0
2
+
3
+ fix:
4
+ - cacfcc3ad @putout/plugin-filesystem: convert-simple-filesystem-to-filesystem: TemplateLiteral: raw -> cooked
5
+ - 39763c79a @putout/operator-json: fromJS: trailing newlines
6
+ - c0f93dde2 @putout/plugin-for-of: map: re-assign: exclude
7
+ - 045c25cfa @putout/plugin-assignment: not AssignmentPattern: exclude
8
+
9
+ feature:
10
+ - eb301694c @putout/plugin-putout: declare: sortProperties: add
11
+ - 416d5cf82 @putout/operator-sort-properties: add
12
+ - b245da1ff @putout/plugin-putout: declare-template-variables: not Replacer: exclude
13
+ - eae196ebd putout: ts 7
14
+ - edc9346c0 @putout/plugin-esm: apply-export-from: exportKind: type
15
+ - 7dc1b495e @putout/processor-json: remove-blank-line: add
16
+ - 23ecc3ee6 @putout/operator-json: rm useless remove-black-lines
17
+ - 92e8fee0d @putout/formatter-time: chalk v6.0.0
18
+ - b97a62d78 @putout/formatter-progress-bar: chalk v6.0.0
19
+ - 7ccf78824 @putout/formatter-memory: chalk v6.0.0
20
+ - fb31bdee6 eslint-plugin-putout: mocha v12.0.0
21
+ - 9ee198b07 @putout/plugin-sort-readme-file: sort-headings: heading level more then 2
22
+ - 1df8ad59e @putout/plugin-putout: sort-readme-file: sort-contents: localeCompare (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare)
23
+ - 3f9c2697f @putout/plugin-putout: sort-readme-file: sort-headings: localeCompare (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare)
24
+ - ba9b4f7e6 @putout/plugin-putout: sort-readme-file: sort-headings: codeblocks
25
+ - 5054c74b6 @putout/operator-match-files: do not pass assets to merge
26
+ - 63a22b19f @putout/processor-markdown: merge: no assets passed -> preserve existing
27
+ - 320dcfbd1 @putout/plugin-putout: sort-readme-file: sort-headings: badges
28
+ - 0830a2440 @putout/plugin-putout: sort-readme-file: sort-headings: rm dead code
29
+ - bb8fe6e95 @putout/plugin-putout: sort-readme-file: sort-headings: simplify
30
+ - a565a3186 @putout/plugin-putout: sort-readme-file: sort-heading: improve
31
+ - 6b51163e3 @putout/operator-match-files: fix: handle throw
32
+ - 24cd38a10 @putout/plugin-putout: sort-readme-file: sort-headings
33
+ - 91f1988e5 @putout/plugin-printer: remove-useless-arrow: useful: exclude
34
+ - 525cd3002 @putout/operate: replaceWithMultiple: path can be passed instead of node
35
+ - 0bfe2e105 @putout/operate: replace-with: get rid of SequenceExpression: when inside ArrayExpression
36
+ - 04e59542b @putout/plugin-tape: convert-ok-to-pass: add
37
+ - e23bdf04e @putout/plugin-filesystem: convert-js-to-json: strict: rm
38
+ - bcffce48f @putout/operator-match-files: [matchedAST, matchedJS] -> {ast, assets}
39
+ - e54df3b90 @putout/operator-match-files: magic-print: simplify
40
+ - 30fd2397a @putout/operator-match-files: magic-parse: simplify
41
+ - fd2a0e586 @putout/plugin-putout: sort-readme-file: sort-content: rules section
42
+ - de043975f @putout/operator-match-files: throw
43
+ - 522302d75 @putout/operator-match-files: markdown: json
44
+ - 517b46a5e @putout/plugin-putout: sort-readme-file: add
45
+ - 4a0c2696e @putout/operator-filesystem: findFile: exclude fn
46
+ - 91d7f423a @putout/plugin-putout: sort-readme-file: add
47
+ - 02e37ba83 @putout/operator-match-files: markdown
48
+ - 388f78d29 @putout/processor-markdown: branch/merge: sync
49
+ - 2f65e5d3d @putout/plugin-filesystem: convert-simple-filesystem-to-filesystem: emoji
50
+ - 733974100 @putout/operator-filesystem: export toBase64, fromBase64
51
+
52
+ 2026.09.04, v42.14.0
53
+
54
+ fix:
55
+ - c45a4da7e @putout/plugin-convert-webpack-to-rspack: apply-asset-type: use: array
56
+ - a07809a18 @putout/plugin-typescript: apply-type-guard: identifier and
57
+ - a28b1a6c0 @putout/plugin-conditions: convert-switch-to-if: default: multiple consequents
58
+ - d90a0d6de @putout/plugin-esm: apply-privately-imported-file: parse: ts
59
+ - 54af7eb7e @putout/plugin-try-catch: expand-args: rm useless check
60
+ - c88337b4f @putout/plugin-try-catch: expand-args: internal variable: exclude
61
+ - 2ea37cdbc @putout/processor-css: declaration-block-single-line-max-declarations: on
62
+ - b923551cf @putout/processor-css: declaration-block-single-line-max-declarations: off
63
+ - bf0781a8d @putout/processor-css: selector-id-pattern: off
64
+ - cca449a58 @putout/operate: npmignore: fixture: exclude
65
+ - 3c5d7778a @putout/plugin-sql: convert-postgres-to-sqlite: apply-json-type: iNotNull -> isNotNull
66
+ - 4ea2baa96 @putout/plugin-variables: remove-useless-declarations: const in switch without block: no body
67
+ - be7eff5cb @putout/plugin-sql: convert-generate-series-to-with-recursive: convert-postgres-to-sqlite -> convert-sqlite-to-postgres
68
+ - 16f989eba @putout/plugin-montag: formatted: exclude
69
+ - e026bd139 @putout/plugin-montag: apply: coocked -> raw
70
+
71
+ feature:
72
+ - ddd279899 putout: @putout/plugin-assignment v3.0.0
73
+ - e0f5110cb @putout/plugin-assignment: drop support of 🐊 < 42
74
+ - e567be78b @putout/plugin-assignment: remove-useless-undefined
75
+ - f33084fac @putout/plugin-spread: remove-useless-logical
76
+ - ed1e5d748 @putout/plugin-conditions: convert-switch-to-if: default
77
+ - 2dcac0869 @putout/plugin-esm: apply-privately-imported-file: ts
78
+ - 5278880cb @putout/plugin-typescript: apply-typeguards: unknown
79
+ - a03be3439 @putout/processor-css: at-rule-prelude: turn of (stylelint/stylelint#9472)
80
+ - c958fd52a @putout/plugin-tape: apply-assertions-order: couple
81
+ - 1b3de750a @putout/plugin-esm: merge-duplicate-imports: join: type first
82
+ - 4ade6d478 @putout/engine-parser: plugins: types
83
+ - 1f468311e @putout/operate: insertAfter: inside ArrayExpression
84
+ - 342015d1c @putout/plugin-logical-expressions: convert-calescing-to-logical: add
85
+ - 1e325647a @putout/plugin-tape: convert-equal-length-to-match-string: add
86
+ - 3c3354a34 @putout/operate: insertBefore: inside array
87
+ - 8fc3d318f @putout/plugin-convert-webpack-to-rspack: add
88
+ - dbc3ca2bc @putout/plugin-sql: convert-sqlite-to-postgres: apply-key-exists
89
+ - 4124f1c42 @putout/operator-json: types: __sql_name
90
+ - 52934100f @putout/plugin-sql: apply-json-type: add
91
+ - dbbe5ca3d @putout/plugin-sql: convert-sqlite-to-postgres: apply-jsonb-extract-path-text: add
92
+ - c192cb8a7 @putout/plugin-sql: convert-postgres-to-sqlite: apply-json-extract: add
93
+ - 9317fb969 @putout/plugin-printer: remove-useless-arrow-from-type-checker: arrow in comparators
94
+ - dc37e149a @putout/plugin-sql: convert-postgres-to-sql: convert-generate-series-to-with-recursive
95
+ - d6bc302f9 @putout/eslint-config: no-useless-computed-key: off
96
+ - bd6f0971a @putout/plugin-sql: apply-generate-series: convert-sqlite-to-postgres -> postgres
97
+ - 547d94a5e @putout/plugin-sql: convert-sqlite-to-postgres: apply-generate-series
98
+ - afa16621d @putout/plugin-montag: apply: no newlines: exclude
99
+ - a47a54173 @putout/plugin-tape: remove-skip: filter -> match
100
+ - d869d0cd1 @putout/plugin-montag: apply: top level: exclude
101
+ - bb02099e3 @putout/operator-json: isSQL: add
102
+ - 4dfc1103c @putout/processor-toml: @decimalturn/toml-patch v3.0.2 (#244)
103
+ - ae0ec2208 @putout/plugin-montag: apply: match -> replace
104
+ - e6e20fa51 @putout/plugin-montag: apply: inside VariableDeclarator
105
+ - 165ede694 @putout/plugin-sql: convert-postgres-to-sqlite: as
106
+ - 29f3e5e4d @putout/operate: extract: TSLiteralType
107
+ - 10ca06be0 @putout/processor-sql: happy-sql v2.0.0
108
+ - 1450add9a @putout/plugin-sql: convert-postgres-to-sql: apply-auto-increment: nextval
109
+ - c6731c9b3 @putout/plugin-sql: convert-postgres-to-sql: convert-lastval-tl-last-insert-rowid: add
110
+ - 9c70b5f1d @putout/plugin-sql: convert-postgres-to-sqlite: apply-auto-increment
111
+ - d49655c90 @putout/plugin-remove-useless-computed: add
112
+
1
113
  2026.08.17, v42.13.0
2
114
 
3
115
  fix:
package/lib/operator.js CHANGED
@@ -15,6 +15,7 @@ export * from '@putout/operator-ignore';
15
15
  export * from '@putout/operator-parens';
16
16
  export * from '@putout/operator-find-file-up';
17
17
  export * from '@putout/operator-sort-ignore';
18
+ export * from '@putout/operator-sort-properties';
18
19
  export * from '@putout/operator-remove-files';
19
20
  export * from '@putout/operator-rename-properties';
20
21
  export * from '@putout/operator-type-checker';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "42.13.0",
3
+ "version": "42.15.0",
4
4
  "type": "module",
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",
@@ -90,6 +90,7 @@
90
90
  "@putout/operator-rename-files": "^6.0.0",
91
91
  "@putout/operator-rename-properties": "^1.0.0",
92
92
  "@putout/operator-sort-ignore": "^2.0.0",
93
+ "@putout/operator-sort-properties": "^1.0.0",
93
94
  "@putout/operator-type-checker": "^1.0.0",
94
95
  "@putout/operator-wasm": "^1.0.0",
95
96
  "@putout/plugin-apply-arrow": "^3.0.0",
@@ -103,7 +104,7 @@
103
104
  "@putout/plugin-apply-starts-with": "^2.0.0",
104
105
  "@putout/plugin-apply-template-literals": "^5.0.0",
105
106
  "@putout/plugin-arguments": "^2.0.0",
106
- "@putout/plugin-assignment": "^2.0.0",
107
+ "@putout/plugin-assignment": "^3.0.0",
107
108
  "@putout/plugin-browserlist": "^2.0.0",
108
109
  "@putout/plugin-conditions": "^9.0.0",
109
110
  "@putout/plugin-convert-concat-to-flat": "^2.0.0",
@@ -225,7 +226,7 @@
225
226
  "@putout/eslint-flat": "^4.0.0",
226
227
  "@putout/plugin-apply-entries": "^3.0.0",
227
228
  "@putout/test": "^15.1.0",
228
- "check-dts": "^1.0.0",
229
+ "check-dts": "^2.0.0",
229
230
  "currify": "^4.0.0",
230
231
  "eslint": "^10.0.0",
231
232
  "eslint-plugin-putout": "^31.0.0",
package/types/operator.ts CHANGED
@@ -14,6 +14,7 @@ export * from '@putout/operator-parens';
14
14
  export * from '@putout/operator-regexp';
15
15
  export * from '@putout/operator-find-file-up';
16
16
  export * from '@putout/operator-sort-ignore';
17
+ export * from '@putout/operator-sort-properties';
17
18
  export * from '@putout/operator-type-checker';
18
19
  export * from '@putout/operator-remove-files';
19
20