generate-pw 2.3.0 → 2.3.1
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.
- package/README.md +31 -31
- package/dist/data/package-data.json +1 -1
- package/docs/README.md +31 -31
- package/docs/SECURITY.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
<div align="right">
|
|
4
4
|
<h6>
|
|
5
5
|
<picture>
|
|
6
|
-
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://
|
|
7
|
-
<img height=14 src="https://
|
|
6
|
+
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@f2dc346/assets/images/icons/earth/white/icon32.svg">
|
|
7
|
+
<img height=14 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@f2dc346/assets/images/icons/earth/black/icon32.svg">
|
|
8
8
|
</picture>
|
|
9
9
|
English |
|
|
10
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/zh-cn
|
|
11
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/zh-tw
|
|
12
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/hi
|
|
13
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/bn
|
|
14
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/de
|
|
15
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/es
|
|
16
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/fr
|
|
10
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/zh-cn/#readme">简体中文</a> |
|
|
11
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/zh-tw/#readme">繁體中文</a> |
|
|
12
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/hi/#readme">हिंदी</a> |
|
|
13
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/bn/#readme">বাংলা</a> |
|
|
14
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/de/#readme">Deutsch</a> |
|
|
15
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/es/#readme">Español</a> |
|
|
16
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/fr/#readme">Français</a>
|
|
17
17
|
</h6>
|
|
18
18
|
</div>
|
|
19
19
|
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
<img height=31 src="https://img.shields.io/npm/dm/generate-pw?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
26
26
|
<a href="#%EF%B8%8F-mit-license">
|
|
27
27
|
<img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
28
|
-
<a href="https://github.com/adamlui/js-utils/releases/tag/generate-pw-2.3.
|
|
29
|
-
<img height=31 src="https://img.shields.io/badge/Latest_Build-2.3.
|
|
28
|
+
<a href="https://github.com/adamlui/js-utils/releases/tag/generate-pw-2.3.1">
|
|
29
|
+
<img height=31 src="https://img.shields.io/badge/Latest_Build-2.3.1-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
30
30
|
<a href="https://www.npmjs.com/package/generate-pw?activeTab=code">
|
|
31
31
|
<img height=31 src="https://img.shields.io/npm/unpacked-size/generate-pw?style=for-the-badge&logo=ebox&logoColor=white&labelColor=464646&color=blue"></a>
|
|
32
32
|
<a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_js-utils:generate-pw/src/generate-pw.js">
|
|
33
33
|
<img height=31 src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fsonarcloud.io%2Fapi%2Fmeasures%2Fcomponent%3Fcomponent%3Dadamlui_js-utils%3Agenerate-pw%2Fsrc%2Fgenerate-pw.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonarcloud&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a>
|
|
34
|
-
<a href="https://github.com/toolleeo/cli-apps
|
|
34
|
+
<a href="https://github.com/toolleeo/cli-apps/#password-managers">
|
|
35
35
|
<img height=31 src="https://img.shields.io/badge/Mentioned_in-Awesome-ff69b4?logo=awesomelists&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
36
36
|
|
|
37
37
|
<br>
|
|
38
38
|
|
|
39
|
-
<img height=6px width="100%" src="https://
|
|
39
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
40
40
|
|
|
41
41
|
## 💡 About
|
|
42
42
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
- **Multi-environment support —** Use in Node.js or the web browser
|
|
48
48
|
- **Command line usable —** Just type `generate-pw`, that's it
|
|
49
49
|
|
|
50
|
-
<img height=6px width="100%" src="https://
|
|
50
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
51
51
|
|
|
52
52
|
## ⚡ Installation
|
|
53
53
|
|
|
@@ -65,13 +65,13 @@ $ npm install generate-pw
|
|
|
65
65
|
|
|
66
66
|
<br>
|
|
67
67
|
|
|
68
|
-
<a href="https://github.com/sponsors/adamlui"><img src="https://
|
|
68
|
+
<a href="https://github.com/sponsors/adamlui"><img src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/banners/sponsor/$10/banner1660x260.png"></a>
|
|
69
69
|
|
|
70
|
-
<img height=6px width="100%" src="https://
|
|
70
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
71
71
|
|
|
72
72
|
## 🔌 Importing the API
|
|
73
73
|
|
|
74
|
-
### <img height=18 src="https://
|
|
74
|
+
### <img height=18 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/platforms/node.js/icon25x28.png"> Node.js
|
|
75
75
|
|
|
76
76
|
#### ECMAScript*:
|
|
77
77
|
|
|
@@ -87,28 +87,28 @@ const pw = require('generate-pw')
|
|
|
87
87
|
|
|
88
88
|
###### _*Node.js version 14 or higher required_
|
|
89
89
|
|
|
90
|
-
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://
|
|
90
|
+
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/platforms/web/light/icon25.png"><img width=16 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/platforms/web/dark/icon25.png"></picture> Web
|
|
91
91
|
|
|
92
92
|
#### <> HTML script tag:
|
|
93
93
|
|
|
94
94
|
```html
|
|
95
|
-
<script src="https://cdn.jsdelivr.net/npm/generate-pw@2.3.
|
|
95
|
+
<script src="https://cdn.jsdelivr.net/npm/generate-pw@2.3.1/dist/generate-pw.min.js"></script>
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
#### ES6:
|
|
99
99
|
|
|
100
100
|
```js
|
|
101
101
|
(async () => {
|
|
102
|
-
await import('https://cdn.jsdelivr.net/npm/generate-pw@2.3.
|
|
102
|
+
await import('https://cdn.jsdelivr.net/npm/generate-pw@2.3.1/dist/generate-pw.min.js')
|
|
103
103
|
// Your code here...
|
|
104
104
|
})()
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
### <img height=17 src="https://
|
|
107
|
+
### <img height=17 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/platforms/tampermonkey/icon28.png"><img height=17.5 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/platforms/violentmonkey/icon25.png"> Greasemonkey
|
|
108
108
|
|
|
109
109
|
```js
|
|
110
110
|
...
|
|
111
|
-
// @require https://cdn.jsdelivr.net/npm/generate-pw@2.3.
|
|
111
|
+
// @require https://cdn.jsdelivr.net/npm/generate-pw@2.3.1/dist/generate-pw.min.js
|
|
112
112
|
// ==/UserScript==
|
|
113
113
|
|
|
114
114
|
// Your code here...
|
|
@@ -116,11 +116,11 @@ const pw = require('generate-pw')
|
|
|
116
116
|
|
|
117
117
|
<br>
|
|
118
118
|
|
|
119
|
-
**💡 Note:** To always import the latest version (not recommended in production!) remove the `@2.3.
|
|
119
|
+
**💡 Note:** To always import the latest version (not recommended in production!) remove the `@2.3.1` version tag from the jsDelivr URL: `https://cdn.jsdelivr.net/npm/generate-pw/dist/generate-pw.min.js`
|
|
120
120
|
|
|
121
121
|
<br>
|
|
122
122
|
|
|
123
|
-
<img height=6px width="100%" src="https://
|
|
123
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
124
124
|
|
|
125
125
|
## 📋 API usage
|
|
126
126
|
|
|
@@ -259,7 +259,7 @@ Name | Type | Description
|
|
|
259
259
|
|
|
260
260
|
<br>
|
|
261
261
|
|
|
262
|
-
<img height=6px width="100%" src="https://
|
|
262
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
263
263
|
|
|
264
264
|
## 💻 Command line usage
|
|
265
265
|
|
|
@@ -336,7 +336,7 @@ export default {
|
|
|
336
336
|
|
|
337
337
|
<br>
|
|
338
338
|
|
|
339
|
-
<img height=6px width="100%" src="https://
|
|
339
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
340
340
|
|
|
341
341
|
## 🏛️ MIT License
|
|
342
342
|
|
|
@@ -350,11 +350,11 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
350
350
|
|
|
351
351
|
<br>
|
|
352
352
|
|
|
353
|
-
<img height=6px width="100%" src="https://
|
|
353
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
354
354
|
|
|
355
355
|
## 🛠️ Related utilities
|
|
356
356
|
|
|
357
|
-
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@5c34563/generate-ip/assets/images/icons/node-graph/white/icon55x49.png"><img height=21 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@5c34563/generate-ip/assets/images/icons/node-graph/black/icon55x49.png"></picture> [generate-ip](https://js-utils.org/generate-ip) <a href="https://github.com/toolleeo/cli-apps
|
|
357
|
+
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@5c34563/generate-ip/assets/images/icons/node-graph/white/icon55x49.png"><img height=21 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@5c34563/generate-ip/assets/images/icons/node-graph/black/icon55x49.png"></picture> [generate-ip](https://js-utils.org/generate-ip) <a href="https://github.com/toolleeo/cli-apps/#networking"><img height=18 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/badges/awesome/badge.svg"></a>
|
|
358
358
|
|
|
359
359
|
> Randomly generate, format, and validate IPv4 + IPv6 + MAC addresses.
|
|
360
360
|
<br>[Install](https://docs.generate-ip.org/#-installation) /
|
|
@@ -363,7 +363,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
363
363
|
[CLI usage](https://docs.generate-ip.org/#-command-line-usage) /
|
|
364
364
|
[Discuss](https://github.com/adamlui/js-utils/discussions)
|
|
365
365
|
|
|
366
|
-
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d3424a/geolocate/assets/images/icons/wire-globe/white/icon32.png"><img height=22 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d3424a/geolocate/assets/images/icons/wire-globe/black/icon32.png"></picture> [geolocate](https://js-utils.org/geolocate) <a href="https://github.com/toolleeo/cli-apps
|
|
366
|
+
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d3424a/geolocate/assets/images/icons/wire-globe/white/icon32.png"><img height=22 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d3424a/geolocate/assets/images/icons/wire-globe/black/icon32.png"></picture> [geolocate](https://js-utils.org/geolocate) <a href="https://github.com/toolleeo/cli-apps/#networking"><img height=18 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/badges/awesome/badge.svg"></a>
|
|
367
367
|
|
|
368
368
|
> Fetch IP geolocation data from the CLI.
|
|
369
369
|
<br>[Install](https://docs.geolocatejs.org/#-installation) /
|
|
@@ -374,8 +374,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
374
374
|
|
|
375
375
|
<br>
|
|
376
376
|
|
|
377
|
-
<img height=6px width="100%" src="https://
|
|
377
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
378
378
|
|
|
379
|
-
<picture><source media="(prefers-color-scheme: dark)" srcset="https://
|
|
379
|
+
<picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/home/white/icon32x27.png"><img height=13 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/home/dark-gray/icon32x27.png"></picture> <a href="https://js-utils.org">**More JavaScript utilities**</a> /
|
|
380
380
|
<a href="https://github.com/adamlui/js-utils/discussions">Discuss</a> /
|
|
381
381
|
<a href="#top">Back to top ↑</a>
|
package/docs/README.md
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
<div align="right">
|
|
4
4
|
<h6>
|
|
5
5
|
<picture>
|
|
6
|
-
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://
|
|
7
|
-
<img height=14 src="https://
|
|
6
|
+
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@f2dc346/assets/images/icons/earth/white/icon32.svg">
|
|
7
|
+
<img height=14 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@f2dc346/assets/images/icons/earth/black/icon32.svg">
|
|
8
8
|
</picture>
|
|
9
9
|
English |
|
|
10
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/zh-cn
|
|
11
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/zh-tw
|
|
12
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/hi
|
|
13
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/bn
|
|
14
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/de
|
|
15
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/es
|
|
16
|
-
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/fr
|
|
10
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/zh-cn/#readme">简体中文</a> |
|
|
11
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/zh-tw/#readme">繁體中文</a> |
|
|
12
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/hi/#readme">हिंदी</a> |
|
|
13
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/bn/#readme">বাংলা</a> |
|
|
14
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/de/#readme">Deutsch</a> |
|
|
15
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/es/#readme">Español</a> |
|
|
16
|
+
<a href="https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/fr/#readme">Français</a>
|
|
17
17
|
</h6>
|
|
18
18
|
</div>
|
|
19
19
|
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
<img height=31 src="https://img.shields.io/npm/dm/generate-pw?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
26
26
|
<a href="#%EF%B8%8F-mit-license">
|
|
27
27
|
<img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
28
|
-
<a href="https://github.com/adamlui/js-utils/releases/tag/generate-pw-2.3.
|
|
29
|
-
<img height=31 src="https://img.shields.io/badge/Latest_Build-2.3.
|
|
28
|
+
<a href="https://github.com/adamlui/js-utils/releases/tag/generate-pw-2.3.1">
|
|
29
|
+
<img height=31 src="https://img.shields.io/badge/Latest_Build-2.3.1-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
30
30
|
<a href="https://www.npmjs.com/package/generate-pw?activeTab=code">
|
|
31
31
|
<img height=31 src="https://img.shields.io/npm/unpacked-size/generate-pw?style=for-the-badge&logo=ebox&logoColor=white&labelColor=464646&color=blue"></a>
|
|
32
32
|
<a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_js-utils:generate-pw/src/generate-pw.js">
|
|
33
33
|
<img height=31 src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fsonarcloud.io%2Fapi%2Fmeasures%2Fcomponent%3Fcomponent%3Dadamlui_js-utils%3Agenerate-pw%2Fsrc%2Fgenerate-pw.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonarcloud&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a>
|
|
34
|
-
<a href="https://github.com/toolleeo/cli-apps
|
|
34
|
+
<a href="https://github.com/toolleeo/cli-apps/#password-managers">
|
|
35
35
|
<img height=31 src="https://img.shields.io/badge/Mentioned_in-Awesome-ff69b4?logo=awesomelists&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
36
36
|
|
|
37
37
|
<br>
|
|
38
38
|
|
|
39
|
-
<img height=6px width="100%" src="https://
|
|
39
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
40
40
|
|
|
41
41
|
## 💡 About
|
|
42
42
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
- **Multi-environment support —** Use in Node.js or the web browser
|
|
48
48
|
- **Command line usable —** Just type `generate-pw`, that's it
|
|
49
49
|
|
|
50
|
-
<img height=6px width="100%" src="https://
|
|
50
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
51
51
|
|
|
52
52
|
## ⚡ Installation
|
|
53
53
|
|
|
@@ -65,13 +65,13 @@ $ npm install generate-pw
|
|
|
65
65
|
|
|
66
66
|
<br>
|
|
67
67
|
|
|
68
|
-
<a href="https://github.com/sponsors/adamlui"><img src="https://
|
|
68
|
+
<a href="https://github.com/sponsors/adamlui"><img src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/banners/sponsor/$10/banner1660x260.png"></a>
|
|
69
69
|
|
|
70
|
-
<img height=6px width="100%" src="https://
|
|
70
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
71
71
|
|
|
72
72
|
## 🔌 Importing the API
|
|
73
73
|
|
|
74
|
-
### <img height=18 src="https://
|
|
74
|
+
### <img height=18 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/platforms/node.js/icon25x28.png"> Node.js
|
|
75
75
|
|
|
76
76
|
#### ECMAScript*:
|
|
77
77
|
|
|
@@ -87,28 +87,28 @@ const pw = require('generate-pw')
|
|
|
87
87
|
|
|
88
88
|
###### _*Node.js version 14 or higher required_
|
|
89
89
|
|
|
90
|
-
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://
|
|
90
|
+
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/platforms/web/light/icon25.png"><img width=16 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/platforms/web/dark/icon25.png"></picture> Web
|
|
91
91
|
|
|
92
92
|
#### <> HTML script tag:
|
|
93
93
|
|
|
94
94
|
```html
|
|
95
|
-
<script src="https://cdn.jsdelivr.net/npm/generate-pw@2.3.
|
|
95
|
+
<script src="https://cdn.jsdelivr.net/npm/generate-pw@2.3.1/dist/generate-pw.min.js"></script>
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
#### ES6:
|
|
99
99
|
|
|
100
100
|
```js
|
|
101
101
|
(async () => {
|
|
102
|
-
await import('https://cdn.jsdelivr.net/npm/generate-pw@2.3.
|
|
102
|
+
await import('https://cdn.jsdelivr.net/npm/generate-pw@2.3.1/dist/generate-pw.min.js')
|
|
103
103
|
// Your code here...
|
|
104
104
|
})()
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
### <img height=17 src="https://
|
|
107
|
+
### <img height=17 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/platforms/tampermonkey/icon28.png"><img height=17.5 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/platforms/violentmonkey/icon25.png"> Greasemonkey
|
|
108
108
|
|
|
109
109
|
```js
|
|
110
110
|
...
|
|
111
|
-
// @require https://cdn.jsdelivr.net/npm/generate-pw@2.3.
|
|
111
|
+
// @require https://cdn.jsdelivr.net/npm/generate-pw@2.3.1/dist/generate-pw.min.js
|
|
112
112
|
// ==/UserScript==
|
|
113
113
|
|
|
114
114
|
// Your code here...
|
|
@@ -116,11 +116,11 @@ const pw = require('generate-pw')
|
|
|
116
116
|
|
|
117
117
|
<br>
|
|
118
118
|
|
|
119
|
-
**💡 Note:** To always import the latest version (not recommended in production!) remove the `@2.3.
|
|
119
|
+
**💡 Note:** To always import the latest version (not recommended in production!) remove the `@2.3.1` version tag from the jsDelivr URL: `https://cdn.jsdelivr.net/npm/generate-pw/dist/generate-pw.min.js`
|
|
120
120
|
|
|
121
121
|
<br>
|
|
122
122
|
|
|
123
|
-
<img height=6px width="100%" src="https://
|
|
123
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
124
124
|
|
|
125
125
|
## 📋 API usage
|
|
126
126
|
|
|
@@ -259,7 +259,7 @@ Name | Type | Description
|
|
|
259
259
|
|
|
260
260
|
<br>
|
|
261
261
|
|
|
262
|
-
<img height=6px width="100%" src="https://
|
|
262
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
263
263
|
|
|
264
264
|
## 💻 Command line usage
|
|
265
265
|
|
|
@@ -336,7 +336,7 @@ export default {
|
|
|
336
336
|
|
|
337
337
|
<br>
|
|
338
338
|
|
|
339
|
-
<img height=6px width="100%" src="https://
|
|
339
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
340
340
|
|
|
341
341
|
## 🏛️ MIT License
|
|
342
342
|
|
|
@@ -350,11 +350,11 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
350
350
|
|
|
351
351
|
<br>
|
|
352
352
|
|
|
353
|
-
<img height=6px width="100%" src="https://
|
|
353
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
354
354
|
|
|
355
355
|
## 🛠️ Related utilities
|
|
356
356
|
|
|
357
|
-
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@5c34563/generate-ip/assets/images/icons/node-graph/white/icon55x49.png"><img height=21 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@5c34563/generate-ip/assets/images/icons/node-graph/black/icon55x49.png"></picture> [generate-ip](https://js-utils.org/generate-ip) <a href="https://github.com/toolleeo/cli-apps
|
|
357
|
+
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@5c34563/generate-ip/assets/images/icons/node-graph/white/icon55x49.png"><img height=21 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@5c34563/generate-ip/assets/images/icons/node-graph/black/icon55x49.png"></picture> [generate-ip](https://js-utils.org/generate-ip) <a href="https://github.com/toolleeo/cli-apps/#networking"><img height=18 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/badges/awesome/badge.svg"></a>
|
|
358
358
|
|
|
359
359
|
> Randomly generate, format, and validate IPv4 + IPv6 + MAC addresses.
|
|
360
360
|
<br>[Install](https://docs.generate-ip.org/#-installation) /
|
|
@@ -363,7 +363,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
363
363
|
[CLI usage](https://docs.generate-ip.org/#-command-line-usage) /
|
|
364
364
|
[Discuss](https://github.com/adamlui/js-utils/discussions)
|
|
365
365
|
|
|
366
|
-
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d3424a/geolocate/assets/images/icons/wire-globe/white/icon32.png"><img height=22 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d3424a/geolocate/assets/images/icons/wire-globe/black/icon32.png"></picture> [geolocate](https://js-utils.org/geolocate) <a href="https://github.com/toolleeo/cli-apps
|
|
366
|
+
### <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d3424a/geolocate/assets/images/icons/wire-globe/white/icon32.png"><img height=22 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d3424a/geolocate/assets/images/icons/wire-globe/black/icon32.png"></picture> [geolocate](https://js-utils.org/geolocate) <a href="https://github.com/toolleeo/cli-apps/#networking"><img height=18 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/badges/awesome/badge.svg"></a>
|
|
367
367
|
|
|
368
368
|
> Fetch IP geolocation data from the CLI.
|
|
369
369
|
<br>[Install](https://docs.geolocatejs.org/#-installation) /
|
|
@@ -374,8 +374,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
374
374
|
|
|
375
375
|
<br>
|
|
376
376
|
|
|
377
|
-
<img height=6px width="100%" src="https://
|
|
377
|
+
<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
|
|
378
378
|
|
|
379
|
-
<picture><source media="(prefers-color-scheme: dark)" srcset="https://
|
|
379
|
+
<picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/home/white/icon32x27.png"><img height=13 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/icons/home/dark-gray/icon32x27.png"></picture> <a href="https://js-utils.org">**More JavaScript utilities**</a> /
|
|
380
380
|
<a href="https://github.com/adamlui/js-utils/discussions">Discuss</a> /
|
|
381
381
|
<a href="#top">Back to top ↑</a>
|
package/docs/SECURITY.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generate-pw",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Randomly generate, strengthen, and validate cryptographically-secure passwords.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Adam Lui",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"node-clipboardy": "^1.0.3"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@adamlui/minify.js": "^2.
|
|
83
|
+
"@adamlui/minify.js": "^2.5.0",
|
|
84
84
|
"console-table-printer": "^2.15.0",
|
|
85
85
|
"copyfiles": "^2.4.1"
|
|
86
86
|
}
|