@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 CHANGED
@@ -1,8 +1,9 @@
1
- 11.1.0
1
+ 11.1.4
2
2
  /home/manu/src/kaiko/rescript-deser
3
3
  0
4
- rescript.json 0x1.9683f1e3d1a58p+30
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.98b29d7c2d0e1p+30
9
+ /home/manu/src/kaiko/rescript-deser/node_modules/rescript/linux/rescript.exe 0x1.9bfaa0e1df3b2p+30
@@ -1,2 +1,2 @@
1
- #Start(1714206065317)
2
- #Done(1714206065317)
1
+ #Start(1730814618733)
2
+ #Done(1730814618768)
package/lib/bs/.ninja_log CHANGED
@@ -1,19 +1,43 @@
1
1
  # ninja log v6
2
- 1 8 1714206030289097042 tests/QUnit.ast 24684e6074a9aeef
3
- 1 9 1714206030292430506 tests/index.ast e01495695144ad13
4
- 1 10 1714206030292430506 src/JSON.ast 5e8459075537da7f
5
- 8 11 1714206030292430506 tests/QUnit.d 4a2631c992d93ce7
6
- 9 11 1714206030292430506 tests/index.d 5a4db9cdecd186b3
7
- 10 13 1714206030295763970 src/JSON.d cd2d6773c781340f
8
- 11 18 1714206030302430899 tests/QUnit.cmj e70a25a68fe03567
9
- 11 18 1714206030302430899 tests/QUnit.cmi e70a25a68fe03567
10
- 11 18 1714206030302430899 ../es6/tests/QUnit.js e70a25a68fe03567
11
- 11 18 1714206030302430899 ../js/tests/QUnit.js e70a25a68fe03567
12
- 13 36 1714206030319098221 src/JSON.cmj 2e3f924aaeabb955
13
- 13 36 1714206030319098221 src/JSON.cmi 2e3f924aaeabb955
14
- 13 36 1714206030319098221 ../es6/src/JSON.js 2e3f924aaeabb955
15
- 13 36 1714206030319098221 ../js/src/JSON.js 2e3f924aaeabb955
16
- 36 47 1714206030329098614 tests/index.cmj 58a01b9b8d0a8de8
17
- 36 47 1714206030329098614 tests/index.cmi 58a01b9b8d0a8de8
18
- 36 47 1714206030329098614 ../es6/tests/index.js 58a01b9b8d0a8de8
19
- 36 47 1714206030329098614 ../js/tests/index.js 58a01b9b8d0a8de8
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
@@ -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.0 -uncurried -absname -bs-ast -o $out $i
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
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -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(shape){
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
  }
@@ -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(shape){
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": "4.0.2",
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
- "dependencies": {
23
- "@kaiko.io/rescript-prelude": "^7.0.0"
22
+ "peerDependencies": {
23
+ "@kaiko.io/rescript-prelude": ">=7.2.0",
24
+ "rescript": ">=11.1.0"
24
25
  },
25
26
  "devDependencies": {
26
- "esbuild": "^0.15.7",
27
- "qunit": "^2.16.0",
28
- "rescript": "^11.0.0 | ^11.1.0"
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
  }
package/rescript.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "uncurried": true,
18
18
  "package-specs": [
19
19
  {
20
- "module": "es6"
20
+ "module": "esmodule"
21
21
  },
22
22
  {
23
23
  "module": "commonjs"