Socket
Socket
Sign inDemoInstall

@biggerstar/deepmerge

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @biggerstar/deepmerge

深度合并


Version published
Weekly downloads
29
decreased by-27.5%
Maintainers
1
Install size
1.67 kB
Created
Weekly downloads
 

Readme

Source
/**
 * 深度合并
 * @param target 目标对象
 * @param source 源对象
 * @param options
 * @param options.safe  是否是安全合并, 如果指定安全合并的话如果目标对象没有的键不会被合并
 * */
 
export function deepmerge<T extends Record<any, any>>(target: T, source: Record<any, any>, options:{safe: boolean}): T;

FAQs

Last updated on 23 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc