@visulima/humanizer 1.0.8 → 1.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.
@@ -2,4 +2,6 @@ import { d as DurationUnit, b as DurationLanguage } from '../../shared/types-Wuw
2
2
 
3
3
  declare const createDurationLanguage: (y: DurationUnit, mo: DurationUnit, w: DurationUnit, d: DurationUnit, h: DurationUnit, m: DurationUnit, s: DurationUnit, ms: DurationUnit, future?: string, past?: string, decimal?: string) => DurationLanguage;
4
4
 
5
- export { createDurationLanguage as default };
5
+ export { };
6
+
7
+ export = createDurationLanguage;
@@ -2,4 +2,6 @@ import { d as DurationUnit, b as DurationLanguage } from '../../shared/types-Wuw
2
2
 
3
3
  declare const createDurationLanguage: (y: DurationUnit, mo: DurationUnit, w: DurationUnit, d: DurationUnit, h: DurationUnit, m: DurationUnit, s: DurationUnit, ms: DurationUnit, future?: string, past?: string, decimal?: string) => DurationLanguage;
4
4
 
5
- export { createDurationLanguage as default };
5
+ export { };
6
+
7
+ export = createDurationLanguage;
@@ -1,3 +1,5 @@
1
1
  declare const getCzechOrSlovakForm: (counter: number) => number;
2
2
 
3
- export { getCzechOrSlovakForm as default };
3
+ export { };
4
+
5
+ export = getCzechOrSlovakForm;
@@ -1,3 +1,5 @@
1
1
  declare const getCzechOrSlovakForm: (counter: number) => number;
2
2
 
3
- export { getCzechOrSlovakForm as default };
3
+ export { };
4
+
5
+ export = getCzechOrSlovakForm;
@@ -1,3 +1,5 @@
1
1
  declare const getSlavicForm: (counter: number) => number;
2
2
 
3
- export { getSlavicForm as default };
3
+ export { };
4
+
5
+ export = getSlavicForm;
@@ -1,3 +1,5 @@
1
1
  declare const getSlavicForm: (counter: number) => number;
2
2
 
3
- export { getSlavicForm as default };
3
+ export { };
4
+
5
+ export = getSlavicForm;
@@ -2,4 +2,6 @@ import { b as DurationLanguage } from '../../shared/types-Wuwd0WUC.cjs';
2
2
 
3
3
  declare const validateDurationLanguage: (language: DurationLanguage) => void;
4
4
 
5
- export { validateDurationLanguage as default };
5
+ export { };
6
+
7
+ export = validateDurationLanguage;
@@ -2,4 +2,6 @@ import { b as DurationLanguage } from '../../shared/types-Wuwd0WUC.d.mjs';
2
2
 
3
3
  declare const validateDurationLanguage: (language: DurationLanguage) => void;
4
4
 
