Gathering detailed insights and metrics for fill-keys
Gathering detailed insights and metrics for fill-keys
Gathering detailed insights and metrics for fill-keys
Gathering detailed insights and metrics for fill-keys
Fill keys in a destination that are defined on the source
npm install fill-keys
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
33 Commits
1 Forks
3 Watching
4 Branches
2 Contributors
Updated on 14 Oct 2022
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-4.1%
117,650
Compared to previous day
Last week
2.6%
739,601
Compared to previous week
Last month
24.2%
2,839,552
Compared to previous month
Last year
-5.5%
25,644,486
Compared to previous year
2
Fill keys in a destination that are defined on the source. Copies descriptors so properties like
enumerable
will persist.
$ npm install --save fill-keys
1const fillKeys = require('fill-keys') 2 3fillKeys(destination, source); 4//=> missing destination keys in source are copied
fill-keys will copy descriptors. It will also copy the source.prototype
properties onto destination.prototype
if both destination
and source
are functions.
fillKeys(destination, source)
-> destination
destination
Required
Type: any
The destination object where keys from source
will be added.
Required
Type: any
The source object from which to copy properties.
MIT © Ben Drucker
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 3/21 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More