@json-eval-rs/bundler 0.0.33 → 0.0.34
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/package.json +2 -2
- package/pkg/json_eval_rs.d.ts +4 -4
- package/pkg/json_eval_rs_bg.js +12 -12
- package/pkg/json_eval_rs_bg.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@json-eval-rs/bundler",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "JSON Eval RS for bundlers (Webpack, Vite, Next.js, etc.) with ergonomic API",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
|
-
"url": "https://github.com/byrizki/
|
|
29
|
+
"url": "https://github.com/byrizki/jsoneval-rs.git",
|
|
30
30
|
"directory": "bindings/web/packages/bundler"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
package/pkg/json_eval_rs.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Get the library version
|
|
5
|
+
*/
|
|
6
|
+
export function getVersion(): string;
|
|
3
7
|
/**
|
|
4
8
|
* Get library version (alias)
|
|
5
9
|
*/
|
|
@@ -8,10 +12,6 @@ export function version(): string;
|
|
|
8
12
|
* Initialize the library (sets up panic hook)
|
|
9
13
|
*/
|
|
10
14
|
export function init(): void;
|
|
11
|
-
/**
|
|
12
|
-
* Get the library version
|
|
13
|
-
*/
|
|
14
|
-
export function getVersion(): string;
|
|
15
15
|
/**
|
|
16
16
|
* WebAssembly wrapper for JSONEval
|
|
17
17
|
*/
|
package/pkg/json_eval_rs_bg.js
CHANGED
|
@@ -218,10 +218,10 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
218
218
|
return ptr;
|
|
219
219
|
}
|
|
220
220
|
/**
|
|
221
|
-
* Get library version
|
|
221
|
+
* Get the library version
|
|
222
222
|
* @returns {string}
|
|
223
223
|
*/
|
|
224
|
-
export function
|
|
224
|
+
export function getVersion() {
|
|
225
225
|
let deferred1_0;
|
|
226
226
|
let deferred1_1;
|
|
227
227
|
try {
|
|
@@ -239,17 +239,10 @@ export function version() {
|
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
|
-
*
|
|
243
|
-
*/
|
|
244
|
-
export function init() {
|
|
245
|
-
wasm.init();
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* Get the library version
|
|
242
|
+
* Get library version (alias)
|
|
250
243
|
* @returns {string}
|
|
251
244
|
*/
|
|
252
|
-
export function
|
|
245
|
+
export function version() {
|
|
253
246
|
let deferred1_0;
|
|
254
247
|
let deferred1_1;
|
|
255
248
|
try {
|
|
@@ -266,6 +259,13 @@ export function getVersion() {
|
|
|
266
259
|
}
|
|
267
260
|
}
|
|
268
261
|
|
|
262
|
+
/**
|
|
263
|
+
* Initialize the library (sets up panic hook)
|
|
264
|
+
*/
|
|
265
|
+
export function init() {
|
|
266
|
+
wasm.init();
|
|
267
|
+
}
|
|
268
|
+
|
|
269
269
|
function passArray8ToWasm0(arg, malloc) {
|
|
270
270
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
271
271
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -2176,7 +2176,7 @@ export function __wbg_getTime_6bb3f64e0f18f817(arg0) {
|
|
|
2176
2176
|
return ret;
|
|
2177
2177
|
};
|
|
2178
2178
|
|
|
2179
|
-
export function
|
|
2179
|
+
export function __wbg_log_7097fd93a05198e7(arg0, arg1) {
|
|
2180
2180
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
2181
2181
|
};
|
|
2182
2182
|
|
package/pkg/json_eval_rs_bg.wasm
CHANGED
|
Binary file
|