1
0
mirror of https://github.com/dzeiocom/libs.git synced 2025-04-22 02:42:13 +00:00

bump: object-util v1.7.0
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 54s

Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
Florian Bouillon 2023-09-04 14:19:32 +02:00
parent a1cd24f399
commit f804e0f43c
4 changed files with 892 additions and 5451 deletions

View File

@ -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

View File

@ -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"

File diff suppressed because it is too large Load Diff

View File

@ -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",