@nocobase/plugin-workflow-javascript 2.1.0-beta.26 → 2.1.0-beta.29
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/externalVersion.js +4 -4
- package/dist/node_modules/joi/package.json +1 -1
- package/dist/node_modules/quickjs-emscripten/017c8a1a1898bfe7b7ae.wasm +0 -0
- package/dist/node_modules/quickjs-emscripten/161.index.js +50 -0
- package/dist/node_modules/quickjs-emscripten/277.index.js +27 -0
- package/dist/node_modules/quickjs-emscripten/302.index.js +55 -0
- package/dist/node_modules/quickjs-emscripten/45d53437811cf6eec760.wasm +0 -0
- package/dist/node_modules/quickjs-emscripten/712.index.js +5566 -0
- package/dist/node_modules/quickjs-emscripten/96b24985ab62871ec2a0.wasm +0 -0
- package/dist/node_modules/quickjs-emscripten/9a4b9654a8a7f4d515ba.wasm +0 -0
- package/dist/node_modules/quickjs-emscripten/LICENSE +21 -0
- package/dist/node_modules/quickjs-emscripten/dist/index.d.mts +57 -0
- package/dist/node_modules/quickjs-emscripten/dist/index.d.ts +57 -0
- package/dist/node_modules/quickjs-emscripten/dist/index.global.js +7309 -0
- package/dist/node_modules/quickjs-emscripten/dist/index.js +1 -0
- package/dist/node_modules/quickjs-emscripten/dist/variants.d.mts +39 -0
- package/dist/node_modules/quickjs-emscripten/dist/variants.d.ts +39 -0
- package/dist/node_modules/quickjs-emscripten/dist/variants.js +2 -0
- package/dist/node_modules/quickjs-emscripten/package.json +1 -0
- package/dist/node_modules/winston-transport/package.json +1 -1
- package/dist/server/QuickJs.js +135 -0
- package/dist/server/ScriptInstruction.d.ts +1 -1
- package/dist/server/ScriptInstruction.js +2 -2
- package/package.json +3 -8
- package/dist/node_modules/isolated-vm/.clang-tidy +0 -13
- package/dist/node_modules/isolated-vm/.dockerignore +0 -9
- package/dist/node_modules/isolated-vm/Dockerfile.alpine +0 -9
- package/dist/node_modules/isolated-vm/Dockerfile.debian +0 -12
- package/dist/node_modules/isolated-vm/LICENSE +0 -13
- package/dist/node_modules/isolated-vm/binding.gyp +0 -120
- package/dist/node_modules/isolated-vm/include.js +0 -3
- package/dist/node_modules/isolated-vm/inspector-example.js +0 -59
- package/dist/node_modules/isolated-vm/isolated-vm-6.1.2.tgz +0 -0
- package/dist/node_modules/isolated-vm/isolated-vm.d.ts +0 -820
- package/dist/node_modules/isolated-vm/isolated-vm.js +0 -1
- package/dist/node_modules/isolated-vm/native-example/binding.gyp +0 -23
- package/dist/node_modules/isolated-vm/native-example/example.cc +0 -61
- package/dist/node_modules/isolated-vm/native-example/package.json +0 -13
- package/dist/node_modules/isolated-vm/native-example/usage.js +0 -35
- package/dist/node_modules/isolated-vm/package.json +0 -1
- package/dist/node_modules/isolated-vm/prebuilds/darwin-arm64/isolated-vm.abi127.node +0 -0
- package/dist/node_modules/isolated-vm/prebuilds/darwin-arm64/isolated-vm.abi137.node +0 -0
- package/dist/node_modules/isolated-vm/prebuilds/linux-arm64/isolated-vm.abi127.glibc.node +0 -0
- package/dist/node_modules/isolated-vm/prebuilds/linux-arm64/isolated-vm.abi127.musl.node +0 -0
- package/dist/node_modules/isolated-vm/prebuilds/linux-arm64/isolated-vm.abi137.glibc.node +0 -0
- package/dist/node_modules/isolated-vm/prebuilds/linux-arm64/isolated-vm.abi137.musl.node +0 -0
- package/dist/node_modules/isolated-vm/prebuilds/linux-x64/isolated-vm.abi127.glibc.node +0 -0
- package/dist/node_modules/isolated-vm/prebuilds/linux-x64/isolated-vm.abi127.musl.node +0 -0
- package/dist/node_modules/isolated-vm/prebuilds/linux-x64/isolated-vm.abi137.glibc.node +0 -0
- package/dist/node_modules/isolated-vm/prebuilds/linux-x64/isolated-vm.abi137.musl.node +0 -0
- package/dist/node_modules/isolated-vm/prebuilds/win32-x64/isolated-vm.abi127.node +0 -0
- package/dist/node_modules/isolated-vm/prebuilds/win32-x64/isolated-vm.abi137.node +0 -0
- package/dist/node_modules/isolated-vm/scripts/run-prebuild.js +0 -33
- package/dist/node_modules/isolated-vm/src/external_copy/error.h +0 -33
- package/dist/node_modules/isolated-vm/src/external_copy/external_copy.cc +0 -509
- package/dist/node_modules/isolated-vm/src/external_copy/external_copy.h +0 -117
- package/dist/node_modules/isolated-vm/src/external_copy/serializer.cc +0 -85
- package/dist/node_modules/isolated-vm/src/external_copy/serializer.h +0 -136
- package/dist/node_modules/isolated-vm/src/external_copy/serializer_nortti.cc +0 -73
- package/dist/node_modules/isolated-vm/src/external_copy/string.cc +0 -124
- package/dist/node_modules/isolated-vm/src/external_copy/string.h +0 -28
- package/dist/node_modules/isolated-vm/src/isolate/allocator.h +0 -30
- package/dist/node_modules/isolated-vm/src/isolate/allocator_nortti.cc +0 -131
- package/dist/node_modules/isolated-vm/src/isolate/class_handle.h +0 -338
- package/dist/node_modules/isolated-vm/src/isolate/cpu_profile_manager.cc +0 -220
- package/dist/node_modules/isolated-vm/src/isolate/cpu_profile_manager.h +0 -100
- package/dist/node_modules/isolated-vm/src/isolate/environment.cc +0 -627
- package/dist/node_modules/isolated-vm/src/isolate/environment.h +0 -381
- package/dist/node_modules/isolated-vm/src/isolate/executor.cc +0 -198
- package/dist/node_modules/isolated-vm/src/isolate/executor.h +0 -183
- package/dist/node_modules/isolated-vm/src/isolate/external.h +0 -64
- package/dist/node_modules/isolated-vm/src/isolate/functor_runners.h +0 -97
- package/dist/node_modules/isolated-vm/src/isolate/generic/array.h +0 -145
- package/dist/node_modules/isolated-vm/src/isolate/generic/callbacks.h +0 -264
- package/dist/node_modules/isolated-vm/src/isolate/generic/error.h +0 -140
- package/dist/node_modules/isolated-vm/src/isolate/generic/extract_params.h +0 -145
- package/dist/node_modules/isolated-vm/src/isolate/generic/handle_cast.h +0 -257
- package/dist/node_modules/isolated-vm/src/isolate/generic/read_option.h +0 -47
- package/dist/node_modules/isolated-vm/src/isolate/holder.cc +0 -88
- package/dist/node_modules/isolated-vm/src/isolate/holder.h +0 -69
- package/dist/node_modules/isolated-vm/src/isolate/inspector.cc +0 -200
- package/dist/node_modules/isolated-vm/src/isolate/inspector.h +0 -70
- package/dist/node_modules/isolated-vm/src/isolate/node_wrapper.h +0 -15
- package/dist/node_modules/isolated-vm/src/isolate/platform_delegate.cc +0 -22
- package/dist/node_modules/isolated-vm/src/isolate/platform_delegate.h +0 -46
- package/dist/node_modules/isolated-vm/src/isolate/remote_handle.h +0 -164
- package/dist/node_modules/isolated-vm/src/isolate/run_with_timeout.h +0 -171
- package/dist/node_modules/isolated-vm/src/isolate/runnable.h +0 -29
- package/dist/node_modules/isolated-vm/src/isolate/scheduler.cc +0 -191
- package/dist/node_modules/isolated-vm/src/isolate/scheduler.h +0 -165
- package/dist/node_modules/isolated-vm/src/isolate/specific.h +0 -35
- package/dist/node_modules/isolated-vm/src/isolate/stack_trace.cc +0 -218
- package/dist/node_modules/isolated-vm/src/isolate/stack_trace.h +0 -24
- package/dist/node_modules/isolated-vm/src/isolate/strings.h +0 -127
- package/dist/node_modules/isolated-vm/src/isolate/three_phase_task.cc +0 -385
- package/dist/node_modules/isolated-vm/src/isolate/three_phase_task.h +0 -136
- package/dist/node_modules/isolated-vm/src/isolate/transferable.h +0 -15
- package/dist/node_modules/isolated-vm/src/isolate/util.h +0 -45
- package/dist/node_modules/isolated-vm/src/isolate/v8_inspector_wrapper.h +0 -14
- package/dist/node_modules/isolated-vm/src/isolate/v8_version.h +0 -12
- package/dist/node_modules/isolated-vm/src/isolated_vm.h +0 -71
- package/dist/node_modules/isolated-vm/src/lib/covariant.h +0 -50
- package/dist/node_modules/isolated-vm/src/lib/lockable.h +0 -178
- package/dist/node_modules/isolated-vm/src/lib/suspend.h +0 -106
- package/dist/node_modules/isolated-vm/src/lib/thread_pool.cc +0 -98
- package/dist/node_modules/isolated-vm/src/lib/thread_pool.h +0 -45
- package/dist/node_modules/isolated-vm/src/lib/timer.cc +0 -233
- package/dist/node_modules/isolated-vm/src/lib/timer.h +0 -36
- package/dist/node_modules/isolated-vm/src/module/callback.cc +0 -155
- package/dist/node_modules/isolated-vm/src/module/callback.h +0 -64
- package/dist/node_modules/isolated-vm/src/module/context_handle.cc +0 -241
- package/dist/node_modules/isolated-vm/src/module/context_handle.h +0 -35
- package/dist/node_modules/isolated-vm/src/module/evaluation.cc +0 -108
- package/dist/node_modules/isolated-vm/src/module/evaluation.h +0 -99
- package/dist/node_modules/isolated-vm/src/module/external_copy_handle.cc +0 -125
- package/dist/node_modules/isolated-vm/src/module/external_copy_handle.h +0 -64
- package/dist/node_modules/isolated-vm/src/module/isolate.cc +0 -136
- package/dist/node_modules/isolated-vm/src/module/isolate_handle.cc +0 -623
- package/dist/node_modules/isolated-vm/src/module/isolate_handle.h +0 -47
- package/dist/node_modules/isolated-vm/src/module/lib_handle.cc +0 -77
- package/dist/node_modules/isolated-vm/src/module/lib_handle.h +0 -28
- package/dist/node_modules/isolated-vm/src/module/module_handle.cc +0 -475
- package/dist/node_modules/isolated-vm/src/module/module_handle.h +0 -68
- package/dist/node_modules/isolated-vm/src/module/native_module_handle.cc +0 -108
- package/dist/node_modules/isolated-vm/src/module/native_module_handle.h +0 -49
- package/dist/node_modules/isolated-vm/src/module/reference_handle.cc +0 -640
- package/dist/node_modules/isolated-vm/src/module/reference_handle.h +0 -106
- package/dist/node_modules/isolated-vm/src/module/script_handle.cc +0 -107
- package/dist/node_modules/isolated-vm/src/module/script_handle.h +0 -37
- package/dist/node_modules/isolated-vm/src/module/session_handle.cc +0 -173
- package/dist/node_modules/isolated-vm/src/module/session_handle.h +0 -31
- package/dist/node_modules/isolated-vm/src/module/transferable.cc +0 -268
- package/dist/node_modules/isolated-vm/src/module/transferable.h +0 -42
- package/dist/node_modules/isolated-vm/vendor/v8_inspector/nodejs_v18.0.0.h +0 -360
- package/dist/node_modules/isolated-vm/vendor/v8_inspector/nodejs_v18.3.0.h +0 -376
- package/dist/node_modules/isolated-vm/vendor/v8_inspector/nodejs_v20.0.0.h +0 -397
- package/dist/node_modules/isolated-vm/vendor/v8_inspector/nodejs_v22.0.0.h +0 -419
- package/dist/node_modules/isolated-vm/vendor/v8_inspector/nodejs_v24.0.0.h +0 -426
- package/dist/server/IsolatedVm.js +0 -75
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
quickjs-emscripten copyright (c) 2019-2024 Jake Teton-Landis
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { QuickJSWASMModule, AsyncRuntimeOptions, QuickJSAsyncRuntime, ContextOptions, QuickJSAsyncContext } from 'quickjs-emscripten-core';
|
|
2
|
+
export * from 'quickjs-emscripten-core';
|
|
3
|
+
export { newQuickJSAsyncWASMModule, newQuickJSWASMModule } from './variants.mjs';
|
|
4
|
+
export { default as DEBUG_SYNC } from '@jitl/quickjs-wasmfile-debug-sync';
|
|
5
|
+
export { default as RELEASE_SYNC } from '@jitl/quickjs-wasmfile-release-sync';
|
|
6
|
+
export { default as DEBUG_ASYNC } from '@jitl/quickjs-wasmfile-debug-asyncify';
|
|
7
|
+
export { default as RELEASE_ASYNC } from '@jitl/quickjs-wasmfile-release-asyncify';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Get a shared singleton {@link QuickJSWASMModule}. Use this to evaluate code
|
|
11
|
+
* or create Javascript environments.
|
|
12
|
+
*
|
|
13
|
+
* This is the top-level entrypoint for the quickjs-emscripten library.
|
|
14
|
+
*
|
|
15
|
+
* If you need strictest possible isolation guarantees, you may create a
|
|
16
|
+
* separate {@link QuickJSWASMModule} via {@link newQuickJSWASMModule}.
|
|
17
|
+
*
|
|
18
|
+
* To work with the asyncified version of this library, see these functions:
|
|
19
|
+
*
|
|
20
|
+
* - {@link newAsyncRuntime}.
|
|
21
|
+
* - {@link newAsyncContext}.
|
|
22
|
+
* - {@link newQuickJSAsyncWASMModule}.
|
|
23
|
+
*/
|
|
24
|
+
declare function getQuickJS(): Promise<QuickJSWASMModule>;
|
|
25
|
+
/**
|
|
26
|
+
* Provides synchronous access to the shared {@link QuickJSWASMModule} instance returned by {@link getQuickJS}, as long as
|
|
27
|
+
* least once.
|
|
28
|
+
* @throws If called before `getQuickJS` resolves.
|
|
29
|
+
*/
|
|
30
|
+
declare function getQuickJSSync(): QuickJSWASMModule;
|
|
31
|
+
/**
|
|
32
|
+
* Create a new {@link QuickJSAsyncRuntime} in a separate WebAssembly module.
|
|
33
|
+
*
|
|
34
|
+
* Each runtime is isolated in a separate WebAssembly module, so that errors in
|
|
35
|
+
* one runtime cannot contaminate another runtime, and each runtime can execute
|
|
36
|
+
* an asynchronous action without conflicts.
|
|
37
|
+
*
|
|
38
|
+
* Note that there is a hard limit on the number of WebAssembly modules in older
|
|
39
|
+
* versions of v8:
|
|
40
|
+
* https://bugs.chromium.org/p/v8/issues/detail?id=12076
|
|
41
|
+
*/
|
|
42
|
+
declare function newAsyncRuntime(options?: AsyncRuntimeOptions): Promise<QuickJSAsyncRuntime>;
|
|
43
|
+
/**
|
|
44
|
+
* Create a new {@link QuickJSAsyncContext} (with an associated runtime) in an
|
|
45
|
+
* separate WebAssembly module.
|
|
46
|
+
*
|
|
47
|
+
* Each context is isolated in a separate WebAssembly module, so that errors in
|
|
48
|
+
* one runtime cannot contaminate another runtime, and each runtime can execute
|
|
49
|
+
* an asynchronous action without conflicts.
|
|
50
|
+
*
|
|
51
|
+
* Note that there is a hard limit on the number of WebAssembly modules in older
|
|
52
|
+
* versions of v8:
|
|
53
|
+
* https://bugs.chromium.org/p/v8/issues/detail?id=12076
|
|
54
|
+
*/
|
|
55
|
+
declare function newAsyncContext(options?: ContextOptions): Promise<QuickJSAsyncContext>;
|
|
56
|
+
|
|
57
|
+
export { getQuickJS, getQuickJSSync, newAsyncContext, newAsyncRuntime };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { QuickJSWASMModule, AsyncRuntimeOptions, QuickJSAsyncRuntime, ContextOptions, QuickJSAsyncContext } from 'quickjs-emscripten-core';
|
|
2
|
+
export * from 'quickjs-emscripten-core';
|
|
3
|
+
export { newQuickJSAsyncWASMModule, newQuickJSWASMModule } from './variants.js';
|
|
4
|
+
export { default as DEBUG_SYNC } from '@jitl/quickjs-wasmfile-debug-sync';
|
|
5
|
+
export { default as RELEASE_SYNC } from '@jitl/quickjs-wasmfile-release-sync';
|
|
6
|
+
export { default as DEBUG_ASYNC } from '@jitl/quickjs-wasmfile-debug-asyncify';
|
|
7
|
+
export { default as RELEASE_ASYNC } from '@jitl/quickjs-wasmfile-release-asyncify';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Get a shared singleton {@link QuickJSWASMModule}. Use this to evaluate code
|
|
11
|
+
* or create Javascript environments.
|
|
12
|
+
*
|
|
13
|
+
* This is the top-level entrypoint for the quickjs-emscripten library.
|
|
14
|
+
*
|
|
15
|
+
* If you need strictest possible isolation guarantees, you may create a
|
|
16
|
+
* separate {@link QuickJSWASMModule} via {@link newQuickJSWASMModule}.
|
|
17
|
+
*
|
|
18
|
+
* To work with the asyncified version of this library, see these functions:
|
|
19
|
+
*
|
|
20
|
+
* - {@link newAsyncRuntime}.
|
|
21
|
+
* - {@link newAsyncContext}.
|
|
22
|
+
* - {@link newQuickJSAsyncWASMModule}.
|
|
23
|
+
*/
|
|
24
|
+
declare function getQuickJS(): Promise<QuickJSWASMModule>;
|
|
25
|
+
/**
|
|
26
|
+
* Provides synchronous access to the shared {@link QuickJSWASMModule} instance returned by {@link getQuickJS}, as long as
|
|
27
|
+
* least once.
|
|
28
|
+
* @throws If called before `getQuickJS` resolves.
|
|
29
|
+
*/
|
|
30
|
+
declare function getQuickJSSync(): QuickJSWASMModule;
|
|
31
|
+
/**
|
|
32
|
+
* Create a new {@link QuickJSAsyncRuntime} in a separate WebAssembly module.
|
|
33
|
+
*
|
|
34
|
+
* Each runtime is isolated in a separate WebAssembly module, so that errors in
|
|
35
|
+
* one runtime cannot contaminate another runtime, and each runtime can execute
|
|
36
|
+
* an asynchronous action without conflicts.
|
|
37
|
+
*
|
|
38
|
+
* Note that there is a hard limit on the number of WebAssembly modules in older
|
|
39
|
+
* versions of v8:
|
|
40
|
+
* https://bugs.chromium.org/p/v8/issues/detail?id=12076
|
|
41
|
+
*/
|
|
42
|
+
declare function newAsyncRuntime(options?: AsyncRuntimeOptions): Promise<QuickJSAsyncRuntime>;
|
|
43
|
+
/**
|
|
44
|
+
* Create a new {@link QuickJSAsyncContext} (with an associated runtime) in an
|
|
45
|
+
* separate WebAssembly module.
|
|
46
|
+
*
|
|
47
|
+
* Each context is isolated in a separate WebAssembly module, so that errors in
|
|
48
|
+
* one runtime cannot contaminate another runtime, and each runtime can execute
|
|
49
|
+
* an asynchronous action without conflicts.
|
|
50
|
+
*
|
|
51
|
+
* Note that there is a hard limit on the number of WebAssembly modules in older
|
|
52
|
+
* versions of v8:
|
|
53
|
+
* https://bugs.chromium.org/p/v8/issues/detail?id=12076
|
|
54
|
+
*/
|
|
55
|
+
declare function newAsyncContext(options?: ContextOptions): Promise<QuickJSAsyncContext>;
|
|
56
|
+
|
|
57
|
+
export { getQuickJS, getQuickJSSync, newAsyncContext, newAsyncRuntime };
|