mirror of
https://github.com/dzeiocom/libs.git
synced 2025-04-22 02:42:13 +00:00
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
parent
a1cd24f399
commit
f804e0f43c
@ -6,8 +6,49 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.7.0] - 2023-09-04
|
||||
|
||||
### Added
|
||||
|
||||
- a new `objectFind` function to find elements in an object
|
||||
|
||||
## [1.6.1] - 2023-07-12
|
||||
|
||||
### Fixed
|
||||
|
||||
- Import order not respected for some loaders
|
||||
|
||||
## [1.6.0] - 2023-06-28
|
||||
|
||||
### Changed
|
||||
|
||||
- Better support for both ESM and CommonJS
|
||||
|
||||
## [1.5.0] - 2023-03-14
|
||||
|
||||
### Added
|
||||
|
||||
- new option for `objectClean` that clean falthy values
|
||||
- new `objectRemap` function that allow to create a new object from the key/value of the old object while applying modifications
|
||||
- Tests to better support Arrays
|
||||
|
||||
### Changed
|
||||
|
||||
- Export previously internal types `BasiceObject` and `BasicObjectKeys`
|
||||
|
||||
### Fixed
|
||||
|
||||
- Missing JSDocs for the retuns
|
||||
|
||||
## [1.4.6] - 2023-02-22
|
||||
|
||||
### Fixed
|
||||
|
||||
- Handle arrays with empty elements
|
||||
|
||||
## [1.4.5] - 2022-12-08
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
- Typescript returning errors when object can contains undefined
|
||||
|
@ -1,4 +1,7 @@
|
||||
/// <reference types="jest" />
|
||||
/**
|
||||
* Tests for currently deprecated functions, so that there works die only after the next major update
|
||||
*/
|
||||
|
||||
import { cloneObject, objectToArray } from "../src/ObjectUtil"
|
||||
|
||||
|
6290
packages/object-util/package-lock.json
generated
6290
packages/object-util/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@dzeio/object-util",
|
||||
"version": "1.6.1",
|
||||
"version": "1.7.0",
|
||||
"description": "Utility functions to manipulate an object",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -29,16 +29,15 @@
|
||||
"sideEffects": false,
|
||||
"devDependencies": {
|
||||
"@types/jest": "^29",
|
||||
"@typescript-eslint/eslint-plugin": "^5",
|
||||
"@typescript-eslint/parser": "^5",
|
||||
"esbuild": "^0.16.2",
|
||||
"@typescript-eslint/eslint-plugin": "^6",
|
||||
"@typescript-eslint/parser": "^6",
|
||||
"eslint": "^8",
|
||||
"jest": "^29",
|
||||
"jest-sonar-reporter": "^2",
|
||||
"ts-jest": "^29",
|
||||
"ts-node": "^10",
|
||||
"tsup": "^7.1.0",
|
||||
"typescript": "^4"
|
||||
"typescript": "^5"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublishOnly": "npm run build",
|
||||
|
Loading…
x
Reference in New Issue
Block a user