Socket
Socket
Sign inDemoInstall

copy-descriptor

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

7

index.js

@@ -51,3 +51,3 @@ /*!

module.exports = function copyDescriptor(receiver, provider, from, to) {
if (!isObject(provider)) {
if (!isObject(provider) && typeof provider !== 'function') {
to = from;

@@ -57,7 +57,6 @@ from = provider;

}
if (!isObject(receiver)) {
if (!isObject(receiver) && typeof receiver !== 'function') {
throw new TypeError('expected the first argument to be an object');
}
if (!isObject(provider)) {
if (!isObject(provider) && typeof provider !== 'function') {
throw new TypeError('expected provider to be an object');

@@ -64,0 +63,0 @@ }

{
"name": "copy-descriptor",
"description": "Copy a descriptor from object A to object B",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/jonschlinkert/copy-descriptor",

@@ -23,4 +23,4 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"devDependencies": {
"gulp-format-md": "^0.1.4",
"mocha": "*"
"gulp-format-md": "^0.1.9",
"mocha": "^2.5.3"
},

@@ -32,2 +32,10 @@ "keywords": [

"verb": {
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"related": {

@@ -42,7 +50,10 @@ "list": [

},
"plugins": [
"gulp-format-md"
],
"layout": "default"
"lint": {
"reflinks": true
},
"reflinks": [
"verb-readme-generator",
"verb"
]
}
}

Sorry, the diff of this file is not supported yet

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