@nocobase/plugin-workflow-javascript 2.0.3
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/LICENSE +201 -0
- package/README.md +99 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/907399554f340b0a.js +10 -0
- package/dist/client/CodeEditor.d.ts +8 -0
- package/dist/client/ScriptInstruction.d.ts +129 -0
- package/dist/client/d608e8e5c2f2b5cf.js +10 -0
- package/dist/client/index.d.ts +5 -0
- package/dist/client/index.js +10 -0
- package/dist/externalVersion.js +23 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +48 -0
- package/dist/locale/de-DE.json +33 -0
- package/dist/locale/en-US.json +33 -0
- package/dist/locale/es-ES.json +33 -0
- package/dist/locale/fr-FR.json +33 -0
- package/dist/locale/hu-HU.json +33 -0
- package/dist/locale/id-ID.json +33 -0
- package/dist/locale/index.d.ts +12 -0
- package/dist/locale/index.js +54 -0
- package/dist/locale/it-IT.json +33 -0
- package/dist/locale/ja-JP.json +33 -0
- package/dist/locale/ko-KR.json +33 -0
- package/dist/locale/ko_KR.json +25 -0
- package/dist/locale/nl-NL.json +33 -0
- package/dist/locale/pt-BR.json +33 -0
- package/dist/locale/ru-RU.json +33 -0
- package/dist/locale/tr-TR.json +33 -0
- package/dist/locale/uk-UA.json +33 -0
- package/dist/locale/vi-VN.json +33 -0
- package/dist/locale/zh-CN.json +33 -0
- package/dist/locale/zh-TW.json +33 -0
- package/dist/node_modules/winston-transport/.babelrc +3 -0
- package/dist/node_modules/winston-transport/.eslintrc +7 -0
- package/dist/node_modules/winston-transport/.gitattributes +1 -0
- package/dist/node_modules/winston-transport/.nyc_output/c1bd7935-644d-4c7a-89c1-24531a04e4cc.json +1 -0
- package/dist/node_modules/winston-transport/.nyc_output/processinfo/c1bd7935-644d-4c7a-89c1-24531a04e4cc.json +1 -0
- package/dist/node_modules/winston-transport/.nyc_output/processinfo/index.json +1 -0
- package/dist/node_modules/winston-transport/LICENSE +22 -0
- package/dist/node_modules/winston-transport/dist/index.js +8 -0
- package/dist/node_modules/winston-transport/dist/legacy.js +116 -0
- package/dist/node_modules/winston-transport/dist/modern.js +212 -0
- package/dist/node_modules/winston-transport/index.d.ts +39 -0
- package/dist/node_modules/winston-transport/index.js +3 -0
- package/dist/node_modules/winston-transport/legacy.js +119 -0
- package/dist/node_modules/winston-transport/modern.js +211 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/errors-browser.js +127 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/errors.js +116 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/_stream_transform.js +190 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/_stream_writable.js +641 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/package.json +68 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/readable-browser.js +9 -0
- package/dist/node_modules/winston-transport/node_modules/readable-stream/readable.js +16 -0
- package/dist/node_modules/winston-transport/package.json +1 -0
- package/dist/server/ScriptInstruction.d.ts +45 -0
- package/dist/server/ScriptInstruction.js +175 -0
- package/dist/server/Vm.js +100 -0
- package/dist/server/cache-logger.d.ts +6 -0
- package/dist/server/cache-logger.js +56 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +42 -0
- package/dist/server/plugin.d.ts +11 -0
- package/dist/server/plugin.js +68 -0
- package/package.json +40 -0
- package/server.d.ts +2 -0
- package/server.js +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nocobase/plugin-workflow-javascript",
|
|
3
|
+
"version": "2.0.3",
|
|
4
|
+
"displayName": "Workflow: JavaScript",
|
|
5
|
+
"displayName.zh-CN": "工作流:JavaScript 节点",
|
|
6
|
+
"description": "Execute a piece of JavaScript in an isolated Node.js environment.",
|
|
7
|
+
"description.zh-CN": "在隔离环境中执行一段 JavaScript 代码。",
|
|
8
|
+
"main": "dist/server/index.js",
|
|
9
|
+
"nocobase": {
|
|
10
|
+
"supportedVersions": [
|
|
11
|
+
"1.x",
|
|
12
|
+
"2.x"
|
|
13
|
+
],
|
|
14
|
+
"editionLevel": 0
|
|
15
|
+
},
|
|
16
|
+
"peerDependencies": {
|
|
17
|
+
"@nocobase/client": "2.x",
|
|
18
|
+
"@nocobase/plugin-workflow": "2.x",
|
|
19
|
+
"@nocobase/server": "2.x",
|
|
20
|
+
"@nocobase/test": "2.x"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@codemirror/lang-javascript": "^6.2.2",
|
|
24
|
+
"@codemirror/lint": "^6.8.3",
|
|
25
|
+
"@codemirror/state": "^6.4.1",
|
|
26
|
+
"@codemirror/view": "^6.37.2",
|
|
27
|
+
"codemirror": "^6.0.2",
|
|
28
|
+
"jshint": "^2.13.6",
|
|
29
|
+
"node-gyp": "^10.2.0"
|
|
30
|
+
},
|
|
31
|
+
"resolutions": {
|
|
32
|
+
"nan": "2.18.0",
|
|
33
|
+
"node-gyp": "^10.2.0"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"Workflow"
|
|
37
|
+
],
|
|
38
|
+
"license": "Apache-2.0",
|
|
39
|
+
"gitHead": "5bcb42fc092f85adb9511c1a351b388bd7aaf66e"
|
|
40
|
+
}
|
package/server.d.ts
ADDED
package/server.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/server/index.js');
|