@json-eval-rs/node 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.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/node",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "JSON Eval RS for Node.js and Server-Side Rendering with ergonomic API",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
28
|
-
"url": "https://github.com/byrizki/
|
|
28
|
+
"url": "https://github.com/byrizki/jsoneval-rs.git",
|
|
29
29
|
"directory": "bindings/web/packages/node"
|
|
30
30
|
},
|
|
31
31
|
"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.js
CHANGED
|
@@ -208,10 +208,10 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
208
208
|
return ptr;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
|
-
* Get library version
|
|
211
|
+
* Get the library version
|
|
212
212
|
* @returns {string}
|
|
213
213
|
*/
|
|
214
|
-
exports.
|
|
214
|
+
exports.getVersion = function() {
|
|
215
215
|
let deferred1_0;
|
|
216
216
|
let deferred1_1;
|
|
217
217
|
try {
|
|
@@ -229,17 +229,10 @@ exports.version = function() {
|
|
|
229
229
|
};
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
|
-
*
|
|
233
|
-
*/
|
|
234
|
-
exports.init = function() {
|
|
235
|
-
wasm.init();
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Get the library version
|
|
232
|
+
* Get library version (alias)
|
|
240
233
|
* @returns {string}
|
|
241
234
|
*/
|
|
242
|
-
exports.
|
|
235
|
+
exports.version = function() {
|
|
243
236
|
let deferred1_0;
|
|
244
237
|
let deferred1_1;
|
|
245
238
|
try {
|
|
@@ -256,6 +249,13 @@ exports.getVersion = function() {
|
|
|
256
249
|
}
|
|
257
250
|
};
|
|
258
251
|
|
|
252
|
+
/**
|
|
253
|
+
* Initialize the library (sets up panic hook)
|
|
254
|
+
*/
|
|
255
|
+
exports.init = function() {
|
|
256
|
+
wasm.init();
|
|
257
|
+
};
|
|
258
|
+
|
|
259
259
|
function passArray8ToWasm0(arg, malloc) {
|
|
260
260
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
261
261
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -2172,7 +2172,7 @@ exports.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
|
|
|
2172
2172
|
return ret;
|
|
2173
2173
|
};
|
|
2174
2174
|
|
|
2175
|
-
exports.
|
|
2175
|
+
exports.__wbg_log_7097fd93a05198e7 = function(arg0, arg1) {
|
|
2176
2176
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
2177
2177
|
};
|
|
2178
2178
|
|
package/pkg/json_eval_rs_bg.wasm
CHANGED
|
Binary file
|