Skip to content

Commit d52fad3

Browse files
committed
nodejs: NodeJS binding works with node 24.8.0
1 parent c2371ad commit d52fad3

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

common/version.mk

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# This is a previously released `ys` version suitable for internal tasks:
2-
YS-VERSION := 0.2.3
2+
YS-VERSION ?= 0.2.3
33

4-
GHC-VERSION := 9.12.1
5-
GO-VERSION := 1.24.4
6-
MUSL-VERSION := 1.2.4
7-
NODE-VERSION := 16.20.2
8-
RAKU-VERSION := 2025.06.1-01
4+
GHC-VERSION ?= 9.12.1
5+
GO-VERSION ?= 1.24.4
6+
MUSL-VERSION ?= 1.2.4
7+
RAKU-VERSION ?= 2025.06.1-01
98
ZLIB-VERSION := 1.2.13

nodejs/lib/yamlscript/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const yamlscriptVersion = '0.2.3';
22

3-
const ffi = require('ffi-napi');
3+
const ffi = require('@makeomatic/ffi-napi');
44
const ref = require('ref-napi');
55
const path = require('path');
66
const fs = require('fs');

nodejs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"author": "Ingy döt Net",
77
"license": "MIT",
88
"dependencies": {
9-
"ffi-napi": "4.0.3",
10-
"ref-napi": "3.0.3"
9+
"@makeomatic/ffi-napi": "^4.2.0",
10+
"ref-napi": "^3.0.3"
1111
},
1212
"directories": {
1313
"test": "test"

0 commit comments

Comments
 (0)