@havelaer/msgs 0.0.8 → 0.0.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/dist/functions.js +1 -1
- package/package.json +9 -9
package/dist/functions.js
CHANGED
|
@@ -73,7 +73,7 @@ const number = (ctx, options, arg) => {
|
|
|
73
73
|
*/
|
|
74
74
|
const relativeTime = (ctx, options, arg) => {
|
|
75
75
|
const formatter = new Intl.RelativeTimeFormat(ctx.locales, options);
|
|
76
|
-
const number$1 = Number.parseInt(arg);
|
|
76
|
+
const number$1 = Number.parseInt(arg, 10);
|
|
77
77
|
if (!options.unit) throw new Error(":relativeTime requires a unit parameter");
|
|
78
78
|
return {
|
|
79
79
|
type: "relativeTime",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@havelaer/msgs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
"react-dom": ">=18.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@biomejs/biome": "^
|
|
50
|
+
"@biomejs/biome": "^2.2.4",
|
|
51
51
|
"@testing-library/jest-dom": "^6.8.0",
|
|
52
52
|
"@testing-library/react": "^16.3.0",
|
|
53
|
-
"@types/node": "^
|
|
54
|
-
"@types/react": "^19.
|
|
55
|
-
"@types/react-dom": "^19.
|
|
53
|
+
"@types/node": "^24.3.3",
|
|
54
|
+
"@types/react": "^19.1.13",
|
|
55
|
+
"@types/react-dom": "^19.1.9",
|
|
56
56
|
"@vitest/coverage-v8": "^3.2.4",
|
|
57
57
|
"happy-dom": "^18.0.1",
|
|
58
|
-
"react": "^19.
|
|
59
|
-
"react-dom": "^19.
|
|
60
|
-
"tsdown": "^0.15.
|
|
61
|
-
"typescript": "~5.
|
|
58
|
+
"react": "^19.1.1",
|
|
59
|
+
"react-dom": "^19.1.1",
|
|
60
|
+
"tsdown": "^0.15.1",
|
|
61
|
+
"typescript": "~5.9.2",
|
|
62
62
|
"vitest": "^3.2.4"
|
|
63
63
|
},
|
|
64
64
|
"workspaces": [
|