@steedos/objectql 3.0.0-beta.64 → 3.0.0-beta.66
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/lib/functions/function.js +22 -11
- package/lib/functions/function.js.map +1 -1
- package/lib/triggers/trigger.js +30 -18
- package/lib/triggers/trigger.js.map +1 -1
- package/package.json +13 -12
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.runFunction = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var NodeVM = require(
|
|
5
|
+
var NodeVM = require("vm2").NodeVM;
|
|
6
6
|
function str2function(contents) {
|
|
7
7
|
var args = [];
|
|
8
8
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
@@ -31,18 +31,22 @@ var runFunction = function (func, thisArg) {
|
|
|
31
31
|
sandbox: {
|
|
32
32
|
str2function: str2function,
|
|
33
33
|
global: {
|
|
34
|
-
_: require(
|
|
35
|
-
moment: require(
|
|
36
|
-
validator: require(
|
|
37
|
-
filters: require(
|
|
34
|
+
_: require("lodash"),
|
|
35
|
+
moment: require("moment"),
|
|
36
|
+
validator: require("validator"),
|
|
37
|
+
filters: require("@steedos/filters"),
|
|
38
|
+
axios: require("axios"),
|
|
39
|
+
formData: require("form-data"),
|
|
40
|
+
mongodb: require("mongodb"),
|
|
41
|
+
sequelize: require("sequelize"),
|
|
38
42
|
},
|
|
39
43
|
objects: global.objects,
|
|
40
44
|
},
|
|
41
45
|
require: {
|
|
42
46
|
external: true,
|
|
43
|
-
root:
|
|
47
|
+
root: "./",
|
|
44
48
|
},
|
|
45
|
-
env: process.env
|
|
49
|
+
env: process.env,
|
|
46
50
|
});
|
|
47
51
|
funcFileName = "".concat(func.objectApiName, ".").concat(func.name, ".function.js");
|
|
48
52
|
funcInSandbox = vm.run("module.exports = async function(ctx){".concat(func.script, "};"), funcFileName);
|
|
@@ -53,9 +57,12 @@ var runFunction = function (func, thisArg) {
|
|
|
53
57
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
54
58
|
return tslib_1.__generator(this, function (_a) {
|
|
55
59
|
return [2, new Promise(function (resolve, reject) {
|
|
56
|
-
funcInSandbox
|
|
60
|
+
funcInSandbox
|
|
61
|
+
.apply(thisArg, args)
|
|
62
|
+
.then(function (res) {
|
|
57
63
|
resolve(res);
|
|
58
|
-
})
|
|
64
|
+
})
|
|
65
|
+
.catch(function (error) {
|
|
59
66
|
reject(error);
|
|
60
67
|
});
|
|
61
68
|
})];
|
|
@@ -69,10 +76,14 @@ var runFunction = function (func, thisArg) {
|
|
|
69
76
|
case 3:
|
|
70
77
|
error_1 = _a.sent();
|
|
71
78
|
source = error_1.stack;
|
|
72
|
-
errorStack = source
|
|
79
|
+
errorStack = source
|
|
80
|
+
.substring(source.indexOf("(") + 1, source.indexOf(")"))
|
|
81
|
+
.replace(funcFileName, "对象「" + func.objectApiName + "」的「" + func.name + "」函数")
|
|
82
|
+
.replace(":", " 行 ")
|
|
83
|
+
.replace(":", " 列 ");
|
|
73
84
|
newError = new Error(error_1.message);
|
|
74
85
|
newError.stack = "Object Function Error: ".concat(error_1.message, "\n at ").concat(errorStack);
|
|
75
|
-
if (process.env.NODE_ENV ===
|
|
86
|
+
if (process.env.NODE_ENV === "development") {
|
|
76
87
|
newError.message = newError.stack;
|
|
77
88
|
}
|
|
78
89
|
throw newError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../src/functions/function.ts"],"names":[],"mappings":";;;;AAQQ,IAAA,MAAM,GAAK,OAAO,CAAC,KAAK,CAAC,OAAnB,CAAoB;AAElC,SAAS,YAAY,
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../src/functions/function.ts"],"names":[],"mappings":";;;;AAQQ,IAAA,MAAM,GAAK,OAAO,CAAC,KAAK,CAAC,OAAnB,CAAoB;AAElC,SAAS,YAAY,CAAC,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igger.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.runTriggerFunction = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var NodeVM = require(
|
|
6
|
-
var _ = require(
|
|
5
|
+
var NodeVM = require("vm2").NodeVM;
|
|
6
|
+
var _ = require("lodash");
|
|
7
7
|
var mongodb_1 = require("mongodb");
|
|
8
8
|
var axios_1 = require("axios");
|
|
9
9
|
function str2function(contents) {
|
|
@@ -44,10 +44,11 @@ var runUrlTrigger = function (trigger, thisArg, args) { return tslib_1.__awaiter
|
|
|
44
44
|
throw new Error("\u89E6\u53D1\u5668\u300C".concat(trigger.name, "\u300D\u7F3A\u5C11URL"));
|
|
45
45
|
}
|
|
46
46
|
headers = {
|
|
47
|
-
|
|
47
|
+
"Content-Type": "application/json",
|
|
48
48
|
};
|
|
49
|
-
if (trigger.authentication_type ==
|
|
50
|
-
headers[trigger.authentication_header_key] =
|
|
49
|
+
if (trigger.authentication_type == "header") {
|
|
50
|
+
headers[trigger.authentication_header_key] =
|
|
51
|
+
trigger.authentication_header_value;
|
|
51
52
|
}
|
|
52
53
|
return [4, sendPost(trigger.url, args && args.length > 0 ? args[0].params : {}, { headers: headers })];
|
|
53
54
|
case 1:
|
|
@@ -73,7 +74,7 @@ var runTriggerFunction = function (trigger, thisArg) {
|
|
|
73
74
|
return tslib_1.__generator(this, function (_a) {
|
|
74
75
|
switch (_a.label) {
|
|
75
76
|
case 0:
|
|
76
|
-
if (!(trigger.type ===
|
|
77
|
+
if (!(trigger.type === "url")) return [3, 2];
|
|
77
78
|
return [4, runUrlTrigger(trigger, thisArg, args)];
|
|
78
79
|
case 1: return [2, _a.sent()];
|
|
79
80
|
case 2:
|
|
@@ -81,23 +82,27 @@ var runTriggerFunction = function (trigger, thisArg) {
|
|
|
81
82
|
sandbox: {
|
|
82
83
|
str2function: str2function,
|
|
83
84
|
global: {
|
|
84
|
-
_: require(
|
|
85
|
-
moment: require(
|
|
86
|
-
validator: require(
|
|
87
|
-
Filters: require(
|
|
88
|
-
filters: require(
|
|
85
|
+
_: require("lodash"),
|
|
86
|
+
moment: require("moment"),
|
|
87
|
+
validator: require("validator"),
|
|
88
|
+
Filters: require("@steedos/filters"),
|
|
89
|
+
filters: require("@steedos/filters"),
|
|
90
|
+
axios: require("axios"),
|
|
91
|
+
formData: require("form-data"),
|
|
92
|
+
mongodb: require("mongodb"),
|
|
93
|
+
sequelize: require("sequelize"),
|
|
89
94
|
},
|
|
90
95
|
services: global.services,
|
|
91
96
|
objects: global.objects,
|
|
92
97
|
makeNewID: function () {
|
|
93
98
|
return new mongodb_1.ObjectId().toHexString();
|
|
94
|
-
}
|
|
99
|
+
},
|
|
95
100
|
},
|
|
96
101
|
require: {
|
|
97
102
|
external: true,
|
|
98
|
-
root:
|
|
103
|
+
root: "./",
|
|
99
104
|
},
|
|
100
|
-
env: process.env
|
|
105
|
+
env: process.env,
|
|
101
106
|
});
|
|
102
107
|
triggerFileName = "".concat(trigger.listenTo, ".").concat(trigger.name, ".trigger.js");
|
|
103
108
|
triggerInSandbox = vm.run("module.exports = async function(ctx){".concat(trigger.handler, "};"), triggerFileName);
|
|
@@ -108,9 +113,12 @@ var runTriggerFunction = function (trigger, thisArg) {
|
|
|
108
113
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
109
114
|
return tslib_1.__generator(this, function (_a) {
|
|
110
115
|
return [2, new Promise(function (resolve, reject) {
|
|
111
|
-
triggerInSandbox
|
|
116
|
+
triggerInSandbox
|
|
117
|
+
.apply(thisArg, args)
|
|
118
|
+
.then(function (res) {
|
|
112
119
|
resolve(res);
|
|
113
|
-
})
|
|
120
|
+
})
|
|
121
|
+
.catch(function (error) {
|
|
114
122
|
reject(error);
|
|
115
123
|
});
|
|
116
124
|
})];
|
|
@@ -124,10 +132,14 @@ var runTriggerFunction = function (trigger, thisArg) {
|
|
|
124
132
|
case 5:
|
|
125
133
|
error_2 = _a.sent();
|
|
126
134
|
source = error_2.stack;
|
|
127
|
-
errorStack = source
|
|
135
|
+
errorStack = source
|
|
136
|
+
.substring(source.indexOf("(") + 1, source.indexOf(")"))
|
|
137
|
+
.replace(triggerFileName, "对象「" + trigger.listenTo + "」的「" + trigger.name + "」触发器")
|
|
138
|
+
.replace(":", " 行 ")
|
|
139
|
+
.replace(":", " 列 ");
|
|
128
140
|
newError = new Error(error_2.message);
|
|
129
141
|
newError.stack = "Object Trigger Error: ".concat(error_2.message, "\n at ").concat(errorStack);
|
|
130
|
-
if (process.env.NODE_ENV ===
|
|
142
|
+
if (process.env.NODE_ENV === "development") {
|
|
131
143
|
newError.message = newError.stack;
|
|
132
144
|
}
|
|
133
145
|
throw newError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../src/triggers/trigger.ts"],"names":[],"mappings":";;;;AAOQ,IAAA,MAAM,GAAK,OAAO,CAAC,KAAK,CAAC,OAAnB,CAAoB;AAClC,IAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../src/triggers/trigger.ts"],"names":[],"mappings":";;;;AAOQ,IAAA,MAAM,GAAK,OAAO,CAAC,KAAK,CAAC,OAAnB,CAAoB;AAClC,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5B,mCAAmC;AACnC,+BAA0B;AAE1B,SAAS,YAAY,CAAC,QAAQ;IAAE,cAAO;SAAP,UAAO,EAAP,qBAAO,EAAP,IAAO;QAAP,6BAAO;;IACrC,IAAI,CAAC;QACH,IAAI,EAAE,QAAO,QAAQ,YAAR,QAAQ,uEAAI,IAAI,YAAE,QAAQ,aAAC,CAAC;QACzC,OAAO,EAAE,CAAC;IACZ,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAChB,OAAO,IAAI,CAAC;IACd,CAAC;A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AAC,OAAO,GAAG,QAAQ,CAAC,KAAK,CAAC;oBACpC,CAAC;oBACD,MAAM,QAAQ,CAAC;;;;;CAElB,CAAC;AAtEW,QAAA,kBAAkB,sBAsE7B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/objectql",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.0.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.66",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@salesforce/kit": "1.0.4",
|
|
18
18
|
"@salesforce/ts-types": "1.1.1",
|
|
19
|
-
"@steedos/cachers": "3.0.0-beta.
|
|
20
|
-
"@steedos/filters": "3.0.0-beta.
|
|
21
|
-
"@steedos/formula": "3.0.0-beta.
|
|
22
|
-
"@steedos/i18n": "3.0.0-beta.
|
|
23
|
-
"@steedos/metadata-core": "3.0.0-beta.
|
|
24
|
-
"@steedos/metadata-registrar": "3.0.0-beta.
|
|
25
|
-
"@steedos/odata-v4-mongodb": "3.0.0-beta.
|
|
26
|
-
"@steedos/odata-v4-sql": "3.0.0-beta.
|
|
27
|
-
"@steedos/odata-v4-typeorm": "3.0.0-beta.
|
|
28
|
-
"@steedos/schemas": "3.0.0-beta.
|
|
19
|
+
"@steedos/cachers": "3.0.0-beta.66",
|
|
20
|
+
"@steedos/filters": "3.0.0-beta.66",
|
|
21
|
+
"@steedos/formula": "3.0.0-beta.66",
|
|
22
|
+
"@steedos/i18n": "3.0.0-beta.66",
|
|
23
|
+
"@steedos/metadata-core": "3.0.0-beta.66",
|
|
24
|
+
"@steedos/metadata-registrar": "3.0.0-beta.66",
|
|
25
|
+
"@steedos/odata-v4-mongodb": "3.0.0-beta.66",
|
|
26
|
+
"@steedos/odata-v4-sql": "3.0.0-beta.66",
|
|
27
|
+
"@steedos/odata-v4-typeorm": "3.0.0-beta.66",
|
|
28
|
+
"@steedos/schemas": "3.0.0-beta.66",
|
|
29
29
|
"amis-formula": "~6.3.0",
|
|
30
30
|
"app-root-path": "^2.2.1",
|
|
31
31
|
"axios": "^0.21.1",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"node-fetch": "2",
|
|
49
49
|
"reflect-metadata": "^0.1.10",
|
|
50
50
|
"routing-controllers": "^0.7.7",
|
|
51
|
+
"sequelize": "6.37.7",
|
|
51
52
|
"tslib": "^2.4.0",
|
|
52
53
|
"typeorm": "0.2.28",
|
|
53
54
|
"underscore": "1.5.2",
|
|
@@ -63,5 +64,5 @@
|
|
|
63
64
|
"publishConfig": {
|
|
64
65
|
"access": "public"
|
|
65
66
|
},
|
|
66
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "12ba18394ecbce4f653de5e0625ebed062c091bd"
|
|
67
68
|
}
|