@inquirer/rawlist 1.2.6 → 1.2.8

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.
@@ -3,7 +3,6 @@ type Choice<Value> = {
3
3
  value: Value;
4
4
  name?: string;
5
5
  key?: string;
6
- type?: never;
7
6
  };
8
7
  declare const _default: <Value extends unknown>(config: AsyncPromptConfig & {
9
8
  choices: readonly (Separator | Choice<Value>)[];
@@ -3,7 +3,6 @@ type Choice<Value> = {
3
3
  value: Value;
4
4
  name?: string;
5
5
  key?: string;
6
- type?: never;
7
6
  };
8
7
  declare const _default: <Value extends unknown>(config: AsyncPromptConfig & {
9
8
  choices: readonly (Separator | Choice<Value>)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/rawlist",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "description": "Inquirer rawlist prompt",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "typings": "./dist/cjs/types/index.d.ts",
@@ -54,16 +54,18 @@
54
54
  "license": "MIT",
55
55
  "homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/rawlist/README.md",
56
56
  "dependencies": {
57
- "@inquirer/core": "^3.1.0",
58
- "@inquirer/type": "^1.1.1",
57
+ "@inquirer/core": "^3.1.2",
58
+ "@inquirer/type": "^1.1.2",
59
59
  "chalk": "^4.1.2"
60
60
  },
61
+ "devDependencies": {
62
+ "@inquirer/testing": "^2.1.3"
63
+ },
61
64
  "scripts": {
62
65
  "tsc": "yarn run clean && yarn run tsc:esm && yarn run tsc:cjs",
63
66
  "clean": "rm -rf dist",
64
67
  "tsc:esm": "tsc -p ./tsconfig.json",
65
- "tsc:cjs": "tsc -p ./tsconfig.cjs.json && yarn run fix-ext",
66
- "fix-ext": "node --no-warnings=ExperimentalWarning --loader=ts-node/esm ../../tools/fix-ext.mts"
68
+ "tsc:cjs": "tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs"
67
69
  },
68
70
  "publishConfig": {
69
71
  "access": "public"
@@ -83,5 +85,5 @@
83
85
  }
84
86
  }
85
87
  },
86
- "gitHead": "ab9dd2f301e02d2cc0fec699ce100b174f2b798e"
88
+ "gitHead": "2b29f261c4c7d85a00c1a2305d97ee10e3c15b68"
87
89
  }