Socket
Socket
Sign inDemoInstall

defu

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

defu - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

2

dist/defu.d.ts
declare type Input = Record<string | number | symbol, any>;
declare type IgnoredInput = boolean | number | null | any[] | Record<never, any> | undefined;
declare type Merger = <T extends Input, K extends keyof T>(obj: T, key: keyof T, value: T[K], namespace: string) => any;
declare type Merger = <T extends Input, K extends keyof T>(object: T, key: keyof T, value: T[K], namespace: string) => any;
declare type nullish = null | undefined | void;

@@ -5,0 +5,0 @@ declare type MergeObjects<Destination extends Input, Defaults extends Input> = Destination extends Defaults ? Destination : Omit<Destination, keyof Destination & keyof Defaults> & Omit<Defaults, keyof Destination & keyof Defaults> & {

{
"name": "defu",
"version": "6.1.0",
"version": "6.1.1",
"description": "Recursively assign default properties. Lightweight and Fast!",

@@ -20,13 +20,13 @@ "repository": "unjs/defu",

"devDependencies": {
"@nuxtjs/eslint-config-typescript": "latest",
"@types/node": "latest",
"@vitest/coverage-c8": "^0.22.0",
"eslint": "latest",
"expect-type": "latest",
"standard-version": "latest",
"typescript": "latest",
"unbuild": "^0.8.8",
"vitest": "^0.22.0"
"@types/node": "^18.11.9",
"@vitest/coverage-c8": "^0.25.2",
"eslint": "^8.27.0",
"eslint-config-unjs": "^0.0.2",
"expect-type": "^0.15.0",
"standard-version": "^9.5.0",
"typescript": "^4.8.4",
"unbuild": "^0.9.4",
"vitest": "^0.25.2"
},
"packageManager": "pnpm@7.9.0",
"packageManager": "pnpm@7.13.5",
"scripts": {

@@ -33,0 +33,0 @@ "build": "unbuild",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc