@rsvelte/vite-plugin-svelte-native 0.3.2 → 0.3.3
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/envelope.js +1 -1
- package/index.d.ts +2 -1
- package/package.json +6 -6
package/envelope.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Lazy decoder for the Rust↔JS raw-transfer envelope produced by
|
|
2
2
|
// `binding.compileEnvelope`. The byte format is owned by
|
|
3
|
-
// `src/napi_raw.rs`; keep both ends in sync.
|
|
3
|
+
// `crates/rsvelte_bindings_support/src/napi_raw.rs`; keep both ends in sync.
|
|
4
4
|
//
|
|
5
5
|
// The returned object is shaped like the legacy `compile()` result
|
|
6
6
|
// (`{ js: { code, map }, css: {…}|null, warnings: […], metadata, ast }`)
|
package/index.d.ts
CHANGED
|
@@ -180,7 +180,8 @@ export function compileModule(
|
|
|
180
180
|
/**
|
|
181
181
|
* Lower-level raw-transfer entry point. Returns a single `Buffer`
|
|
182
182
|
* containing the entire compile result in the rsvelte envelope format
|
|
183
|
-
* (see `src/napi_raw.rs`). Pair with
|
|
183
|
+
* (see `crates/rsvelte_bindings_support/src/napi_raw.rs`). Pair with
|
|
184
|
+
* {@link decodeEnvelope} to obtain
|
|
184
185
|
* the legacy {@link CompileResult} shape; or pass the buffer through
|
|
185
186
|
* worker `postMessage` (transferable) to avoid a copy.
|
|
186
187
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsvelte/vite-plugin-svelte-native",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "NAPI bindings to the rsvelte compiler — used by the @rsvelte vite-plugin-svelte shim",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"index.d.ts"
|
|
30
30
|
],
|
|
31
31
|
"optionalDependencies": {
|
|
32
|
-
"@rsvelte/vite-plugin-svelte-native-darwin-arm64": "^0.3.
|
|
33
|
-
"@rsvelte/vite-plugin-svelte-native-darwin-x64": "^0.3.
|
|
34
|
-
"@rsvelte/vite-plugin-svelte-native-linux-arm64-gnu": "^0.3.
|
|
35
|
-
"@rsvelte/vite-plugin-svelte-native-linux-x64-gnu": "^0.3.
|
|
36
|
-
"@rsvelte/vite-plugin-svelte-native-win32-x64-msvc": "^0.3.
|
|
32
|
+
"@rsvelte/vite-plugin-svelte-native-darwin-arm64": "^0.3.3",
|
|
33
|
+
"@rsvelte/vite-plugin-svelte-native-darwin-x64": "^0.3.3",
|
|
34
|
+
"@rsvelte/vite-plugin-svelte-native-linux-arm64-gnu": "^0.3.3",
|
|
35
|
+
"@rsvelte/vite-plugin-svelte-native-linux-x64-gnu": "^0.3.3",
|
|
36
|
+
"@rsvelte/vite-plugin-svelte-native-win32-x64-msvc": "^0.3.3"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|