@putout/plugin-putout 26.8.0 β 26.10.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/README.md
CHANGED
|
@@ -2,12 +2,14 @@ import filesystem from './filesystem.js';
|
|
|
2
2
|
import json from './json.js';
|
|
3
3
|
import keyword from './keyword.js';
|
|
4
4
|
import parens from './parens.js';
|
|
5
|
+
import regexp from './regexp.js';
|
|
5
6
|
|
|
6
7
|
export default {
|
|
7
8
|
...filesystem,
|
|
8
9
|
...json,
|
|
9
10
|
...keyword,
|
|
10
11
|
...parens,
|
|
12
|
+
...regexp,
|
|
11
13
|
operator: `import {operator} from 'putout'`,
|
|
12
14
|
compare: 'const {compare} = operator',
|
|
13
15
|
compareAll: 'const {compareAll} = operator',
|
|
@@ -24,7 +26,6 @@ export default {
|
|
|
24
26
|
getBinding: 'const {getBinding} = operator',
|
|
25
27
|
getBindingPath: 'const {getBindingPath} = operator',
|
|
26
28
|
traverse: 'const {traverse} = operator',
|
|
27
|
-
isSimpleRegExp: 'const {isSimpleRegExp} = operator',
|
|
28
29
|
getTemplateValues: 'const {getTemplateValues} = operator',
|
|
29
30
|
addArgs: 'const {addArgs} = operator',
|
|
30
31
|
insertBefore: 'const {insertBefore} = operator',
|
|
@@ -14,7 +14,7 @@ export const fix = ({path, incorrect, correct}) => {
|
|
|
14
14
|
|
|
15
15
|
const INCORRECT = {
|
|
16
16
|
REPORT: /: (no report after transform|no report|transform|no transform)/,
|
|
17
|
-
NO_REPORT: /: (no report after transform|report|transform|no transform)/,
|
|
17
|
+
NO_REPORT: /: (no report after transform|report|(transform|no transform)(\swith options)?)/,
|
|
18
18
|
NO_REPORT_AFTER_TRANSFORM: /: (report|transform|no transform|no report)/,
|
|
19
19
|
NO_REPORT_WITH_OPTIONS: /: (no report after transform(\swith options)?|report|transform|no transform|no report)/,
|
|
20
20
|
TRANSFORM: /: (no report after transform|no transform|report|no report)/,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/plugin-putout",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.10.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "πPutout plugin helps with plugins development",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@putout/plugin-merge-destructuring-properties": "*",
|
|
48
48
|
"@putout/plugin-nodejs": "*",
|
|
49
49
|
"@putout/plugin-tape": "*",
|
|
50
|
-
"@putout/test": "^
|
|
50
|
+
"@putout/test": "^14.0.0",
|
|
51
51
|
"c8": "^10.0.0",
|
|
52
52
|
"chalk": "^5.3.0",
|
|
53
53
|
"eslint": "^9.0.0",
|