GitShow/sindresorhus/merge-descriptors
sindresorhus

merge-descriptors

Merge objects using their property descriptors

by sindresorhus
Star on GitHubForknpm

JavaScript

157 stars29 forks6 contributorsQuiet · 2y agoSince 2013v2.0.0MIT

Meet the team

See all 6 on GitHub →
dougwilson
dougwilson55 contributions
sindresorhus
sindresorhus5 contributions
jonathanong
jonathanong2 contributions
grabbou
grabbou1 contribution
PixnBits
PixnBits1 contribution
nook-scheel
nook-scheel1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
dfzysmy2tf-create
merge-descriptors - Prototype Pollution RiskClosedIssue

hi, we are a security team. We found a Prototype Pollution vulnerability in your project. Package Name: merge-descriptors Version: Latest version Vulnerability Description merge-descriptors uses Object.getOwnPropertyNames and Object.defineProperty to copy property descriptors. Although it only copies own properties, pollution may still spread if the source object itself is constructed through prototype pollution. Vulnerable Code Location merge-descriptors/index.js: POC Verification

dfzysmy2tf-create · 3mo ago
xerocross
update readme to clarify the merge functionMergedPR

As it is, the readme file on this repo is unclear on exactly what the library does. For one thing, an object does not have descriptors. It has properties, and the properties have descriptors. I tried to make it clearer.

xerocross · 2y ago
e-kibet
Chore/Include the installation instruction on readmeMergedPR

This PR will allow the npm package users to be able to get the instruction on how to install this package, This is not currently provided on the README.md file.

e-kibet · 2y ago
Structured data for AI agents

Repository: sindresorhus/merge-descriptors. Description: Merge objects using their property descriptors Stars: 157, Forks: 29. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v2.0.0 (2y ago). Open PRs: 0, open issues: 0. Last activity: 2y ago. Community health: 85%. Top contributors: dougwilson, sindresorhus, jonathanong, grabbou, PixnBits, nook-scheel.

·@ofershap

Replace github.com with gitshow.dev