ac-geoip 3.0.9 → 4.0.2

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.
@@ -0,0 +1,9 @@
1
+ # Code Owners
2
+ #
3
+ # This file defines who is responsible for code in this repository.
4
+ # Reviews from code owners are automatically requested for pull requests.
5
+ #
6
+ # More info: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
7
+
8
+ # Default owner for everything in the repo
9
+ * @AdmiralCloud/ac-maintainer-backend
@@ -12,11 +12,14 @@ on:
12
12
  jobs:
13
13
  build:
14
14
 
15
+ permissions:
16
+ contents: read
17
+
15
18
  runs-on: ubuntu-latest
16
19
 
17
20
  strategy:
18
21
  matrix:
19
- node-version: [16.x, 18.x]
22
+ node-version: [20.x, 22.x]
20
23
  # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21
24
  redis-version: [6]
22
25
 
package/CHANGELOG.md CHANGED
@@ -1,4 +1,38 @@
1
1
 
2
+ ## [4.0.2](https://github.com/admiralcloud/ac-geoip/compare/v4.0.1..v4.0.2) (2026-03-21 11:29:30)
3
+
4
+
5
+ ### Bug Fix
6
+
7
+ * **App:** Package updates | MP | [91bef526e1c34325426ffba24442198117b04e7c](https://github.com/admiralcloud/ac-geoip/commit/91bef526e1c34325426ffba24442198117b04e7c)
8
+ Package updates
9
+ Related issues:
10
+
11
+ ## [4.0.1](https://github.com/admiralcloud/ac-geoip/compare/v4.0.0..v4.0.1) (2026-02-28 12:11:48)
12
+
13
+
14
+ ### Bug Fix
15
+
16
+ * **Misc:** Updated README. Node 20+ required | MP | [54a10b16a4d4e784fb17f14f0cd7fd1fad1bb4da](https://github.com/admiralcloud/ac-geoip/commit/54a10b16a4d4e784fb17f14f0cd7fd1fad1bb4da)
17
+ Updated README. Node 20+ required
18
+ Related issues:
19
+
20
+ # [4.0.0](https://github.com/admiralcloud/ac-geoip/compare/v3.0.9..v4.0.0) (2026-02-28 12:08:49)
21
+
22
+
23
+ ### Bug Fix
24
+
25
+ * **App:** Package updates | MP | [8854d0d8c2d8138818e76cb25d332052a13bd784](https://github.com/admiralcloud/ac-geoip/commit/8854d0d8c2d8138818e76cb25d332052a13bd784)
26
+ Package updates
27
+ Related issues:
28
+ ### Chores
29
+
30
+ * **Misc:** Add permission to workflow | MP | [821198f03f73ebc64f7b5b21a10554474e6891b0](https://github.com/admiralcloud/ac-geoip/commit/821198f03f73ebc64f7b5b21a10554474e6891b0)
31
+ Add permission to workflow
32
+ Related issues:
33
+ ## BREAKING CHANGES
34
+ * **App:** Version 20+ required
35
+
2
36
  ## [3.0.9](https://github.com/admiralcloud/ac-geoip/compare/v3.0.8..v3.0.9) (2026-02-03 08:27:18)
3
37
 
4
38
 
package/README.md CHANGED
@@ -7,6 +7,9 @@ You can also use the Geolite2 database from Maxmind: https://dev.maxmind.com/geo
7
7
 
8
8
  [![Node.js CI](https://github.com/AdmiralCloud/ac-geoip/actions/workflows/node.js.yml/badge.svg)](https://github.com/AdmiralCloud/ac-geoip/actions/workflows/node.js.yml)
9
9
 
10
+ ## Breaking Change Version 4.x
11
+ Version 4.x requires Node 20 or higher.
12
+
10
13
  ## Usage
11
14
 
12
15
  ### Using Webservice
package/SECURITY.md ADDED
@@ -0,0 +1,22 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ We only provide security updates for the latest version of this project.
6
+
7
+ If you are using an older version, please upgrade to the latest release to receive security fixes.
8
+
9
+ ## Reporting a Vulnerability
10
+
11
+ If you discover a security vulnerability, please report it by creating a GitHub issue in this repository.
12
+
13
+ Please include the following information:
14
+
15
+ - Description of the vulnerability
16
+ - Steps to reproduce the issue
17
+ - Potential impact
18
+ - Any suggested fixes (if you have them)
19
+
20
+ We will review your report and respond as soon as possible.
21
+
22
+ Thank you for helping keep AdmiralCloud and our users safe!
package/package.json CHANGED
@@ -3,29 +3,30 @@
3
3
  "author": "Mark Poepping (https://www.admiralcloud.com)",
4
4
  "license": "MIT",
5
5
  "repository": "admiralcloud/ac-geoip",
6
- "version": "3.0.9",
6
+ "version": "4.0.2",
7
7
  "dependencies": {
8
8
  "@maxmind/geoip2-node": "^6.3.4",
9
- "ac-ip": "^4.1.9",
9
+ "ac-ip": "^4.1.12",
10
10
  "lodash": "^4.17.23",
11
11
  "node-cache": "^5.1.2"
12
12
  },
13
13
  "devDependencies": {
14
14
  "ac-semantic-release": "^0.4.10",
15
15
  "chai": "^4.5.0",
16
- "eslint": "^9.39.2",
17
- "ioredis": "^5.9.2",
16
+ "eslint": "^9.39.4",
17
+ "ioredis": "^5.10.1",
18
18
  "mocha": "^11.7.5"
19
19
  },
20
20
  "scripts": {
21
21
  "test": "./node_modules/.bin/mocha --bail --exit --slow 1000 ./test/test.js || :"
22
22
  },
23
23
  "engines": {
24
- "node": ">=18.0"
24
+ "node": ">=20"
25
25
  },
26
26
  "resolutions": {
27
27
  "mocha/chokidar/braces": "^3.0.3",
28
- "mocha/diff": "^8.0.3"
28
+ "mocha/diff": "^8.0.3",
29
+ "mocha/serialize-javascript": "^7.0.3"
29
30
  },
30
31
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
31
32
  }