aboutsummaryrefslogtreecommitdiffstats
path: root/backend/node_modules/has-property-descriptors
diff options
context:
space:
mode:
Diffstat (limited to 'backend/node_modules/has-property-descriptors')
-rw-r--r--backend/node_modules/has-property-descriptors/.eslintrc13
-rw-r--r--backend/node_modules/has-property-descriptors/.github/FUNDING.yml12
-rw-r--r--backend/node_modules/has-property-descriptors/.nycrc9
-rw-r--r--backend/node_modules/has-property-descriptors/CHANGELOG.md35
-rw-r--r--backend/node_modules/has-property-descriptors/LICENSE21
-rw-r--r--backend/node_modules/has-property-descriptors/README.md43
-rw-r--r--backend/node_modules/has-property-descriptors/index.js22
-rw-r--r--backend/node_modules/has-property-descriptors/package.json77
-rw-r--r--backend/node_modules/has-property-descriptors/test/index.js57
9 files changed, 0 insertions, 289 deletions
diff --git a/backend/node_modules/has-property-descriptors/.eslintrc b/backend/node_modules/has-property-descriptors/.eslintrc
deleted file mode 100644
index 2fcc002..0000000
--- a/backend/node_modules/has-property-descriptors/.eslintrc
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "root": true,
-
- "extends": "@ljharb",
-
- "rules": {
- "func-name-matching": 0,
- "id-length": 0,
- "new-cap": [2, {
- "capIsNewExceptions": ["GetIntrinsic"],
- }],
- },
-}
diff --git a/backend/node_modules/has-property-descriptors/.github/FUNDING.yml b/backend/node_modules/has-property-descriptors/.github/FUNDING.yml
deleted file mode 100644
index 817aacf..0000000
--- a/backend/node_modules/has-property-descriptors/.github/FUNDING.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# 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']
diff --git a/backend/node_modules/has-property-descriptors/.nycrc b/backend/node_modules/has-property-descriptors/.nycrc
deleted file mode 100644
index bdd626c..0000000
--- a/backend/node_modules/has-property-descriptors/.nycrc
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "all": true,
- "check-coverage": false,
- "reporter": ["text-summary", "text", "html", "json"],
- "exclude": [
- "coverage",
- "test"
- ]
-}
diff --git a/backend/node_modules/has-property-descriptors/CHANGELOG.md b/backend/node_modules/has-property-descriptors/CHANGELOG.md
deleted file mode 100644
index 19c8a95..0000000
--- a/backend/node_modules/has-property-descriptors/CHANGELOG.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# 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)
diff --git a/backend/node_modules/has-property-descriptors/LICENSE b/backend/node_modules/has-property-descriptors/LICENSE
deleted file mode 100644
index 2e7b9a3..0000000
--- a/backend/node_modules/has-property-descriptors/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT 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.
diff --git a/backend/node_modules/has-property-descriptors/README.md b/backend/node_modules/has-property-descriptors/README.md
deleted file mode 100644
index d81fbd9..0000000
--- a/backend/node_modules/has-property-descriptors/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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
diff --git a/backend/node_modules/has-property-descriptors/index.js b/backend/node_modules/has-property-descriptors/index.js
deleted file mode 100644
index 0480437..0000000
--- a/backend/node_modules/has-property-descriptors/index.js
+++ /dev/null
@@ -1,22 +0,0 @@
-'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;
diff --git a/backend/node_modules/has-property-descriptors/package.json b/backend/node_modules/has-property-descriptors/package.json
deleted file mode 100644
index 7e70218..0000000
--- a/backend/node_modules/has-property-descriptors/package.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "name": "has-property-descriptors",
- "version": "1.0.2",
- "description": "Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.",
- "main": "index.js",
- "exports": {
- ".": "./index.js",
- "./package.json": "./package.json"
- },
- "sideEffects": false,
- "scripts": {
- "prepack": "npmignore --auto --commentLines=autogenerated",
- "prepublishOnly": "safe-publish-latest",
- "prepublish": "not-in-publish || npm run prepublishOnly",
- "pretest": "npm run lint",
- "prelint": "evalmd README.md",
- "lint": "eslint --ext=js,mjs .",
- "tests-only": "nyc tape 'test/**/*.js'",
- "test": "npm run tests-only",
- "posttest": "aud --production",
- "version": "auto-changelog && git add CHANGELOG.md",
- "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/inspect-js/has-property-descriptors.git"
- },
- "keywords": [
- "property",
- "descriptors",
- "has",
- "environment",
- "env",
- "defineProperty",
- "getOwnPropertyDescriptor"
- ],
- "author": "Jordan Harband <ljharb@gmail.com>",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- },
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/inspect-js/has-property-descriptors/issues"
- },
- "homepage": "https://github.com/inspect-js/has-property-descriptors#readme",
- "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"
- },
- "dependencies": {
- "es-define-property": "^1.0.0"
- },
- "testling": {
- "files": "test/index.js"
- },
- "auto-changelog": {
- "output": "CHANGELOG.md",
- "template": "keepachangelog",
- "unreleased": false,
- "commitLimit": false,
- "backfillLimit": false,
- "hideCredit": true
- },
- "publishConfig": {
- "ignore": [
- ".github/workflows"
- ]
- }
-}
diff --git a/backend/node_modules/has-property-descriptors/test/index.js b/backend/node_modules/has-property-descriptors/test/index.js
deleted file mode 100644
index 7f02bd3..0000000
--- a/backend/node_modules/has-property-descriptors/test/index.js
+++ /dev/null
@@ -1,57 +0,0 @@
-'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();
-});