redput 4.2.0 → 4.2.2
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.04.21, v4.2.2
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 8c2ff9c redput: montag v2.0.1
|
|
5
|
+
|
|
6
|
+
2026.03.04, v4.2.1
|
|
7
|
+
|
|
8
|
+
feature:
|
|
9
|
+
- 21f2980 redput: @putout/plugin-variables v2.2.0
|
|
10
|
+
- 5c15fee redput: @putout/plugin-declare-before-reference v10.1.0
|
|
11
|
+
- c0a784e redput: superc8 v12.2.4
|
|
12
|
+
|
|
1
13
|
2026.02.20, v4.2.0
|
|
2
14
|
|
|
3
15
|
feature:
|
|
@@ -8,9 +8,12 @@ export const replace = () => ({
|
|
|
8
8
|
'[__a, __b]': ({__a, __b}, path) => {
|
|
9
9
|
const [__aPath, __bPath] = path.get('elements');
|
|
10
10
|
const status = isStringLiteral(__a) ? __a.value : __aPath.toString();
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
|
|
12
|
+
const name = isStringLiteral(__b) ? __b.value
|
|
13
|
+
: __bPath
|
|
14
|
+
.toString()
|
|
15
|
+
.replace(/\s/g, '') +
|
|
16
|
+
'';
|
|
14
17
|
|
|
15
18
|
return `["${status}", "${name}"]`;
|
|
16
19
|
},
|
|
@@ -50,6 +50,7 @@ export const writeNestedTests = async (name, report) => {
|
|
|
50
50
|
export const updateNestedIndex = async (name, options) => {
|
|
51
51
|
const source = await readFile('./index.js', 'utf8');
|
|
52
52
|
const code = addRule(name, source, options);
|
|
53
|
+
|
|
53
54
|
await writeFile(`./index.js`, code);
|
|
54
55
|
};
|
|
55
56
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redput",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"description": "CLI tool to convert source from 🐊Putout Editor to files",
|
|
5
5
|
"main": "lib/redput.js",
|
|
6
6
|
"bin": {
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@putout/plugin-declare": "^8.0.0",
|
|
59
|
-
"@putout/plugin-declare-before-reference": "^
|
|
59
|
+
"@putout/plugin-declare-before-reference": "^10.1.0",
|
|
60
60
|
"@putout/plugin-esm": "^10.0.0",
|
|
61
61
|
"@putout/plugin-nodejs": "^21.0.0",
|
|
62
62
|
"@putout/plugin-putout": "^29.0.0",
|
|
63
|
-
"@putout/plugin-variables": "^
|
|
63
|
+
"@putout/plugin-variables": "^2.2.0",
|
|
64
64
|
"node-fetch": "^3.3.2",
|
|
65
65
|
"octokit": "^5.0.3",
|
|
66
66
|
"putout": "^42.0.5",
|
|
@@ -70,13 +70,13 @@
|
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@putout/test": "^15.0.0",
|
|
73
|
-
"c8": "^10.1.2",
|
|
74
73
|
"eslint": "^10.0.0",
|
|
75
74
|
"eslint-plugin-putout": "^31.0.0",
|
|
76
75
|
"madrun": "^13.0.0",
|
|
77
|
-
"montag": "^
|
|
76
|
+
"montag": "^2.0.1",
|
|
78
77
|
"nodemon": "^3.0.1",
|
|
79
78
|
"redlint": "^6.0.0",
|
|
79
|
+
"superc8": "^12.2.4",
|
|
80
80
|
"supertape": "^12.0.0"
|
|
81
81
|
},
|
|
82
82
|
"publishConfig": {
|