@kaiko.io/rescript-deser 4.0.2 → 5.0.1
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/lib/bs/.bsdeps +4 -3
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/.ninja_log +42 -18
- package/lib/bs/build.ninja +1 -1
- package/lib/bs/src/JSON.ast +0 -0
- package/lib/bs/src/JSON.cmi +0 -0
- package/lib/bs/src/JSON.cmt +0 -0
- package/lib/bs/tests/QUnit.cmt +0 -0
- package/lib/bs/tests/index.cmi +0 -0
- package/lib/bs/tests/index.cmt +0 -0
- package/lib/es6/src/JSON.js +1 -5
- package/lib/js/src/JSON.js +1 -5
- package/package.json +8 -6
- package/rescript.json +1 -1
package/lib/bs/.bsdeps
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
11.1.
|
|
1
|
+
11.1.4
|
|
2
2
|
/home/manu/src/kaiko/rescript-deser
|
|
3
3
|
0
|
|
4
|
-
|
|
4
|
+
0
|
|
5
|
+
rescript.json 0x1.9ca88a0b3f476p+30
|
|
5
6
|
tests 0x1.93fb8b23e3f01p+30
|
|
6
7
|
src/ 0x1.9683f1e026f57p+30
|
|
7
8
|
===
|
|
8
|
-
/home/manu/src/kaiko/rescript-deser/node_modules/rescript/linux/rescript.exe 0x1.
|
|
9
|
+
/home/manu/src/kaiko/rescript-deser/node_modules/rescript/linux/rescript.exe 0x1.9bfaa0e1df3b2p+30
|
package/lib/bs/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1730814618733)
|
|
2
|
+
#Done(1730814618768)
|
package/lib/bs/.ninja_log
CHANGED
|
@@ -1,19 +1,43 @@
|
|
|
1
1
|
# ninja log v6
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
0 5 1730814327787200781 tests/QUnit.ast 57ee93358e339a9a
|
|
3
|
+
0 5 1730814327787200781 tests/index.ast dc1dfb2fd51740e6
|
|
4
|
+
5 7 1730814327790534214 tests/QUnit.d 4a2631c992d93ce7
|
|
5
|
+
5 7 1730814327790534214 tests/index.d 5a4db9cdecd186b3
|
|
6
|
+
0 7 1730814327790534214 src/JSON.ast 649b5b6311a6b7e3
|
|
7
|
+
7 9 1730814327790534214 src/JSON.d cd2d6773c781340f
|
|
8
|
+
7 14 1730814327797201080 tests/QUnit.cmj e668f43fbb8ee318
|
|
9
|
+
7 14 1730814327797201080 tests/QUnit.cmi e668f43fbb8ee318
|
|
10
|
+
7 14 1730814327797201080 ../es6/tests/QUnit.js e668f43fbb8ee318
|
|
11
|
+
7 14 1730814327797201080 ../js/tests/QUnit.js e668f43fbb8ee318
|
|
12
|
+
9 27 1730814327810534813 src/JSON.cmj 5528d45e9269dbc7
|
|
13
|
+
9 27 1730814327810534813 src/JSON.cmi 5528d45e9269dbc7
|
|
14
|
+
9 27 1730814327810534813 ../es6/src/JSON.js 5528d45e9269dbc7
|
|
15
|
+
9 27 1730814327810534813 ../js/src/JSON.js 5528d45e9269dbc7
|
|
16
|
+
27 40 1730814327823868546 tests/index.cmj 2318094a30b68775
|
|
17
|
+
27 40 1730814327823868546 tests/index.cmi 2318094a30b68775
|
|
18
|
+
27 40 1730814327823868546 ../es6/tests/index.js 2318094a30b68775
|
|
19
|
+
27 40 1730814327823868546 ../js/tests/index.js 2318094a30b68775
|
|
20
|
+
0 9 1730814327790534214 tests/QUnit.cmj bbb941b31c5437b8
|
|
21
|
+
0 9 1730814327790534214 tests/QUnit.cmi bbb941b31c5437b8
|
|
22
|
+
0 9 1730814327790534214 ../es6/tests/QUnit.js bbb941b31c5437b8
|
|
23
|
+
0 9 1730814327790534214 ../js/tests/QUnit.js bbb941b31c5437b8
|
|
24
|
+
0 19 1730814327790534214 src/JSON.cmj dde7600b09c15a91
|
|
25
|
+
0 19 1730814327790534214 src/JSON.cmi dde7600b09c15a91
|
|
26
|
+
0 19 1730814327790534214 ../es6/src/JSON.js dde7600b09c15a91
|
|
27
|
+
0 19 1730814327790534214 ../js/src/JSON.js dde7600b09c15a91
|
|
28
|
+
19 33 1730814327807201380 tests/index.cmj 417742d12a492c9c
|
|
29
|
+
19 33 1730814327807201380 tests/index.cmi 417742d12a492c9c
|
|
30
|
+
19 33 1730814327807201380 ../es6/tests/index.js 417742d12a492c9c
|
|
31
|
+
19 33 1730814327807201380 ../js/tests/index.js 417742d12a492c9c
|
|
32
|
+
0 9 1730814327790534214 tests/QUnit.cmj 2ff3910d4c2b9db9
|
|
33
|
+
0 9 1730814327790534214 tests/QUnit.cmi 2ff3910d4c2b9db9
|
|
34
|
+
0 9 1730814327790534214 ../es6/tests/QUnit.js 2ff3910d4c2b9db9
|
|
35
|
+
0 9 1730814327790534214 ../js/tests/QUnit.js 2ff3910d4c2b9db9
|
|
36
|
+
1 24 1730814327790534214 src/JSON.cmj 6ce2f96753b60cef
|
|
37
|
+
1 24 1730814327790534214 src/JSON.cmi 6ce2f96753b60cef
|
|
38
|
+
1 24 1730814327790534214 ../es6/src/JSON.js 6ce2f96753b60cef
|
|
39
|
+
1 24 1730814327790534214 ../js/src/JSON.js 6ce2f96753b60cef
|
|
40
|
+
24 35 1730814327807201380 tests/index.cmj 318bc4b129e02820
|
|
41
|
+
24 35 1730814327807201380 tests/index.cmi 318bc4b129e02820
|
|
42
|
+
24 35 1730814327807201380 ../es6/tests/index.js 318bc4b129e02820
|
|
43
|
+
24 35 1730814327807201380 ../js/tests/index.js 318bc4b129e02820
|
package/lib/bs/build.ninja
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
rescript = 1
|
|
2
2
|
g_finger := /home/manu/src/kaiko/rescript-deser/node_modules/@kaiko.io/rescript-prelude/lib/ocaml/install.stamp
|
|
3
3
|
rule astj
|
|
4
|
-
command = /home/manu/src/kaiko/rescript-deser/node_modules/rescript/linux/bsc.exe -warn-error +8+11+26+27+33+56 -bs-v 11.1.
|
|
4
|
+
command = /home/manu/src/kaiko/rescript-deser/node_modules/rescript/linux/bsc.exe -warn-error +8+11+26+27+33+56 -bs-v 11.1.4 -uncurried -absname -bs-ast -o $out $i
|
|
5
5
|
o tests/index.ast : astj ../../tests/index.res
|
|
6
6
|
rule deps_dev
|
|
7
7
|
command = /home/manu/src/kaiko/rescript-deser/node_modules/rescript/linux/bsb_helper.exe -g -hash 84aecc33f8594375b23a1a137b057f93 $in
|
package/lib/bs/src/JSON.ast
CHANGED
|
Binary file
|
package/lib/bs/src/JSON.cmi
CHANGED
|
Binary file
|
package/lib/bs/src/JSON.cmt
CHANGED
|
Binary file
|
package/lib/bs/tests/QUnit.cmt
CHANGED
|
Binary file
|
package/lib/bs/tests/index.cmi
CHANGED
|
Binary file
|
package/lib/bs/tests/index.cmt
CHANGED
|
Binary file
|
package/lib/es6/src/JSON.js
CHANGED
|
@@ -426,11 +426,7 @@ function fromUntagged(untagged, _shape, self) {
|
|
|
426
426
|
exit = 1;
|
|
427
427
|
} else {
|
|
428
428
|
if (match.TAG === "JSONArray") {
|
|
429
|
-
return Prelude.$$Array.keepSome(match._0.map((function(
|
|
430
|
-
return function (param) {
|
|
431
|
-
return Curry._1(shape._0.fromJSON, param);
|
|
432
|
-
}
|
|
433
|
-
}(shape))).map(Prelude.Result.warn)).map(function (prim) {
|
|
429
|
+
return Prelude.$$Array.keepSome(match._0.map(shape._0.fromJSON).map(Prelude.Result.warn)).map(function (prim) {
|
|
434
430
|
return prim;
|
|
435
431
|
});
|
|
436
432
|
}
|
package/lib/js/src/JSON.js
CHANGED
|
@@ -427,11 +427,7 @@ function fromUntagged(untagged, _shape, self) {
|
|
|
427
427
|
exit = 1;
|
|
428
428
|
} else {
|
|
429
429
|
if (match.TAG === "JSONArray") {
|
|
430
|
-
return Prelude.$$Array.keepSome(match._0.map((function(
|
|
431
|
-
return function (param) {
|
|
432
|
-
return Curry._1(shape._0.fromJSON, param);
|
|
433
|
-
}
|
|
434
|
-
}(shape))).map(Prelude.Result.warn)).map(function (prim) {
|
|
430
|
+
return Prelude.$$Array.keepSome(match._0.map(shape._0.fromJSON).map(Prelude.Result.warn)).map(function (prim) {
|
|
435
431
|
return prim;
|
|
436
432
|
});
|
|
437
433
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaiko.io/rescript-deser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"json",
|
|
6
6
|
"deserializer",
|
|
@@ -19,12 +19,14 @@
|
|
|
19
19
|
"rescript.json",
|
|
20
20
|
"README.md"
|
|
21
21
|
],
|
|
22
|
-
"
|
|
23
|
-
"@kaiko.io/rescript-prelude": "
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"@kaiko.io/rescript-prelude": ">=7.2.0",
|
|
24
|
+
"rescript": ">=11.1.0"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
27
|
+
"@kaiko.io/rescript-prelude": "7.2.0",
|
|
28
|
+
"esbuild": "0.15.7",
|
|
29
|
+
"qunit": "2.16.0",
|
|
30
|
+
"rescript": "11.1.4"
|
|
29
31
|
}
|
|
30
32
|
}
|