redput 3.6.2 → 4.0.1

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,17 @@
1
+ 2026.01.11, v4.0.1
2
+
3
+ feature:
4
+ - 7341eb5 redput: @putout/plugin-declare v7.1.0
5
+ - ffaeb9f redput: supertape v12.0.0
6
+ - b635204 redput: madrun v12.1.0
7
+ - c52a0aa redput: redlint v5.0.1
8
+ - 303b15d redput: @putout/test v15.0.0
9
+
10
+ 2025.12.31, v4.0.0
11
+
12
+ feature:
13
+ - 05c003e redput: drop support of node < 22
14
+
1
15
  2025.12.31, v3.6.2
2
16
 
3
17
  feature:
@@ -1,4 +1,4 @@
1
- import tryCatch from 'try-catch';
1
+ import {tryCatch} from 'try-catch';
2
2
  import {
3
3
  parse,
4
4
  transform,
package/lib/redput.js CHANGED
@@ -1,4 +1,4 @@
1
- import tryToCatch from 'try-to-catch';
1
+ import {tryToCatch} from 'try-to-catch';
2
2
  import {getReport} from './get-report/get-report.js';
3
3
  import {readGist} from './read-gist/read-gist.js';
4
4
  import {writePlugin} from './write/index.js';
@@ -1,5 +1,5 @@
1
1
  import {access} from 'node:fs/promises';
2
- import tryToCatch from 'try-to-catch';
2
+ import {tryToCatch} from 'try-to-catch';
3
3
  import {
4
4
  updateNestedIndex,
5
5
  updateOverallNestedFixtures,
@@ -1,5 +1,5 @@
1
1
  import {parse} from 'putout';
2
- import tryCatch from 'try-catch';
2
+ import {tryCatch} from 'try-catch';
3
3
 
4
4
  export const isTSCode = (source) => {
5
5
  const [error] = tryCatch(parse, source, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redput",
3
- "version": "3.6.2",
3
+ "version": "4.0.1",
4
4
  "description": "CLI tool to convert source from 🐊Putout Editor to files",
5
5
  "main": "lib/redput.js",
6
6
  "bin": {
@@ -52,10 +52,10 @@
52
52
  "homepage": "https://github.com/putoutjs/redput",
53
53
  "license": "MIT",
54
54
  "engines": {
55
- "node": ">=20"
55
+ "node": ">=22"
56
56
  },
57
57
  "dependencies": {
58
- "@putout/plugin-declare": "^6.0.0",
58
+ "@putout/plugin-declare": "^7.1.0",
59
59
  "@putout/plugin-declare-before-reference": "^9.0.0",
60
60
  "@putout/plugin-esm": "^6.0.0",
61
61
  "@putout/plugin-nodejs": "^18.1.0",
@@ -69,15 +69,15 @@
69
69
  "try-to-catch": "^4.0.0"
70
70
  },
71
71
  "devDependencies": {
72
- "@putout/test": "^14.0.0",
72
+ "@putout/test": "^15.0.0",
73
73
  "c8": "^10.1.2",
74
74
  "eslint": "^9.0.0",
75
75
  "eslint-plugin-putout": "^29.0.2",
76
- "madrun": "^11.0.0",
76
+ "madrun": "^12.1.0",
77
77
  "montag": "^1.2.1",
78
78
  "nodemon": "^3.0.1",
79
- "redlint": "^4.0.0",
80
- "supertape": "^11.1.0"
79
+ "redlint": "^5.0.1",
80
+ "supertape": "^12.0.0"
81
81
  },
82
82
  "publishConfig": {
83
83
  "access": "public"