@inquirer/rawlist 1.2.9 → 1.2.10

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/cjs/index.js CHANGED
@@ -1,12 +1,9 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.Separator = void 0;
7
4
  const core_1 = require("@inquirer/core");
8
5
  Object.defineProperty(exports, "Separator", { enumerable: true, get: function () { return core_1.Separator; } });
9
- const chalk_1 = __importDefault(require("chalk"));
6
+ const chalk_1 = require("chalk");
10
7
  const numberRegex = /[0-9]+/;
11
8
  function isSelectableChoice(choice) {
12
9
  return choice != null && !core_1.Separator.isSeparator(choice);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/rawlist",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "Inquirer rawlist prompt",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "typings": "./dist/cjs/types/index.d.ts",
@@ -54,18 +54,17 @@
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": "^4.0.0",
58
- "@inquirer/type": "^1.1.2",
57
+ "@inquirer/core": "^4.1.0",
58
+ "@inquirer/type": "^1.1.3",
59
59
  "chalk": "^4.1.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@inquirer/testing": "^2.1.4"
62
+ "@inquirer/testing": "^2.1.5"
63
63
  },
64
64
  "scripts": {
65
- "tsc": "yarn run clean && yarn run tsc:esm && yarn run tsc:cjs",
66
- "clean": "rm -rf dist",
67
- "tsc:esm": "tsc -p ./tsconfig.json",
68
- "tsc:cjs": "tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs"
65
+ "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
66
+ "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
67
+ "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs"
69
68
  },
70
69
  "publishConfig": {
71
70
  "access": "public"
@@ -85,5 +84,5 @@
85
84
  }
86
85
  }
87
86
  },
88
- "gitHead": "ea5baff21fb29ed3c0931ea4030cc1dd1e92fc8d"
87
+ "gitHead": "f5c544a8ded1c7dfb6ac8364759955e8f2ecfb0c"
89
88
  }