generate-ip 2.9.1 → 2.9.3

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 CHANGED
@@ -10,14 +10,14 @@
10
10
 
11
11
  <a href="https://npmstar.com/compare/generate-ip">
12
12
  <img height=31 src="https://img.shields.io/npm/dm/generate-ip?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
13
+ <a href="https://github.com/adamlui/js-utils/releases/tag/generate-ip-2.9.3">
14
+ <img height=31 src="https://img.shields.io/badge/Latest_Build-2.9.3-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
13
15
  <a href="#%EF%B8%8F-mit-license">
14
16
  <img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
15
- <a href="https://github.com/adamlui/js-utils/releases/tag/generate-ip-2.9.1">
16
- <img height=31 src="https://img.shields.io/badge/Latest_Build-2.9.1-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
17
17
  <a href="https://www.npmjs.com/package/generate-ip?activeTab=code">
18
18
  <img height=31 src="https://img.shields.io/npm/unpacked-size/generate-ip?style=for-the-badge&logo=ebox&logoColor=white&labelColor=464646&color=blue"></a>
19
- <a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_js-utils:generate-ip/src/generate-ip.js">
20
- <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-ip%2Fsrc%2Fgenerate-ip.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonarcloud&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a>
19
+ <a href="https://sonarcloud.io/component_measures?metric=vulnerabilities&selected=adamlui_js-utils%3Agenerate-ip&id=adamlui_js-utils">
20
+ <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-ip%2Fsrc%2Fgenerate-ip.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonar&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a>
21
21
  <a href="https://github.com/toolleeo/cli-apps/#networking">
22
22
  <img height=31 src="https://img.shields.io/badge/Mentioned_in-Awesome-ff69b4?logo=awesomelists&logoColor=white&labelColor=464646&style=for-the-badge"></a>
23
23
  <a href="https://www.jsdelivr.com/package/npm/generate-ip?tab=stats">
@@ -87,14 +87,14 @@ const { ipv4, ipv6, mac } = require('generate-ip')
87
87
  #### <> HTML script tag:
88
88
 
89
89
  ```html
90
- <script src="https://cdn.jsdelivr.net/npm/generate-ip@2.9.1/dist/generate-ip.min.js"></script>
90
+ <script src="https://cdn.jsdelivr.net/npm/generate-ip@2.9.3/dist/generate-ip.min.js"></script>
91
91
  ```
92
92
 
93
93
  #### ES6:
94
94
 
95
95
  ```js
96
96
  (async () => {
97
- await import('https://cdn.jsdelivr.net/npm/generate-ip@2.9.1/dist/generate-ip.min.js')
97
+ await import('https://cdn.jsdelivr.net/npm/generate-ip@2.9.3/dist/generate-ip.min.js')
98
98
  // Your code here...
99
99
  })()
100
100
  ```
@@ -103,7 +103,7 @@ const { ipv4, ipv6, mac } = require('generate-ip')
103
103
 
104
104
  ```js
105
105
  ...
106
- // @require https://cdn.jsdelivr.net/npm/generate-ip@2.9.1/dist/generate-ip.min.js
106
+ // @require https://cdn.jsdelivr.net/npm/generate-ip@2.9.3/dist/generate-ip.min.js
107
107
  // ==/UserScript==
108
108
 
109
109
  // Your code here...
@@ -111,7 +111,7 @@ const { ipv4, ipv6, mac } = require('generate-ip')
111
111
 
112
112
  <br>
113
113
 
114
- 📝 **Note:** To always import the latest version (not recommended in production!) remove the `@2.9.1` version tag from the jsDelivr URL: `https://cdn.jsdelivr.net/npm/generate-ip/dist/generate-ip.min.js`
114
+ 📝 **Note:** To always import the latest version (not recommended in production!) remove the `@2.9.3` version tag from the jsDelivr URL: `https://cdn.jsdelivr.net/npm/generate-ip/dist/generate-ip.min.js`
115
115
 
116
116
  <br>
117
117
 
@@ -432,28 +432,30 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
432
432
 
433
433
  ## 🛠️ Related utilities
434
434
 
435
- ### [🔒 generate-pw](../generate-pw) &nbsp;<a href="https://github.com/toolleeo/cli-apps/#password-managers"><img height=18 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/badges/awesome/badge.svg"></a>
435
+ ### [🔒 generate-pw](https://github.com/adamlui/js-utils/tree/main/generate-pw/#readme) &nbsp;<a href="https://github.com/toolleeo/cli-apps/#password-managers"><img height=18 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/badges/awesome/badge.svg"></a>
436
436
 
437
437
  > Randomly generate, strengthen, and validate cryptographically-secure passwords.
