@objectstack/core 1.0.8 → 1.0.10
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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +13 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/kernel.ts +3 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @objectstack/core@1.0.
|
|
2
|
+
> @objectstack/core@1.0.10 build /home/runner/work/spec/spec/packages/core
|
|
3
3
|
> tsup --config ../../tsup.config.ts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m130.65 KB[39m
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m270.32 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 94ms
|
|
16
|
+
[32mESM[39m [1mdist/index.js [22m[32m128.03 KB[39m
|
|
17
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m269.08 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 96ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 3885ms
|
|
21
21
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m52.43 KB[39m
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m52.43 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @objectstack/core
|
|
2
2
|
|
|
3
|
+
## 1.0.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 10f52e1: fix: silence unhandled promise rejections when checking for async services in kernel
|
|
8
|
+
- @objectstack/spec@1.0.10
|
|
9
|
+
|
|
10
|
+
## 1.0.9
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- @objectstack/spec@1.0.9
|
|
15
|
+
|
|
3
16
|
## 1.0.8
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -1011,6 +1011,8 @@ var ObjectKernel = class {
|
|
|
1011
1011
|
try {
|
|
1012
1012
|
const service2 = this.pluginLoader.getService(name);
|
|
1013
1013
|
if (service2 instanceof Promise) {
|
|
1014
|
+
service2.catch(() => {
|
|
1015
|
+
});
|
|
1014
1016
|
throw new Error(`Service '${name}' is async - use await`);
|
|
1015
1017
|
}
|
|
1016
1018
|
return service2;
|