@vivari/react 1.0.2 → 1.1.0
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/CHANGELOG.md +27 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# @vivari/react
|
|
2
|
+
|
|
3
|
+
From 1.1.0 on, entries are generated from [changesets](https://github.com/changesets/changesets).
|
|
4
|
+
`@vivari/core` and `@vivari/react` are released together under the same version, so a release
|
|
5
|
+
that says "No changes in this release" changed only `@vivari/core`.
|
|
6
|
+
|
|
7
|
+
## 1.1.0
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- [#9](https://github.com/maitrungduc1410/vivari/pull/9) [`973e503`](https://github.com/maitrungduc1410/vivari/commit/973e503c1b1a5e4c792635b2cc1bd8f43442f12e) Thanks [@ThailerL](https://github.com/ThailerL)! - Add a `connection` event (with the `ConnectionEvent` and `ConnectionListener` types) that fires when one process in the VM opens a TCP connection to a server in another, before either end can send anything. It reports the server's port, the connection's `remotePort`, both pids, and the client's still-running ancestors.
|
|
12
|
+
|
|
13
|
+
## 1.0.3
|
|
14
|
+
|
|
15
|
+
No changes in this release.
|
|
16
|
+
|
|
17
|
+
## 1.0.2
|
|
18
|
+
|
|
19
|
+
No changes in this release.
|
|
20
|
+
|
|
21
|
+
## 1.0.1
|
|
22
|
+
|
|
23
|
+
No changes in this release.
|
|
24
|
+
|
|
25
|
+
## 1.0.0
|
|
26
|
+
|
|
27
|
+
First release: the `<Vivari>` component and the `useVivari()` hook.
|
package/dist/index.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ export type { UseVivariFileHandle, UseVivariFileOptions, VivariFileStatus, } fro
|
|
|
13
13
|
export { useVivariDir } from "./useVivariDir";
|
|
14
14
|
export type { UseVivariDirOptions, UseVivariDirResult, VivariDirStatus } from "./useVivariDir";
|
|
15
15
|
export { isCrossOriginIsolated, resetVfs, VivariError, VivariFsError } from "@vivari/core";
|
|
16
|
-
export type { BootOptions, DirectoryNode, DirEnt, Encoding, ErrorListener, ExportedFile, ExportOptions, ExportResult, FileNode, FileSystemAPI, FileSystemTree, FsChangeEvent, FsChangeKind, FsChangeListener, FsOperationOptions, FSWatcher, KernelMessage, ListenerOptions, MountOptions, OutputStream, PortKind, PortListener, ServerReadyListener, SpawnOptions, Stats, Unsubscribe, VivariEventMap, VivariErrorCode, VivariFsErrorCode, VivariListener, VivariProcess, VivariRuntimeErrorCode, WatchOptions, Vivari as VivariInstance, } from "@vivari/core";
|
|
16
|
+
export type { BootOptions, ConnectionEvent, ConnectionListener, DirectoryNode, DirEnt, Encoding, ErrorListener, ExportedFile, ExportOptions, ExportResult, FileNode, FileSystemAPI, FileSystemTree, FsChangeEvent, FsChangeKind, FsChangeListener, FsOperationOptions, FSWatcher, KernelMessage, ListenerOptions, MountOptions, OutputStream, PortKind, PortListener, ServerReadyListener, SpawnOptions, Stats, Unsubscribe, VivariEventMap, VivariErrorCode, VivariFsErrorCode, VivariListener, VivariProcess, VivariRuntimeErrorCode, WatchOptions, Vivari as VivariInstance, } from "@vivari/core";
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAChF,Y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mB,EACnB,YAAY,EACZ,KAAK,EACL,WAAW,EACX,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,sBAAsB,EACtB,YAAY,EACZ,MAAM,IAAI,cAAc,GACzB,MAAM,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vivari/react",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
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",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"files": [
|
|
29
29
|
"dist",
|
|
30
|
-
"README.md"
|
|
30
|
+
"README.md",
|
|
31
|
+
"CHANGELOG.md"
|
|
31
32
|
],
|
|
32
33
|
"main": "./dist/index.js",
|
|
33
34
|
"module": "./dist/index.js",
|
|
@@ -44,12 +45,12 @@
|
|
|
44
45
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
45
46
|
},
|
|
46
47
|
"peerDependencies": {
|
|
47
|
-
"@vivari/core": "^1.0
|
|
48
|
+
"@vivari/core": "^1.1.0",
|
|
48
49
|
"react": "^18.0.0 || ^19.0.0"
|
|
49
50
|
},
|
|
50
51
|
"devDependencies": {
|
|
51
52
|
"@types/react": "^19.2.18",
|
|
52
|
-
"@vivari/core": "^1.0
|
|
53
|
+
"@vivari/core": "^1.1.0",
|
|
53
54
|
"react": "^19.2.8",
|
|
54
55
|
"typescript": "~6.0.2",
|
|
55
56
|
"vite": "^8.2.0"
|