Skip to content

Commit

Permalink
fix: add patch to support node 20.12+
Browse files Browse the repository at this point in the history
Signed-off-by: Ariel Gentile <[email protected]>
  • Loading branch information
genaris committed Apr 5, 2024
1 parent 7343ce5 commit d43d18e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.17-bullseye as base
FROM node:20.12 as base

# AFJ specifc setup
WORKDIR /www
Expand Down
11 changes: 11 additions & 0 deletions patches/@2060.io+ffi-napi+4.0.8.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/node_modules/@2060.io/ffi-napi/src/ffi.cc b/node_modules/@2060.io/ffi-napi/src/ffi.cc
index abe468b..5f148a8 100644
--- a/node_modules/@2060.io/ffi-napi/src/ffi.cc
+++ b/node_modules/@2060.io/ffi-napi/src/ffi.cc
@@ -1,5 +1,5 @@
#define NAPI_VERSION 6
-#define NAPI_EXPERIMENTAL /* Until Node.js v12.17.0 is released */
+
#include "ffi.h"
#include "fficonfig.h"
#include <get-uv-event-loop-napi.h>

0 comments on commit d43d18e

Please sign in to comment.