Skip to content

Commit a8801ba

Browse files
authored
Merge pull request #511 from maxmind/upgrade-node-modules
Upgrade node modules
2 parents ae0a7e7 + aef0883 commit a8801ba

File tree

18 files changed

+2761
-5909
lines changed

18 files changed

+2761
-5909
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
version: [10, 12, 14, 15]
14+
version: [12, 14, 16]
1515
steps:
1616
- uses: actions/checkout@v2
1717
- uses: actions/setup-node@v1

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
CHANGELOG
22
=========
33

4+
4.0.0 (XXXX)
5+
------------------
6+
7+
* **Breaking** Drop Node 10 support
8+
* Upgrade yarn dependencies
9+
410
3.4.0 (2021-04-13)
511
------------------
612

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Factors, and Report Transaction web services](https://dev.maxmind.com/minfraud/)
77

88
## Requirements
99

10-
MaxMind has tested this API with Node.js versions 10 and 12. We aim to support
10+
MaxMind has tested this API with Node.js versions 12 and 14. We aim to support
1111
active LTS versions of Node.js, as well as the latest stable release.
1212

1313
## Installation

e2e/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"main": "index.js",
55
"license": "MIT",
66
"dependencies": {
7-
"jest": "^26.6.3"
7+
"jest": "^27.0.4"
88
}
99
}

e2e/js/yarn.lock

Lines changed: 844 additions & 1982 deletions
Large diffs are not rendered by default.

e2e/ts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"license": "MIT",
66
"dependencies": {
77
"@types/jest": "^26.0.20",
8-
"jest": "^26.6.3",
9-
"ts-jest": "^26.5.0",
8+
"jest": "^27.0.4",
9+
"ts-jest": "^27.0.2",
1010
"typescript": "^4.0.3"
1111
}
1212
}

e2e/ts/yarn.lock

Lines changed: 870 additions & 1965 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,21 @@
2424
"@types/jest": "^26.0.0",
2525
"@types/lodash.clonedeep": "^4.5.4",
2626
"@types/node": "^14.0.5",
27-
"@types/snakecase-keys": "^2.1.0",
2827
"@types/validator": "^13.0.0",
2928
"gh-pages": "^3.0.0",
3029
"husky": "^6.0.0",
31-
"jest": "^26.5.0",
32-
"lint-staged": "^10.5.3",
30+
"jest": "^27.0.4",
31+
"lint-staged": "^11.0.0",
3332
"lodash.clonedeep": "^4.5.0",
3433
"nock": "^13.0.2",
3534
"np": "^7.0.0",
3635
"pinst": "^2.1.4",
3736
"prettier": "^2.2.1",
38-
"ts-jest": "^26.4.1",
37+
"ts-jest": "^27.0.3",
3938
"tslint": "^6.1.3",
4039
"tslint-config-prettier": "^1.15.0",
4140
"tslint-eslint-rules": "^5.4.0",
42-
"typedoc": "^0.20.16",
41+
"typedoc": "^0.21.0",
4342
"typescript": "^4.0.3"
4443
},
4544
"lint-staged": {
@@ -69,11 +68,11 @@
6968
"postpublish": "pinst --enable"
7069
},
7170
"dependencies": {
72-
"@maxmind/geoip2-node": "^2.0.1",
71+
"@maxmind/geoip2-node": "^3.0.0",
7372
"camelcase-keys": "^6.0.1",
7473
"maxmind": "^4.1.0",
7574
"punycode": "^2.1.1",
76-
"snakecase-keys": "^3.1.0",
75+
"snakecase-keys": "^4.0.2",
7776
"validator": "^13.0.0"
7877
}
7978
}

src/request/account.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as crypto from 'crypto';
1+
import crypto from 'crypto';
22

33
interface AccountProps {
44
/**

src/request/email.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as crypto from 'crypto';
2-
import * as punycode from 'punycode';
1+
import crypto from 'crypto';
2+
import punycode from 'punycode';
33
import isEmail from 'validator/lib/isEmail';
44
import isFQDN from 'validator/lib/isFQDN';
55
import { ArgumentError } from '../errors';

0 commit comments

Comments
 (0)