uawdijnntqw1x1x1
IP : 216.73.216.110
Hostname : 6.87.74.97.host.secureserver.net
Kernel : Linux 6.87.74.97.host.secureserver.net 4.18.0-553.83.1.el8_10.x86_64 #1 SMP Mon Nov 10 04:22:44 EST 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
emeraadmin
/
.razor
/
..
/
public_html
/
ba656
/
..
/
node_modules
/
..
/
4d695
/
has-property-descriptors.tar
/
/
package.json000064400000006204151676724730007056 0ustar00{ "_from": "has-property-descriptors@^1.0.2", "_id": "has-property-descriptors@1.0.2", "_inBundle": false, "_integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "_location": "/has-property-descriptors", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "has-property-descriptors@^1.0.2", "name": "has-property-descriptors", "escapedName": "has-property-descriptors", "rawSpec": "^1.0.2", "saveSpec": null, "fetchSpec": "^1.0.2" }, "_requiredBy": [ "/set-function-length" ], "_resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "_shasum": "963ed7d071dc7bf5f084c5bfbe0d1b6222586854", "_spec": "has-property-descriptors@^1.0.2", "_where": "C:\\xampp\\htdocs\\emeraltd\\node_modules\\set-function-length", "author": { "name": "Jordan Harband", "email": "ljharb@gmail.com" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true }, "bugs": { "url": "https://github.com/inspect-js/has-property-descriptors/issues" }, "bundleDependencies": false, "dependencies": { "es-define-property": "^1.0.0" }, "deprecated": false, "description": "Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.", "devDependencies": { "@ljharb/eslint-config": "^21.1.0", "aud": "^2.0.4", "auto-changelog": "^2.4.0", "eslint": "=8.8.0", "evalmd": "^0.0.19", "in-publish": "^2.0.1", "npmignore": "^0.3.1", "nyc": "^10.3.2", "safe-publish-latest": "^2.0.0", "tape": "^5.7.4" }, "exports": { ".": "./index.js", "./package.json": "./package.json" }, "funding": { "url": "https://github.com/sponsors/ljharb" }, "homepage": "https://github.com/inspect-js/has-property-descriptors#readme", "keywords": [ "property", "descriptors", "has", "environment", "env", "defineProperty", "getOwnPropertyDescriptor" ], "license": "MIT", "main": "index.js", "name": "has-property-descriptors", "publishConfig": { "ignore": [ ".github/workflows" ] }, "repository": { "type": "git", "url": "git+https://github.com/inspect-js/has-property-descriptors.git" }, "scripts": { "lint": "eslint --ext=js,mjs .", "posttest": "aud --production", "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", "prelint": "evalmd README.md", "prepack": "npmignore --auto --commentLines=autogenerated", "prepublish": "not-in-publish || npm run prepublishOnly", "prepublishOnly": "safe-publish-latest", "pretest": "npm run lint", "test": "npm run tests-only", "tests-only": "nyc tape 'test/**/*.js'", "version": "auto-changelog && git add CHANGELOG.md" }, "sideEffects": false, "testling": { "files": "test/index.js" }, "version": "1.0.2" } test/index.js000064400000002575151676724730007223 0ustar00'use strict'; var test = require('tape'); var hasPropertyDescriptors = require('../'); var sentinel = {}; test('hasPropertyDescriptors', function (t) { t.equal(typeof hasPropertyDescriptors, 'function', 'is a function'); t.equal(typeof hasPropertyDescriptors.hasArrayLengthDefineBug, 'function', '`hasArrayLengthDefineBug` property is a function'); var yes = hasPropertyDescriptors(); t.test('property descriptors', { skip: !yes }, function (st) { var o = { a: sentinel }; st.deepEqual( Object.getOwnPropertyDescriptor(o, 'a'), { configurable: true, enumerable: true, value: sentinel, writable: true }, 'has expected property descriptor' ); Object.defineProperty(o, 'a', { enumerable: false, writable: false }); st.deepEqual( Object.getOwnPropertyDescriptor(o, 'a'), { configurable: true, enumerable: false, value: sentinel, writable: false }, 'has expected property descriptor after [[Define]]' ); st.end(); }); var arrayBug = hasPropertyDescriptors.hasArrayLengthDefineBug(); t.test('defining array lengths', { skip: !yes || arrayBug }, function (st) { var arr = [1, , 3]; // eslint-disable-line no-sparse-arrays st.equal(arr.length, 3, 'array starts with length 3'); Object.defineProperty(arr, 'length', { value: 5 }); st.equal(arr.length, 5, 'array ends with length 5'); st.end(); }); t.end(); }); LICENSE000064400000002053151676724730005573 0ustar00MIT License Copyright (c) 2022 Inspect JS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .eslintrc000064400000000255151676724730006414 0ustar00{ "root": true, "extends": "@ljharb", "rules": { "func-name-matching": 0, "id-length": 0, "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"], }], }, } index.js000064400000001114151676724730006230 0ustar00'use strict'; var $defineProperty = require('es-define-property'); var hasPropertyDescriptors = function hasPropertyDescriptors() { return !!$defineProperty; }; hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() { // node v0.6 has a bug where array lengths can be Set but not Defined if (!$defineProperty) { return null; } try { return $defineProperty([], 'length', { value: 1 }).length !== 1; } catch (e) { // In Firefox 4-22, defining length on an array throws an exception. return true; } }; module.exports = hasPropertyDescriptors; README.md000064400000004236151676724730006052 0ustar00# has-property-descriptors <sup>[![Version Badge][npm-version-svg]][package-url]</sup> [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] [![npm badge][npm-badge-png]][package-url] Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD. ## Example ```js 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` [package-url]: https://npmjs.org/package/has-property-descriptors [npm-version-svg]: https://versionbadg.es/inspect-js/has-property-descriptors.svg [deps-svg]: https://david-dm.org/inspect-js/has-property-descriptors.svg [deps-url]: https://david-dm.org/inspect-js/has-property-descriptors [dev-deps-svg]: https://david-dm.org/inspect-js/has-property-descriptors/dev-status.svg [dev-deps-url]: https://david-dm.org/inspect-js/has-property-descriptors#info=devDependencies [npm-badge-png]: https://nodei.co/npm/has-property-descriptors.png?downloads=true&stars=true [license-image]: https://img.shields.io/npm/l/has-property-descriptors.svg [license-url]: LICENSE [downloads-image]: https://img.shields.io/npm/dm/has-property-descriptors.svg [downloads-url]: https://npm-stat.com/charts.html?package=has-property-descriptors [codecov-image]: https://codecov.io/gh/inspect-js/has-property-descriptors/branch/main/graphs/badge.svg [codecov-url]: https://app.codecov.io/gh/inspect-js/has-property-descriptors/ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-property-descriptors [actions-url]: https://github.com/inspect-js/has-property-descriptors/actions .nycrc000064400000000213151676724730005701 0ustar00{ "all": true, "check-coverage": false, "reporter": ["text-summary", "text", "html", "json"], "exclude": [ "coverage", "test" ] } CHANGELOG.md000064400000005130151676724730006376 0ustar00# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [v1.0.2](https://github.com/inspect-js/has-property-descriptors/compare/v1.0.1...v1.0.2) - 2024-02-12 ### Commits - [Refactor] use `es-define-property` [`f93a8c8`](https://github.com/inspect-js/has-property-descriptors/commit/f93a8c85eba70cbceab500f2619fb5cce73a1805) - [Dev Deps] update `aud`, `npmignore`, `tape` [`42b0c9d`](https://github.com/inspect-js/has-property-descriptors/commit/42b0c9d1c23e747755f0f2924923c418ea34a9ee) - [Deps] update `get-intrinsic` [`35e9b46`](https://github.com/inspect-js/has-property-descriptors/commit/35e9b46a7f14331bf0de98b644dd803676746037) ## [v1.0.1](https://github.com/inspect-js/has-property-descriptors/compare/v1.0.0...v1.0.1) - 2023-10-20 ### Commits - [meta] use `npmignore` to autogenerate an npmignore file [`5bbf4da`](https://github.com/inspect-js/has-property-descriptors/commit/5bbf4dae1b58950d87bb3af508bee7513e640868) - [actions] update rebase action to use reusable workflow [`3a5585b`](https://github.com/inspect-js/has-property-descriptors/commit/3a5585bf74988f71a8f59e67a07d594e62c51fd8) - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`e5c1212`](https://github.com/inspect-js/has-property-descriptors/commit/e5c1212048a8fda549794c47863724ca60b89cae) - [Dev Deps] update `aud`, `tape` [`e942917`](https://github.com/inspect-js/has-property-descriptors/commit/e942917b6c2f7c090d5623048989cf20d0834ebf) - [Deps] update `get-intrinsic` [`f4a44ec`](https://github.com/inspect-js/has-property-descriptors/commit/f4a44ec6d94146fa6c550d3c15c31a2062c83ef4) - [Deps] update `get-intrinsic` [`eeb275b`](https://github.com/inspect-js/has-property-descriptors/commit/eeb275b473e5d72ca843b61ca25cfcb06a5d4300) ## v1.0.0 - 2022-04-14 ### Commits - Initial implementation, tests [`303559f`](https://github.com/inspect-js/has-property-descriptors/commit/303559f2a72dfe7111573a1aec475ed4a184c35a) - Initial commit [`3a7ca2d`](https://github.com/inspect-js/has-property-descriptors/commit/3a7ca2dc49f1fff0279a28bb16265e7615e14749) - read me [`dd73dce`](https://github.com/inspect-js/has-property-descriptors/commit/dd73dce09d89d0f7a4a6e3b1e562a506f979a767) - npm init [`c1e6557`](https://github.com/inspect-js/has-property-descriptors/commit/c1e655779de632d68cb944c50da6b71bcb7b8c85) - Only apps should have lockfiles [`e72f7c6`](https://github.com/inspect-js/has-property-descriptors/commit/e72f7c68de534b2d273ee665f8b18d4ecc7f70b0) .github/FUNDING.yml000064400000001123151676724730007740 0ustar00# These are supported funding model platforms github: [ljharb] patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username tidelift: npm/has-property-descriptors community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry liberapay: # Replace with a single Liberapay username issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
/home/emeraadmin/.razor/../public_html/ba656/../node_modules/../4d695/has-property-descriptors.tar