@vivari/react 1.2.1 → 1.3.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ From 1.1.0 on, entries are generated from [changesets](https://github.com/change
4
4
  `@vivari/core` and `@vivari/react` are released together under the same version, so a release
5
5
  that says "No changes in this release" changed only `@vivari/core`.
6
6
 
7
+ ## 1.3.1
8
+
9
+ ### Patch Changes
10
+
11
+ - [`d13e37f`](https://github.com/maitrungduc1410/vivari/commit/d13e37f3cd757c4d647f53e859f97c8fe1f5ac0b) Thanks [@maitrungduc1410](https://github.com/maitrungduc1410)! - ES modules that put a comment inside an `import { … }` or `export { … }` list now load correctly. parse5 8.1 does this, and the comment was being read as part of the name, so the export came out `undefined`; Astro Starlight pages that render Markdown failed with a 500 `MDXError`.
12
+
13
+ ## 1.3.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [`3bc9309`](https://github.com/maitrungduc1410/vivari/commit/3bc93091a7545d546809f44e297cbd4b2e924347) Thanks [@maitrungduc1410](https://github.com/maitrungduc1410)! - The bundled pnpm is now 11. `tls.connect` to an outside host works for HTTP/1.1 clients such as the undici pnpm 11 ships: requests written into the socket are answered through fetch, and anything that is not HTTP is refused by name. New `vivari.snapshot(path)` and `vivari.restore(bytes, { mountPoint })` pack a directory, `node_modules` included, into opaque bytes and unpack them, so a warmed project can skip its install next session; restore validates the bytes before writing anything. `vivari.spawn(..., { terminal: { cols, rows } })` and `proc.resize({ cols, rows })` give a process its real terminal size: it sees `process.stdout.columns`/`rows`, then a `'resize'` event and `SIGWINCH` when the size changes, and children inherit it. `vivari.export()` now returns each file's bytes as `contents`, as documented; it used to leave `contents` undefined.
18
+
7
19
  ## 1.2.1
8
20
 
9
21
  No changes in this release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vivari/react",
3
- "version": "1.2.1",
3
+ "version": "1.3.1",
4
4
  "description": "React bindings for Vivari. Run Node, Bun and Python projects fully client-side in the browser, embedded in your React app.",
5
5
  "keywords": [
6
6
  "webcontainer",
@@ -45,12 +45,12 @@
45
45
  "typecheck": "tsc -p tsconfig.json --noEmit"
46
46
  },
47
47
  "peerDependencies": {
48
- "@vivari/core": "^1.2.1",
48
+ "@vivari/core": "^1.3.1",
49
49
  "react": "^18.0.0 || ^19.0.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/react": "^19.2.18",
53
- "@vivari/core": "^1.2.1",
53
+ "@vivari/core": "^1.3.1",
54
54
  "react": "^19.2.8",
55
55
  "typescript": "~6.0.2",
56
56
  "vite": "^8.2.0"