Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

merge-options

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

merge-options - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

index.d.ts

6

index.js
'use strict';
import isOptionObject from 'is-plain-obj';
const isOptionObject = require('is-plain-obj');

@@ -154,3 +154,3 @@ const {hasOwnProperty} = Object.prototype;

export default function mergeOptions(...options) {
module.exports = function (...options) {
const config = merge(clone(defaultMergeOptions), (this !== globalThis && this) || {}, defaultMergeOptions);

@@ -172,2 +172,2 @@ let merged = {_: {}};

return merged._;
}
};
{
"name": "merge-options",
"version": "3.0.0",
"type": "module",
"version": "3.0.1",
"description": "Merge Option Objects",

@@ -20,4 +19,11 @@ "license": "MIT",

},
"main": "./index.js",
"exports": {
"require": "./index.js",
"import": "./index.mjs"
},
"files": [
"index.js"
"index.d.ts",
"index.js",
"index.mjs"
],

@@ -24,0 +30,0 @@ "keywords": [

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