Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old nodejs versions removed #14

Open
wants to merge 203 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
203 commits
Select commit Hold shift + click to select a range
3dc55c3
Old nodejs versions removed
Doc999tor Sep 30, 2022
9a932f6
update-package-json
Doc999tor Feb 8, 2023
9152a36
old-python-version-removed
Doc999tor Feb 9, 2023
a657c3c
old-python-version-removed
Doc999tor Feb 9, 2023
9168d9a
1.1.89
Doc999tor Feb 9, 2023
d754730
node-version-upgraded
Doc999tor Feb 9, 2023
4aefcd0
version-update
Doc999tor Feb 9, 2023
1418483
1.1.91
Doc999tor Feb 14, 2023
29426ba
1.1.92
Doc999tor Feb 18, 2023
3b2e360
1.1.93
Doc999tor Feb 22, 2023
2fd11d0
1.1.94
Doc999tor Feb 25, 2023
c2db16d
1.1.95
Doc999tor Feb 28, 2023
7d21803
1.1.96
Doc999tor Mar 3, 2023
eec85fd
1.1.97
Doc999tor Mar 8, 2023
239a3b6
1.1.98
Doc999tor Mar 10, 2023
57c0a78
1.1.99
Doc999tor Mar 14, 2023
85e63b6
1.1.100
Doc999tor Mar 17, 2023
30d003f
1.1.101
Doc999tor Mar 21, 2023
ed5e546
1.1.102
Doc999tor Mar 24, 2023
b22a87f
1.1.103
Doc999tor Mar 28, 2023
a39e467
1.1.104
Doc999tor Mar 31, 2023
5de0a7b
1.1.105
Doc999tor Apr 5, 2023
1fb5201
1.1.106
Doc999tor Apr 7, 2023
94cca89
1.1.107
Doc999tor Apr 11, 2023
a4b7f55
1.1.108
Doc999tor Apr 14, 2023
5480bab
1.1.109
Doc999tor Apr 18, 2023
4e19d0e
1.1.110
Doc999tor Apr 21, 2023
21b3066
1.1.111
Doc999tor Apr 25, 2023
dc291b4
1.1.112
Doc999tor Apr 28, 2023
4ca2083
1.1.113
Doc999tor May 2, 2023
95fc730
1.1.114
Doc999tor May 5, 2023
e767141
1.1.115
Doc999tor May 9, 2023
29a515c
1.1.116
Doc999tor May 13, 2023
ca04d11
1.1.117
Doc999tor May 16, 2023
87fc604
1.1.118
Doc999tor May 19, 2023
444944b
1.1.119
Doc999tor May 24, 2023
323ec5c
1.1.120
Doc999tor May 27, 2023
19c555e
1.1.121
Doc999tor Jun 1, 2023
0e559a9
1.1.122
Doc999tor Jun 3, 2023
0af460a
1.1.123
Doc999tor Jun 7, 2023
5a8423a
1.1.124
Doc999tor Jun 9, 2023
ab9276e
1.1.125
Doc999tor Jun 13, 2023
80e8ea8
1.1.126
Doc999tor Jun 17, 2023
bca1fba
1.1.127
Doc999tor Jun 21, 2023
a274383
1.1.128
Doc999tor Jun 23, 2023
63b37a2
1.1.129
Doc999tor Jun 28, 2023
1fe60af
1.1.130
Doc999tor Jul 1, 2023
c699a15
1.1.131
Doc999tor Jul 4, 2023
d75596f
1.1.132
Doc999tor Jul 9, 2023
6bff5b1
1.1.133
Doc999tor Jul 12, 2023
620b84b
1.1.134
Doc999tor Jul 15, 2023
ed576dd
1.1.135
Doc999tor Jul 19, 2023
a85b3e5
1.1.136
Doc999tor Jul 22, 2023
419a470
1.1.137
Doc999tor Jul 27, 2023
327713e
1.1.138
Doc999tor Jul 29, 2023
8d66721
1.1.139
Doc999tor Aug 1, 2023
56bb4a6
1.1.140
Doc999tor Aug 5, 2023
fbbf033
1.1.141
Doc999tor Aug 10, 2023
db1fdeb
1.1.142
Doc999tor Aug 12, 2023
4127301
1.1.143
Doc999tor Aug 15, 2023
271960a
1.1.144
Doc999tor Aug 19, 2023
a193bc9
1.1.145
Doc999tor Aug 22, 2023
000534e
1.1.146
Doc999tor Aug 25, 2023
15c61ce
1.1.147
Doc999tor Aug 30, 2023
631a231
1.1.148
Doc999tor Sep 1, 2023
9cfa7e5
1.1.149
Doc999tor Sep 6, 2023
46349ea
1.1.150
Doc999tor Sep 8, 2023
9215553
1.1.151
Doc999tor Sep 12, 2023
0ec6785
1.1.152
Doc999tor Sep 15, 2023
3525a67
1.1.153
Doc999tor Sep 19, 2023
c19b35f
1.1.154
Doc999tor Sep 22, 2023
0eeebd8
1.1.155
Doc999tor Sep 26, 2023
7357b0b
1.1.156
Doc999tor Sep 30, 2023
6f8423f
1.1.157
Doc999tor Oct 4, 2023
adf53d4
1.1.158
Doc999tor Oct 6, 2023
91e0c5d
1.1.159
Doc999tor Oct 10, 2023
94c695c
1.1.160
Doc999tor Oct 11, 2023
8ff29af
1.1.161
Doc999tor Oct 13, 2023
26a9496
1.1.162
Doc999tor Oct 17, 2023
134767c
1.1.163
Doc999tor Oct 20, 2023
9b42956
1.1.164
Doc999tor Oct 25, 2023
8c67022
1.1.165
Doc999tor Oct 28, 2023
150307e
1.1.166
Doc999tor Nov 1, 2023
02cf5c8
1.1.167
Doc999tor Nov 4, 2023
59eedc3
1.1.168
Doc999tor Nov 8, 2023
c4b5191
1.1.169
Doc999tor Nov 11, 2023
07f46a1
1.1.170
Doc999tor Nov 15, 2023
3e256c7
1.1.171
Doc999tor Nov 16, 2023
27ef96c
1.1.172
Doc999tor Nov 18, 2023
912b636
1.1.173
Doc999tor Nov 22, 2023
b410df6
1.1.174
Doc999tor Nov 25, 2023
df15c97
1.1.175
Doc999tor Nov 29, 2023
73d6798
1.1.176
Doc999tor Dec 2, 2023
2f35462
1.1.177
Doc999tor Dec 6, 2023
3256ad5
1.1.178
Doc999tor Dec 9, 2023
dbeb9af
1.1.179
Doc999tor Dec 13, 2023
1019af4
1.1.180
Doc999tor Dec 16, 2023
f607106
1.1.181
Doc999tor Dec 20, 2023
aac670d
1.1.182
Doc999tor Dec 23, 2023
7f13915
1.1.183
Doc999tor Dec 30, 2023
84d7515
1.1.184
Doc999tor Jan 3, 2024
13c316f
1.1.185
Doc999tor Jan 6, 2024
96263c9
1.1.186
Doc999tor Jan 10, 2024
40c2b95
1.1.187
Doc999tor Jan 13, 2024
79c5c00
1.1.188
Doc999tor Jan 17, 2024
2d3534f
1.1.189
Doc999tor Jan 20, 2024
f58b616
1.1.190
Doc999tor Jan 24, 2024
8ccf35f
1.1.191
Doc999tor Jan 27, 2024
7879a58
1.1.192
Doc999tor Jan 31, 2024
fc263af
1.1.193
Doc999tor Feb 3, 2024
06a8f13
1.1.194
Doc999tor Feb 7, 2024
b6c5ddc
1.1.195
Doc999tor Feb 10, 2024
361e015
1.1.196
Doc999tor Feb 14, 2024
84b101e
1.1.197
Doc999tor Feb 17, 2024
dff61db
1.1.198
Doc999tor Feb 21, 2024
1f73abd
1.1.199
Doc999tor Feb 24, 2024
04f277c
1.1.200
Doc999tor Feb 28, 2024
f9d9453
1.1.201
Doc999tor Mar 2, 2024
ce44f6c
1.1.202
Doc999tor Mar 6, 2024
7e29738
maxmind-url-updated
Doc999tor Mar 7, 2024
8788c28
version-update
Doc999tor Mar 7, 2024
e3ce23f
1.1.204
Doc999tor Mar 9, 2024
501c43b
1.1.205
Doc999tor Mar 14, 2024
57960b2
1.1.206
Doc999tor Mar 16, 2024
8c1d06e
1.1.207
Doc999tor Mar 20, 2024
28b3fee
1.1.208
Doc999tor Mar 23, 2024
8862470
1.1.209
Doc999tor Mar 27, 2024
1c2a8c0
1.1.210
Doc999tor Mar 30, 2024
5c27cf8
1.1.211
Doc999tor Apr 3, 2024
b974f7a
1.1.212
Doc999tor Apr 6, 2024
86ec526
1.1.213
Doc999tor Apr 10, 2024
d08c730
1.1.214
Doc999tor Apr 13, 2024
1d46e30
1.1.215
Doc999tor Apr 17, 2024
c394376
1.1.216
Doc999tor Apr 21, 2024
9594745
1.1.217
Doc999tor Apr 24, 2024
5eb104b
1.1.218
Doc999tor Apr 27, 2024
4164655
1.1.219
Doc999tor May 1, 2024
1c769df
1.1.220
Doc999tor May 4, 2024
6c8fc07
1.1.221
Doc999tor May 8, 2024
9a54f53
1.1.222
Doc999tor May 11, 2024
90f8185
1.1.223
Doc999tor May 15, 2024
95fda5c
1.1.224
Doc999tor May 18, 2024
6409ee3
1.1.225
Doc999tor May 22, 2024
8da8038
1.1.226
Doc999tor May 25, 2024
e45e883
1.1.227
Doc999tor May 29, 2024
7bc8319
1.1.228
Doc999tor Jun 1, 2024
a93c9cb
1.1.229
Doc999tor Jun 5, 2024
3586e37
1.1.230
Doc999tor Jun 8, 2024
52368e2
1.1.231
Doc999tor Jun 12, 2024
2436158
1.1.232
Doc999tor Jun 15, 2024
664067a
1.1.233
Doc999tor Jun 19, 2024
4db7419
1.1.234
Doc999tor Jun 22, 2024
d002422
1.1.235
Doc999tor Jun 26, 2024
57f7e59
1.1.236
Doc999tor Jun 29, 2024
cb93b03
1.1.237
Doc999tor Jul 3, 2024
653d087
1.1.238
Doc999tor Jul 6, 2024
8723dc6
1.1.239
Doc999tor Jul 10, 2024
aac6ff7
1.1.240
Doc999tor Jul 13, 2024
ea02c2d
1.1.241
Doc999tor Jul 17, 2024
b6cd623
1.1.242
Doc999tor Jul 20, 2024
80c5025
1.1.243
Doc999tor Jul 24, 2024
c4c9ff0
1.1.244
Doc999tor Jul 27, 2024
15240b6
1.1.245
Doc999tor Jul 31, 2024
be57061
1.1.246
Doc999tor Aug 7, 2024
9947030
1.1.247
Doc999tor Aug 10, 2024
c0f700a
1.1.248
Doc999tor Aug 14, 2024
29646b1
1.1.249
Doc999tor Aug 17, 2024
a8671c9
1.1.250
Doc999tor Aug 21, 2024
ca8a254
1.1.251
Doc999tor Aug 24, 2024
e443d5e
1.1.252
Doc999tor Aug 28, 2024
cc8bff7
1.1.253
Doc999tor Aug 31, 2024
3005127
1.1.254
Doc999tor Sep 4, 2024
94671e7
1.1.255
Doc999tor Sep 7, 2024
40940f9
1.1.256
Doc999tor Sep 11, 2024
e5fcd2b
1.1.257
Doc999tor Sep 14, 2024
e40ce29
1.1.258
Doc999tor Sep 18, 2024
1688b40
1.1.259
Doc999tor Sep 22, 2024
fe90482
1.1.260
Doc999tor Sep 25, 2024
9c227d2
1.1.261
Doc999tor Sep 28, 2024
a829ccc
1.1.262
Doc999tor Oct 2, 2024
2432db9
1.1.263
Doc999tor Oct 5, 2024
a7854d5
1.1.264
Doc999tor Oct 9, 2024
5d291d3
1.1.265
Doc999tor Oct 12, 2024
e9abec7
1.1.266
Doc999tor Oct 16, 2024
db0c0d8
1.1.267
Doc999tor Oct 19, 2024
f43831a
1.1.268
Doc999tor Oct 23, 2024
861c4aa
1.1.269
Doc999tor Oct 26, 2024
3f8ea44
1.1.270
Doc999tor Oct 30, 2024
1b3b1d3
1.1.271
Doc999tor Nov 2, 2024
f79d487
1.1.272
Doc999tor Nov 6, 2024
287f47b
1.1.273
Doc999tor Nov 9, 2024
cad163f
1.1.274
Doc999tor Nov 14, 2024
95335eb
1.1.275
Doc999tor Nov 16, 2024
f8c1ec3
1.1.276
Doc999tor Nov 20, 2024
35757a1
1.1.277
Doc999tor Nov 23, 2024
3c5231c
1.1.278
Doc999tor Nov 27, 2024
2bf13a8
1.1.279
Doc999tor Nov 30, 2024
bc2187c
1.1.280
Doc999tor Dec 4, 2024
bb50e11
1.1.281
Doc999tor Dec 7, 2024
3778eee
1.1.282
Doc999tor Dec 11, 2024
40ff9ce
1.1.283
Doc999tor Dec 14, 2024
f4b5534
1.1.284
Doc999tor Dec 18, 2024
a7291fc
1.1.285
Doc999tor Dec 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ jobs:
- name: Get Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: '16.x'
- run: npm ci
- run: npm run build

