Socket
Socket
Sign inDemoInstall

inquirer

Package Overview
Dependencies
Maintainers
4
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inquirer - npm Package Compare versions

Comparing version 9.3.2 to 9.3.3

27

package.json
{
"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"
}

8

README.md

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc