@colisweb/rescript-toolkit 2.46.6 → 2.46.9
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/locale/fr.json
CHANGED
|
@@ -59,6 +59,11 @@
|
|
|
59
59
|
"defaultMessage": "Dimanche",
|
|
60
60
|
"message": "Dimanche"
|
|
61
61
|
},
|
|
62
|
+
{
|
|
63
|
+
"id": "_aeda5684",
|
|
64
|
+
"defaultMessage": "Doit etre un entier strictement positif",
|
|
65
|
+
"message": "Doit etre un entier strictement positif"
|
|
66
|
+
},
|
|
62
67
|
{
|
|
63
68
|
"id": "_c05fffa7",
|
|
64
69
|
"defaultMessage": "Afficher le mot de passe",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colisweb/rescript-toolkit",
|
|
3
|
-
"version": "2.46.
|
|
3
|
+
"version": "2.46.9",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"clean": "rescript clean",
|
|
6
6
|
"build": "rescript build -with-deps",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"case": "1.6.3",
|
|
50
50
|
"click-outside-hook": "1.1.0",
|
|
51
51
|
"copy-to-clipboard": "3.3.1",
|
|
52
|
-
"date-fns": "2.
|
|
52
|
+
"date-fns": "2.29.0",
|
|
53
53
|
"decco": "1.5.0",
|
|
54
54
|
"dedent": "0.7.0",
|
|
55
55
|
"downshift": "5.2.5",
|
|
@@ -229,7 +229,8 @@ module UnitMeasure = {
|
|
|
229
229
|
| Some([Some(_match), Some(value), Some(unit)]) => {
|
|
230
230
|
let value = value->Js.Float.fromString
|
|
231
231
|
switch unit
|
|
232
|
-
|
|
232
|
+
// regex captures adjacent to spaces to slashes and deletes them (for composite units)
|
|
233
|
+
->Js.String2.replaceByRe(%re("/ *\/ */"), "/")
|
|
233
234
|
->Js.Json.string
|
|
234
235
|
->Config.unitEnum_decode {
|
|
235
236
|
| Ok(unit) => Config.wrapValue(unit, value)->Ok
|