5
- export { validateDurationLanguage as default };
5
+ export { };
6
+
7
+ export = validateDurationLanguage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/humanizer",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Humanizer is a library for humanizing data in a human-readable form.",
5
5
  "keywords": [
6
6
  "visulima",
@@ -82,6 +82,80 @@
82
82
  "module": "dist/index.mjs",
83
83
  "browser": "./dist/index.mjs",
84
84
  "types": "dist/index.d.ts",
85
+ "typesVersions": {
86
+ "*": {
87
+ "*": [
88
+ "./dist/index.d.ts",
89
+ "./dist/language/af.d.ts",
90
+ "./dist/language/am.d.ts",
91
+ "./dist/language/ar.d.ts",
92
+ "./dist/language/bg.d.ts",
93
+ "./dist/language/bn.d.ts",
94
+ "./dist/language/ca.d.ts",
95
+ "./dist/language/ckb.d.ts",
96
+ "./dist/language/cs.d.ts",
97
+ "./dist/language/cy.d.ts",
98
+ "./dist/language/da.d.ts",
99
+ "./dist/language/de.d.ts",
100
+ "./dist/language/el.d.ts",
101
+ "./dist/language/en.d.ts",
102
+ "./dist/language/eo.d.ts",
103
+ "./dist/language/es.d.ts",
104
+ "./dist/language/et.d.ts",
105
+ "./dist/language/eu.d.ts",
106
+ "./dist/language/fa.d.ts",
107
+ "./dist/language/fi.d.ts",
108
+ "./dist/language/fo.d.ts",
109
+ "./dist/language/fr.d.ts",
110
+ "./dist/language/he.d.ts",
111
+ "./dist/language/hi.d.ts",
112
+ "./dist/language/hr.d.ts",
113
+ "./dist/language/hu.d.ts",
114
+ "./dist/language/id.d.ts",
115
+ "./dist/language/is.d.ts",
116
+ "./dist/language/it.d.ts",
117
+ "./dist/language/ja.d.ts",
118
+ "./dist/language/km.d.ts",
119
+ "./dist/language/kn.d.ts",
120
+ "./dist/language/ko.d.ts",
121
+ "./dist/language/ku.d.ts",
122
+ "./dist/language/lo.d.ts",
123
+ "./dist/language/lt.d.ts",
124
+ "./dist/language/lv.d.ts",
125
+ "./dist/language/mk.d.ts",
126
+ "./dist/language/mn.d.ts",
127
+ "./dist/language/mr.d.ts",
128
+ "./dist/language/ms.d.ts",
129
+ "./dist/language/nl.d.ts",
130
+ "./dist/language/no.d.ts",
131
+ "./dist/language/pl.d.ts",
132
+ "./dist/language/pt.d.ts",
133
+ "./dist/language/ro.d.ts",
134
+ "./dist/language/ru.d.ts",
135
+ "./dist/language/sk.d.ts",
136
+ "./dist/language/sl.d.ts",
137
+ "./dist/language/sq.d.ts",
138
+ "./dist/language/sr.d.ts",
139
+ "./dist/language/sv.d.ts",
140
+ "./dist/language/sw.d.ts",
141
+ "./dist/language/ta.d.ts",
142
+ "./dist/language/te.d.ts",
143
+ "./dist/language/th.d.ts",
144
+ "./dist/language/tr.d.ts",
145
+ "./dist/language/uk.d.ts",
146
+ "./dist/language/ur.d.ts",
147
+ "./dist/language/util/create-duration-language.d.ts",
148
+ "./dist/language/util/duration/get-czech-or-slovak-form.d.ts",
149
+ "./dist/language/util/duration/get-slavic-form.d.ts",
150
+ "./dist/language/util/validate-duration-language.d.ts",
151
+ "./dist/language/uz.d.ts",
152
+ "./dist/language/uz_CYR.d.ts",
153
+ "./dist/language/vi.d.ts",
154
+ "./dist/language/zh_CN.d.ts",
155
+ "./dist/language/zh_TW.d.ts"
156
+ ]
157
+ }
158
+ },
85
159
  "files": [
86
160
  "dist"
87
161
  ],
@@ -90,13 +164,14 @@
90
164
  "@anolilab/prettier-config": "^5.0.14",
91
165
  "@anolilab/semantic-release-pnpm": "^1.1.3",
92
166
  "@anolilab/semantic-release-preset": "^9.0.0",
167
+ "@arethetypeswrong/cli": "^0.15.4",
93
168
  "@babel/core": "^7.25.2",
94
169
  "@rushstack/eslint-plugin-security": "^0.8.2",
95
170
  "@secretlint/secretlint-rule-preset-recommend": "^8.2.4",
96
171
  "@types/ms": "^0.7.34",
97
172
  "@types/node": "18.19.15",
98
- "@visulima/packem": "^1.0.0-alpha.86",
99
- "@visulima/path": "1.0.5",
173
+ "@visulima/packem": "^1.0.0-alpha.93",
174
+ "@visulima/path": "1.0.6",
100
175
  "@vitest/coverage-v8": "^2.0.5",
101
176
  "@vitest/ui": "^2.0.5",
102
177
  "conventional-changelog-conventionalcommits": "8.0.0",
@@ -142,6 +217,7 @@
142
217
  "build:prod": "cross-env NODE_ENV=production packem build",
143
218
  "clean": "rimraf node_modules dist .eslintcache",
144
219
  "dev": "pnpm run build --watch",
220
+ "lint:attw": "attw --pack",
145
221
  "lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
146
222
  "lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs --fix",
147
223
  "lint:package-json": "publint --strict",