@kaiko.io/rescript-deser 4.0.0-beta.4 → 4.0.0-rc.2
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.cmj +0 -0
- package/lib/bs/src/JSON.cmt +0 -0
- package/lib/bs/tests/QUnit.cmi +0 -0
- package/lib/bs/tests/QUnit.cmj +0 -0
- package/lib/bs/tests/QUnit.cmt +0 -0
- package/lib/bs/tests/index.cmi +0 -0
- package/lib/bs/tests/index.cmj +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 +5 -5
- /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.6
|
|
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.9578a22fcfdf4p+30
|
package/lib/bs/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1700670041426)
|
|
2
|
+
#Done(1700670041426)
|
package/lib/bs/.ninja_log
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# ninja log v6
|
|
2
|
-
0 6
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
6 9
|
|
6
|
-
7 9
|
|
7
|
-
8 10
|
|
8
|
-
9
|
|
9
|
-
9
|
|
10
|
-
9
|
|
11
|
-
9
|
|
12
|
-
10
|
|
13
|
-
10
|
|
14
|
-
10
|
|
15
|
-
10
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
0 6 1700670039254870652 tests/QUnit.ast a6a94a20e20f8557
|
|
3
|
+
1 7 1700670039254870652 tests/index.ast 3c91d8240b8bb4b8
|
|
4
|
+
1 8 1700670039254870652 src/JSON.ast 54dacc9e71f78ec4
|
|
5
|
+
6 9 1700670039254870652 tests/QUnit.d 4a2631c992d93ce7
|
|
6
|
+
7 9 1700670039254870652 tests/index.d 5a4db9cdecd186b3
|
|
7
|
+
8 10 1700670039258204077 src/JSON.d cd2d6773c781340f
|
|
8
|
+
9 15 1700670039261537502 tests/QUnit.cmj 1baf089a71e93e14
|
|
9
|
+
9 15 1700670039261537502 tests/QUnit.cmi 1baf089a71e93e14
|
|
10
|
+
9 15 1700670039261537502 ../es6/tests/QUnit.js 1baf089a71e93e14
|
|
11
|
+
9 15 1700670039261537502 ../js/tests/QUnit.js 1baf089a71e93e14
|
|
12
|
+
10 28 1700670039274871200 src/JSON.cmj 5c6bd34c8b98f8b9
|
|
13
|
+
10 28 1700670039274871200 src/JSON.cmi 5c6bd34c8b98f8b9
|
|
14
|
+
10 28 1700670039274871200 ../es6/src/JSON.js 5c6bd34c8b98f8b9
|
|
15
|
+
10 28 1700670039274871200 ../js/src/JSON.js 5c6bd34c8b98f8b9
|
|
16
|
+
28 38 1700670039284871474 tests/index.cmj 8a0bf0b0432467b0
|
|
17
|
+
28 38 1700670039284871474 tests/index.cmi 8a0bf0b0432467b0
|
|
18
|
+
28 38 1700670039284871474 ../es6/tests/index.js 8a0bf0b0432467b0
|
|
19
|
+
28 38 1700670039284871474 ../js/tests/index.js 8a0bf0b0432467b0
|
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.6 -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.cmj
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.cmj
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.cmj
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.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"json",
|
|
6
6
|
"deserializer",
|
|
@@ -16,15 +16,15 @@
|
|
|
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.4"
|
|
23
|
+
"@kaiko.io/rescript-prelude": "7.0.0-rc.3"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|
|
27
26
|
"esbuild": "^0.15.7",
|
|
28
|
-
"qunit": "^2.16.0"
|
|
27
|
+
"qunit": "^2.16.0",
|
|
28
|
+
"rescript": "11.0.0-rc.6"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
File without changes
|