@bun-native/cli 0.37.9 → 0.37.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.
package/README.md CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  Create, check, run and AOT-build Bun Native desktop applications.
4
4
 
5
- Part of [Bun Native](https://github.com/AndrewM-F/bun-native), an experimental developer preview. Version 0.37.9 was built from [6ff07451d491](https://github.com/AndrewM-F/bun-native/tree/6ff07451d49182cce3e672dea4944b2591bf6848) 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/6ff07451d49182cce3e672dea4944b2591bf6848/docs/getting-started.md); `bun-native host install` fetches the matching release host. The license notice is in LICENSE.
5
+ Part of [Bun Native](https://github.com/AndrewM-F/bun-native), an experimental developer preview. Version 0.37.11 was built from [580b4fdd670b](https://github.com/AndrewM-F/bun-native/tree/580b4fdd670bc81e4f0da5003b740b41b0ec8468) 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/580b4fdd670bc81e4f0da5003b740b41b0ec8468/docs/getting-started.md); `bun-native host install` fetches the matching release host. The license notice is in LICENSE.
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "commit": "6ff07451d49182cce3e672dea4944b2591bf6848",
4
- "tree": "55e85af00d95f1a2f5b2086fcbba70c655635eb7",
3
+ "commit": "580b4fdd670bc81e4f0da5003b740b41b0ec8468",
4
+ "tree": "6e092a5f0e1ebdebe32e68dffcafd8c7e5950be4",
5
5
  "files": {
6
6
  "package.json": {
7
- "bytes": 2259,
8
- "sha256": "4dd69b350d772ec187f628b90a572ccad4f65b848649af4d22eebb0544d207bd"
7
+ "bytes": 2260,
8
+ "sha256": "7c33937116bb7ad839c645c21378ba7045c052fbbac70c2049158614a4dbae6f"
9
9
  },
10
10
  ".oxfmtrc.json": {
11
11
  "bytes": 430,
@@ -88,8 +88,8 @@
88
88
  "sha256": "79fd8a3a0f4e74f4e312cb511beec9e4893eb18b7ddef8c1179dcff47fc3e858"
89
89
  },
90
90
  "scripts/native/package-stamp.ts": {
91
- "bytes": 7982,
92
- "sha256": "b622a5c2e60da5f804425b37181e573008b1c468afbf9cfe6cab472145cc6e3a"
91
+ "bytes": 8173,
92
+ "sha256": "0d2d71d9bbc7e0da5d4fb33b49fa6305617d9ca27f8145efcdf8d105428f422c"
93
93
  },
94
94
  "scripts/native/paths.ts": {
95
95
  "bytes": 806,
@@ -125,7 +125,7 @@
125
125
  },
126
126
  "toolchain.json": {
127
127
  "bytes": 3234,
128
- "sha256": "9f4d9362cb4cc38c0f4e705295789a0cbfec46ffdd007e0541b9441a7c3003a7"
128
+ "sha256": "2c6573032ee32feb20c1ffbbb9a44213a407c81aec284d4dee5355f29e277397"
129
129
  },
130
130
  "tsconfig.json": {
131
131
  "bytes": 1104,
@@ -138,10 +138,10 @@
138
138
  },
139
139
  "toolchain": {
140
140
  "bytes": 3234,
141
- "sha256": "9f4d9362cb4cc38c0f4e705295789a0cbfec46ffdd007e0541b9441a7c3003a7"
141
+ "sha256": "2c6573032ee32feb20c1ffbbb9a44213a407c81aec284d4dee5355f29e277397"
142
142
  },
143
143
  "dependencyLock": {
144
- "bytes": 28710,
145
- "sha256": "bcb9fb02ef98d0ef7cd39772ebbc5906ed02f0ebd1a6e806b6cb0e1d56583b60"
144
+ "bytes": 28444,
145
+ "sha256": "51a84021725673c75a07fea229c48a2d8dadc00c8deb14e826ce1525cf3aa2d0"
146
146
  }
147
147
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bun-native/cli",
3
- "version": "0.37.9",
3
+ "version": "0.37.11",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -10,14 +10,14 @@
10
10
  "bun-native-source.json"
11
11
  ],
12
12
  "engines": {
13
- "bun": "1.4.4-canary.1"
13
+ "bun": "1.4.6-canary.1"
14
14
  },
15
15
  "bin": {
16
16
  "bun-native": "./src/scripts/native.ts"
17
17
  },
18
18
  "description": "Create, check, run and AOT-build Bun Native desktop applications.",
19
19
  "dependencies": {
20
- "oxlint": "1.94.0"
20
+ "oxlint": "1.95.0"
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",
@@ -34,27 +34,27 @@
34
34
  "templates": {
35
35
  "solid": {
36
36
  "dependencies": {
37
- "@bun-native/core": "0.37.9",
38
- "@bun-native/solid": "0.37.9",
37
+ "@bun-native/core": "0.37.11",
38
+ "@bun-native/solid": "0.37.11",
39
39
  "solid-js": "1.9.20"
40
40
  },
41
41
  "devDependencies": {
42
- "@bun-native/cli": "0.37.9",
42
+ "@bun-native/cli": "0.37.11",
43
43
  "@types/bun": "1.4.4",
44
- "oxlint": "1.94.0"
44
+ "oxlint": "1.95.0"
45
45
  }
46
46
  },
47
47
  "react": {
48
48
  "dependencies": {
49
- "@bun-native/core": "0.37.9",
50
- "@bun-native/react": "0.37.9",
49
+ "@bun-native/core": "0.37.11",
50
+ "@bun-native/react": "0.37.11",
51
51
  "react": "19.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@bun-native/cli": "0.37.9",
54
+ "@bun-native/cli": "0.37.11",
55
55
  "@types/bun": "1.4.4",
56
- "oxlint": "1.94.0",
57
- "@types/react": "19.3.0",
56
+ "oxlint": "1.95.0",
57
+ "@types/react": "19.3.3",
58
58
  "@types/react-reconciler": "0.34.1"
59
59
  }
60
60
  }
@@ -1,4 +1,4 @@
1
- import { lstat, mkdir, rename, rm, writeFile } from 'node:fs/promises'
1
+ import { lstat, mkdir, readdir, rename, rm, writeFile } from 'node:fs/promises'
2
2
  import { dirname, join, relative, resolve, sep } from 'node:path'
3
3
  import { isDeepStrictEqual } from 'node:util'
4
4
  import toolchain from '../../toolchain.json'
@@ -12,13 +12,14 @@ import { userCache } from './context.ts'
12
12
  * the consumer lock, and walks and hashes every installed file. `build`, `create`
13
13
  * and `doctor` always do that. The light commands (`check`, `format`, `lint`,
14
14
  * `dev` and each watch remount) may instead accept a stamp that the last full
15
- * verification left in `.bun-native/verified.json`. The stamp records the
15
+ * verification left in the user cache. The stamp records the
16
16
  * manifest digest and the lstat identity (device, inode, mode, size, mtime and
17
17
  * ctime in nanoseconds) of every path that verification read: the manifest,
18
18
  * each archive, `bun.lock`, `node_modules`, each required package root, each of
19
- * its directories and installed files, and the verifier's own modules. Any
20
- * write, replacement, added or removed entry changes one of those identities,
21
- * and a miss falls back to full verification. A stamp hit trusts file system
19
+ * its directories and installed files, and the verifier's own modules. Each
20
+ * directory also records its sorted entry names because its timestamps can
21
+ * remain unchanged after an addition or removal. A miss falls back to full
22
+ * verification. A stamp hit trusts file system
22
23
  * metadata; it is a cache for local edit loops, not a security boundary.
23
24
  */
24
25
  export type VerifiedPackageSet = {
@@ -57,7 +58,17 @@ const verifier = [
57
58
  async function identity(path: string): Promise<string | undefined> {
58
59
  const stats = await lstat(path, { bigint: true })
59
60
  if (!stats.isFile() && !stats.isDirectory()) return undefined
60
- return [stats.dev, stats.ino, stats.mode, stats.size, stats.mtimeNs, stats.ctimeNs].join(':')
61
+ const metadata = [
62
+ stats.dev,
63
+ stats.ino,
64
+ stats.mode,
65
+ stats.size,
66
+ stats.mtimeNs,
67
+ stats.ctimeNs,
68
+ ].join(':')
69
+ return stats.isDirectory()
70
+ ? `${metadata}:${JSON.stringify((await readdir(path)).sort())}`
71
+ : metadata
61
72
  }
62
73
 
63
74
  async function identities(
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "bun": {
4
- "version": "1.4.4-canary.1",
5
- "revision": "b1007f1177fd402fae67387b8548cae5ae9b5707",
6
- "cliRevision": "1.4.4-canary.1+b1007f117",
7
- "source": "https://github.com/oven-sh/bun/tree/b1007f1177fd402fae67387b8548cae5ae9b5707",
4
+ "version": "1.4.6-canary.1",
5
+ "revision": "eb788fcfeac80f6e701a25086672237775e02fe3",
6
+ "cliRevision": "1.4.6-canary.1+eb788fcfe",
7
+ "source": "https://github.com/oven-sh/bun/tree/eb788fcfeac80f6e701a25086672237775e02fe3",
8
8
  "compileArguments": [
9
9
  "--no-install",
10
10
  "compile",
@@ -16,49 +16,49 @@
16
16
  "packages": {
17
17
  "linux-x64": {
18
18
  "name": "@oven/bun-linux-x64",
19
- "version": "1.4.4-canary.20261105.1+b1007f1",
20
- "url": "https://registry.npmjs.org/@oven/bun-linux-x64/-/bun-linux-x64-1.4.4-canary.20261105.1.tgz",
21
- "integrity": "sha512-eJqVFA3brmF4UPBynqjPbQEKvId1TvdThVuYUmtP4J/VVs42iKOd6M7mfp4DnRd4sOqY7FClDaPf04J4tun5Gw==",
22
- "unpackedSize": 140680988,
19
+ "version": "1.4.5-canary.20261203.1+eb788fc",
20
+ "url": "https://registry.npmjs.org/@oven/bun-linux-x64/-/bun-linux-x64-1.4.5-canary.20261203.1.tgz",
21
+ "integrity": "sha512-NDyh1NZhasHJ+B2gsay+fGr4qy+a9EcO6zSzbjYZhtQTu7uHXD69PNyqLSruOqAd9c8q+G7apTqsNp7Jvm1t6Q==",
22
+ "unpackedSize": 158313420,
23
23
  "executable": {
24
- "bytes": 140680448,
25
- "sha256": "8f55345e8a878f2b4f9b233184ffa424fdd67667fa70c16b1f11a1ae8387e9ab"
24
+ "bytes": 158312880,
25
+ "sha256": "d62fcb84a9b7f1ee96b0abff615a4801e9abdd129c1840d1480b988c7474e33d"
26
26
  }
27
27
  },
28
28
  "linux-arm64": {
29
29
  "name": "@oven/bun-linux-aarch64",
30
- "version": "1.4.4-canary.20261105.1+b1007f1",
31
- "url": "https://registry.npmjs.org/@oven/bun-linux-aarch64/-/bun-linux-aarch64-1.4.4-canary.20261105.1.tgz",
32
- "integrity": "sha512-6ASK2HEbe9/DK7KUXVjRifcQUNY6Cykz/JP8Z1uoNOMlUlh7NeC5pWJA3qWsaWvB/sy3Ozl0fUNNaT9xt31ebw==",
33
- "unpackedSize": 142145540
30
+ "version": "1.4.5-canary.20261203.1+eb788fc",
31
+ "url": "https://registry.npmjs.org/@oven/bun-linux-aarch64/-/bun-linux-aarch64-1.4.5-canary.20261203.1.tgz",
32
+ "integrity": "sha512-ziVaintC09haRmNviXU2K3eecoZHqyfZjEJdNTebeJwbF8kx5X7Ar+J9I5PucXE9m5yXJnNdiqDbT5BSakifCg==",
33
+ "unpackedSize": 141751452
34
34
  },
35
35
  "darwin-x64": {
36
36
  "name": "@oven/bun-darwin-x64",
37
- "version": "1.4.4-canary.20261105.1+b1007f1",
38
- "url": "https://registry.npmjs.org/@oven/bun-darwin-x64/-/bun-darwin-x64-1.4.4-canary.20261105.1.tgz",
39
- "integrity": "sha512-QJLJxX78hR/rZTY/j/yQJ2Baf/x4m74HzDG5Z3ePGWM9f8gCIbVFd17KHEvH7F4VbrGZF+sLAyH/WXzVMkGuvA==",
40
- "unpackedSize": 134455089
37
+ "version": "1.4.5-canary.20261203.1+eb788fc",
38
+ "url": "https://registry.npmjs.org/@oven/bun-darwin-x64/-/bun-darwin-x64-1.4.5-canary.20261203.1.tgz",
39
+ "integrity": "sha512-JgvUuHTcvAN5xU1Djm4gsNfx7Ql1SopTTNvoJ2jfTW09Aig6FPkZvO/+Kv8u43djBxjurqqM1EWWD24K/f98Lg==",
40
+ "unpackedSize": 149510817
41
41
  },
42
42
  "darwin-arm64": {
43
43
  "name": "@oven/bun-darwin-aarch64",
44
- "version": "1.4.4-canary.20261105.1+b1007f1",
45
- "url": "https://registry.npmjs.org/@oven/bun-darwin-aarch64/-/bun-darwin-aarch64-1.4.4-canary.20261105.1.tgz",
46
- "integrity": "sha512-qEQgT/3BrHUFchVvCzEMIw/SrQTR+9waTTQo/FLdyOt5OiFUdTlKrHDjIS9w9XMK+b6UdA6iVJs+B2VVnWv6iw==",
47
- "unpackedSize": 123685464
44
+ "version": "1.4.5-canary.20261203.1+eb788fc",
45
+ "url": "https://registry.npmjs.org/@oven/bun-darwin-aarch64/-/bun-darwin-aarch64-1.4.5-canary.20261203.1.tgz",
46
+ "integrity": "sha512-KQn3uv+1uHu6BU5TrF8oerjzwgQt8p9AveKcIntNHwff3mN/NF4kJaqvhQfzCDX3tiS82TnczCvUpzKcP7N1Kw==",
47
+ "unpackedSize": 139445544
48
48
  },
49
49
  "win32-x64": {
50
50
  "name": "@oven/bun-windows-x64",
51
- "version": "1.4.4-canary.20261105.1+b1007f1",
52
- "url": "https://registry.npmjs.org/@oven/bun-windows-x64/-/bun-windows-x64-1.4.4-canary.20261105.1.tgz",
53
- "integrity": "sha512-cy0DX5IP29NyjhNvPyOYqlsThwJlaKOp/3YnT2W9CojTzgQm9leZHmNQEIu/Kbip4M3LTEWd6gtVL73HvCoR6Q==",
54
- "unpackedSize": 149885955
51
+ "version": "1.4.5-canary.20261203.1+eb788fc",
52
+ "url": "https://registry.npmjs.org/@oven/bun-windows-x64/-/bun-windows-x64-1.4.5-canary.20261203.1.tgz",
53
+ "integrity": "sha512-orwBHDC/ZpFuNPZcBavJ1fTRiAY79NrnNoWmnYKOedW+9ru30v33CbBgNGLF2Cu4RTzaft3o9W8Lt8qnupojWA==",
54
+ "unpackedSize": 161935875
55
55
  },
56
56
  "win32-arm64": {
57
57
  "name": "@oven/bun-windows-aarch64",
58
- "version": "1.4.4-canary.20261105.1+b1007f1",
59
- "url": "https://registry.npmjs.org/@oven/bun-windows-aarch64/-/bun-windows-aarch64-1.4.4-canary.20261105.1.tgz",
60
- "integrity": "sha512-CP7pwT7C7LzhiTBnPPzMpA9DQgP2fZBLuCweSJStZTuu3ig3qzwI3gvqZcInPD7ZtTLZ6oSXGCkSqBMlMpgJBw==",
61
- "unpackedSize": 133801483
58
+ "version": "1.4.5-canary.20261203.1+eb788fc",
59
+ "url": "https://registry.npmjs.org/@oven/bun-windows-aarch64/-/bun-windows-aarch64-1.4.5-canary.20261203.1.tgz",
60
+ "integrity": "sha512-/5187XR1v8HA+3knLWprnGhVetPwYm8Y0p+uGEuxMXRkdshEA7KsvmafAELzEPIBjaZfBxMPD1McX72r2Mbjnw==",
61
+ "unpackedSize": 148197899
62
62
  }
63
63
  }
64
64
  },