Comparing version 0.23.0 to 0.29.0
@@ -25,3 +25,3 @@ // This is the configuration file used by BuckleScript's build system bsb. Its documentation lives here: http://bucklescript.github.io/bucklescript/docson/#build-schema.json | ||
"warnings": { | ||
"error" : "+101" | ||
"error" : "+a" | ||
}, | ||
@@ -28,0 +28,0 @@ "namespace": false, |
{ | ||
"name": "belt-holes", | ||
"version": "0.23.0", | ||
"version": "0.29.0", | ||
"scripts": { | ||
@@ -18,4 +18,4 @@ "refmt": "find src/ test/ -name '*.re*' -exec refmt --in-place {} +", | ||
"devDependencies": { | ||
"@glennsl/bs-jest": "^0.4.2", | ||
"bs-platform": "^3.1.5" | ||
"@glennsl/bs-jest": "^0.4.8", | ||
"bs-platform": "5.0.0" | ||
}, | ||
@@ -22,0 +22,0 @@ "jest": { |
@@ -1,2 +0,2 @@ | ||
// Generated by BUCKLESCRIPT VERSION 3.1.5, PLEASE EDIT WITH CARE | ||
// Generated by BUCKLESCRIPT VERSION 5.0.0, PLEASE EDIT WITH CARE | ||
'use strict'; | ||
@@ -12,12 +12,12 @@ | ||
return Belt_MapString.update(accMap, Curry._1(getKey, nextVal), (function (existingVals) { | ||
if (existingVals) { | ||
return /* Some */[/* :: */[ | ||
nextVal, | ||
existingVals[0] | ||
]]; | ||
if (existingVals !== undefined) { | ||
return /* :: */[ | ||
nextVal, | ||
existingVals | ||
]; | ||
} else { | ||
return /* Some */[/* :: */[ | ||
nextVal, | ||
/* [] */0 | ||
]]; | ||
return /* :: */[ | ||
nextVal, | ||
/* [] */0 | ||
]; | ||
} | ||
@@ -31,12 +31,12 @@ })); | ||
return Belt_Map.update(accMap, Curry._1(getKey, nextVal), (function (existingVals) { | ||
if (existingVals) { | ||
return /* Some */[/* :: */[ | ||
nextVal, | ||
existingVals[0] | ||
]]; | ||
if (existingVals !== undefined) { | ||
return /* :: */[ | ||
nextVal, | ||
existingVals | ||
]; | ||
} else { | ||
return /* Some */[/* :: */[ | ||
nextVal, | ||
/* [] */0 | ||
]]; | ||
return /* :: */[ | ||
nextVal, | ||
/* [] */0 | ||
]; | ||
} | ||
@@ -43,0 +43,0 @@ })); |
@@ -1,2 +0,2 @@ | ||
// Generated by BUCKLESCRIPT VERSION 3.1.5, PLEASE EDIT WITH CARE | ||
// Generated by BUCKLESCRIPT VERSION 5.0.0, PLEASE EDIT WITH CARE | ||
'use strict'; | ||
@@ -8,2 +8,3 @@ | ||
var Belt_Option = require("bs-platform/lib/js/belt_Option.js"); | ||
var Caml_option = require("bs-platform/lib/js/caml_option.js"); | ||
var Belt_MapString = require("bs-platform/lib/js/belt_MapString.js"); | ||
@@ -33,3 +34,3 @@ | ||
function keepMap(xs, fn) { | ||
return keepMapWithKey(xs, (function (_, v) { | ||
return keepMapWithKey(xs, (function (param, v) { | ||
return Curry._1(fn, v); | ||
@@ -40,3 +41,3 @@ })); | ||
function innerJoin(xs, ys) { | ||
return keepMapWithKey(xs, (function (_, v) { | ||
return keepMapWithKey(xs, (function (param, v) { | ||
return Belt_MapString.get(ys, v); | ||
@@ -47,5 +48,5 @@ })); | ||
function mergeOverride(xs, ys) { | ||
return Belt_MapString.merge(xs, ys, (function (_, ox, oy) { | ||
if (oy) { | ||
return /* Some */[oy[0]]; | ||
return Belt_MapString.merge(xs, ys, (function (_key, ox, oy) { | ||
if (oy !== undefined) { | ||
return Caml_option.some(Caml_option.valFromOption(oy)); | ||
} else { | ||
@@ -72,2 +73,2 @@ return ox; | ||
exports.toDict = toDict; | ||
/* Js_dict Not a pure module */ | ||
/* No side effect */ |
@@ -1,2 +0,2 @@ | ||
// Generated by BUCKLESCRIPT VERSION 3.1.5, PLEASE EDIT WITH CARE | ||
// Generated by BUCKLESCRIPT VERSION 5.0.0, PLEASE EDIT WITH CARE | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,9 +0,10 @@ | ||
// Generated by BUCKLESCRIPT VERSION 3.1.5, PLEASE EDIT WITH CARE | ||
// Generated by BUCKLESCRIPT VERSION 5.0.0, PLEASE EDIT WITH CARE | ||
'use strict'; | ||
var Curry = require("bs-platform/lib/js/curry.js"); | ||
var Caml_option = require("bs-platform/lib/js/caml_option.js"); | ||
function getWithLazyDefault(opt, getDefault) { | ||
if (opt) { | ||
return opt[0]; | ||
if (opt !== undefined) { | ||
return Caml_option.valFromOption(opt); | ||
} else { | ||
@@ -10,0 +11,0 @@ return Curry._1(getDefault, /* () */0); |
@@ -1,2 +0,2 @@ | ||
// Generated by BUCKLESCRIPT VERSION 3.1.5, PLEASE EDIT WITH CARE | ||
// Generated by BUCKLESCRIPT VERSION 5.0.0, PLEASE EDIT WITH CARE | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by BUCKLESCRIPT VERSION 3.1.5, PLEASE EDIT WITH CARE | ||
// Generated by BUCKLESCRIPT VERSION 5.0.0, PLEASE EDIT WITH CARE | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by BUCKLESCRIPT VERSION 3.1.5, PLEASE EDIT WITH CARE | ||
// Generated by BUCKLESCRIPT VERSION 5.0.0, PLEASE EDIT WITH CARE | ||
'use strict'; | ||
@@ -13,3 +13,3 @@ | ||
var Option = 0; | ||
var $$Option = 0; | ||
@@ -20,3 +20,3 @@ exports.$$String = $$String; | ||
exports.List = List; | ||
exports.Option = Option; | ||
exports.$$Option = $$Option; | ||
/* No side effect */ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17301
256