@inquirer/password 2.1.15 → 2.1.17

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.
Files changed (2) hide show
  1. package/README.md +22 -1
  2. package/package.json +6 -7
package/README.md CHANGED
@@ -14,6 +14,25 @@ Interactive password input component for command line interfaces. Supports input
14
14
  <tr>
15
15
  <td>
16
16
 
17
+ ```sh
18
+ npm install @inquirer/prompts
19
+ ```
20
+
21
+ </td>
22
+ <td>
23
+
24
+ ```sh
25
+ yarn add @inquirer/prompts
26
+ ```
27
+
28
+ </td>
29
+ </tr>
30
+ <tr>
31
+ <td colSpan="2" align="center">Or</td>
32
+ </tr>
33
+ <tr>
34
+ <td>
35
+
17
36
  ```sh
18
37
  npm install @inquirer/password
19
38
  ```
@@ -32,7 +51,9 @@ yarn add @inquirer/password
32
51
  # Usage
33
52
 
34
53
  ```js
35
- import password from '@inquirer/password';
54
+ import { password } from '@inquirer/prompts';
55
+ // Or
56
+ // import password from '@inquirer/password';
36
57
 
37
58
  const answer = await password({ message: 'Enter your name' });
38
59
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/password",
3
- "version": "2.1.15",
3
+ "version": "2.1.17",
4
4
  "engines": {
5
5
  "node": ">=18"
6
6
  },
@@ -55,20 +55,19 @@
55
55
  ],
56
56
  "author": "Simon Boudrias <admin@simonboudrias.com>",
57
57
  "license": "MIT",
58
- "homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/password/README.md",
58
+ "homepage": "https://github.com/SBoudrias/Inquirer.js/blob/main/packages/password/README.md",
59
59
  "dependencies": {
60
- "@inquirer/core": "^9.0.3",
61
- "@inquirer/type": "^1.5.0",
60
+ "@inquirer/core": "^9.0.5",
61
+ "@inquirer/type": "^1.5.1",
62
62
  "ansi-escapes": "^4.3.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@inquirer/testing": "^2.1.26"
65
+ "@inquirer/testing": "^2.1.28"
66
66
  },
67
67
  "scripts": {
68
68
  "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
69
69
  "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
70
70
  "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
71
- "tsc:watch": "tsc -p ./tsconfig.json --watch",
72
71
  "attw": "attw --pack"
73
72
  },
74
73
  "publishConfig": {
@@ -87,5 +86,5 @@
87
86
  }
88
87
  },
89
88
  "sideEffects": false,
90
- "gitHead": "eb7a658ca58d8cc5863efb9289ae1b42e818bdd0"
89
+ "gitHead": "92eb67edb388404a6d737c0605648ac797c84fb6"
91
90
  }