@adamlui/geolocate 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 CHANGED
@@ -8,8 +8,8 @@
8
8
  <img height=31 src="https://img.shields.io/npm/dm/@adamlui/geolocate?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
9
9
  <a href="#%EF%B8%8F-mit-license">
10
10
  <img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
11
- <a href="https://github.com/adamlui/js-utils/releases/tag/geolocate-2.3.0">
12
- <img height=31 src="https://img.shields.io/badge/Latest_Build-2.3.0-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
11
+ <a href="https://github.com/adamlui/js-utils/releases/tag/geolocate-2.3.1">
12
+ <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>
13
13
  <a href="https://www.npmjs.com/package/@adamlui/geolocate?activeTab=code">
14
14
  <img height=31 src="https://img.shields.io/npm/unpacked-size/%40adamlui%2Fgeolocate?style=for-the-badge&logo=ebox&logoColor=white&labelColor=464646&color=blue"></a>
15
15
  <a href="#">
@@ -126,14 +126,14 @@ const geo = require('@adamlui/geolocate')
126
126
  #### <> HTML script tag:
127
127
 
128
128
  ```html
129
- <script src="https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.0/dist/geolocate.min.js"></script>
129
+ <script src="https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.1/dist/geolocate.min.js"></script>
130
130
  ```
131
131
 
132
132
  #### ES6:
133
133
 
134
134
  ```js
135
135
  (async () => {
136
- await import('https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.0/dist/geolocate.min.js')
136
+ await import('https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.1/dist/geolocate.min.js')
137
137
  // Your code here...
138
138
  })()
139
139
  ```
@@ -142,7 +142,7 @@ const geo = require('@adamlui/geolocate')
142
142
 
143
143
  ```js
144
144
  ...
145
- // @require https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.0/dist/geolocate.min.js
145
+ // @require https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.1/dist/geolocate.min.js
146
146
  // ==/UserScript==
147
147
 
148
148
  // Your code here...
@@ -150,7 +150,7 @@ const geo = require('@adamlui/geolocate')
150
150
 
151
151
  <br>
152
152
 
153
- **📝 Note:** To always import the latest version (not recommended in production!) remove the `@2.3.0` version tag from the jsDelivr URL: `https://cdn.jsdelivr.net/npm/@adamlui/geolocate/dist/geolocate.min.js`
153
+ **📝 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/@adamlui/geolocate/dist/geolocate.min.js`
154
154
 
155
155
  <br>
156
156
 
@@ -25,7 +25,7 @@ module.exports = {
25
25
  fs.copyFileSync(paths.src, paths.target) // use found template
26
26
 
27
27
  else { // use jsDelivr copy
28
- const jsdURL = `${require('./jsdelivr').pkgVerURL()}/${filename}/`
28
+ const jsdURL = `${require('./jsdelivr').pkgVerURL()}/${filename}`
29
29
  log.data(`${cli.msgs.info_fetchingRemoteConfigFrom} ${jsdURL}...`)
30
30
  try {
31
31
  const data = require('./data'),
package/docs/README.md CHANGED
@@ -8,8 +8,8 @@
8
8
  <img height=31 src="https://img.shields.io/npm/dm/@adamlui/geolocate?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
9
9
  <a href="#%EF%B8%8F-mit-license">
10
10
  <img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
11
- <a href="https://github.com/adamlui/js-utils/releases/tag/geolocate-2.3.0">
12
- <img height=31 src="https://img.shields.io/badge/Latest_Build-2.3.0-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
11
+ <a href="https://github.com/adamlui/js-utils/releases/tag/geolocate-2.3.1">
12
+ <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>
13
13
  <a href="https://www.npmjs.com/package/@adamlui/geolocate?activeTab=code">
14
14
  <img height=31 src="https://img.shields.io/npm/unpacked-size/%40adamlui%2Fgeolocate?style=for-the-badge&logo=ebox&logoColor=white&labelColor=464646&color=blue"></a>
15
15
  <a href="#">
@@ -126,14 +126,14 @@ const geo = require('@adamlui/geolocate')
126
126
  #### <> HTML script tag:
127
127
 
128
128
  ```html
129
- <script src="https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.0/dist/geolocate.min.js"></script>
129
+ <script src="https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.1/dist/geolocate.min.js"></script>
130
130
  ```
131
131
 
132
132
  #### ES6:
133
133
 
134
134
  ```js
135
135
  (async () => {
136
- await import('https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.0/dist/geolocate.min.js')
136
+ await import('https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.1/dist/geolocate.min.js')
137
137
  // Your code here...
138
138
  })()
139
139
  ```
@@ -142,7 +142,7 @@ const geo = require('@adamlui/geolocate')
142
142
 
143
143
  ```js
144
144
  ...
145
- // @require https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.0/dist/geolocate.min.js
145
+ // @require https://cdn.jsdelivr.net/npm/@adamlui/geolocate@2.3.1/dist/geolocate.min.js
146
146
  // ==/UserScript==
147
147
 
148
148
  // Your code here...
@@ -150,7 +150,7 @@ const geo = require('@adamlui/geolocate')
150
150
 
151
151
  <br>
152
152
 
153
- **📝 Note:** To always import the latest version (not recommended in production!) remove the `@2.3.0` version tag from the jsDelivr URL: `https://cdn.jsdelivr.net/npm/@adamlui/geolocate/dist/geolocate.min.js`
153
+ **📝 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/@adamlui/geolocate/dist/geolocate.min.js`
154
154
 
155
155
  <br>
156
156
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adamlui/geolocate",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Fetch IP geolocation data from the CLI.",
5
5
  "author": {
6
6
  "name": "Adam Lui",