redput 2.7.1 → 2.8.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,11 @@
1
+ 2025.02.13, v2.8.0
2
+
3
+ feature:
4
+ - f10ab2f redput: link instead of name
5
+ - 6c5af63 redput: @putout/plugin-remove-unused-variables v12.0.0
6
+ - 2b2a84b redput: @putout/plugin-putout v23.4.1
7
+ - a0f4608 redput: @putout/plugin-nodejs v14.0.1
8
+
1
9
  2025.01.29, v2.7.1
2
10
 
3
11
  feature:
package/lib/redput.js CHANGED
@@ -27,6 +27,9 @@ export const redput = async (link, {token}) => {
27
27
  lines,
28
28
  } = parsePlugin(raw);
29
29
 
30
+ if (name.startsWith('http'))
31
+ return [Error(`Wrong name: '${name}'`)];
32
+
30
33
  const rule = lines.join('\n');
31
34
  const report = getReport(rule);
32
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redput",
3
- "version": "2.7.1",
3
+ "version": "2.8.0",
4
4
  "description": "CLI tool to convert source from 🐊Putout Editor to files",
5
5
  "main": "lib/redput.js",
6
6
  "bin": {
@@ -58,9 +58,9 @@
58
58
  "@putout/plugin-convert-esm-to-commonjs": "^6.0.0",
59
59
  "@putout/plugin-declare": "^4.0.0",
60
60
  "@putout/plugin-declare-before-reference": "^5.1.0",
61
- "@putout/plugin-nodejs": "^13.1.1",
62
- "@putout/plugin-putout": "^22.0.0",
63
- "@putout/plugin-remove-unused-variables": "^11.0.0",
61
+ "@putout/plugin-nodejs": "^14.0.1",
62
+ "@putout/plugin-putout": "^23.4.1",
63
+ "@putout/plugin-remove-unused-variables": "^12.0.0",
64
64
  "node-fetch": "^3.3.2",
65
65
  "octokit": "^4.0.2",
66
66
  "putout": "^38.0.0",