@listr2/manager 3.0.4 → 4.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/dist/index.cjs CHANGED
@@ -1,28 +1,4 @@
1
- //#region rolldown:runtime
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
- key = keys[i];
11
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
- get: ((k) => from[k]).bind(null, key),
13
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
- });
15
- }
16
- return to;
17
- };
18
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
- value: mod,
20
- enumerable: true
21
- }) : target, mod));
22
-
23
- //#endregion
24
1
  let listr2 = require("listr2");
25
- listr2 = __toESM(listr2);
26
2
 
27
3
  //#region src/manager.ts
28
4
  /**
package/dist/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { Listr, ListrBaseClassOptions, ListrContext, ListrError, ListrGetRendererClassFromValue, ListrPrimaryRendererValue, ListrRendererValue, ListrSecondaryRendererValue, ListrSubClassOptions, ListrTask } from "listr2";
2
2
 
3
3
  //#region src/manager.d.ts
4
-
5
4
  /**
6
5
  * Creates a new Listr2 task manager.
7
6
  *
@@ -1,7 +1,6 @@
1
1
  import { Listr, ListrBaseClassOptions, ListrContext, ListrError, ListrGetRendererClassFromValue, ListrPrimaryRendererValue, ListrRendererValue, ListrSecondaryRendererValue, ListrSubClassOptions, ListrTask } from "listr2";
2
2
 
3
3
  //#region src/manager.d.ts
4
-
5
4
  /**
6
5
  * Creates a new Listr2 task manager.
7
6
  *
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@listr2/manager",
3
- "version": "3.0.4",
3
+ "version": "4.0.0",
4
4
  "description": "Extension for Listr2 to easily create sane defaults for task lists.",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/listr2/listr2",
7
7
  "type": "module",
8
8
  "main": "./dist/index.cjs",
9
- "module": "./dist/index.js",
10
- "types": "./dist/index.d.ts",
9
+ "module": "./dist/index.mjs",
10
+ "types": "./dist/index.d.cts",
11
11
  "exports": {
12
12
  ".": {
13
13
  "require": {
@@ -15,8 +15,8 @@
15
15
  "default": "./dist/index.cjs"
16
16
  },
17
17
  "import": {
18
- "types": "./dist/index.d.ts",
19
- "default": "./dist/index.js"
18
+ "types": "./dist/index.d.mts",
19
+ "default": "./dist/index.mjs"
20
20
  }
21
21
  },
22
22
  "./package.json": "./package.json"
@@ -30,7 +30,7 @@
30
30
  "access": "public"
31
31
  },
32
32
  "engines": {
33
- "node": ">=20.0.0"
33
+ "node": ">=22.0.0"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "tsdown",
@@ -71,9 +71,9 @@
71
71
  ],
72
72
  "dependencies": {},
73
73
  "devDependencies": {
74
- "listr2": "9.0.4"
74
+ "listr2": "10.0.0"
75
75
  },
76
76
  "peerDependencies": {
77
- "listr2": "9.0.4"
77
+ "listr2": "10.0.0"
78
78
  }
79
79
  }
File without changes