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 1
1
#ifndef NODE_MONGOCRYPT_H
2
2
#define NODE_MONGOCRYPT_H
3
3
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
11
5
12
6
#include < napi.h>
13
7
Original file line number Diff line number Diff line change 80
80
},
81
81
"binary" : {
82
82
"napi_versions" : [
83
- 4
83
+ 9
84
84
]
85
85
},
86
86
"repository" : {
Original file line number Diff line number Diff line change 1
- 'use strict' ;
2
-
3
1
const { execSync } = require ( 'node:child_process' ) ;
4
2
const { readFileSync } = require ( 'node:fs' ) ;
5
3
const { resolve } = require ( 'node:path' ) ;
@@ -19,6 +17,6 @@ console.log(`mongodb-client-encryption Version: ${ceVersion}`);
19
17
20
18
xtrace ( 'npm pack --pack-destination test/bundling/webpack' , { cwd : ceRoot } ) ;
21
19
22
- xtrace ( `npm install --no-save mongodb-client-encryption-${ ceVersion } .tgz` ) ;
20
+ xtrace ( `npm install --ignore-scripts -- no-save mongodb-client-encryption-${ ceVersion } .tgz` ) ;
23
21
24
22
console . log ( 'mongodb-client-encryption installed!' ) ;
You can’t perform that action at this time.
0 commit comments