@bun-native/core 0.37.0 → 0.37.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.
- package/README.md +1 -1
- package/bun-native-source.json +5 -5
- package/package.json +3 -3
- package/src/events.ts +1 -0
package/README.md
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
The public TypeScript API of the Bun Native desktop framework.
|
|
4
4
|
|
|
5
|
-
Part of [Bun Native](https://github.com/AndrewM-F/bun-native), an experimental developer preview. Version 0.37.
|
|
5
|
+
Part of [Bun Native](https://github.com/AndrewM-F/bun-native), an experimental developer preview. Version 0.37.1 was built from [5d0a1f9359eb](https://github.com/AndrewM-F/bun-native/tree/5d0a1f9359ebbf5b239a1d5693ecbfe026b518ef) and published from GitHub Actions with npm provenance. Use the Bun revision pinned in that commit's toolchain.json. Start with the [getting-started guide](https://github.com/AndrewM-F/bun-native/blob/5d0a1f9359ebbf5b239a1d5693ecbfe026b518ef/docs/getting-started.md); `bun-native host install` fetches the matching release host. The license notice is in LICENSE.
|
package/bun-native-source.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"commit": "
|
|
4
|
-
"tree": "
|
|
3
|
+
"commit": "5d0a1f9359ebbf5b239a1d5693ecbfe026b518ef",
|
|
4
|
+
"tree": "e2df1695e96c32a9a619928c8eeed2fe5c8b71b0",
|
|
5
5
|
"files": {
|
|
6
6
|
"package.json": {
|
|
7
7
|
"bytes": 2259,
|
|
8
|
-
"sha256": "
|
|
8
|
+
"sha256": "804fddee45c41f812f87004404f71730866cca504f130f086a386be585099ffc"
|
|
9
9
|
},
|
|
10
10
|
"packages/core/package.json": {
|
|
11
11
|
"bytes": 282,
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"sha256": "e93885243ad5e060f9fb8ef3c983ce41d25067935039e74d5ac8c2dec537a509"
|
|
41
41
|
},
|
|
42
42
|
"packages/core/src/events.ts": {
|
|
43
|
-
"bytes":
|
|
44
|
-
"sha256": "
|
|
43
|
+
"bytes": 11267,
|
|
44
|
+
"sha256": "1636b25a94f4d7998cfffd6b0ee57b573965d73fcb4ff6bc748bf3523837bcc0"
|
|
45
45
|
},
|
|
46
46
|
"packages/core/src/files.ts": {
|
|
47
47
|
"bytes": 9003,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bun-native/core",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"description": "The public TypeScript API of the Bun Native desktop framework.",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@bun-native/protocol": "0.37.
|
|
22
|
-
"@bun-native/runtime": "0.37.
|
|
21
|
+
"@bun-native/protocol": "0.37.1",
|
|
22
|
+
"@bun-native/runtime": "0.37.1"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
package/src/events.ts
CHANGED
|
@@ -251,6 +251,7 @@ export class EventBindings {
|
|
|
251
251
|
prepare(event: RoutedEvent, path: readonly NativeNode[]): DispatchPlan | undefined {
|
|
252
252
|
// Events without a binding on their path allocate nothing here.
|
|
253
253
|
const { capture, bubble } = bindingKeys[event.type]
|
|
254
|
+
if (this.nodes.size === 0) return
|
|
254
255
|
const target = path.length - 1
|
|
255
256
|
let deliveries: Delivery[] | undefined
|
|
256
257
|
for (let index = 0; index < path.length; index++) {
|