madrun 12.1.1 → 12.1.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,8 @@
1
+ 2026.01.28, v12.1.2
2
+
3
+ fix:
4
+ - 7e8ee44 madrun: try-catch
5
+
1
6
  2026.01.28, v12.1.1
2
7
 
3
8
  feature:
package/bin/madrun.mjs CHANGED
@@ -130,7 +130,7 @@ function getOutput({cmd, cwd}) {
130
130
 
131
131
  async function execute(cmd) {
132
132
  const {execSync} = await import('node:child_process');
133
- const tryCatch = (await import('try-catch')).default;
133
+ const {tryCatch} = await import('try-catch');
134
134
 
135
135
  const [error] = tryCatch(execSync, cmd, {
136
136
  stdio: [0, 1, 2],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "madrun",
3
- "version": "12.1.1",
3
+ "version": "12.1.2",
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",