Comparing version 1.1.0 to 1.1.1
@@ -71,4 +71,7 @@ "use strict"; | ||
module.exports = creator; | ||
exports = module.exports = creator; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _default = creator; | ||
exports.default = _default; |
{ | ||
"name": "cli-select", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Simple and interactive solution to provide a list of selectable items on the command line", | ||
@@ -5,0 +5,0 @@ "author": "Cyril Wanner <info@cyr.li>", |
@@ -36,9 +36,12 @@ /// <reference types="node"/> | ||
declare function creator<T> (options: Options<T>): Promise<ResolvedValue<T>>; | ||
declare function creator<T> (options: Options<T>, callback: Callback<T>): void; | ||
type creatorPromise = <T> (options: Options<T>) => Promise<ResolvedValue<T>>; | ||
type creatorCallback = <T> (options: Options<T>, callback: Callback<T>) => void; | ||
type creator = creatorPromise & creatorCallback; | ||
export default creator | ||
interface creatorStatic { | ||
default: creator | ||
} | ||
declare module 'cli-select' { | ||
export = creator | ||
} | ||
declare const cliSelect: creator & creatorStatic; | ||
export = cliSelect; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
18886
352
0