putout 34.1.0 → 34.2.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,23 @@
1
+ 2023.12.18, v34.2.0
2
+
3
+ fix:
4
+ - 679e5055c @putout/plugin-remove-duplicate-keys: exclude ObjectPattern
5
+
6
+ feature:
7
+ - 6fe121997 putout: @putout/plugin-remove-useless-escape v5.0.0
8
+ - 2d104e9cc @putout/plugin-remove-useless-escape: drop support of node < 18
9
+ - eee4e215e @putout/plugin-remove-useless-escape: `\"` -> `"`
10
+ - 33b8a39aa @putout/operator-filesystem: findFile: handle case when no file passed
11
+ - cfa7c3f90 @putout/plugin-filesystem: replace-cwd: add
12
+ - afaf038a9 @putout/plugin-nextjs: drop support of node < 18
13
+ - 79ebcd60e @putout/plugin-next: Traverser -> Scanner
14
+ - d7c811abc @putout/plugin-putout: convert-traverse-to-scan: add support of FS
15
+
16
+ 2023.12.15, v34.1.1
17
+
18
+ fix:
19
+ - 33880ca44 ignores: rm unused export
20
+
1
21
  2023.12.15, v34.1.0
2
22
 
3
23
  fix:
package/lib/ignores.js CHANGED
@@ -16,8 +16,6 @@ module.exports = (dirOpt, resolvedName, options = {}) => {
16
16
  return dirOpt && ignorer.ignores(relativeName);
17
17
  };
18
18
 
19
- module.exports.mergeIgnores = mergeIgnores;
20
-
21
19
  function mergeIgnores(ignores) {
22
20
  for (const [i, str] of ignores.entries()) {
23
21
  const positiveIndex = ignores.indexOf(positive(str));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "34.1.0",
3
+ "version": "34.2.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",
@@ -149,7 +149,7 @@
149
149
  "@putout/plugin-remove-useless-assign": "^1.0.0",
150
150
  "@putout/plugin-remove-useless-constructor": "^1.0.0",
151
151
  "@putout/plugin-remove-useless-continue": "^2.0.0",
152
- "@putout/plugin-remove-useless-escape": "^4.0.0",
152
+ "@putout/plugin-remove-useless-escape": "^5.0.0",
153
153
  "@putout/plugin-remove-useless-functions": "^3.0.0",
154
154
  "@putout/plugin-remove-useless-map": "^1.0.0",
155
155
  "@putout/plugin-remove-useless-operand": "^2.0.0",