node-abi 3.40.0 → 3.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,26 @@
1
+ name: "Check Semantic Commit"
2
+
3
+ on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - edited
8
+ - synchronize
9
+
10
+ permissions:
11
+ contents: read
12
+
13
+ jobs:
14
+ main:
15
+ permissions:
16
+ pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
17
+ statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
18
+ name: Validate PR Title
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - name: semantic-pull-request
22
+ uses: amannn/action-semantic-pull-request@c3cd5d1ea3580753008872425915e343e351ab54 # v5.2.0
23
+ env:
24
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
+ with:
26
+ validateSingleCommit: false
package/abi_registry.json CHANGED
@@ -254,7 +254,7 @@
254
254
  },
255
255
  {
256
256
  "abi": "116",
257
- "future": true,
257
+ "future": false,
258
258
  "lts": false,
259
259
  "runtime": "electron",
260
260
  "target": "25.0.0-alpha.1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-abi",
3
- "version": "3.40.0",
3
+ "version": "3.42.0",
4
4
  "description": "Get the Node ABI for a given target and runtime, and vice versa.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -14,7 +14,7 @@ async function fetchElectronReleases () {
14
14
  }
15
15
 
16
16
  async function fetchNodeVersions () {
17
- const schedule = await getJSONFromCDN('nodejs/Release/schedule.json')
17
+ const schedule = await getJSONFromCDN('nodejs/Release@main/schedule.json')
18
18
  const versions = {}
19
19
 
20
20
  for (const [majorVersion, metadata] of Object.entries(schedule)) {
@@ -35,7 +35,7 @@ async function fetchNodeVersions () {
35
35
  }
36
36
 
37
37
  async function fetchAbiVersions () {
38
- return (await getJSONFromCDN('nodejs/node/doc/abi_version_registry.json'))
38
+ return (await getJSONFromCDN('nodejs/node@main/doc/abi_version_registry.json'))
39
39
  .NODE_MODULE_VERSION
40
40
  .filter(({ modules }) => modules > 66)
41
41
  }