Skip to content

Commit

Permalink
chore(release): 3.0.0-beta.5 [skip ci]
Browse files Browse the repository at this point in the history
# [3.0.0-beta.5](v3.0.0-beta.4...v3.0.0-beta.5) (2022-02-16)

### Features

* provide customizable meta data to custom merge functions ([f6b1cad](f6b1cad)), closes [#33](#33)
  • Loading branch information
semantic-release-bot committed Feb 16, 2022
1 parent 75c8f0e commit 1f4fafa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog
All notable changes to this project will be documented in this file. Dates are displayed in UTC.

# [3.0.0-beta.5](https://github.com/RebeccaStevens/deepmerge-ts/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2022-02-16)


### Features

* provide customizable meta data to custom merge functions ([f6b1cad](https://github.com/RebeccaStevens/deepmerge-ts/commit/f6b1cad607d8b747f8273b29058ef796bcd4239b)), closes [#33](https://github.com/RebeccaStevens/deepmerge-ts/issues/33)

# [3.0.0-beta.4](https://github.com/RebeccaStevens/deepmerge-ts/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2022-02-16)


Expand Down
2 changes: 1 addition & 1 deletion dist/deno/deepmerge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function deepmergeCustom<
> = DeepMergeBuiltInMetaData
>(
options: DeepMergeOptions<MetaData, MetaMetaData>,
rootMetaData: MetaData
rootMetaData?: MetaData
): <Ts extends ReadonlyArray<unknown>>(
...objects: Ts
) => DeepMergeHKT<Ts, GetDeepMergeMergeFunctionsURIs<PMF>, MetaData>;
Expand Down
2 changes: 1 addition & 1 deletion dist/deno/types/merging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface DeepMergeMergeFunctionURItoKind<
MF extends DeepMergeMergeFunctionsURIs,
M
> {
readonly DeepMergeLeafURI: DeepMergeLeafHKT<Ts>;
readonly DeepMergeLeafURI: DeepMergeLeaf<Ts>;
readonly DeepMergeRecordsDefaultURI: DeepMergeRecordsDefaultHKT<Ts, MF, M>;
readonly DeepMergeArraysDefaultURI: DeepMergeArraysDefaultHKT<Ts, MF, M>;
readonly DeepMergeSetsDefaultURI: DeepMergeSetsDefaultHKT<Ts>;
Expand Down
4 changes: 2 additions & 2 deletions dist/node/types/current/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ declare type IsTuple<T extends ReadonlyArray<unknown>> = T extends readonly [] ?
* Mapping of merge function URIs to the merge function type.
*/
interface DeepMergeMergeFunctionURItoKind<Ts extends ReadonlyArray<unknown>, MF extends DeepMergeMergeFunctionsURIs, M> {
readonly DeepMergeLeafURI: DeepMergeLeafHKT<Ts>;
readonly DeepMergeLeafURI: DeepMergeLeaf<Ts>;
readonly DeepMergeRecordsDefaultURI: DeepMergeRecordsDefaultHKT<Ts, MF, M>;
readonly DeepMergeArraysDefaultURI: DeepMergeArraysDefaultHKT<Ts, MF, M>;
readonly DeepMergeSetsDefaultURI: DeepMergeSetsDefaultHKT<Ts>;
Expand Down Expand Up @@ -368,7 +368,7 @@ declare function deepmergeCustom<PMF extends Partial<DeepMergeMergeFunctionsURIs
* @param options - The options on how to customize the merge function.
* @param rootMetaData - The meta data passed to the root items' being merged.
*/
declare function deepmergeCustom<PMF extends Partial<DeepMergeMergeFunctionsURIs>, MetaData, MetaMetaData extends Readonly<Record<PropertyKey, unknown>> = DeepMergeBuiltInMetaData>(options: DeepMergeOptions<MetaData, MetaMetaData>, rootMetaData: MetaData): <Ts extends ReadonlyArray<unknown>>(...objects: Ts) => DeepMergeHKT<Ts, GetDeepMergeMergeFunctionsURIs<PMF>, MetaData>;
declare function deepmergeCustom<PMF extends Partial<DeepMergeMergeFunctionsURIs>, MetaData, MetaMetaData extends Readonly<Record<PropertyKey, unknown>> = DeepMergeBuiltInMetaData>(options: DeepMergeOptions<MetaData, MetaMetaData>, rootMetaData?: MetaData): <Ts extends ReadonlyArray<unknown>>(...objects: Ts) => DeepMergeHKT<Ts, GetDeepMergeMergeFunctionsURIs<PMF>, MetaData>;
/**
* Merge records.
*
Expand Down

0 comments on commit 1f4fafa

Please sign in to comment.