438
- <br>[Install](https://docs.generatepw.org/#-installation) /
439
- [Readme](https://docs.generatepw.org/#readme) /
440
- [API usage](https://docs.generatepw.org/#-api-usage) /
441
- [CLI usage](https://docs.generatepw.org/#-command-line-usage) /
438
+ <br>[Install](https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/#-installation) /
439
+ [Readme](https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/#readme) /
440
+ [API usage](https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/#-api-usage) /
441
+ [CLI usage](https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/#-command-line-usage) /
442
442
  [Discuss](https://github.com/adamlui/js-utils/discussions)
443
443
 
444
- ### <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) &nbsp;<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>
444
+ ### <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://github.com/adamlui/js-utils/tree/main/geolocate/#readme) &nbsp;<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>
445
445
 
446
446
  > Fetch IP geolocation data from the CLI.
447
- <br>[Install](https://docs.geolocatejs.org/#-installation) /
448
- [Readme](https://docs.geolocatejs.org/#readme) /
449
- [CLI usage](https://docs.geolocatejs.org/#-command-line-usage) /
450
- [API usage](https://docs.geolocatejs.org/#-api-usage) /
447
+ <br>[Install](https://github.com/adamlui/js-utils/tree/main/geolocate/docs/#-installation) /
448
+ [Readme](https://github.com/adamlui/js-utils/tree/main/geolocate/docs/#readme) /
449
+ [CLI usage](https://github.com/adamlui/js-utils/tree/main/geolocate/docs/#-command-line-usage) /
450
+ [API usage](https://github.com/adamlui/js-utils/tree/main/geolocate/docs/#-api-usage) /
451
451
  [Discuss](https://github.com/adamlui/js-utils/discussions)
452
452
 
453
453
  <br>
454
454
 
455
455
  <img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
456
456
 
457
- <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> /
457
+ <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://github.com/adamlui/js-utils/#readme">**More JavaScript utilities**</a> /
458
458
  <a href="https://github.com/adamlui/js-utils/discussions">Discuss</a> /
459
+ <a href="https://github.com/adamlui/js-utils/issues">Report bug</a> /
460
+ <a href="mailto:security@tidelift.com">Report vulnerability</a> /
459
461
  <a href="#top">Back to top ↑</a>
@@ -51,15 +51,8 @@ module.exports = {
51
51
  require(`../../${ env.modes.dev ? '../_locales/en' : 'data' }/messages.json`))
52
52
 
53
53
  if (!langCode.startsWith('en')) { // fetch non-English msgs from jsDelivr
54
- try { // check if terminal supports non-Latin scripts
55
- const nonLatinLocales = await (await data.fetch(
56
- `${cli.urls.jsdelivr}@${cli.commitHashes.data}/assets/data/non-latin-locales.json`
57
- )).json()
58
- if (nonLatinLocales.includes(langCode.split('-')[0]) && !env.supports.unicode)
59
- return msgs // en ones
60
- } catch (err) {
61
- log.debug(`Failed to fetch non-Latin locales: ${err}`)
62
- }
54
+ if (require('non-latin-locales').includes(langCode.split('_')[0]) && !env.supports.unicode)
55
+ return msgs // EN ones
63
56
  const msgBaseURL = `${require('./jsdelivr').getCommitURL(cli.commitHashes.locales)}/_locales`
64
57
  let msgURL = `${msgBaseURL}/${langCode}/messages.json`, msgFetchesTried = 0
65
58
  while (msgFetchesTried < 3)
package/docs/README.md CHANGED
@@ -10,14 +10,14 @@
10
10
 
11
11
  <a href="https://npmstar.com/compare/generate-ip">
12
12
  <img height=31 src="https://img.shields.io/npm/dm/generate-ip?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
13
+ <a href="https://github.com/adamlui/js-utils/releases/tag/generate-ip-2.9.3">
14
+ <img height=31 src="https://img.shields.io/badge/Latest_Build-2.9.3-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
13
15
  <a href="#%EF%B8%8F-mit-license">
14
16
  <img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
15
- <a href="https://github.com/adamlui/js-utils/releases/tag/generate-ip-2.9.1">
16
- <img height=31 src="https://img.shields.io/badge/Latest_Build-2.9.1-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
17
17
  <a href="https://www.npmjs.com/package/generate-ip?activeTab=code">
18
18
  <img height=31 src="https://img.shields.io/npm/unpacked-size/generate-ip?style=for-the-badge&logo=ebox&logoColor=white&labelColor=464646&color=blue"></a>
19
- <a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_js-utils:generate-ip/src/generate-ip.js">
20
- <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-ip%2Fsrc%2Fgenerate-ip.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonarcloud&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a>
19
+ <a href="https://sonarcloud.io/component_measures?metric=vulnerabilities&selected=adamlui_js-utils%3Agenerate-ip&id=adamlui_js-utils">
20
+ <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-ip%2Fsrc%2Fgenerate-ip.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonar&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a>
21
21
  <a href="https://github.com/toolleeo/cli-apps/#networking">
22
22
  <img height=31 src="https://img.shields.io/badge/Mentioned_in-Awesome-ff69b4?logo=awesomelists&logoColor=white&labelColor=464646&style=for-the-badge"></a>
23
23
  <a href="https://www.jsdelivr.com/package/npm/generate-ip?tab=stats">
@@ -87,14 +87,14 @@ const { ipv4, ipv6, mac } = require('generate-ip')
87
87
  #### <> HTML script tag:
88
88
 
89
89
  ```html
90
- <script src="https://cdn.jsdelivr.net/npm/generate-ip@2.9.1/dist/generate-ip.min.js"></script>
90
+ <script src="https://cdn.jsdelivr.net/npm/generate-ip@2.9.3/dist/generate-ip.min.js"></script>
91
91
  ```
92
92
 
93
93
  #### ES6:
94
94
 
95
95
  ```js
96
96
  (async () => {
97
- await import('https://cdn.jsdelivr.net/npm/generate-ip@2.9.1/dist/generate-ip.min.js')
97
+ await import('https://cdn.jsdelivr.net/npm/generate-ip@2.9.3/dist/generate-ip.min.js')
98
98
  // Your code here...
99
99
  })()
100
100
  ```
@@ -103,7 +103,7 @@ const { ipv4, ipv6, mac } = require('generate-ip')
103
103
 
104
104
  ```js
105
105
  ...
106
- // @require https://cdn.jsdelivr.net/npm/generate-ip@2.9.1/dist/generate-ip.min.js
106
+ // @require https://cdn.jsdelivr.net/npm/generate-ip@2.9.3/dist/generate-ip.min.js
107
107
  // ==/UserScript==
108
108
 
109
109
  // Your code here...
@@ -111,7 +111,7 @@ const { ipv4, ipv6, mac } = require('generate-ip')
111
111
 
112
112
  <br>
113
113
 
114
- 📝 **Note:** To always import the latest version (not recommended in production!) remove the `@2.9.1` version tag from the jsDelivr URL: `https://cdn.jsdelivr.net/npm/generate-ip/dist/generate-ip.min.js`
114
+ 📝 **Note:** To always import the latest version (not recommended in production!) remove the `@2.9.3` version tag from the jsDelivr URL: `https://cdn.jsdelivr.net/npm/generate-ip/dist/generate-ip.min.js`
115
115
 
116
116
  <br>
117
117
 
@@ -432,28 +432,30 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
432
432
 
433
433
  ## 🛠️ Related utilities
434
434
 
435
- ### [🔒 generate-pw](../generate-pw) &nbsp;<a href="https://github.com/toolleeo/cli-apps/#password-managers"><img height=18 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/badges/awesome/badge.svg"></a>
435
+ ### [🔒 generate-pw](https://github.com/adamlui/js-utils/tree/main/generate-pw/#readme) &nbsp;<a href="https://github.com/toolleeo/cli-apps/#password-managers"><img height=18 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/badges/awesome/badge.svg"></a>
436
436
 
437
437
  > Randomly generate, strengthen, and validate cryptographically-secure passwords.
438
- <br>[Install](https://docs.generatepw.org/#-installation) /
439
- [Readme](https://docs.generatepw.org/#readme) /
440
- [API usage](https://docs.generatepw.org/#-api-usage) /
441
- [CLI usage](https://docs.generatepw.org/#-command-line-usage) /
438
+ <br>[Install](https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/#-installation) /
439
+ [Readme](https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/#readme) /
440
+ [API usage](https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/#-api-usage) /
441
+ [CLI usage](https://github.com/adamlui/js-utils/tree/main/generate-pw/docs/#-command-line-usage) /
442
442
  [Discuss](https://github.com/adamlui/js-utils/discussions)
443
443
 
444
- ### <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) &nbsp;<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>
444
+ ### <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://github.com/adamlui/js-utils/tree/main/geolocate/#readme) &nbsp;<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>
445
445
 
446
446
  > Fetch IP geolocation data from the CLI.
447
- <br>[Install](https://docs.geolocatejs.org/#-installation) /
448
- [Readme](https://docs.geolocatejs.org/#readme) /
449
- [CLI usage](https://docs.geolocatejs.org/#-command-line-usage) /
450
- [API usage](https://docs.geolocatejs.org/#-api-usage) /
447
+ <br>[Install](https://github.com/adamlui/js-utils/tree/main/geolocate/docs/#-installation) /
448
+ [Readme](https://github.com/adamlui/js-utils/tree/main/geolocate/docs/#readme) /
449
+ [CLI usage](https://github.com/adamlui/js-utils/tree/main/geolocate/docs/#-command-line-usage) /
450
+ [API usage](https://github.com/adamlui/js-utils/tree/main/geolocate/docs/#-api-usage) /
451
451
  [Discuss](https://github.com/adamlui/js-utils/discussions)
452
452
 
453
453
  <br>
454
454
 
455
455
  <img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@0d36e26/assets/images/separators/aqua-gradient.png">
456
456
 
457
- <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> /
457
+ <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://github.com/adamlui/js-utils/#readme">**More JavaScript utilities**</a> /
458
458
  <a href="https://github.com/adamlui/js-utils/discussions">Discuss</a> /
459
+ <a href="https://github.com/adamlui/js-utils/issues">Report bug</a> /
460
+ <a href="mailto:security@tidelift.com">Report vulnerability</a> /
459
461
  <a href="#top">Back to top ↑</a>
package/docs/SECURITY.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # 🛡️ Security Policy
2
2
 
3
- If you find a vulnerability, please e-mail security@tidelift.com and a fix will be coordinated within 2 business days.
3
+ If you find a vulnerability, please e-mail <security@tidelift.com> and a fix will be coordinated within 2 business days.
package/package.json CHANGED
@@ -1,19 +1,15 @@
1
1
  {
2
2
  "name": "generate-ip",
3
- "version": "2.9.1",
3
+ "version": "2.9.3",
4
4
  "description": "Randomly generate, format, and validate IPv4 + IPv6 + MAC addresses.",
5
5
  "author": {
6
6
  "name": "Adam Lui",
7
7
  "email": "adam@kudoai.com",
8
8
  "url": "https://github.com/adamlui"
9
9
  },
10
- "homepage": "https://github.com/adamlui/js-utils",
10
+ "homepage": "https://github.com/adamlui/js-utils/tree/main/generate-ip/#readme",
11
11
  "license": "MIT",
12
12
  "funding": [
13
- {
14
- "type": "cashapp",
15
- "url": "https://cash.app/$AdamLui"
16
- },
17
13
  {
18
14
  "type": "github",
19
15
  "url": "http://github.com/sponsors/adamlui"
@@ -33,9 +29,7 @@
33
29
  "docs/"
34
30
  ],
35
31
  "directories": {
36
- "bin": "./bin",
37
- "lib": "./dist",
38
- "doc": "./docs"
32
+ "bin": "./bin"
39
33
  },
40
34
  "scripts": {
41
35
  "dev": "npm run build && npm i -g && generate-ip --help",
@@ -48,7 +42,11 @@
48
42
  "bump:patch": "bash utils/bump.sh patch",
49
43
  "bump:minor": "bash utils/bump.sh minor",
50
44
  "bump:feat": "npm run bump:minor",
51
- "bump:major": "bash utils/bump.sh major"
45
+ "bump:major": "bash utils/bump.sh major",
46
+ "lint": "eslint . --cache",
47
+ "lint:all": "eslint .",
48
+ "lint:fix": "eslint . --fix --cache",
49
+ "lint:fix-all": "eslint . --fix"
52
50
  },
53
51
  "repository": {
54
52
  "type": "git",
@@ -74,12 +72,19 @@
74
72
  "url": "https://github.com/adamlui/js-utils/issues"
75
73
  },
76
74
  "dependencies": {
75
+ "console-table-printer": "^2.15.0",
77
76
  "is-unicode-supported": "^2.1.0",
78
- "node-clipboardy": "^1.0.3"
77
+ "node-clipboardy": "^1.0.3",
78
+ "non-latin-locales": "^1.0.1"
79
79
  },
80
80
  "devDependencies": {
81
- "@adamlui/minify.js": "^2.5.0",
82
- "console-table-printer": "^2.15.0",
83
- "copyfiles": "^2.4.1"
81
+ "@adamlui/minify.js": "^2.5.2",
82
+ "@eslint/json": "^1.2.0",
83
+ "@eslint/markdown": "^8.0.1",
84
+ "@stylistic/eslint-plugin": "^5.10.0",
85
+ "copyfiles": "^2.4.1",
86
+ "eslint": "^9.39.4",
87
+ "eslint-plugin-import": "^2.32.0",
88
+ "eslint-plugin-regexp": "^3.1.0"
84
89
  }
85
90
  }