@kaiko.io/rescript-deser 4.0.0-beta.4 → 4.0.0-rc.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 -4
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/.ninja_log +18 -18
- package/lib/bs/build.ninja +1 -1
- package/lib/bs/src/JSON.cmi +0 -0
- package/lib/bs/src/JSON.cmt +0 -0
- package/lib/bs/tests/QUnit.cmi +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 -1
- package/lib/es6/tests/index.js +3 -3
- package/lib/js/src/JSON.js +1 -1
- package/lib/js/tests/index.js +3 -3
- package/package.json +4 -4
- /package/{bsconfig.json → rescript.json} +0 -0
package/lib/bs/.bsdeps
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
11.0.0-rc.
|
|
1
|
+
11.0.0-rc.5
|
|
2
2
|
/home/manu/src/kaiko/rescript-deser
|
|
3
3
|
0
|
|
4
|
-
|
|
4
|
+
rescript.json 0x1.94b3a6a1d2ba4p+30
|
|
5
5
|
tests 0x1.93fb8b23e3f01p+30
|
|
6
|
-
src/ 0x1.
|
|
6
|
+
src/ 0x1.94b3a6a1d2ba4p+30
|
|
7
7
|
===
|
|
8
|
-
/home/manu/src/kaiko/rescript-deser/node_modules/rescript/linux/rescript.exe 0x1.
|
|
8
|
+
/home/manu/src/kaiko/rescript-deser/node_modules/rescript/linux/rescript.exe 0x1.956ccf43b0208p+30
|
package/lib/bs/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1700476791140)
|
|
2
|
+
#Done(1700476791140)
|
package/lib/bs/.ninja_log
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# ninja log v6
|
|
2
|
-
0 6
|
|
3
|
-
0
|
|
4
|
-
0
|
|
5
|
-
6
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
29
|
|
17
|
-
29
|
|
18
|
-
29
|
|
19
|
-
29
|
|
2
|
+
0 6 1700476752461367534 tests/QUnit.ast 2b11d7a1773c04a5
|
|
3
|
+
0 6 1700476752461367534 tests/index.ast 1025d29af38e2a4d
|
|
4
|
+
0 7 1700476752464700961 src/JSON.ast 7592c4e02f0aac2c
|
|
5
|
+
6 8 1700476752464700961 tests/QUnit.d 4a2631c992d93ce7
|
|
6
|
+
6 8 1700476752464700961 tests/index.d 5a4db9cdecd186b3
|
|
7
|
+
7 9 1700476752464700961 src/JSON.d cd2d6773c781340f
|
|
8
|
+
8 17 1700476752471367816 tests/QUnit.cmj 1b9f597010ba7140
|
|
9
|
+
8 17 1700476752471367816 tests/QUnit.cmi 1b9f597010ba7140
|
|
10
|
+
8 17 1700476752471367816 ../es6/tests/QUnit.js 1b9f597010ba7140
|
|
11
|
+
8 17 1700476752471367816 ../js/tests/QUnit.js 1b9f597010ba7140
|
|
12
|
+
9 29 1700476752484701526 src/JSON.cmj c51ce66f177642a5
|
|
13
|
+
9 29 1700476752484701526 src/JSON.cmi c51ce66f177642a5
|
|
14
|
+
9 29 1700476752484701526 ../es6/src/JSON.js c51ce66f177642a5
|
|
15
|
+
9 29 1700476752484701526 ../js/src/JSON.js c51ce66f177642a5
|
|
16
|
+
29 42 1700476752498035236 tests/index.cmj b0ae36d4bf3f0095
|
|
17
|
+
29 42 1700476752498035236 tests/index.cmi b0ae36d4bf3f0095
|
|
18
|
+
29 42 1700476752498035236 ../es6/tests/index.js b0ae36d4bf3f0095
|
|
19
|
+
29 42 1700476752498035236 ../js/tests/index.js b0ae36d4bf3f0095
|
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.0.0-rc.
|
|
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.0.0-rc.5 -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.cmi
CHANGED
|
Binary file
|
package/lib/bs/src/JSON.cmt
CHANGED
|
Binary file
|
package/lib/bs/tests/QUnit.cmi
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
|
@@ -571,7 +571,7 @@ function checkFieldsSanity(name, _fields, _optional) {
|
|
|
571
571
|
_fields = fields._0;
|
|
572
572
|
continue ;
|
|
573
573
|
case 2 :
|
|
574
|
-
var msg = fields._0.checkFieldsSanity(
|
|
574
|
+
var msg = fields._0.checkFieldsSanity();
|
|
575
575
|
if (msg.TAG === "Ok") {
|
|
576
576
|
return {
|
|
577
577
|
TAG: "Ok",
|
package/lib/es6/tests/index.js
CHANGED
|
@@ -143,7 +143,7 @@ Qunit.module("Recursive deserializer", (function (param) {
|
|
|
143
143
|
]];
|
|
144
144
|
Qunit.test("Trivial recursion detection: Ok", (function (qunit) {
|
|
145
145
|
qunit.expect(1);
|
|
146
|
-
qunit.deepEqual(checkFieldsSanity(
|
|
146
|
+
qunit.deepEqual(checkFieldsSanity(), {
|
|
147
147
|
TAG: "Ok",
|
|
148
148
|
_0: undefined
|
|
149
149
|
}, "Ok");
|
|
@@ -166,7 +166,7 @@ Qunit.module("Recursive deserializer", (function (param) {
|
|
|
166
166
|
fields: fields
|
|
167
167
|
});
|
|
168
168
|
qunit.expect(1);
|
|
169
|
-
qunit.deepEqual(Curry._1(Prelude.Result.isError, InfiniteList.checkFieldsSanity(
|
|
169
|
+
qunit.deepEqual(Curry._1(Prelude.Result.isError, InfiniteList.checkFieldsSanity()), true, "Ok");
|
|
170
170
|
}));
|
|
171
171
|
Qunit.test("Finite list", (function (qunit) {
|
|
172
172
|
var fields = {
|
|
@@ -189,7 +189,7 @@ Qunit.module("Recursive deserializer", (function (param) {
|
|
|
189
189
|
fields: fields
|
|
190
190
|
});
|
|
191
191
|
qunit.expect(1);
|
|
192
|
-
qunit.deepEqual(List.checkFieldsSanity(
|
|
192
|
+
qunit.deepEqual(List.checkFieldsSanity(), {
|
|
193
193
|
TAG: "Ok",
|
|
194
194
|
_0: undefined
|
|
195
195
|
}, "Ok");
|
package/lib/js/src/JSON.js
CHANGED
|
@@ -572,7 +572,7 @@ function checkFieldsSanity(name, _fields, _optional) {
|
|
|
572
572
|
_fields = fields._0;
|
|
573
573
|
continue ;
|
|
574
574
|
case 2 :
|
|
575
|
-
var msg = fields._0.checkFieldsSanity(
|
|
575
|
+
var msg = fields._0.checkFieldsSanity();
|
|
576
576
|
if (msg.TAG === "Ok") {
|
|
577
577
|
return {
|
|
578
578
|
TAG: "Ok",
|
package/lib/js/tests/index.js
CHANGED
|
@@ -144,7 +144,7 @@ Qunit.module("Recursive deserializer", (function (param) {
|
|
|
144
144
|
]];
|
|
145
145
|
Qunit.test("Trivial recursion detection: Ok", (function (qunit) {
|
|
146
146
|
qunit.expect(1);
|
|
147
|
-
qunit.deepEqual(checkFieldsSanity(
|
|
147
|
+
qunit.deepEqual(checkFieldsSanity(), {
|
|
148
148
|
TAG: "Ok",
|
|
149
149
|
_0: undefined
|
|
150
150
|
}, "Ok");
|
|
@@ -167,7 +167,7 @@ Qunit.module("Recursive deserializer", (function (param) {
|
|
|
167
167
|
fields: fields
|
|
168
168
|
});
|
|
169
169
|
qunit.expect(1);
|
|
170
|
-
qunit.deepEqual(Curry._1(Prelude.Result.isError, InfiniteList.checkFieldsSanity(
|
|
170
|
+
qunit.deepEqual(Curry._1(Prelude.Result.isError, InfiniteList.checkFieldsSanity()), true, "Ok");
|
|
171
171
|
}));
|
|
172
172
|
Qunit.test("Finite list", (function (qunit) {
|
|
173
173
|
var fields = {
|
|
@@ -190,7 +190,7 @@ Qunit.module("Recursive deserializer", (function (param) {
|
|
|
190
190
|
fields: fields
|
|
191
191
|
});
|
|
192
192
|
qunit.expect(1);
|
|
193
|
-
qunit.deepEqual(List.checkFieldsSanity(
|
|
193
|
+
qunit.deepEqual(List.checkFieldsSanity(), {
|
|
194
194
|
TAG: "Ok",
|
|
195
195
|
_0: undefined
|
|
196
196
|
}, "Ok");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaiko.io/rescript-deser",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-rc.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"json",
|
|
6
6
|
"deserializer",
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"src",
|
|
17
17
|
"tests",
|
|
18
18
|
"www",
|
|
19
|
-
"
|
|
19
|
+
"rescript.json",
|
|
20
20
|
"README.md"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kaiko.io/rescript-prelude": "7.0.0-
|
|
24
|
-
"rescript": "11.0.0-rc.
|
|
23
|
+
"@kaiko.io/rescript-prelude": "7.0.0-rc.2",
|
|
24
|
+
"rescript": "11.0.0-rc.5"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"esbuild": "^0.15.7",
|
|
File without changes
|