merge-options
Advanced tools
Comparing version 3.0.0 to 3.0.1
'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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10549
6
145
No