@opra/sqb 1.14.0 → 1.15.1
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.
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const common_1 = require("@opra/common");
|
|
4
4
|
const connect_1 = require("@sqb/connect");
|
|
5
5
|
const oldDecorator = common_1.MixinType[common_1.DECORATOR];
|
|
6
|
-
common_1.MixinType[common_1.DECORATOR] = function (...
|
|
7
|
-
const filteredSources =
|
|
8
|
-
const target = oldDecorator(...
|
|
6
|
+
common_1.MixinType[common_1.DECORATOR] = function (...args) {
|
|
7
|
+
const filteredSources = args[0].filter(x => typeof x === 'function');
|
|
8
|
+
const target = oldDecorator(...args);
|
|
9
9
|
connect_1.Entity.mixin(target, ...filteredSources);
|
|
10
10
|
return target;
|
|
11
11
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DECORATOR, MixinType } from '@opra/common';
|
|
2
2
|
import { Entity } from '@sqb/connect';
|
|
3
3
|
const oldDecorator = MixinType[DECORATOR];
|
|
4
|
-
MixinType[DECORATOR] = function (...
|
|
5
|
-
const filteredSources =
|
|
6
|
-
const target = oldDecorator(...
|
|
4
|
+
MixinType[DECORATOR] = function (...args) {
|
|
5
|
+
const filteredSources = args[0].filter(x => typeof x === 'function');
|
|
6
|
+
const target = oldDecorator(...args);
|
|
7
7
|
Entity.mixin(target, ...filteredSources);
|
|
8
8
|
return target;
|
|
9
9
|
};
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/sqb",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.1",
|
|
4
4
|
"description": "Opra SQB adapter package",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"reflect-metadata": "^0.2.2",
|
|
9
9
|
"tslib": "^2.8.1",
|
|
10
|
-
"valgen": "^5.
|
|
10
|
+
"valgen": "^5.15.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@opra/core": "^1.
|
|
14
|
-
"@opra/http": "^1.
|
|
13
|
+
"@opra/core": "^1.15.1",
|
|
14
|
+
"@opra/http": "^1.15.1",
|
|
15
15
|
"@sqb/connect": "^4.19.5"
|
|
16
16
|
},
|
|
17
17
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"types": "./types/index.d.ts",
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
37
|
-
"url": "https://github.com/panates/opra.git",
|
|
37
|
+
"url": "git+https://github.com/panates/opra.git",
|
|
38
38
|
"directory": "packages/sqb"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"opra",
|
|
54
54
|
"sqb",
|
|
55
55
|
"adapter"
|
|
56
|
-
]
|
|
56
|
+
],
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"access": "public"
|
|
59
|
+
}
|
|
57
60
|
}
|