@inquirer/core
Advanced tools
Comparing version 7.0.1 to 7.0.2
@@ -13,3 +13,3 @@ "use strict"; | ||
interval: cli_spinners_1.default.dots.interval, | ||
frames: cli_spinners_1.default.dots.frames.map(chalk_1.default.yellow), | ||
frames: cli_spinners_1.default.dots.frames.map((frame) => chalk_1.default.yellow(frame)), | ||
}, | ||
@@ -16,0 +16,0 @@ style: { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.usePrefix = void 0; | ||
const node_async_hooks_1 = require("node:async_hooks"); | ||
const use_state_mjs_1 = require('./use-state.js'); | ||
@@ -12,5 +13,5 @@ const use_effect_mjs_1 = require('./use-effect.js'); | ||
if (isLoading) { | ||
const timeout = setTimeout(() => { | ||
const timeout = setTimeout(node_async_hooks_1.AsyncResource.bind(() => { | ||
setTick(tick + 1); | ||
}, spinner.interval); | ||
}), spinner.interval); | ||
return () => clearTimeout(timeout); | ||
@@ -17,0 +18,0 @@ } |
{ | ||
"name": "@inquirer/core", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"engines": { | ||
@@ -98,3 +98,3 @@ "node": ">=18" | ||
}, | ||
"gitHead": "c91196e66689cfc05e9237763e6f95f3eb5342a1" | ||
"gitHead": "85fba2337df29f689d058a9260df163af89caa98" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81811
1589