File tree Expand file tree Collapse file tree 3 files changed +3
-11
lines changed Expand file tree Collapse file tree 3 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 11#ifndef NODE_MONGOCRYPT_H
22#define NODE_MONGOCRYPT_H
33
4- // We generally only target N-API version 4, but the instance data
5- // feature is only available in N-API version 6. However, it is
6- // available in all Node.js versions that have N-API version 4
7- // as an experimental feature (that has not been changed since then).
8- #define NAPI_VERSION 6
9- #define NAPI_EXPERIMENTAL
10- #define NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT
4+ #define NAPI_VERSION 9
115
126#include < napi.h>
137
Original file line number Diff line number Diff line change 8080 },
8181 "binary" : {
8282 "napi_versions" : [
83- 4
83+ 9
8484 ]
8585 },
8686 "repository" : {
Original file line number Diff line number Diff line change 1- 'use strict' ;
2-
31const { execSync } = require ( 'node:child_process' ) ;
42const { readFileSync } = require ( 'node:fs' ) ;
53const { resolve } = require ( 'node:path' ) ;
@@ -19,6 +17,6 @@ console.log(`mongodb-client-encryption Version: ${ceVersion}`);
1917
2018xtrace ( 'npm pack --pack-destination test/bundling/webpack' , { cwd : ceRoot } ) ;
2119
22- xtrace ( `npm install --no-save mongodb-client-encryption-${ ceVersion } .tgz` ) ;
20+ xtrace ( `npm install --ignore-scripts -- no-save mongodb-client-encryption-${ ceVersion } .tgz` ) ;
2321
2422console . log ( 'mongodb-client-encryption installed!' ) ;
You can’t perform that action at this time.
0 commit comments