Comparing version 9.3.2 to 9.3.3
{ | ||
"name": "inquirer", | ||
"type": "module", | ||
"version": "9.3.2", | ||
"version": "9.3.3", | ||
"description": "A collection of common interactive command line user interfaces.", | ||
@@ -77,3 +77,26 @@ "author": "Simon Boudrias <admin@simonboudrias.com>", | ||
"sideEffects": false, | ||
"gitHead": "fc27d575bceb96466cb8da8524c26d4eb2a77df0" | ||
"exports": { | ||
".": { | ||
"import": "./src/index.js" | ||
}, | ||
"./lib/objects/choices.js": { | ||
"import": "./src/objects/choices.js" | ||
}, | ||
"./lib/objects/separator.js": { | ||
"import": "./src/objects/separator.js" | ||
}, | ||
"./lib/prompts/base.js": { | ||
"import": "./src/prompts/base.js" | ||
}, | ||
"./lib/utils/events.js": { | ||
"import": "./src/utils/events.js" | ||
}, | ||
"./lib/utils/paginator.js": { | ||
"import": "./src/utils/paginator.js" | ||
}, | ||
"./lib/utils/readline.js": { | ||
"import": "./src/utils/readline.js" | ||
} | ||
}, | ||
"gitHead": "2285f2c043448ff4317635cf6481df7ffda2d3bd" | ||
} |
@@ -10,4 +10,3 @@ <img width="75px" height="75px" align="right" alt="Inquirer Logo" src="https://raw.githubusercontent.com/SBoudrias/Inquirer.js/master/assets/inquirer_readme.svg?sanitize=true" title="Inquirer.js"/> | ||
### Note: | ||
> [!IMPORTANT] | ||
> This is the legacy version of Inquirer.js. While it still receives maintenance, it is not actively developed. For the new Inquirer, see [@inquirer/prompts](https://www.npmjs.com/package/@inquirer/prompts). | ||
@@ -80,4 +79,7 @@ | ||
Inquirer v9 and higher are native esm modules, this mean you cannot use the commonjs syntax `require('inquirer')` anymore. If you want to learn more about using native esm in Node, I'd recommend reading [the following guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). Alternatively, you can rely on an older version until you're ready to upgrade your environment: | ||
> [!WARNING] | ||
> Inquirer v9 and higher are native esm modules, this mean you cannot use the commonjs syntax `require('inquirer')` anymore. If you want to learn more about using native esm in Node, I'd recommend reading [the following guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). | ||
Alternatively, if you require a commonjs module, you should rely on an older version until you're ready to upgrade your environment: | ||
```sh | ||
@@ -84,0 +86,0 @@ npm install --save inquirer@^8.0.0 |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
90750
536
0