madrun 11.0.6 → 12.0.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,13 @@
1
+ 2025.12.31, v12.0.0
2
+
3
+ feature:
4
+ - 909a93b madrun: drop support of node < 22
5
+
6
+ 2025.12.31, v11.0.7
7
+
8
+ feature:
9
+ - 8e982b4 madrun: try-to-catch v4.0.0
10
+
1
11
  2025.12.30, v11.0.6
2
12
 
3
13
  fix:
package/bin/init.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {createRequire} from 'node:module';
2
2
  import {join} from 'node:path';
3
3
  import {writeFile, access} from 'node:fs/promises';
4
- import tryToCatch from 'try-to-catch';
4
+ import {tryToCatch} from 'try-to-catch';
5
5
  import montag from 'montag';
6
6
 
7
7
  const require = createRequire(import.meta.url);
package/bin/madrun.mjs CHANGED
@@ -4,7 +4,7 @@ import {createRequire} from 'node:module';
4
4
  import {dirname, basename} from 'node:path';
5
5
  import process from 'node:process';
6
6
  import {findUpSync} from 'find-up';
7
- import tryToCatch from 'try-to-catch';
7
+ import {tryToCatch} from 'try-to-catch';
8
8
  import yargsParser from 'yargs-parser';
9
9
  import {series} from '../lib/madrun.js';
10
10
  import check from '../lib/check.js';
package/lib/choose.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import enquirer from 'enquirer';
2
2
  import actions from 'enquirer/lib/combos.js';
3
- import tryToCatch from 'try-to-catch';
3
+ import {tryToCatch} from 'try-to-catch';
4
4
 
5
5
  const {MultiSelect} = enquirer;
6
6
 
package/lib/validate.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const tryCatch = require('try-catch');
3
+ const {tryCatch} = require('try-catch');
4
4
 
5
5
  module.exports = (runners) => {
6
6
  for (const run of Object.keys(runners)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "madrun",
3
- "version": "11.0.6",
3
+ "version": "12.0.0",
4
4
  "description": "CLI tool to run multiple npm-scripts in a madly comfortable way",
5
5
  "main": "lib/madrun.js",
6
6
  "type": "commonjs",
@@ -49,7 +49,7 @@
49
49
  "homepage": "https://github.com/coderaiser/madrun",
50
50
  "license": "MIT",
51
51
  "engines": {
52
- "node": ">=20"
52
+ "node": ">=22"
53
53
  },
54
54
  "dependencies": {
55
55
  "@putout/engine-reporter": "^8.0.2",
@@ -63,7 +63,7 @@
63
63
  "once": "^1.4.0",
64
64
  "putout": "^41.0.0",
65
65
  "try-catch": "^4.0.1",
66
- "try-to-catch": "^3.0.0",
66
+ "try-to-catch": "^4.0.0",
67
67
  "yargs-parser": "^22.0.0"
68
68
  },
69
69
  "devDependencies": {