chore: update dependencies

This commit is contained in:
grandeljay 2023-08-17 11:47:40 +02:00
parent 0f47bca189
commit 6d20c0b45a
3066 changed files with 359185 additions and 427821 deletions

1
node_modules/deepmerge/.eslintcache generated vendored Normal file
View file

@ -0,0 +1 @@
[{"/Users/joshduff/code/deepmerge/test/custom-is-mergeable-object.js":"1"},{"size":1990,"mtime":1679007485753,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ktjd5k","/Users/joshduff/code/deepmerge/test/custom-is-mergeable-object.js",[],[]]

View file

@ -1,3 +1,7 @@
# [4.3.1](https://github.com/TehShrike/deepmerge/releases/tag/v4.3.1)
- Fix type definition for arrayMerge options. [#239](https://github.com/TehShrike/deepmerge/pull/239)
# [4.3.0](https://github.com/TehShrike/deepmerge/releases/tag/v4.3.0)
- Avoid thrown errors if the target doesn't have `propertyIsEnumerable`. [#252](https://github.com/TehShrike/deepmerge/pull/252)

6
node_modules/deepmerge/index.d.ts generated vendored
View file

@ -3,11 +3,15 @@ declare function deepmerge<T1, T2>(x: Partial<T1>, y: Partial<T2>, options?: dee
declare namespace deepmerge {
export interface Options {
arrayMerge?(target: any[], source: any[], options?: Options): any[];
arrayMerge?(target: any[], source: any[], options?: ArrayMergeOptions): any[];
clone?: boolean;
customMerge?: (key: string, options?: Options) => ((x: any, y: any) => any) | undefined;
isMergeableObject?(value: object): boolean;
}
export interface ArrayMergeOptions {
isMergeableObject(value: object): boolean;
cloneUnlessOtherwiseSpecified(value: object, options?: Options): object;
}
export function all (objects: object[], options?: Options): object;
export function all<T> (objects: Partial<T>[], options?: Options): T;

View file

@ -9,7 +9,7 @@
"clone",
"recursive"
],
"version": "4.3.0",
"version": "4.3.1",
"homepage": "https://github.com/TehShrike/deepmerge",
"repository": {
"type": "git",
@ -28,7 +28,7 @@
"devDependencies": {
"@types/node": "^8.10.54",
"is-mergeable-object": "1.1.0",
"is-plain-object": "^2.0.4",
"is-plain-object": "^5.0.0",
"jsmd": "^1.0.2",
"rollup": "^1.23.1",
"rollup-plugin-commonjs": "^10.1.0",
@ -38,6 +38,5 @@
"typescript": "=2.2.2",
"uglify-js": "^3.6.1"
},
"license": "MIT",
"dependencies": {}
"license": "MIT"
}

2
node_modules/deepmerge/readme.md generated vendored
View file

@ -166,7 +166,7 @@ You can accomplish this by passing in a function for the `isMergeableObject` opt
If you only want to clone properties of plain objects, and ignore all "special" kinds of instantiated objects, you probably want to drop in [`is-plain-object`](https://github.com/jonschlinkert/is-plain-object).
```js
const isPlainObject = require('is-plain-object')
const { isPlainObject } = require('is-plain-object')
function SuperSpecial() {
this.special = 'oh yeah man totally'