adi-o3-multipass/frontend/node_modules/es-define-property
2025-09-16 07:53:27 -05:00
..
.github added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
test added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
.eslintrc added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
.nycrc added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
CHANGELOG.md added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
index.d.ts added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
index.js added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
LICENSE added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
package.json added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
README.md added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
tsconfig.json added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00

es-define-property Version Badge

github actions coverage License Downloads

npm badge

Object.defineProperty, but not IE 8's broken one.

Example

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');
}

Tests

Simply clone the repo, npm install, and run npm test

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.