wisdom 16.0.6 → 17.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,18 @@
1
+ 2025.12.31, v17.0.1
2
+
3
+ feature:
4
+ - de2547a wisdom: redrun v13.0.0
5
+ - 60ad843 wisdom: madrun v12.0.0
6
+
7
+ 2025.12.31, v17.0.0
8
+
9
+ feature:
10
+ - 2d013a0 wisdom: drop support of node < 22
11
+ - 3ca4f0c wisdom: try-to-catch v4.0.2
12
+ - 012b529 wisdom: try-catch v4.0.6
13
+ - d6c188e wisdom: putout v41.3.3
14
+ - a97e37b wisdom: get rid of mock-import
15
+
1
16
  2025.11.30, v16.0.6
2
17
 
3
18
  feature:
package/lib/prompts.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import enquirer from 'enquirer';
2
- import tryToCatch from 'try-to-catch';
2
+ import {tryToCatch} from 'try-to-catch';
3
3
  import {choose as chooseCLI} from '@putout/cli-choose';
4
4
 
5
5
  const {Confirm} = enquirer;
package/lib/release.js CHANGED
@@ -1,11 +1,11 @@
1
- import grizzly from 'grizzly';
2
- import tryToCatch from 'try-to-catch';
1
+ import _grizzly from 'grizzly';
2
+ import {tryToCatch} from 'try-to-catch';
3
3
  import {markdown} from './markdown.js';
4
4
 
5
5
  const isUndefined = (a) => typeof a === 'undefined';
6
6
  const rmScope = (a) => a.replace(/^@.*\//, '');
7
7
 
8
- export async function release({version, info, chlog, emitter, count}) {
8
+ export async function release({version, info, chlog, emitter, count, grizzly = _grizzly}) {
9
9
  if (!info.release && !isUndefined(info.release)) {
10
10
  emitter.emit('data', 'release: false\n');
11
11
  return;
@@ -59,6 +59,7 @@ export async function release({version, info, chlog, emitter, count}) {
59
59
  chlog,
60
60
  emitter,
61
61
  count,
62
+ grizzly,
62
63
  });
63
64
  }
64
65
 
@@ -5,7 +5,7 @@ import {statSync} from 'node:fs';
5
5
  import redrun from 'redrun';
6
6
  import envir from 'envir';
7
7
  import parentDirectories from 'parent-directories';
8
- import tryCatch from 'try-catch';
8
+ import {tryCatch} from 'try-catch';
9
9
  import getEnv from '../get-env.js';
10
10
 
11
11
  const {PATH} = process.env;
package/lib/runner.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {promisify} from 'node:util';
2
2
  import path from 'node:path';
3
3
  import {execSync} from 'node:child_process';
4
- import tryCatch from 'try-catch';
5
- import tryToCatch from 'try-to-catch';
4
+ import {tryCatch} from 'try-catch';
5
+ import {tryToCatch} from 'try-to-catch';
6
6
  import _prepend from 'prepend';
7
7
  import versionio from 'version-io';
8
8
  import changelog from 'changelog-io';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wisdom",
3
- "version": "16.0.6",
3
+ "version": "17.0.1",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "configurable publish releases to github and npm",
6
6
  "homepage": "http://github.com/coderaiser/wisdom",
@@ -15,7 +15,6 @@
15
15
  "scripts": {
16
16
  "test": "madrun test",
17
17
  "coverage": "madrun coverage",
18
- "coverage:old": "madrun coverage:old",
19
18
  "report": "madrun report",
20
19
  "wisdom": "madrun wisdom",
21
20
  "patch": "madrun patch",
@@ -45,25 +44,23 @@
45
44
  "prepend": "^1.0.1",
46
45
  "read-package-up": "^12.0.0",
47
46
  "readjson": "^2.2.2",
48
- "redrun": "^12.0.0",
47
+ "redrun": "^13.0.0",
49
48
  "rendy": "^4.1.3",
50
- "try-catch": "^3.0.0",
51
- "try-to-catch": "^3.0.0",
49
+ "try-catch": "^4.0.6",
50
+ "try-to-catch": "^4.0.2",
52
51
  "version-io": "^5.0.0"
53
52
  },
54
53
  "license": "MIT",
55
54
  "engines": {
56
- "node": ">=20"
55
+ "node": ">=22"
57
56
  },
58
57
  "devDependencies": {
59
58
  "c8": "^10.1.2",
60
- "escover": "^4.1.0",
61
59
  "eslint": "^9.35.0",
62
60
  "eslint-plugin-putout": "^29.0.0",
63
- "madrun": "^11.0.2",
64
- "mock-import": "^4.0.3",
61
+ "madrun": "^12.0.0",
65
62
  "montag": "^1.2.1",
66
- "putout": "^40.8.0",
63
+ "putout": "^41.3.3",
67
64
  "supertape": "^11.3.0"
68
65
  }
69
66
  }