@homer0/object-utils 3.0.0 → 3.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/README.md +7 -5
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -235,14 +235,16 @@ There are also a few "shorthand implementations" of `formatKeys`:
|
|
|
235
235
|
|
|
236
236
|
### 🤘 Development
|
|
237
237
|
|
|
238
|
-
As this project is part of the `packages` monorepo, some of the tooling, like
|
|
238
|
+
As this project is part of the `packages` monorepo, some of the tooling, like `lint-staged` and `husky`, are installed on the root's `package.json`.
|
|
239
239
|
|
|
240
240
|
#### Tasks
|
|
241
241
|
|
|
242
|
-
| Task
|
|
243
|
-
|
|
|
244
|
-
| `
|
|
245
|
-
| `
|
|
242
|
+
| Task | Description |
|
|
243
|
+
| ------------- | ------------------------------- |
|
|
244
|
+
| `lint` | Lints the package. |
|
|
245
|
+
| `test` | Runs the unit tests. |
|
|
246
|
+
| `build` | Transpiles the project. |
|
|
247
|
+
| `types:check` | Validates the TypeScript types. |
|
|
246
248
|
|
|
247
249
|
## Motivation
|
|
248
250
|
|
package/dist/index.d.mts
CHANGED
|
@@ -403,4 +403,4 @@ type UnflatOptions = {
|
|
|
403
403
|
*/
|
|
404
404
|
declare const unflat: <T = Record<string, unknown>>(options: UnflatOptions) => T;
|
|
405
405
|
|
|
406
|
-
export { ExtractOptions, FlatOptions, FormatKeysExtensionOptions, FormatKeysOptions, FormatKeysReplaceFn, GetOptions, RemoveOptions, SetOptions, ShouldFlattenFn, UnflatOptions, copy, dashToLowerCamelKeys, dashToSnakeKeys, extract, extractionPath, flat, formatKeys, get, lowerCamelToDashKeys, lowerCamelToSnakeKeys, merge, remove, set, snakeToDashKeys, snakeToLowerCamelKeys, unflat };
|
|
406
|
+
export { type ExtractOptions, type FlatOptions, type FormatKeysExtensionOptions, type FormatKeysOptions, type FormatKeysReplaceFn, type GetOptions, type RemoveOptions, type SetOptions, type ShouldFlattenFn, type UnflatOptions, copy, dashToLowerCamelKeys, dashToSnakeKeys, extract, type extractionPath, flat, formatKeys, get, lowerCamelToDashKeys, lowerCamelToSnakeKeys, merge, remove, set, snakeToDashKeys, snakeToLowerCamelKeys, unflat };
|
package/dist/index.d.ts
CHANGED
|
@@ -403,4 +403,4 @@ type UnflatOptions = {
|
|
|
403
403
|
*/
|
|
404
404
|
declare const unflat: <T = Record<string, unknown>>(options: UnflatOptions) => T;
|
|
405
405
|
|
|
406
|
-
export { ExtractOptions, FlatOptions, FormatKeysExtensionOptions, FormatKeysOptions, FormatKeysReplaceFn, GetOptions, RemoveOptions, SetOptions, ShouldFlattenFn, UnflatOptions, copy, dashToLowerCamelKeys, dashToSnakeKeys, extract, extractionPath, flat, formatKeys, get, lowerCamelToDashKeys, lowerCamelToSnakeKeys, merge, remove, set, snakeToDashKeys, snakeToLowerCamelKeys, unflat };
|
|
406
|
+
export { type ExtractOptions, type FlatOptions, type FormatKeysExtensionOptions, type FormatKeysOptions, type FormatKeysReplaceFn, type GetOptions, type RemoveOptions, type SetOptions, type ShouldFlattenFn, type UnflatOptions, copy, dashToLowerCamelKeys, dashToSnakeKeys, extract, type extractionPath, flat, formatKeys, get, lowerCamelToDashKeys, lowerCamelToSnakeKeys, merge, remove, set, snakeToDashKeys, snakeToLowerCamelKeys, unflat };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homer0/object-utils",
|
|
3
3
|
"description": "A small collection of utility methods to work with objects.",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/homer0/packages.git",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"extend": "^3.0.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@homer0/eslint-plugin": "12.0.
|
|
30
|
-
"@homer0/tsconfig": "1.0.
|
|
31
|
-
"@types/extend": "^3.0.
|
|
29
|
+
"@homer0/eslint-plugin": "12.0.1",
|
|
30
|
+
"@homer0/tsconfig": "1.0.13",
|
|
31
|
+
"@types/extend": "^3.0.4",
|
|
32
32
|
"jest": "^29.7.0",
|
|
33
33
|
"ts-jest": "^29.1.1",
|
|
34
|
-
"tsup": "^
|
|
35
|
-
"typescript": "^5.
|
|
34
|
+
"tsup": "^8.0.1",
|
|
35
|
+
"typescript": "^5.3.3"
|
|
36
36
|
},
|
|
37
37
|
"engine-strict": true,
|
|
38
38
|
"engines": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"build": "tsup src/index.ts",
|
|
49
49
|
"prepublishOnly": "pnpm run build"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "3e1bd862a217e2d26a783144b991436e8b589260"
|
|
52
52
|
}
|