Skip to content

Commit b2274de

Browse files
committed
Update all dev dependencies to fix vulnerabilities
- Update `@uphold/github-changelog-generator@4.0.2` - Update `abavalidator@2.0.2` - Update `bignumber.js@9.3.0` - Update `creditcard@0.1.3` - Update `curp@1.3.1` - Update `google-libphonenumber@3.2.41` - Update `moment@2.30.1` - Update `release-it@19.0.3` - Update `tin-validator@1.1.0` - Update `validator.js@13.15.15`
1 parent b0f422c commit b2274de

File tree

3 files changed

+739
-1483
lines changed

3 files changed

+739
-1483
lines changed

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,32 +44,32 @@
4444
},
4545
"devDependencies": {
4646
"@fastify/pre-commit": "^2.2.0",
47-
"@uphold/github-changelog-generator": "^3.4.0",
48-
"abavalidator": "^2.0.1",
49-
"bignumber.js": "^9.0.0",
47+
"@uphold/github-changelog-generator": "^4.0.2",
48+
"abavalidator": "^2.0.2",
49+
"bignumber.js": "^9.3.0",
5050
"cpf": "^2.0.1",
51-
"creditcard": "^0.1.2",
52-
"curp": "^1.2.3",
51+
"creditcard": "^0.1.3",
52+
"curp": "^1.3.1",
5353
"eslint": "~9.28.0",
5454
"eslint-config-uphold": "^6.5.2",
55-
"google-libphonenumber": "^3.2.35",
55+
"google-libphonenumber": "^3.2.41",
5656
"iban": "0.0.6",
5757
"isoc": "0.0.1",
58-
"moment": "^2.29.1",
58+
"moment": "^2.30.1",
5959
"prettier": "^3.5.3",
60-
"release-it": "^17.0.1",
61-
"tin-validator": "^1.0.0",
60+
"release-it": "^19.0.3",
61+
"tin-validator": "^1.1.0",
6262
"uk-modulus-checking": "0.0.3",
6363
"urijs": "^1.17.1",
6464
"validate-rfc": "^2.0.3",
65-
"validator": "^13.7.0"
65+
"validator": "^13.15.15"
6666
},
6767
"engines": {
6868
"node": ">=20"
6969
},
7070
"optionalPeerDependencies": {
7171
"abavalidator": ">=2 <3",
72-
"bignumber.js": ">=7 <=9.0.0",
72+
"bignumber.js": ">=7 <=9.3.0",
7373
"cpf": "^2.0.1",
7474
"creditcard": ">=0.0.1 <1.0.0",
7575
"curp": "^1.2.3",
@@ -81,7 +81,7 @@
8181
"uk-modulus-checking": "0.0.2",
8282
"urijs": ">=1 <2",
8383
"validate-rfc": "^2.0.3",
84-
"validator": ">=3 <6"
84+
"validator": ">=3 <14"
8585
},
8686
"pre-commit": [
8787
"lint"

test/asserts/taxpayer-identification-number-assert.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ describe('TaxpayerIdentificationNumberAssert', () => {
6868

6969
it('should accept a valid `tin`', ({ assert }) => {
7070
assert.doesNotThrow(() => {
71-
Assert.taxpayerIdentificationNumber().validate('123456789');
71+
Assert.taxpayerIdentificationNumber().validate('900700000');
7272
});
7373
});
7474

7575
it('should accept a correctly formatted `tin`', ({ assert }) => {
7676
assert.doesNotThrow(() => {
77-
Assert.taxpayerIdentificationNumber().validate('123-45-6789');
77+
Assert.taxpayerIdentificationNumber().validate('900-70-0000');
7878
});
7979
});
8080
});

0 commit comments

Comments
 (0)