@objectstack/core 1.0.9 → 1.0.11

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @objectstack/core@1.0.9 build /home/runner/work/spec/spec/packages/core
2
+ > @objectstack/core@1.0.11 build /home/runner/work/spec/spec/packages/core
3
3
  > tsup --config ../../tsup.config.ts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,13 +10,13 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- CJS dist/index.cjs 130.60 KB
14
- CJS dist/index.cjs.map 269.99 KB
15
- CJS ⚡️ Build success in 98ms
16
- ESM dist/index.js 127.98 KB
17
- ESM dist/index.js.map 268.74 KB
18
- ESM ⚡️ Build success in 98ms
13
+ CJS dist/index.cjs 130.65 KB
14
+ CJS dist/index.cjs.map 270.32 KB
15
+ CJS ⚡️ Build success in 88ms
16
+ ESM dist/index.js 128.03 KB
17
+ ESM dist/index.js.map 269.08 KB
18
+ ESM ⚡️ Build success in 88ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 3806ms
20
+ DTS ⚡️ Build success in 3826ms
21
21
  DTS dist/index.d.ts 52.43 KB
22
22
  DTS dist/index.d.cts 52.43 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @objectstack/core
2
2
 
3
+ ## 1.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - @objectstack/spec@1.0.11
8
+
9
+ ## 1.0.10
10
+
11
+ ### Patch Changes
12
+
13
+ - 10f52e1: fix: silence unhandled promise rejections when checking for async services in kernel
14
+ - @objectstack/spec@1.0.10
15
+
3
16
  ## 1.0.9
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;