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

fill-keys

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fill-keys - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

index.js

33

package.json
{
"name": "fill-keys",
"main": "./release",
"version": "1.0.0",
"main": "index.js",
"version": "1.0.1",
"description": "Fill keys in a destination that are defined on the source",

@@ -17,3 +17,3 @@ "license": "MIT",

"scripts": {
"test": "standard && babel-tape-runner test/*.js"
"test": "standard && tape test.js"
},

@@ -26,26 +26,13 @@ "keywords": [

"dependencies": {
"is-object": "^1.0.1",
"merge-descriptors": "^1.0.0"
"is-object": "~1.0.1",
"merge-descriptors": "~1.0.0"
},
"devDependencies": {
"babel": "^5.0.0",
"babel-tape-runner": "*",
"tape": "^4.0.0",
"standard": "bendrucker/standard#babel",
"publicist": "~4.0.0",
"publicist-es5": "~1.0.0"
"standard": "^4.0.0"
},
"publicist": {
"builds": {
"es5": {
"dest": "./release"
}
}
},
"standard": {
"ignore": [
"release/",
"lib/"
]
}
"files": [
"index.js",
"readme.md"
]
}

@@ -26,6 +26,4 @@ # fill-keys [![Build Status](https://travis-ci.org/bendrucker/fill-keys.svg?branch=master)](https://travis-ci.org/bendrucker/fill-keys)

### `fillKeys(destination, source)`
#### `fillKeys(destination, source)` -> `destination`
Returns `destination`.
#### `destination`

@@ -40,10 +38,10 @@

*Required*
Type: `any`
*Required*
Type: `any`
The source object from which to copy properties.
### `fillKeys.es3(destination, source)`
#### `fillKeys.es3(destination, source)` -> `destination`
An ES3-compatible version of `fillKeys`. Behavior is identical but simple assignment is used instead of `Object.defineProperty`.
An ES3-compatible version of `fillKeys`. Behavior is identical but simple assignment is used instead of `Object.defineProperty`.

@@ -50,0 +48,0 @@

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