@wasm-fmt/biome_fmt 0.1.6 → 0.1.7
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 +8 -2
- package/biome_fmt.js +4 -4
- package/biome_fmt_bg.wasm +0 -0
- package/jsr.jsonc +32 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
[](https://www.npmjs.com/package/@wasm-fmt/biome_fmt)
|
|
2
|
-
|
|
3
1
|
# Install
|
|
4
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@wasm-fmt/biome_fmt)
|
|
4
|
+
|
|
5
5
|
```bash
|
|
6
6
|
npm install @wasm-fmt/biome_fmt
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
+
[](https://jsr.io/@fmt/biome-fmt)
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx jsr add @fmt/biome-fmt
|
|
13
|
+
```
|
|
14
|
+
|
|
9
15
|
# Usage
|
|
10
16
|
|
|
11
17
|
```javascript
|
package/biome_fmt.js
CHANGED
|
@@ -322,10 +322,6 @@ function __wbg_get_imports() {
|
|
|
322
322
|
const ret = BigInt.asUintN(64, arg0);
|
|
323
323
|
return addHeapObject(ret);
|
|
324
324
|
};
|
|
325
|
-
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
326
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
327
|
-
return addHeapObject(ret);
|
|
328
|
-
};
|
|
329
325
|
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
|
|
330
326
|
const ret = getObject(arg0);
|
|
331
327
|
return addHeapObject(ret);
|
|
@@ -334,6 +330,10 @@ function __wbg_get_imports() {
|
|
|
334
330
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
335
331
|
return addHeapObject(ret);
|
|
336
332
|
};
|
|
333
|
+
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
334
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
335
|
+
return addHeapObject(ret);
|
|
336
|
+
};
|
|
337
337
|
imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
338
338
|
const ret = getObject(arg0) == getObject(arg1);
|
|
339
339
|
return ret;
|
package/biome_fmt_bg.wasm
CHANGED
|
Binary file
|
package/jsr.jsonc
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fmt/biome-fmt",
|
|
3
|
+
"collaborators": [
|
|
4
|
+
"magic-akari <akari.ccino@gmail.com>"
|
|
5
|
+
],
|
|
6
|
+
"description": "JavaScript/TypeScript formatter powered by WASM ported from Biome",
|
|
7
|
+
"version": "0.1.7",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/wasm-fmt/web_fmt"
|
|
12
|
+
},
|
|
13
|
+
"module": "biome_fmt.js",
|
|
14
|
+
"homepage": "https://github.com/wasm-fmt/web_fmt",
|
|
15
|
+
"types": "biome_fmt.d.ts",
|
|
16
|
+
"sideEffects": [
|
|
17
|
+
"./snippets/*"
|
|
18
|
+
],
|
|
19
|
+
"keywords": [
|
|
20
|
+
"wasm",
|
|
21
|
+
"formatter",
|
|
22
|
+
"javascript",
|
|
23
|
+
"typescript",
|
|
24
|
+
"biome"
|
|
25
|
+
],
|
|
26
|
+
"main": "biome_fmt.js",
|
|
27
|
+
"type": "module",
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"exports": "./biome_fmt.js"
|
|
32
|
+
}
|
package/package.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"collaborators": [
|
|
4
4
|
"magic-akari <akari.ccino@gmail.com>"
|
|
5
5
|
],
|
|
6
|
-
"description": "JavaScript/TypeScript formatter powered by
|
|
7
|
-
"version": "0.1.
|
|
6
|
+
"description": "JavaScript/TypeScript formatter powered by WASM ported from Biome",
|
|
7
|
+
"version": "0.1.7",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|