Skip to content

Commit 36a3184

Browse files
committed
docs: resolve conflict in README.md
2 parents 7b1d476 + 7fdc788 commit 36a3184

31 files changed

Lines changed: 1262 additions & 278 deletions

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node-version: [22, 20, 18, 16, 14, 12, 10, 8, 6]
12+
node-version: [24, 22, 20, 18, 16, 14, 12, 10, 8]
1313
name: Run tests on Node.js ${{ matrix.node-version }}
1414
steps:
1515
- name: Setup Node.js ${{ matrix.node-version }}
@@ -22,7 +22,7 @@ jobs:
2222
run: npm install --legacy-peer-deps
2323
- name: Run tests
2424
run: npm test
25-
- if: matrix.node-version == 22
25+
- if: matrix.node-version == 24
2626
name: Send coverage info to Codecov
2727
uses: codecov/codecov-action@v5
2828
with:

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
contents: read
1010
id-token: write
1111
steps:
12-
- name: Setup Node.js 22
13-
uses: actions/setup-node@v4
12+
- name: Setup Node.js 24
13+
uses: actions/setup-node@v5
1414
with:
15-
node-version: 22
15+
node-version: 24
1616
registry-url: https://registry.npmjs.org/
1717
- name: Checkout Repository
1818
uses: actions/checkout@v4
@@ -21,6 +21,4 @@ jobs:
2121
- name: Run Tests
2222
run: npm test
2323
- name: Publish Package to NPM Registry
24-
run: npm publish --provenance
25-
env:
26-
NODE_AUTH_TOKEN: ${{secrets.NPM_SECRET}}
24+
run: npm publish

CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
# 13.15.35
2+
3+
### Fixes, New Locales and Enhancements
4+
5+
- [#2663](https://github.com/validatorjs/validator.js/pull/2663) `isISO31661Alpha2`/`isISO31661Alpha3`: add support for Kosovo (`XK` / `XXK`) @johanpoirier-d4
6+
- [#2661](https://github.com/validatorjs/validator.js/pull/2661) `isHexColor`: ignore non-object options @yuna0831
7+
- `isTaxID`
8+
- [#2644](https://github.com/validatorjs/validator.js/pull/2644) improve `pt-BR` locale by adding support for alphanumeric CNPJ format @easedu
9+
- [#2675](https://github.com/validatorjs/validator.js/pull/2675) improve `pt-BR` locale by adding support for formatted CPF values @easedu
10+
- [#2643](https://github.com/validatorjs/validator.js/pull/2643) `isPassportNumber`: improve `MX` locale @jesroffrouk
11+
- [#2676](https://github.com/validatorjs/validator.js/pull/2676) `isMobilePhone`: add `fr-DJ` locale @Kartikeya-guthub
12+
- [#2682](https://github.com/validatorjs/validator.js/pull/2682) `isPostalCode`: add `MC` locale @moogblob
13+
- [#2690](https://github.com/validatorjs/validator.js/pull/2690) `isJSON`: allow any valid JSON value to pass @relu91
14+
- [#2693](https://github.com/validatorjs/validator.js/pull/2693) `isSlug`: restrict allowed characters to valid slug charset @Shrawak
15+
- **Doc fixes and others:**
16+
- [#2658](https://github.com/validatorjs/validator.js/pull/2658) @Manaskarthik28
17+
- [#2592](https://github.com/validatorjs/validator.js/pull/2592) @noritaka1166
18+
- [#2591](https://github.com/validatorjs/validator.js/pull/2591) @noritaka1166
19+
20+
# 13.15.26
21+
22+
### Fixes, New Locales and Enhancements
23+
24+
- [#2535](https://github.com/validatorjs/validator.js/pull/2535) `isHexColor`: add `require_hashtag` option @Numbers0689
25+
- [#2633](https://github.com/validatorjs/validator.js/pull/2633) `isURL`: handle possible bypass with URL-encoded content @WikiRik
26+
- [#2634](https://github.com/validatorjs/validator.js/pull/2634) `isIBAN`: improve `IR` locale @ds1371dani
27+
- **Doc fixes and others:**
28+
- [#2640](https://github.com/validatorjs/validator.js/pull/2640) @WikiRik
29+
30+
# 13.15.23
31+
32+
### Fixes, New Locales and Enhancements
33+
34+
- **Doc fixes and others:**
35+
- [#2631](https://github.com/validatorjs/validator.js/pull/2631) @WikiRik
36+
37+
# 13.15.22
38+
39+
### Fixes, New Locales and Enhancements
40+
41+
- [#2622](https://github.com/validatorjs/validator.js/pull/2622) `isURL`: fix regression with hostnames with ports @mbtools
42+
- [#2616](https://github.com/validatorjs/validator.js/pull/2616) `isLength`: improve handling Unicode variation selectors @koral--
43+
- **Doc fixes and others:**
44+
- [#2621](https://github.com/validatorjs/validator.js/pull/2621) @mbtools
45+
46+
# 13.15.20
47+
48+
### Fixes, New Locales and Enhancements
49+
50+
- [#2556](https://github.com/validatorjs/validator.js/pull/2556) `isMobilePhone`: add `ar-QA` locale @WardKhaddour
51+
- [#2576](https://github.com/validatorjs/validator.js/pull/2576) `isAlpha`/`isAlphanuneric`: add Indic locales (`ta-IN`, `te-IN`, `kn-IN`, `ml-IN`, `gu-IN`, `pa-IN`, `or-IN`) @avadootharajesh
52+
- [#2574](https://github.com/validatorjs/validator.js/pull/2574) `isBase64`: improve padding regex @KrayzeeKev
53+
- [#2584](https://github.com/validatorjs/validator.js/pull/2584) `isVAT`: improve `FR` locale @iamAmer
54+
- [#2608](https://github.com/validatorjs/validator.js/pull/2608) `isURL`: improve protocol detection. Resolves CVE-2025-56200 @theofidry
55+
- **Doc fixes and others:**
56+
- [#2563](https://github.com/validatorjs/validator.js/pull/2563) @stoneLeaf
57+
- [#2581](https://github.com/validatorjs/validator.js/pull/2581) @camillobruni
58+
159
# 13.15.15
260

361
### Fixes, New Locales and Enhancements

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ In general, we follow the "fork-and-pull" Git workflow.
88
1. [Fork](https://docs.github.com/en/get-started/exploring-projects-on-github/contributing-to-a-project) the repository on GitHub
99
2. Clone the project to your local machine
1010
3. Work on your fork
11+
* Install the project using `npm install --legacy-peer-deps` (see [issue](https://github.com/validatorjs/validator.js/issues/2123))
1112
* Make your changes and additions
1213
- Most of your changes should be focused on src/ and test/ folders and/or [README.md](https://github.com/validatorjs/validator.js/blob/master/README.md).
1314
- Files such as validator.js, validator.min.js and files in lib/ folder are autogenerated when running tests (npm test) and need not to be changed **manually**.

0 commit comments

Comments
 (0)