Skip to content

Commit 255294e

Browse files
committed
Merge branch 'deprecate'
2 parents dcbfafa + 2629fbd commit 255294e

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.github/workflows/roots.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010

1111
compile:
12+
if: false
1213
runs-on: windows-2019
1314
steps:
1415
- uses: actions/checkout@v4

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@
66

77
Get Windows System Root certificates for [Node.js].
88

9+
## Deprecation notice
10+
11+
`win-ca` is no longer supported.
12+
13+
Since Node.js v22.15.0 one can
14+
```js
15+
import { globalAgent } from 'https'
16+
import { getCACertificates } from 'node:tls'
17+
18+
globalAgent.options.ca = getCACertificates('system')
19+
```
20+
921
## Rationale
1022

1123
Unlike [Ruby][], [Node.js][] on Windows **allows**

appveyor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ cache:
55

66
shallow_clone: true
77

8+
branches:
9+
only:
10+
- never-build
11+
812
matrix:
913
allow_failures:
1014
- NOV: 14

0 commit comments

Comments
 (0)