@galadrim/galadmin 0.1.40 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/config.d.ts +1 -0
- package/package.json +1 -1
- package/src/front/build/asset-manifest.json +3 -3
- package/src/front/build/index.html +1 -1
- package/src/front/build/static/js/{main.8a63b422.chunk.js → main.77ed4d55.chunk.js} +2 -2
- package/src/front/build/static/js/main.77ed4d55.chunk.js.map +1 -0
- package/src/front/node_modules/.cache/.eslintcache +1 -1
- package/src/front/node_modules/.cache/babel-loader/c98a1532f5016d5f372e64175199d455.json +1 -0
- package/src/front/node_modules/.cache/babel-loader/{0046fa6def7297665aceff65675276fb.json → e0d7182bb1587d3516bddc6e5995e4de.json} +1 -1
- package/src/front/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/3e/1f/8bb0086d6062c3f47f7b0b5ec83819f94cb4fbede3b188fa7e17a4abcc21fdb88f189c80f4202c4b2ca9d1d4b10584c75f117e5d929bed254fc25456e138 +1 -0
- package/src/front/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/a8/bd/7a8cb532db65a6c043408fb04d2479d2c8724fa1954559b89b24b62b667dcef852c0d290c2567ead16f23660142624b7688bff3a8820c71deca18fc7e76c +1 -0
- package/src/front/node_modules/.cache/terser-webpack-plugin/index-v5/{31/fe/6640db1983b9834e63d1a760fa17521e8cf616b567ef7114a0676aa6971a → 36/6b/7209102ab666b1484b1283f341a44aaefbdd015c78e198b49193da03be46} +1 -1
- package/src/front/node_modules/.cache/terser-webpack-plugin/index-v5/6c/19/fe86ba5d7c4062f185480ad22dd3b9fae9b30149827224339f9a633a9a94 +1 -1
- package/src/front/node_modules/.cache/terser-webpack-plugin/index-v5/87/08/421190bfe6e50816e059da6c33526c9943732ef856ebd2752d0cbfb4a852 +1 -1
- package/src/front/node_modules/.cache/terser-webpack-plugin/index-v5/ff/f5/75d5573d3391ef9c64c817c98e86982ab115044ad93ba59f1b7c3a4e9f51 +2 -0
- package/src/front/node_modules/.package-lock.json +38 -38
- package/src/front/node_modules/@babel/compat-data/data/plugins.json +1 -0
- package/src/front/node_modules/@babel/compat-data/package.json +1 -1
- package/src/front/node_modules/@babel/core/lib/config/files/plugins.js +2 -2
- package/src/front/node_modules/@babel/core/lib/config/files/plugins.js.map +1 -1
- package/src/front/node_modules/@babel/core/lib/index.js +9 -11
- package/src/front/node_modules/@babel/core/lib/index.js.map +1 -1
- package/src/front/node_modules/@babel/core/package.json +7 -7
- package/src/front/node_modules/@babel/helper-environment-visitor/README.md +1 -1
- package/src/front/node_modules/@babel/helper-environment-visitor/lib/index.js +5 -9
- package/src/front/node_modules/@babel/helper-environment-visitor/lib/index.js.map +1 -1
- package/src/front/node_modules/@babel/helper-environment-visitor/package.json +3 -3
- package/src/front/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js +4 -8
- package/src/front/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js.map +1 -1
- package/src/front/node_modules/@babel/helper-module-transforms/lib/index.js +4 -8
- package/src/front/node_modules/@babel/helper-module-transforms/lib/index.js.map +1 -1
- package/src/front/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +7 -2
- package/src/front/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js.map +1 -1
- package/src/front/node_modules/@babel/helper-module-transforms/package.json +5 -5
- package/src/front/node_modules/@babel/helper-validator-identifier/lib/identifier.js +2 -2
- package/src/front/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -1
- package/src/front/node_modules/@babel/helper-validator-identifier/package.json +2 -2
- package/src/front/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +6 -10
- package/src/front/node_modules/@babel/highlight/lib/index.js +1 -3
- package/src/front/node_modules/@babel/highlight/lib/index.js.map +1 -1
- package/src/front/node_modules/@babel/highlight/package.json +2 -2
- package/src/front/node_modules/@babel/traverse/lib/path/conversion.js +4 -6
- package/src/front/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
- package/src/front/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js +6 -8
- package/src/front/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.map +1 -1
- package/src/front/node_modules/@babel/traverse/package.json +5 -5
- package/src/front/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
- package/src/front/node_modules/@babel/types/lib/builders/generated/index.js +1 -1
- package/src/front/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -1
- package/src/front/node_modules/@babel/types/lib/definitions/core.js +2 -1
- package/src/front/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
- package/src/front/node_modules/@babel/types/lib/index-legacy.d.ts +2 -2
- package/src/front/node_modules/@babel/types/lib/index.d.ts +2 -2
- package/src/front/node_modules/@babel/types/lib/index.js.flow +2 -2
- package/src/front/node_modules/@babel/types/package.json +3 -3
- package/src/front/node_modules/nan/CHANGELOG.md +5 -1
- package/src/front/node_modules/nan/CMakeLists.txt +138 -0
- package/src/front/node_modules/nan/README.md +4 -4
- package/src/front/node_modules/nan/doc/errors.md +1 -1
- package/src/front/node_modules/nan/doc/methods.md +21 -13
- package/src/front/node_modules/nan/doc/persistent.md +1 -1
- package/src/front/node_modules/nan/nan.h +3 -1
- package/src/front/node_modules/nan/nan_callbacks_12_inl.h +46 -40
- package/src/front/node_modules/nan/package.json +3 -2
- package/src/front/node_modules/nan/tools/1to2.js +1 -1
- package/src/front/package-lock.json +76 -76
- package/src/front/src/pages/Records.js +4 -3
- package/src/types/config.ts +1 -0
- package/src/front/build/static/js/main.8a63b422.chunk.js.map +0 -1
- package/src/front/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/ef/81/2c9ecc926af52757cb3670536bc07219d1ccfba4d898a451352553fa6634b48d69ec580dd7c756e5fbcdc72e870664ef6bd7dc1af98e94d9eb182ba93be9 +0 -1
- package/src/front/node_modules/@babel/core/lib/config/files/import-meta-resolve.js +0 -17
- package/src/front/node_modules/@babel/core/lib/config/files/import-meta-resolve.js.map +0 -1
|
@@ -428,7 +428,7 @@ export interface ClassExpression extends BaseNode {
|
|
|
428
428
|
|
|
429
429
|
export interface ClassDeclaration extends BaseNode {
|
|
430
430
|
type: "ClassDeclaration";
|
|
431
|
-
id: Identifier;
|
|
431
|
+
id: Identifier | null;
|
|
432
432
|
superClass: Expression | null;
|
|
433
433
|
body: ClassBody;
|
|
434
434
|
decorators: Array<Decorator> | null;
|
|
@@ -1832,7 +1832,7 @@ export function arrayPattern(elements: Array<null | PatternLike | LVal>): ArrayP
|
|
|
1832
1832
|
export function arrowFunctionExpression(params: Array<Identifier | Pattern | RestElement>, body: BlockStatement | Expression, async?: boolean): ArrowFunctionExpression;
|
|
1833
1833
|
export function classBody(body: Array<ClassMethod | ClassPrivateMethod | ClassProperty | ClassPrivateProperty | ClassAccessorProperty | TSDeclareMethod | TSIndexSignature | StaticBlock>): ClassBody;
|
|
1834
1834
|
export function classExpression(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassExpression;
|
|
1835
|
-
export function classDeclaration(id: Identifier, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassDeclaration;
|
|
1835
|
+
export function classDeclaration(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassDeclaration;
|
|
1836
1836
|
export function exportAllDeclaration(source: StringLiteral): ExportAllDeclaration;
|
|
1837
1837
|
export function exportDefaultDeclaration(declaration: TSDeclareFunction | FunctionDeclaration | ClassDeclaration | Expression): ExportDefaultDeclaration;
|
|
1838
1838
|
export function exportNamedDeclaration(declaration?: Declaration | null, specifiers?: Array<ExportSpecifier | ExportDefaultSpecifier | ExportNamespaceSpecifier>, source?: StringLiteral | null): ExportNamedDeclaration;
|
|
@@ -390,7 +390,7 @@ interface ClassExpression extends BaseNode {
|
|
|
390
390
|
}
|
|
391
391
|
interface ClassDeclaration extends BaseNode {
|
|
392
392
|
type: "ClassDeclaration";
|
|
393
|
-
id
|
|
393
|
+
id?: Identifier | null;
|
|
394
394
|
superClass?: Expression | null;
|
|
395
395
|
body: ClassBody;
|
|
396
396
|
decorators?: Array<Decorator> | null;
|
|
@@ -2183,7 +2183,7 @@ declare function arrayPattern(elements: Array<null | PatternLike | LVal>): Array
|
|
|
2183
2183
|
declare function arrowFunctionExpression(params: Array<Identifier | Pattern | RestElement>, body: BlockStatement | Expression, async?: boolean): ArrowFunctionExpression;
|
|
2184
2184
|
declare function classBody(body: Array<ClassMethod | ClassPrivateMethod | ClassProperty | ClassPrivateProperty | ClassAccessorProperty | TSDeclareMethod | TSIndexSignature | StaticBlock>): ClassBody;
|
|
2185
2185
|
declare function classExpression(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassExpression;
|
|
2186
|
-
declare function classDeclaration(id: Identifier, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassDeclaration;
|
|
2186
|
+
declare function classDeclaration(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassDeclaration;
|
|
2187
2187
|
declare function exportAllDeclaration(source: StringLiteral): ExportAllDeclaration;
|
|
2188
2188
|
declare function exportDefaultDeclaration(declaration: TSDeclareFunction | FunctionDeclaration | ClassDeclaration | Expression): ExportDefaultDeclaration;
|
|
2189
2189
|
declare function exportNamedDeclaration(declaration?: Declaration | null, specifiers?: Array<ExportSpecifier | ExportDefaultSpecifier | ExportNamespaceSpecifier>, source?: StringLiteral | null): ExportNamedDeclaration;
|
|
@@ -421,7 +421,7 @@ declare class BabelNodeClassExpression extends BabelNode {
|
|
|
421
421
|
|
|
422
422
|
declare class BabelNodeClassDeclaration extends BabelNode {
|
|
423
423
|
type: "ClassDeclaration";
|
|
424
|
-
id
|
|
424
|
+
id?: BabelNodeIdentifier;
|
|
425
425
|
superClass?: BabelNodeExpression;
|
|
426
426
|
body: BabelNodeClassBody;
|
|
427
427
|
decorators?: Array<BabelNodeDecorator>;
|
|
@@ -1727,7 +1727,7 @@ declare module "@babel/types" {
|
|
|
1727
1727
|
declare export function arrowFunctionExpression(params: Array<BabelNodeIdentifier | BabelNodePattern | BabelNodeRestElement>, body: BabelNodeBlockStatement | BabelNodeExpression, async?: boolean): BabelNodeArrowFunctionExpression;
|
|
1728
1728
|
declare export function classBody(body: Array<BabelNodeClassMethod | BabelNodeClassPrivateMethod | BabelNodeClassProperty | BabelNodeClassPrivateProperty | BabelNodeClassAccessorProperty | BabelNodeTSDeclareMethod | BabelNodeTSIndexSignature | BabelNodeStaticBlock>): BabelNodeClassBody;
|
|
1729
1729
|
declare export function classExpression(id?: BabelNodeIdentifier, superClass?: BabelNodeExpression, body: BabelNodeClassBody, decorators?: Array<BabelNodeDecorator>): BabelNodeClassExpression;
|
|
1730
|
-
declare export function classDeclaration(id
|
|
1730
|
+
declare export function classDeclaration(id?: BabelNodeIdentifier, superClass?: BabelNodeExpression, body: BabelNodeClassBody, decorators?: Array<BabelNodeDecorator>): BabelNodeClassDeclaration;
|
|
1731
1731
|
declare export function exportAllDeclaration(source: BabelNodeStringLiteral): BabelNodeExportAllDeclaration;
|
|
1732
1732
|
declare export function exportDefaultDeclaration(declaration: BabelNodeTSDeclareFunction | BabelNodeFunctionDeclaration | BabelNodeClassDeclaration | BabelNodeExpression): BabelNodeExportDefaultDeclaration;
|
|
1733
1733
|
declare export function exportNamedDeclaration(declaration?: BabelNodeDeclaration, specifiers?: Array<BabelNodeExportSpecifier | BabelNodeExportDefaultSpecifier | BabelNodeExportNamespaceSpecifier>, source?: BabelNodeStringLiteral): BabelNodeExportNamedDeclaration;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babel/types",
|
|
3
|
-
"version": "7.22.
|
|
3
|
+
"version": "7.22.19",
|
|
4
4
|
"description": "Babel Types is a Lodash-esque utility library for AST nodes",
|
|
5
5
|
"author": "The Babel Team (https://babel.dev/team)",
|
|
6
6
|
"homepage": "https://babel.dev/docs/en/next/babel-types",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/helper-string-parser": "^7.22.5",
|
|
28
|
-
"@babel/helper-validator-identifier": "^7.22.
|
|
28
|
+
"@babel/helper-validator-identifier": "^7.22.19",
|
|
29
29
|
"to-fast-properties": "^2.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@babel/generator": "^7.22.15",
|
|
33
|
-
"@babel/parser": "^7.22.
|
|
33
|
+
"@babel/parser": "^7.22.16",
|
|
34
34
|
"glob": "^7.2.0"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# NAN ChangeLog
|
|
2
2
|
|
|
3
|
-
**Version 2.
|
|
3
|
+
**Version 2.18.0: current Node 20.6.1, Node 0.12: 0.12.18, Node 0.10: 0.10.48, iojs: 3.3.1**
|
|
4
|
+
|
|
5
|
+
### 2.18.0 Sep 12 2023
|
|
6
|
+
|
|
7
|
+
- Feature: Cast v8::Object::GetInternalField() return value to v8::Value (#956) bdfee1788239f735b67fe6b46b1439da755e9b62
|
|
4
8
|
|
|
5
9
|
### 2.17.0 Oct 10 2022
|
|
6
10
|
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.5)
|
|
2
|
+
project(nan)
|
|
3
|
+
|
|
4
|
+
set(CMAKE_CXX_STANDARD 11)
|
|
5
|
+
|
|
6
|
+
set(CPPLINT "${CMAKE_CURRENT_SOURCE_DIR}/cpplint.py")
|
|
7
|
+
set(MODULES symbols strings)
|
|
8
|
+
set(SOURCES "")
|
|
9
|
+
set(ADDONS "")
|
|
10
|
+
|
|
11
|
+
foreach(MODULE ${MODULES})
|
|
12
|
+
list(APPEND SOURCES "test/cpp/${MODULE}.cpp")
|
|
13
|
+
list(APPEND ADDONS "test/build/${CMAKE_BUILD_TYPE}/${MODULE}.node")
|
|
14
|
+
endforeach()
|
|
15
|
+
|
|
16
|
+
set(LINT_SOURCES examples/async_pi_estimate/addon.cc
|
|
17
|
+
examples/async_pi_estimate/async.cc
|
|
18
|
+
examples/async_pi_estimate/async.h
|
|
19
|
+
examples/async_pi_estimate/pi_est.cc
|
|
20
|
+
examples/async_pi_estimate/pi_est.h
|
|
21
|
+
examples/async_pi_estimate/sync.cc
|
|
22
|
+
examples/async_pi_estimate/sync.h
|
|
23
|
+
nan.h
|
|
24
|
+
nan_callbacks.h
|
|
25
|
+
nan_callbacks_12_inl.h
|
|
26
|
+
nan_callbacks_pre_12_inl.h
|
|
27
|
+
nan_converters.h
|
|
28
|
+
nan_converters_43_inl.h
|
|
29
|
+
nan_converters_pre_43_inl.h
|
|
30
|
+
nan_define_own_property_helper.h
|
|
31
|
+
nan_implementation_12_inl.h
|
|
32
|
+
nan_implementation_pre_12_inl.h
|
|
33
|
+
nan_json.h
|
|
34
|
+
nan_maybe_43_inl.h
|
|
35
|
+
nan_maybe_pre_43_inl.h
|
|
36
|
+
nan_new.h
|
|
37
|
+
nan_object_wrap.h
|
|
38
|
+
nan_persistent_12_inl.h
|
|
39
|
+
nan_persistent_pre_12_inl.h
|
|
40
|
+
nan_private.h
|
|
41
|
+
nan_scriptorigin.h
|
|
42
|
+
nan_string_bytes.h
|
|
43
|
+
nan_weak.h
|
|
44
|
+
test/cpp/accessors.cpp
|
|
45
|
+
test/cpp/accessors2.cpp
|
|
46
|
+
test/cpp/asyncresource.cpp
|
|
47
|
+
test/cpp/asyncworker.cpp
|
|
48
|
+
test/cpp/asyncprogressworker.cpp
|
|
49
|
+
test/cpp/asyncprogressworkerstream.cpp
|
|
50
|
+
test/cpp/asyncprogressworkersignal.cpp
|
|
51
|
+
test/cpp/asyncprogressqueueworker.cpp
|
|
52
|
+
test/cpp/asyncprogressqueueworkerstream.cpp
|
|
53
|
+
test/cpp/asyncworkererror.cpp
|
|
54
|
+
test/cpp/buffer.cpp
|
|
55
|
+
test/cpp/bufferworkerpersistent.cpp
|
|
56
|
+
test/cpp/error.cpp
|
|
57
|
+
test/cpp/gc.cpp
|
|
58
|
+
test/cpp/indexedinterceptors.cpp
|
|
59
|
+
test/cpp/callbackcontext.cpp
|
|
60
|
+
test/cpp/converters.cpp
|
|
61
|
+
test/cpp/isolatedata.cpp
|
|
62
|
+
test/cpp/json-parse.cpp
|
|
63
|
+
test/cpp/json-stringify.cpp
|
|
64
|
+
test/cpp/makecallback.cpp
|
|
65
|
+
test/cpp/maybe.cpp
|
|
66
|
+
test/cpp/morenews.cpp
|
|
67
|
+
test/cpp/multifile1.cpp
|
|
68
|
+
test/cpp/multifile2.cpp
|
|
69
|
+
test/cpp/multifile2.h
|
|
70
|
+
test/cpp/namedinterceptors.cpp
|
|
71
|
+
test/cpp/nancallback.cpp
|
|
72
|
+
test/cpp/nannew.cpp
|
|
73
|
+
test/cpp/news.cpp
|
|
74
|
+
test/cpp/objectwraphandle.cpp
|
|
75
|
+
test/cpp/persistent.cpp
|
|
76
|
+
test/cpp/private.cpp
|
|
77
|
+
test/cpp/returnemptystring.cpp
|
|
78
|
+
test/cpp/returnnull.cpp
|
|
79
|
+
test/cpp/returnundefined.cpp
|
|
80
|
+
test/cpp/returnvalue.cpp
|
|
81
|
+
test/cpp/setcallhandler.cpp
|
|
82
|
+
test/cpp/settemplate.cpp
|
|
83
|
+
test/cpp/sleep.h
|
|
84
|
+
test/cpp/strings.cpp
|
|
85
|
+
test/cpp/symbols.cpp
|
|
86
|
+
test/cpp/threadlocal.cpp
|
|
87
|
+
test/cpp/trycatch.cpp
|
|
88
|
+
test/cpp/typedarrays.cpp
|
|
89
|
+
test/cpp/weak.cpp
|
|
90
|
+
test/cpp/weak2.cpp
|
|
91
|
+
test/cpp/wrappedobjectfactory.cpp
|
|
92
|
+
node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc)
|
|
93
|
+
|
|
94
|
+
set(FILTER "-build/include_subdir,-whitespace/parens")
|
|
95
|
+
|
|
96
|
+
find_package(Python COMPONENTS Interpreter Development REQUIRED)
|
|
97
|
+
|
|
98
|
+
execute_process(
|
|
99
|
+
COMMAND npm install
|
|
100
|
+
OUTPUT_FILE node_modules
|
|
101
|
+
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
add_custom_target(lint
|
|
105
|
+
COMMAND ${Python_EXECUTABLE} ${CPPLINT} --filter=${FILTER} ${LINT_SOURCES}
|
|
106
|
+
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
add_custom_target(test
|
|
110
|
+
DEPENDS ${ADDONS}
|
|
111
|
+
COMMAND npm test
|
|
112
|
+
)
|
|
113
|
+
|
|
114
|
+
add_custom_target(forcetest
|
|
115
|
+
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/test
|
|
116
|
+
COMMAND ../node_modules/.bin/node-gyp rebuild
|
|
117
|
+
COMMAND npm test
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
add_custom_target(docs
|
|
121
|
+
DEPENDS README.md doc/.build.sh doc/asyncworker.md doc/buffers.md doc/callback.md
|
|
122
|
+
doc/converters.md doc/errors.md doc/maybe_types.md doc/methods.md doc/new.md
|
|
123
|
+
doc/node_misc.md doc/persistent.md doc/scopes.md doc/script.md doc/string_bytes.md
|
|
124
|
+
doc/v8_internals.md doc/json.md doc/v8_misc.md
|
|
125
|
+
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
126
|
+
COMMAND doc/.build.sh
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
add_custom_command(OUTPUT ${ADDONS}
|
|
130
|
+
DEPENDS ${SOURCES} nan.h nan_new.h nan_implementation_pre_12_inl.h nan_implementation_12_inl.h
|
|
131
|
+
nan_callbacks.h nan_callbacks_12_inl.h nan_callbacks_pre_12_inl.h nan_converters.h
|
|
132
|
+
nan_converters_43_inl.h nan_converters_pre_43_inl.h nan_define_own_property_helper.h
|
|
133
|
+
nan_json.h nan_maybe_43_inl.h nan_maybe_pre_43_inl.h nan_persistent_12_inl.h
|
|
134
|
+
nan_persistent_pre_12_inl.h nan_private.h nan_weak.h nan_scriptorigin.h nan_string_bytes.h
|
|
135
|
+
test/binding.gyp
|
|
136
|
+
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/test
|
|
137
|
+
COMMAND ../node_modules/.bin/node-gyp rebuild
|
|
138
|
+
)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Native Abstractions for Node.js
|
|
2
2
|
===============================
|
|
3
3
|
|
|
4
|
-
**A header file filled with macro and utility goodness for making add-on development for Node.js easier across versions 0.8, 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 and
|
|
4
|
+
**A header file filled with macro and utility goodness for making add-on development for Node.js easier across versions 0.8, 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 and 20.**
|
|
5
5
|
|
|
6
|
-
***Current version: 2.
|
|
6
|
+
***Current version: 2.18.0***
|
|
7
7
|
|
|
8
8
|
*(See [CHANGELOG.md](https://github.com/nodejs/nan/blob/master/CHANGELOG.md) for complete ChangeLog)*
|
|
9
9
|
|
|
@@ -137,7 +137,7 @@ Due to the evolution of the V8 API, it is necessary for NAN to provide a wrapper
|
|
|
137
137
|
- <a href="doc/persistent.md#api_nan_weak_callback_info"><b><code>Nan::WeakCallbackInfo</code></b></a>
|
|
138
138
|
- <a href="doc/persistent.md#api_nan_weak_callback_type"><b><code>Nan::WeakCallbackType</code></b></a>
|
|
139
139
|
|
|
140
|
-
Also see the V8 Embedders Guide section on [Handles and Garbage Collection](https://
|
|
140
|
+
Also see the V8 Embedders Guide section on [Handles and Garbage Collection](https://v8.dev/docs/embed#handles-and-garbage-collection).
|
|
141
141
|
|
|
142
142
|
### New
|
|
143
143
|
|
|
@@ -227,7 +227,7 @@ NAN includes helpers for creating, throwing and catching Errors as much of this
|
|
|
227
227
|
|
|
228
228
|
Note that an Error object is simply a specialized form of `v8::Value`.
|
|
229
229
|
|
|
230
|
-
Also consult the V8 Embedders Guide section on [Exceptions](https://
|
|
230
|
+
Also consult the V8 Embedders Guide section on [Exceptions](https://v8.dev/docs/embed#exceptions) for more information.
|
|
231
231
|
|
|
232
232
|
- <a href="doc/errors.md#api_nan_error"><b><code>Nan::Error()</code></b></a>
|
|
233
233
|
- <a href="doc/errors.md#api_nan_range_error"><b><code>Nan::RangeError()</code></b></a>
|
|
@@ -4,7 +4,7 @@ NAN includes helpers for creating, throwing and catching Errors as much of this
|
|
|
4
4
|
|
|
5
5
|
Note that an Error object is simply a specialized form of `v8::Value`.
|
|
6
6
|
|
|
7
|
-
Also consult the V8 Embedders Guide section on [Exceptions](https://
|
|
7
|
+
Also consult the V8 Embedders Guide section on [Exceptions](https://v8.dev/docs/embed#exceptions) for more information.
|
|
8
8
|
|
|
9
9
|
- <a href="#api_nan_error"><b><code>Nan::Error()</code></b></a>
|
|
10
10
|
- <a href="#api_nan_range_error"><b><code>Nan::RangeError()</code></b></a>
|
|
@@ -210,7 +210,7 @@ You do not need to declare a new `HandleScope` within a getter as one is implici
|
|
|
210
210
|
|
|
211
211
|
A helper macro `NAN_GETTER(methodname)` exists, compatible with NAN v1 method declarations.
|
|
212
212
|
|
|
213
|
-
Also see the V8 Embedders Guide documentation on [Accessors](https://
|
|
213
|
+
Also see the V8 Embedders Guide documentation on [Accessors](https://v8.dev/docs/embed#accessors).
|
|
214
214
|
|
|
215
215
|
<a name="api_nan_setter"></a>
|
|
216
216
|
### Setter declaration
|
|
@@ -237,7 +237,7 @@ You do not need to declare a new `HandleScope` within a setter as one is implici
|
|
|
237
237
|
|
|
238
238
|
A helper macro `NAN_SETTER(methodname)` exists, compatible with NAN v1 method declarations.
|
|
239
239
|
|
|
240
|
-
Also see the V8 Embedders Guide documentation on [Accessors](https://
|
|
240
|
+
Also see the V8 Embedders Guide documentation on [Accessors](https://v8.dev/docs/embed#accessors).
|
|
241
241
|
|
|
242
242
|
<a name="api_nan_property_getter"></a>
|
|
243
243
|
### Property getter declaration
|
|
@@ -262,7 +262,7 @@ You do not need to declare a new `HandleScope` within a property getter as one i
|
|
|
262
262
|
|
|
263
263
|
A helper macro `NAN_PROPERTY_GETTER(methodname)` exists, compatible with NAN v1 method declarations.
|
|
264
264
|
|
|
265
|
-
Also see the V8 Embedders Guide documentation on named property [Interceptors](https://
|
|
265
|
+
Also see the V8 Embedders Guide documentation on named property [Interceptors](https://v8.dev/docs/embed#interceptors).
|
|
266
266
|
|
|
267
267
|
<a name="api_nan_property_setter"></a>
|
|
268
268
|
### Property setter declaration
|
|
@@ -287,7 +287,7 @@ You do not need to declare a new `HandleScope` within a property setter as one i
|
|
|
287
287
|
|
|
288
288
|
A helper macro `NAN_PROPERTY_SETTER(methodname)` exists, compatible with NAN v1 method declarations.
|
|
289
289
|
|
|
290
|
-
Also see the V8 Embedders Guide documentation on named property [Interceptors](https://
|
|
290
|
+
Also see the V8 Embedders Guide documentation on named property [Interceptors](https://v8.dev/docs/embed#interceptors).
|
|
291
291
|
|
|
292
292
|
<a name="api_nan_property_enumerator"></a>
|
|
293
293
|
### Property enumerator declaration
|
|
@@ -308,7 +308,7 @@ You do not need to declare a new `HandleScope` within a property enumerator as o
|
|
|
308
308
|
|
|
309
309
|
A helper macro `NAN_PROPERTY_ENUMERATOR(methodname)` exists, compatible with NAN v1 method declarations.
|
|
310
310
|
|
|
311
|
-
Also see the V8 Embedders Guide documentation on named property [Interceptors](https://
|
|
311
|
+
Also see the V8 Embedders Guide documentation on named property [Interceptors](https://v8.dev/docs/embed#interceptors).
|
|
312
312
|
|
|
313
313
|
<a name="api_nan_property_deleter"></a>
|
|
314
314
|
### Property deleter declaration
|
|
@@ -331,7 +331,7 @@ You do not need to declare a new `HandleScope` within a property deleter as one
|
|
|
331
331
|
|
|
332
332
|
A helper macro `NAN_PROPERTY_DELETER(methodname)` exists, compatible with NAN v1 method declarations.
|
|
333
333
|
|
|
334
|
-
Also see the V8 Embedders Guide documentation on named property [Interceptors](https://
|
|
334
|
+
Also see the V8 Embedders Guide documentation on named property [Interceptors](https://v8.dev/docs/embed#interceptors).
|
|
335
335
|
|
|
336
336
|
<a name="api_nan_property_query"></a>
|
|
337
337
|
### Property query declaration
|
|
@@ -354,7 +354,7 @@ You do not need to declare a new `HandleScope` within a property query method as
|
|
|
354
354
|
|
|
355
355
|
A helper macro `NAN_PROPERTY_QUERY(methodname)` exists, compatible with NAN v1 method declarations.
|
|
356
356
|
|
|
357
|
-
Also see the V8 Embedders Guide documentation on named property [Interceptors](https://
|
|
357
|
+
Also see the V8 Embedders Guide documentation on named property [Interceptors](https://v8.dev/docs/embed#interceptors).
|
|
358
358
|
|
|
359
359
|
<a name="api_nan_index_getter"></a>
|
|
360
360
|
### Index getter declaration
|
|
@@ -376,7 +376,7 @@ You do not need to declare a new `HandleScope` within a index getter as one is i
|
|
|
376
376
|
|
|
377
377
|
A helper macro `NAN_INDEX_GETTER(methodname)` exists, compatible with NAN v1 method declarations.
|
|
378
378
|
|
|
379
|
-
Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://
|
|
379
|
+
Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://v8.dev/docs/embed#interceptors).
|
|
380
380
|
|
|
381
381
|
<a name="api_nan_index_setter"></a>
|
|
382
382
|
### Index setter declaration
|
|
@@ -401,7 +401,7 @@ You do not need to declare a new `HandleScope` within a index setter as one is i
|
|
|
401
401
|
|
|
402
402
|
A helper macro `NAN_INDEX_SETTER(methodname)` exists, compatible with NAN v1 method declarations.
|
|
403
403
|
|
|
404
|
-
Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://
|
|
404
|
+
Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://v8.dev/docs/embed#interceptors).
|
|
405
405
|
|
|
406
406
|
<a name="api_nan_index_enumerator"></a>
|
|
407
407
|
### Index enumerator declaration
|
|
@@ -422,7 +422,7 @@ You do not need to declare a new `HandleScope` within a index enumerator as one
|
|
|
422
422
|
|
|
423
423
|
A helper macro `NAN_INDEX_ENUMERATOR(methodname)` exists, compatible with NAN v1 method declarations.
|
|
424
424
|
|
|
425
|
-
Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://
|
|
425
|
+
Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://v8.dev/docs/embed#interceptors).
|
|
426
426
|
|
|
427
427
|
<a name="api_nan_index_deleter"></a>
|
|
428
428
|
### Index deleter declaration
|
|
@@ -444,7 +444,7 @@ You do not need to declare a new `HandleScope` within a index deleter as one is
|
|
|
444
444
|
|
|
445
445
|
A helper macro `NAN_INDEX_DELETER(methodname)` exists, compatible with NAN v1 method declarations.
|
|
446
446
|
|
|
447
|
-
Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://
|
|
447
|
+
Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://v8.dev/docs/embed#interceptors).
|
|
448
448
|
|
|
449
449
|
<a name="api_nan_index_query"></a>
|
|
450
450
|
### Index query declaration
|
|
@@ -466,7 +466,7 @@ You do not need to declare a new `HandleScope` within a index query method as on
|
|
|
466
466
|
|
|
467
467
|
A helper macro `NAN_INDEX_QUERY(methodname)` exists, compatible with NAN v1 method declarations.
|
|
468
468
|
|
|
469
|
-
Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://
|
|
469
|
+
Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://v8.dev/docs/embed#interceptors).
|
|
470
470
|
|
|
471
471
|
<a name="api_nan_set_method"></a>
|
|
472
472
|
### Nan::SetMethod()
|
|
@@ -508,7 +508,8 @@ Sets getters and setters for a property with a given name on an `ObjectTemplate`
|
|
|
508
508
|
Signature:
|
|
509
509
|
|
|
510
510
|
```c++
|
|
511
|
-
|
|
511
|
+
// The signature parameter was deprecated in Node 16 and subsequently removed
|
|
512
|
+
NAN_DEPRECATED void SetAccessor(v8::Local<v8::ObjectTemplate> tpl,
|
|
512
513
|
v8::Local<v8::String> name,
|
|
513
514
|
Nan::GetterCallback getter,
|
|
514
515
|
Nan::SetterCallback setter = 0,
|
|
@@ -516,6 +517,13 @@ void SetAccessor(v8::Local<v8::ObjectTemplate> tpl,
|
|
|
516
517
|
v8::AccessControl settings = v8::DEFAULT,
|
|
517
518
|
v8::PropertyAttribute attribute = v8::None,
|
|
518
519
|
imp::Sig signature = imp::Sig());
|
|
520
|
+
void SetAccessor(v8::Local<v8::ObjectTemplate> tpl,
|
|
521
|
+
v8::Local<v8::String> name,
|
|
522
|
+
Nan::GetterCallback getter,
|
|
523
|
+
Nan::SetterCallback setter = 0,
|
|
524
|
+
v8::Local<v8::Value> data = v8::Local<v8::Value>(),
|
|
525
|
+
v8::AccessControl settings = v8::DEFAULT,
|
|
526
|
+
v8::PropertyAttribute attribute = v8::None);
|
|
519
527
|
bool SetAccessor(v8::Local<v8::Object> obj,
|
|
520
528
|
v8::Local<v8::String> name,
|
|
521
529
|
Nan::GetterCallback getter,
|
|
@@ -12,7 +12,7 @@ Due to the evolution of the V8 API, it is necessary for NAN to provide a wrapper
|
|
|
12
12
|
- <a href="#api_nan_weak_callback_info"><b><code>Nan::WeakCallbackInfo</code></b></a>
|
|
13
13
|
- <a href="#api_nan_weak_callback_type"><b><code>Nan::WeakCallbackType</code></b></a>
|
|
14
14
|
|
|
15
|
-
Also see the V8 Embedders Guide section on [Handles and Garbage Collection](https://
|
|
15
|
+
Also see the V8 Embedders Guide section on [Handles and Garbage Collection](https://v8.dev/docs/embed#handles-and-garbage-collection).
|
|
16
16
|
|
|
17
17
|
<a name="api_nan_persistent_base"></a>
|
|
18
18
|
### Nan::PersistentBase & v8::PersistentBase
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
|
|
15
15
|
*
|
|
16
|
-
* Version 2.
|
|
16
|
+
* Version 2.18.0: current Node 20.6.1, Node 0.12: 0.12.18, Node 0.10: 0.10.48, iojs: 3.3.1
|
|
17
17
|
*
|
|
18
18
|
* See https://github.com/nodejs/nan for the latest update to this file
|
|
19
19
|
**********************************************************************************/
|
|
@@ -45,6 +45,8 @@
|
|
|
45
45
|
#define NODE_16_0_MODULE_VERSION 93
|
|
46
46
|
#define NODE_17_0_MODULE_VERSION 102
|
|
47
47
|
#define NODE_18_0_MODULE_VERSION 108
|
|
48
|
+
#define NODE_19_0_MODULE_VERSION 111
|
|
49
|
+
#define NODE_20_0_MODULE_VERSION 115
|
|
48
50
|
|
|
49
51
|
#ifdef _MSC_VER
|
|
50
52
|
# define NAN_HAS_CPLUSPLUS_11 (_MSC_VER >= 1800)
|