
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
es-define-property
Advanced tools
Object.defineProperty
, but not IE 8's broken one.
const assert = require('assert');
const $defineProperty = require('es-define-property');
if ($defineProperty) {
assert.equal($defineProperty, Object.defineProperty);
} else if (Object.defineProperty) {
assert.equal($defineProperty, false, 'this is IE 8');
} else {
assert.equal($defineProperty, false, 'this is an ES3 engine');
}
Simply clone the repo, npm install
, and run npm test
Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.
v1.0.1 - 2024-12-06
954a663
3a8e84b
@ljharb/eslint-config
, @ljharb/tsconfig
, @types/get-intrinsic
, @types/tape
, auto-changelog
, gopd
, tape
86ae27b
get-intrinsic
02480c0
aud
with npm audit
f6093ff
7139e66
tape
b901b51
469d269
733acfb
FAQs
`Object.defineProperty`, but not IE 8's broken one.
The npm package es-define-property receives a total of 55,824,261 weekly downloads. As such, es-define-property popularity was classified as popular.
We found that es-define-property demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.