@lowdefy/operators 3.23.2 → 4.0.0-alpha.6

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.
Files changed (71) hide show
  1. package/dist/getFromArray.js +22 -44
  2. package/dist/getFromObject.js +25 -70
  3. package/dist/index.js +18 -20
  4. package/dist/nodeParser.js +83 -146
  5. package/dist/runClass.js +57 -82
  6. package/dist/runInstance.js +60 -84
  7. package/dist/webParser.js +94 -157
  8. package/package.json +13 -19
  9. package/dist/common/_index.js +0 -45
  10. package/dist/common/and.js +0 -39
  11. package/dist/common/args.js +0 -46
  12. package/dist/common/array.js +0 -170
  13. package/dist/common/change_case.js +0 -185
  14. package/dist/common/date.js +0 -75
  15. package/dist/common/divide.js +0 -51
  16. package/dist/common/eq.js +0 -43
  17. package/dist/common/event.js +0 -46
  18. package/dist/common/function.js +0 -78
  19. package/dist/common/get.js +0 -61
  20. package/dist/common/global.js +0 -50
  21. package/dist/common/gt.js +0 -43
  22. package/dist/common/gte.js +0 -43
  23. package/dist/common/if.js +0 -41
  24. package/dist/common/if_none.js +0 -47
  25. package/dist/common/index.js +0 -69
  26. package/dist/common/input.js +0 -50
  27. package/dist/common/json.js +0 -64
  28. package/dist/common/log.js +0 -33
  29. package/dist/common/lt.js +0 -43
  30. package/dist/common/lte.js +0 -43
  31. package/dist/common/math.js +0 -210
  32. package/dist/common/mql.js +0 -124
  33. package/dist/common/ne.js +0 -43
  34. package/dist/common/not.js +0 -31
  35. package/dist/common/number.js +0 -125
  36. package/dist/common/nunjucks.js +0 -60
  37. package/dist/common/object.js +0 -118
  38. package/dist/common/operator.js +0 -49
  39. package/dist/common/or.js +0 -39
  40. package/dist/common/product.js +0 -45
  41. package/dist/common/random.js +0 -132
  42. package/dist/common/regex.js +0 -65
  43. package/dist/common/state.js +0 -50
  44. package/dist/common/string.js +0 -188
  45. package/dist/common/subtract.js +0 -47
  46. package/dist/common/sum.js +0 -45
  47. package/dist/common/switch.js +0 -49
  48. package/dist/common/type.js +0 -82
  49. package/dist/common/uri.js +0 -67
  50. package/dist/common/url_query.js +0 -50
  51. package/dist/common/user.js +0 -50
  52. package/dist/common/uuid.js +0 -76
  53. package/dist/common/yaml.js +0 -70
  54. package/dist/getFromOtherContext.js +0 -96
  55. package/dist/node/base64.js +0 -69
  56. package/dist/node/diff.js +0 -66
  57. package/dist/node/hash.js +0 -100
  58. package/dist/node/index.js +0 -29
  59. package/dist/node/secret.js +0 -54
  60. package/dist/web/actions.js +0 -46
  61. package/dist/web/base64.js +0 -67
  62. package/dist/web/event_log.js +0 -50
  63. package/dist/web/format.js +0 -52
  64. package/dist/web/index.js +0 -36
  65. package/dist/web/js.js +0 -45
  66. package/dist/web/list_contexts.js +0 -31
  67. package/dist/web/location.js +0 -74
  68. package/dist/web/media.js +0 -90
  69. package/dist/web/menu.js +0 -43
  70. package/dist/web/request.js +0 -56
  71. package/dist/web/request_details.js +0 -50
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _helpers = require("@lowdefy/helpers");
9
-
10
- /*
11
- Copyright 2020-2021 Lowdefy, Inc
12
-
13
- Licensed under the Apache License, Version 2.0 (the "License");
14
- you may not use this file except in compliance with the License.
15
- You may obtain a copy of the License at
16
-
17
- http://www.apache.org/licenses/LICENSE-2.0
18
-
19
- Unless required by applicable law or agreed to in writing, software
20
- distributed under the License is distributed on an "AS IS" BASIS,
21
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
- See the License for the specific language governing permissions and
23
- limitations under the License.
24
- */
25
- function _switch(_ref) {
26
- var {
27
- location,
28
- params
29
- } = _ref;
30
-
31
- if (!_helpers.type.isArray(params.branches)) {
32
- throw new Error("Operator Error: switch takes an array type as input for the branches. Received: ".concat(JSON.stringify(params), " at ").concat(location, "."));
33
- }
34
-
35
- for (var branch of params.branches) {
36
- if (!_helpers.type.isBoolean(branch.if)) {
37
- throw new Error("Operator Error: switch takes a boolean type for parameter test. Received: ".concat(JSON.stringify(params), " at ").concat(location, "."));
38
- }
39
-
40
- if (branch.if === true) {
41
- return branch.then;
42
- }
43
- }
44
-
45
- return params.default;
46
- }
47
-
48
- var _default = _switch;
49
- exports.default = _default;
@@ -1,82 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _helpers = require("@lowdefy/helpers");
9
-
10
- /*
11
- Copyright 2020-2021 Lowdefy, Inc
12
-
13
- Licensed under the Apache License, Version 2.0 (the "License");
14
- you may not use this file except in compliance with the License.
15
- You may obtain a copy of the License at
16
-
17
- http://www.apache.org/licenses/LICENSE-2.0
18
-
19
- Unless required by applicable law or agreed to in writing, software
20
- distributed under the License is distributed on an "AS IS" BASIS,
21
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
- See the License for the specific language governing permissions and
23
- limitations under the License.
24
- */
25
- function _type(_ref) {
26
- var {
27
- location,
28
- params,
29
- state
30
- } = _ref;
31
- var typeName = _helpers.type.isObject(params) ? params.type : params;
32
-
33
- if (!_helpers.type.isString(typeName)) {
34
- throw new Error("Operator Error: _type.type must be a string. Received: ".concat(JSON.stringify(params), " at ").concat(location, "."));
35
- }
36
-
37
- var on = Object.prototype.hasOwnProperty.call(params, 'on') ? params.on : (0, _helpers.get)(state, (0, _helpers.get)(params, 'key', {
38
- default: location
39
- }));
40
-
41
- switch (typeName) {
42
- case 'string':
43
- return _helpers.type.isString(on);
44
-
45
- case 'array':
46
- return _helpers.type.isArray(on);
47
-
48
- case 'date':
49
- return _helpers.type.isDate(on);
50
- // Testing for date is problematic due to stringify
51
-
52
- case 'object':
53
- return _helpers.type.isObject(on);
54
-
55
- case 'boolean':
56
- return _helpers.type.isBoolean(on);
57
-
58
- case 'number':
59
- return _helpers.type.isNumber(on);
60
-
61
- case 'integer':
62
- return _helpers.type.isInt(on);
63
-
64
- case 'null':
65
- return _helpers.type.isNull(on);
66
-
67
- case 'undefined':
68
- return _helpers.type.isUndefined(on);
69
-
70
- case 'none':
71
- return _helpers.type.isNone(on);
72
-
73
- case 'primitive':
74
- return _helpers.type.isPrimitive(on);
75
-
76
- default:
77
- throw new Error("Operator Error: \"".concat(typeName, "\" is not a valid _type test. Received: ").concat(JSON.stringify(params), " at ").concat(location, "."));
78
- }
79
- }
80
-
81
- var _default = _type;
82
- exports.default = _default;
@@ -1,67 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _runClass = _interopRequireDefault(require("../runClass"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
-
12
- /*
13
- Copyright 2020-2021 Lowdefy, Inc
14
-
15
- Licensed under the Apache License, Version 2.0 (the "License");
16
- you may not use this file except in compliance with the License.
17
- You may obtain a copy of the License at
18
-
19
- http://www.apache.org/licenses/LICENSE-2.0
20
-
21
- Unless required by applicable law or agreed to in writing, software
22
- distributed under the License is distributed on an "AS IS" BASIS,
23
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
- See the License for the specific language governing permissions and
25
- limitations under the License.
26
- */
27
- function decode(input) {
28
- return decodeURIComponent(input);
29
- }
30
-
31
- function encode(input) {
32
- return encodeURIComponent(input);
33
- }
34
-
35
- var functions = {
36
- encode,
37
- decode
38
- };
39
- var meta = {
40
- encode: {
41
- singleArg: true,
42
- validTypes: ['string']
43
- },
44
- decode: {
45
- singleArg: true,
46
- validTypes: ['string']
47
- }
48
- };
49
-
50
- function _uri(_ref) {
51
- var {
52
- params,
53
- location,
54
- methodName
55
- } = _ref;
56
- return (0, _runClass.default)({
57
- functions,
58
- location,
59
- meta,
60
- methodName,
61
- operator: '_uri',
62
- params
63
- });
64
- }
65
-
66
- var _default = _uri;
67
- exports.default = _default;
@@ -1,50 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _getFromObject = _interopRequireDefault(require("../getFromObject"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
-
12
- /*
13
- Copyright 2020-2021 Lowdefy, Inc
14
-
15
- Licensed under the Apache License, Version 2.0 (the "License");
16
- you may not use this file except in compliance with the License.
17
- You may obtain a copy of the License at
18
-
19
- http://www.apache.org/licenses/LICENSE-2.0
20
-
21
- Unless required by applicable law or agreed to in writing, software
22
- distributed under the License is distributed on an "AS IS" BASIS,
23
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
- See the License for the specific language governing permissions and
25
- limitations under the License.
26
- */
27
- function _url_query(_ref) {
28
- var {
29
- arrayIndices,
30
- context,
31
- contexts,
32
- env,
33
- location,
34
- params,
35
- urlQuery
36
- } = _ref;
37
- return (0, _getFromObject.default)({
38
- arrayIndices,
39
- context,
40
- contexts,
41
- env,
42
- location,
43
- object: urlQuery,
44
- operator: '_url_query',
45
- params
46
- });
47
- }
48
-
49
- var _default = _url_query;
50
- exports.default = _default;
@@ -1,50 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _getFromObject = _interopRequireDefault(require("../getFromObject"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
-
12
- /*
13
- Copyright 2020-2021 Lowdefy, Inc
14
-
15
- Licensed under the Apache License, Version 2.0 (the "License");
16
- you may not use this file except in compliance with the License.
17
- You may obtain a copy of the License at
18
-
19
- http://www.apache.org/licenses/LICENSE-2.0
20
-
21
- Unless required by applicable law or agreed to in writing, software
22
- distributed under the License is distributed on an "AS IS" BASIS,
23
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
- See the License for the specific language governing permissions and
25
- limitations under the License.
26
- */
27
- function _user(_ref) {
28
- var {
29
- arrayIndices,
30
- context,
31
- contexts,
32
- env,
33
- location,
34
- params,
35
- user
36
- } = _ref;
37
- return (0, _getFromObject.default)({
38
- arrayIndices,
39
- context,
40
- contexts,
41
- env,
42
- location,
43
- object: user,
44
- operator: '_user',
45
- params
46
- });
47
- }
48
-
49
- var _default = _user;
50
- exports.default = _default;
@@ -1,76 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _uuid2 = require("uuid");
9
-
10
- var _helpers = require("@lowdefy/helpers");
11
-
12
- var _runClass = _interopRequireDefault(require("../runClass"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
- /*
17
- Copyright 2020-2021 Lowdefy, Inc
18
-
19
- Licensed under the Apache License, Version 2.0 (the "License");
20
- you may not use this file except in compliance with the License.
21
- You may obtain a copy of the License at
22
-
23
- http://www.apache.org/licenses/LICENSE-2.0
24
-
25
- Unless required by applicable law or agreed to in writing, software
26
- distributed under the License is distributed on an "AS IS" BASIS,
27
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28
- See the License for the specific language governing permissions and
29
- limitations under the License.
30
- */
31
- var meta = {
32
- v1: {
33
- noArgs: true
34
- },
35
- v3: {
36
- namedArgs: ['name', 'namespace'],
37
- validTypes: ['array', 'object']
38
- },
39
- v4: {
40
- noArgs: true
41
- },
42
- v5: {
43
- namedArgs: ['name', 'namespace'],
44
- validTypes: ['array', 'object']
45
- }
46
- };
47
- var functions = {
48
- v1: _uuid2.v1,
49
- v3: _uuid2.v3,
50
- v4: _uuid2.v4,
51
- v5: _uuid2.v5
52
- };
53
-
54
- function _uuid(_ref) {
55
- var {
56
- params,
57
- location,
58
- methodName
59
- } = _ref;
60
-
61
- if (_helpers.type.isNone(methodName) && (_helpers.type.isNone(params) || params === true)) {
62
- return (0, _uuid2.v4)();
63
- }
64
-
65
- return (0, _runClass.default)({
66
- functions: functions,
67
- location,
68
- meta,
69
- methodName,
70
- operator: '_uuid',
71
- params
72
- });
73
- }
74
-
75
- var _default = _uuid;
76
- exports.default = _default;
@@ -1,70 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _jsYaml = _interopRequireDefault(require("js-yaml"));
9
-
10
- var _helpers = require("@lowdefy/helpers");
11
-
12
- var _runClass = _interopRequireDefault(require("../runClass"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
17
-
18
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
19
-
20
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
-
22
- function parse(input) {
23
- if (input === 'undefined') return undefined;
24
-
25
- var loaded = _jsYaml.default.load(input);
26
-
27
- return _helpers.serializer.deserialize(loaded);
28
- }
29
-
30
- function stringify(input, options) {
31
- return _jsYaml.default.dump(_helpers.serializer.serialize(input, {
32
- isoStringDates: true
33
- }), _objectSpread({
34
- sortKeys: true
35
- }, options));
36
- }
37
-
38
- var functions = {
39
- parse,
40
- stringify
41
- };
42
- var meta = {
43
- stringify: {
44
- namedArgs: ['on', 'options'],
45
- validTypes: ['object', 'array']
46
- },
47
- parse: {
48
- singleArg: true,
49
- validTypes: ['string']
50
- }
51
- };
52
-
53
- function _yaml(_ref) {
54
- var {
55
- params,
56
- location,
57
- methodName
58
- } = _ref;
59
- return (0, _runClass.default)({
60
- functions,
61
- location,
62
- meta,
63
- methodName,
64
- operator: '_yaml',
65
- params
66
- });
67
- }
68
-
69
- var _default = _yaml;
70
- exports.default = _default;
@@ -1,96 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _helpers = require("@lowdefy/helpers");
9
-
10
- /*
11
- Copyright 2020-2021 Lowdefy, Inc
12
-
13
- Licensed under the Apache License, Version 2.0 (the "License");
14
- you may not use this file except in compliance with the License.
15
- You may obtain a copy of the License at
16
-
17
- http://www.apache.org/licenses/LICENSE-2.0
18
-
19
- Unless required by applicable law or agreed to in writing, software
20
- distributed under the License is distributed on an "AS IS" BASIS,
21
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
- See the License for the specific language governing permissions and
23
- limitations under the License.
24
- */
25
- function addListener(_ref) {
26
- var {
27
- context,
28
- targetContext
29
- } = _ref;
30
-
31
- if (context.id === targetContext.id) {
32
- return;
33
- }
34
-
35
- targetContext.updateListeners.add(context.id);
36
- }
37
-
38
- function getFromOtherContext(_ref2) {
39
- var {
40
- params,
41
- context,
42
- contexts,
43
- arrayIndices,
44
- operator,
45
- location
46
- } = _ref2;
47
- var {
48
- contextId
49
- } = params;
50
-
51
- if (!_helpers.type.isString(contextId)) {
52
- throw new Error("Operator Error: ".concat(operator, ".contextId must be of type string. Received: ").concat(JSON.stringify(params), " at ").concat(location, "."));
53
- }
54
-
55
- var contextKeys = {
56
- _event_log: 'eventLog',
57
- _state: 'state',
58
- _input: "lowdefy.inputs.".concat(contextId),
59
- _global: 'lowdefy.lowdefyGlobal',
60
- _request_details: 'requests',
61
- _mutation_details: 'mutations',
62
- _url_query: 'lowdefy.urlQuery'
63
- };
64
-
65
- if (_helpers.type.isUndefined(contextKeys[operator])) {
66
- throw new Error("Operator Error: Cannot use ".concat(operator, " to get from another context. Received: ").concat(JSON.stringify(params), " at ").concat(location, "."));
67
- }
68
-
69
- var targetContext = contexts[contextId];
70
-
71
- if (!_helpers.type.isObject(targetContext)) {
72
- throw new Error("Operator Error: Context ".concat(contextId, " not found. Received: ").concat(JSON.stringify(params), " at ").concat(location, "."));
73
- }
74
-
75
- addListener({
76
- context,
77
- targetContext
78
- });
79
- var object = (0, _helpers.get)(targetContext, contextKeys[operator]);
80
- if (params.all === true) return object;
81
-
82
- if (_helpers.type.isString(params.key)) {
83
- return (0, _helpers.get)(object, (0, _helpers.applyArrayIndices)(arrayIndices, params.key), {
84
- default: (0, _helpers.get)(params, 'default', {
85
- default: null,
86
- copy: true
87
- }),
88
- copy: true
89
- });
90
- }
91
-
92
- return object;
93
- }
94
-
95
- var _default = getFromOtherContext;
96
- exports.default = _default;
@@ -1,69 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _runClass = _interopRequireDefault(require("../runClass"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
-
12
- /*
13
- Copyright 2020-2021 Lowdefy, Inc
14
-
15
- Licensed under the Apache License, Version 2.0 (the "License");
16
- you may not use this file except in compliance with the License.
17
- You may obtain a copy of the License at
18
-
19
- http://www.apache.org/licenses/LICENSE-2.0
20
-
21
- Unless required by applicable law or agreed to in writing, software
22
- distributed under the License is distributed on an "AS IS" BASIS,
23
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
- See the License for the specific language governing permissions and
25
- limitations under the License.
26
- */
27
- function decode(input) {
28
- var buff = Buffer.from(input, 'base64');
29
- return buff.toString('utf8');
30
- }
31
-
32
- function encode(input) {
33
- var buff = Buffer.from(input, 'utf8');
34
- return buff.toString('base64');
35
- }
36
-
37
- var functions = {
38
- encode,
39
- decode
40
- };
41
- var meta = {
42
- encode: {
43
- singleArg: true,
44
- validTypes: ['string']
45
- },
46
- decode: {
47
- singleArg: true,
48
- validTypes: ['string']
49
- }
50
- };
51
-
52
- function _base64(_ref) {
53
- var {
54
- params,
55
- location,
56
- methodName
57
- } = _ref;
58
- return (0, _runClass.default)({
59
- functions,
60
- location,
61
- meta,
62
- methodName,
63
- operator: '_base64',
64
- params
65
- });
66
- }
67
-
68
- var _default = _base64;
69
- exports.default = _default;
package/dist/node/diff.js DELETED
@@ -1,66 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _deepDiff = require("deep-diff");
9
-
10
- var _runClass = _interopRequireDefault(require("../runClass"));
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
- /*
15
- Copyright 2020-2021 Lowdefy, Inc
16
-
17
- Licensed under the Apache License, Version 2.0 (the "License");
18
- you may not use this file except in compliance with the License.
19
- You may obtain a copy of the License at
20
-
21
- http://www.apache.org/licenses/LICENSE-2.0
22
-
23
- Unless required by applicable law or agreed to in writing, software
24
- distributed under the License is distributed on an "AS IS" BASIS,
25
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26
- See the License for the specific language governing permissions and
27
- limitations under the License.
28
- */
29
- function deep(lhs, rhs) {
30
- var result = (0, _deepDiff.diff)(lhs, rhs);
31
-
32
- if (!result) {
33
- return [];
34
- }
35
-
36
- return result;
37
- }
38
-
39
- var functions = {
40
- deep
41
- };
42
- var meta = {
43
- deep: {
44
- namedArgs: ['lhs', 'rhs'],
45
- validTypes: ['object', 'array']
46
- }
47
- };
48
-
49
- function _diff(_ref) {
50
- var {
51
- params,
52
- location,
53
- methodName
54
- } = _ref;
55
- return (0, _runClass.default)({
56
- functions,
57
- location,
58
- meta,
59
- methodName,
60
- operator: '_diff',
61
- params
62
- });
63
- }
64
-
65
- var _default = _diff;
66
- exports.default = _default;