- AES GCM protocol mismatch - better, granular error handling - UUID now uses crypto.randomUUID() - added native mlock addon to improve security - ZeroBuffer uses explicit_bzero now - fixed imports feat: - added unit tests
28 lines
633 B
Python
28 lines
633 B
Python
{
|
|
"targets": [{
|
|
"target_name": "nomyo_native",
|
|
"sources": ["src/mlock.cc"],
|
|
"include_dirs": [
|
|
"<!@(node -p \"require('node-addon-api').include\")"
|
|
],
|
|
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
|
|
"conditions": [
|
|
["OS=='linux'", {
|
|
"cflags!": ["-fno-exceptions"],
|
|
"cflags_cc!": ["-fno-exceptions"]
|
|
}],
|
|
["OS=='mac'", {
|
|
"xcode_settings": {
|
|
"GCC_ENABLE_CPP_EXCEPTIONS": "YES"
|
|
}
|
|
}],
|
|
["OS=='win'", {
|
|
"msvs_settings": {
|
|
"VCCLCompilerTool": {
|
|
"ExceptionHandling": 1
|
|
}
|
|
}
|
|
}]
|
|
]
|
|
}]
|
|
}
|