python-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
python-version: [3.7, 3.8]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Test with unittest
Expand All @@ -40,12 +40,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '0.12', '4', '6', '8', '10', '12', '14' ] # Major releases as described in https://nodejs.org/en/download/releases/
node: [ '10', '12', '14' , '16' ] # Major releases as described in https://nodejs.org/en/download/releases/
name: Node ${{ matrix.node }} sample
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
Expand All @@ -56,16 +56,16 @@ jobs:
if: ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event_name == 'schedule'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
- run: npm ci
- run: npm ci
- name: Build typescript files
run: npm run build
- name: Download csv databases
Expand All @@ -80,15 +80,15 @@ jobs:
mkdir old
cd old
npm init -y
npm install fast-geoip
npm install doc999tor-fast-geoip
- name: Compare new and old data
id: compare
run: |
if ! diff -qrN ./data ./old/node_modules/fast-geoip/data; then
if ! diff -qrN ./data ./old/node_modules/doc999tor-fast-geoip/data; then
echo "::set-output name=changed::true"
git config user.email "[email protected]"
git config user.name "$GITHUB_ACTOR"
npm version patch
npm version patch
else
echo "::set-output name=changed::false"
fi
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ node_modules
build
tests/mock_data/*.js
npm-debug.log
.env
2 changes: 1 addition & 1 deletion downloadDatabases.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def rmtree(directory):
shutil.rmtree(directory, ignore_errors=True)

urllib.request.urlretrieve ("https://geoip.maxmind.com/app/geoip_download?edition_id=GeoLite2-City-CSV&suffix=zip&license_key=" + os.environ["MAXMIND_LICENSE_KEY"], ZIP_FILENAME)
urllib.request.urlretrieve ("https://download.maxmind.com/app/geoip_download_by_token?edition_id=GeoLite2-City-CSV&suffix=zip&license_key=" + os.environ["MAXMIND_LICENSE_KEY"], ZIP_FILENAME)

with zipfile.ZipFile(ZIP_FILENAME, 'r') as zip_ref:
zip_ref.extractall(TEMPORAL_EXTRACTED_DIR)
Expand Down
48 changes: 39 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fast-geoip",
"version": "1.1.88",
"description": "A faster & low-memory replacement for geoip-lite, a node library that maps IPs to geographical information",
"name": "doc999tor-fast-geoip",
"version": "1.1.285",
"description": "Fork of a faster & low-memory replacement for geoip-lite, a node library that maps IPs to geographical information",
"directories": {
"test": "tests"
},
Expand All @@ -17,9 +17,9 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/corollari/fast-geoip.git"
"url": "git+https://github.com/Doc999tor/fast-geoip.git"
},
"author": "corollari",
"author": "doc999tor",
"license": "MIT",
"files": [
"data/*",
Expand All @@ -31,7 +31,7 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"devDependencies": {
"@types/node": "^14.0.20",
"typescript": "^3.9.6"
"@types/node": "^18.7.23",
"typescript": "^4.8.3"
}
}