@rsvelte/compiler 0.1.0 → 0.2.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/index.cjs +2 -2
- package/index.js +2 -2
- package/package.json +3 -2
package/index.cjs
CHANGED
|
@@ -73,7 +73,7 @@ module.exports.migrate = function migrate() {
|
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
try {
|
|
76
|
-
module.exports.VERSION = nativeBinding?.getVersion?.() ?? '0.
|
|
76
|
+
module.exports.VERSION = nativeBinding?.getVersion?.() ?? '0.2.0';
|
|
77
77
|
} catch {
|
|
78
|
-
module.exports.VERSION = '0.
|
|
78
|
+
module.exports.VERSION = '0.2.0';
|
|
79
79
|
}
|
package/index.js
CHANGED
|
@@ -126,8 +126,8 @@ export function migrate() {
|
|
|
126
126
|
/** Compiler version string. */
|
|
127
127
|
let _version;
|
|
128
128
|
try {
|
|
129
|
-
_version = nativeBinding?.getVersion?.() ?? '0.
|
|
129
|
+
_version = nativeBinding?.getVersion?.() ?? '0.2.0';
|
|
130
130
|
} catch {
|
|
131
|
-
_version = '0.
|
|
131
|
+
_version = '0.2.0';
|
|
132
132
|
}
|
|
133
133
|
export const VERSION = _version;
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsvelte/compiler",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "A high-performance Rust implementation of the Svelte compiler - drop-in replacement",
|
|
5
|
+
"author": "baseballyama",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "index.cjs",
|
|
7
8
|
"module": "index.js",
|
|
@@ -20,7 +21,7 @@
|
|
|
20
21
|
"README.md"
|
|
21
22
|
],
|
|
22
23
|
"optionalDependencies": {
|
|
23
|
-
"@rsvelte/binding-darwin-arm64": "0.
|
|
24
|
+
"@rsvelte/binding-darwin-arm64": "0.2.0",
|
|
24
25
|
"@rsvelte/binding-darwin-x64": "0.1.0",
|
|
25
26
|
"@rsvelte/binding-linux-x64-gnu": "0.1.0",
|
|
26
27
|
"@rsvelte/binding-linux-arm64-gnu": "0.1.0",
|