Notable runtime changes to existing APIs: - returning `node_api_cannot_run_js` instead of `napi_pending_exception`. - allow creating references to objects, functions, and symbols. PR-URL: https://github.com/nodejs/node/pull/55676 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
19 lines
335 B
Python
19 lines
335 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "test_cannot_run_js",
|
|
"sources": [
|
|
"test_cannot_run_js.c"
|
|
],
|
|
"defines": [ "NAPI_VERSION=10" ],
|
|
},
|
|
{
|
|
"target_name": "test_pending_exception",
|
|
"sources": [
|
|
"test_cannot_run_js.c"
|
|
],
|
|
"defines": [ "NAPI_VERSION=9" ],
|
|
}
|
|
]
|
|
}
|