Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

has-property-descriptors

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Issues
File Explorer

Advanced tools

has-property-descriptors

Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.

    1.0.0latest

Version published
Maintainers
1
Weekly downloads
17,072,200
increased by4.28%

Weekly downloads

Changelog

Source

v1.0.0 - 2022-04-14

Commits

Readme

Source

has-property-descriptors Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.

Example

var hasPropertyDescriptors = require('has-property-descriptors'); var assert = require('assert'); assert.equal(hasPropertyDescriptors(), true); // will be `false` in IE 6-8, and ES5 engines // Arrays can not have their length `[[Defined]]` in some engines assert.equal(hasPropertyDescriptors.hasArrayLengthDefineBug(), false); // will be `true` in Firefox 4-22, and node v0.6

Tests

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

Keywords

FAQs

What is has-property-descriptors?

Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.

Is has-property-descriptors popular?

The npm package has-property-descriptors receives a total of 16,098,691 weekly downloads. As such, has-property-descriptors popularity was classified as popular.

Is has-property-descriptors well maintained?

We found that has-property-descriptors demonstrated a healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.

Last updated on 15 Apr 2022
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc