aboutsummaryrefslogtreecommitdiffstats
path: root/backend/node_modules/has-proto
diff options
context:
space:
mode:
Diffstat (limited to 'backend/node_modules/has-proto')
-rw-r--r--backend/node_modules/has-proto/.eslintrc5
-rw-r--r--backend/node_modules/has-proto/.github/FUNDING.yml12
-rw-r--r--backend/node_modules/has-proto/CHANGELOG.md38
-rw-r--r--backend/node_modules/has-proto/LICENSE21
-rw-r--r--backend/node_modules/has-proto/README.md38
-rw-r--r--backend/node_modules/has-proto/index.d.ts3
-rw-r--r--backend/node_modules/has-proto/index.js15
-rw-r--r--backend/node_modules/has-proto/package.json78
-rw-r--r--backend/node_modules/has-proto/test/index.js19
-rw-r--r--backend/node_modules/has-proto/tsconfig.json49
10 files changed, 0 insertions, 278 deletions
diff --git a/backend/node_modules/has-proto/.eslintrc b/backend/node_modules/has-proto/.eslintrc
deleted file mode 100644
index 3b5d9e9..0000000
--- a/backend/node_modules/has-proto/.eslintrc
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "root": true,
-
- "extends": "@ljharb",
-}
diff --git a/backend/node_modules/has-proto/.github/FUNDING.yml b/backend/node_modules/has-proto/.github/FUNDING.yml
deleted file mode 100644
index 613705c..0000000
--- a/backend/node_modules/has-proto/.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-proto
-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-proto/CHANGELOG.md b/backend/node_modules/has-proto/CHANGELOG.md
deleted file mode 100644
index 6690f28..0000000
--- a/backend/node_modules/has-proto/CHANGELOG.md
+++ /dev/null
@@ -1,38 +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.3](https://github.com/inspect-js/has-proto/compare/v1.0.2...v1.0.3) - 2024-02-19
-
-### Commits
-
-- [types] add missing declaration file [`26ecade`](https://github.com/inspect-js/has-proto/commit/26ecade05d253bb5dc376945ee3186d1fbe334f8)
-
-## [v1.0.2](https://github.com/inspect-js/has-proto/compare/v1.0.1...v1.0.2) - 2024-02-19
-
-### Commits
-
-- add types [`6435262`](https://github.com/inspect-js/has-proto/commit/64352626cf511c0276d5f4bb6be770a0bf0f8524)
-- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `npmignore`, `tape` [`f16a5e4`](https://github.com/inspect-js/has-proto/commit/f16a5e4121651e551271419f9d60fdd3561fd82c)
-- [Refactor] tiny cleanup [`d1f1a4b`](https://github.com/inspect-js/has-proto/commit/d1f1a4bdc135f115a10f148ce302676224534702)
-- [meta] add `sideEffects` flag [`e7ab1a6`](https://github.com/inspect-js/has-proto/commit/e7ab1a6f153b3e80dee68d1748b71e46767a0531)
-
-## [v1.0.1](https://github.com/inspect-js/has-proto/compare/v1.0.0...v1.0.1) - 2022-12-21
-
-### Commits
-
-- [meta] correct URLs and description [`ef34483`](https://github.com/inspect-js/has-proto/commit/ef34483ca0d35680f271b6b96e35526151b25dfc)
-- [patch] add an additional criteria [`e81959e`](https://github.com/inspect-js/has-proto/commit/e81959ed7c7a77fbf459f00cb4ef824f1099497f)
-- [Dev Deps] update `aud` [`2bec2c4`](https://github.com/inspect-js/has-proto/commit/2bec2c47b072b122ff5443fba0263f6dc649531f)
-
-## v1.0.0 - 2022-12-12
-
-### Commits
-
-- Initial implementation, tests, readme [`6886fea`](https://github.com/inspect-js/has-proto/commit/6886fea578f67daf69a7920b2eb7637ea6ebb0bc)
-- Initial commit [`99129c8`](https://github.com/inspect-js/has-proto/commit/99129c8f42471ac89cb681ba9cb9d52a583eb94f)
-- npm init [`2844ad8`](https://github.com/inspect-js/has-proto/commit/2844ad8e75b84d66a46765b3bab9d2e8ea692e10)
-- Only apps should have lockfiles [`c65bc5e`](https://github.com/inspect-js/has-proto/commit/c65bc5e40b9004463f7336d47c67245fb139a36a)
diff --git a/backend/node_modules/has-proto/LICENSE b/backend/node_modules/has-proto/LICENSE
deleted file mode 100644
index 2e7b9a3..0000000
--- a/backend/node_modules/has-proto/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-proto/README.md b/backend/node_modules/has-proto/README.md
deleted file mode 100644
index 1456765..0000000
--- a/backend/node_modules/has-proto/README.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# has-proto <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
-
-[![github actions][actions-image]][actions-url]
-[![coverage][codecov-image]][codecov-url]
-[![License][license-image]][license-url]
-[![Downloads][downloads-image]][downloads-url]
-
-[![npm badge][npm-badge-png]][package-url]
-
-Does this environment have the ability to set the [[Prototype]] of an object on creation with `__proto__`?
-
-## Example
-
-```js
-var hasProto = require('has-proto');
-var assert = require('assert');
-
-assert.equal(typeof hasProto(), 'boolean');
-```
-
-## Tests
-Simply clone the repo, `npm install`, and run `npm test`
-
-[package-url]: https://npmjs.org/package/has-proto
-[npm-version-svg]: https://versionbadg.es/inspect-js/has-proto.svg
-[deps-svg]: https://david-dm.org/inspect-js/has-proto.svg
-[deps-url]: https://david-dm.org/inspect-js/has-proto
-[dev-deps-svg]: https://david-dm.org/inspect-js/has-proto/dev-status.svg
-[dev-deps-url]: https://david-dm.org/inspect-js/has-proto#info=devDependencies
-[npm-badge-png]: https://nodei.co/npm/has-proto.png?downloads=true&stars=true
-[license-image]: https://img.shields.io/npm/l/has-proto.svg
-[license-url]: LICENSE
-[downloads-image]: https://img.shields.io/npm/dm/has-proto.svg
-[downloads-url]: https://npm-stat.com/charts.html?package=has-proto
-[codecov-image]: https://codecov.io/gh/inspect-js/has-proto/branch/main/graphs/badge.svg
-[codecov-url]: https://app.codecov.io/gh/inspect-js/has-proto/
-[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-proto
-[actions-url]: https://github.com/inspect-js/has-proto/actions
diff --git a/backend/node_modules/has-proto/index.d.ts b/backend/node_modules/has-proto/index.d.ts
deleted file mode 100644
index cfed695..0000000
--- a/backend/node_modules/has-proto/index.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-declare function hasProto(): boolean;
-
-export = hasProto; \ No newline at end of file
diff --git a/backend/node_modules/has-proto/index.js b/backend/node_modules/has-proto/index.js
deleted file mode 100644
index d3c8a0a..0000000
--- a/backend/node_modules/has-proto/index.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-
-var test = {
- __proto__: null,
- foo: {}
-};
-
-var $Object = Object;
-
-/** @type {import('.')} */
-module.exports = function hasProto() {
- // @ts-expect-error: TS errors on an inherited property for some reason
- return { __proto__: test }.foo === test.foo
- && !(test instanceof $Object);
-};
diff --git a/backend/node_modules/has-proto/package.json b/backend/node_modules/has-proto/package.json
deleted file mode 100644
index 9d37e4e..0000000
--- a/backend/node_modules/has-proto/package.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "name": "has-proto",
- "version": "1.0.3",
- "description": "Does this environment have the ability to get the [[Prototype]] of an object on creation with `__proto__`?",
- "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",
- "lint": "eslint --ext=js,mjs .",
- "postlint": "tsc -p .",
- "pretest": "npm run lint",
- "tests-only": "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-proto.git"
- },
- "keywords": [
- "prototype",
- "proto",
- "set",
- "get",
- "__proto__",
- "getPrototypeOf",
- "setPrototypeOf",
- "has"
- ],
- "author": "Jordan Harband <ljharb@gmail.com>",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- },
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/inspect-js/has-proto/issues"
- },
- "homepage": "https://github.com/inspect-js/has-proto#readme",
- "testling": {
- "files": "test/index.js"
- },
- "devDependencies": {
- "@ljharb/eslint-config": "^21.1.0",
- "@types/tape": "^5.6.4",
- "aud": "^2.0.4",
- "auto-changelog": "^2.4.0",
- "eslint": "=8.8.0",
- "in-publish": "^2.0.1",
- "npmignore": "^0.3.1",
- "safe-publish-latest": "^2.0.0",
- "tape": "^5.7.5",
- "typescript": "next"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "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-proto/test/index.js b/backend/node_modules/has-proto/test/index.js
deleted file mode 100644
index 5da1a3a..0000000
--- a/backend/node_modules/has-proto/test/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-'use strict';
-
-var test = require('tape');
-var hasProto = require('../');
-
-test('hasProto', function (t) {
- var result = hasProto();
- t.equal(typeof result, 'boolean', 'returns a boolean (' + result + ')');
-
- var obj = { __proto__: null };
- if (result) {
- t.notOk('toString' in obj, 'null object lacks toString');
- } else {
- t.ok('toString' in obj, 'without proto, null object has toString');
- t.equal(obj.__proto__, null); // eslint-disable-line no-proto
- }
-
- t.end();
-});
diff --git a/backend/node_modules/has-proto/tsconfig.json b/backend/node_modules/has-proto/tsconfig.json
deleted file mode 100644
index 2002ce5..0000000
--- a/backend/node_modules/has-proto/tsconfig.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "compilerOptions": {
- /* Visit https://aka.ms/tsconfig to read more about this file */
-
- /* Projects */
-
- /* Language and Environment */
- "target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
- // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
- // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
- "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
- // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
-
- /* Modules */
- "module": "commonjs", /* Specify what module code is generated. */
- // "rootDir": "./", /* Specify the root folder within your source files. */
- // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
- // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
- // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
- // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
- "typeRoots": ["types"], /* Specify multiple folders that act like './node_modules/@types'. */
- "resolveJsonModule": true, /* Enable importing .json files. */
- // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
-
- /* JavaScript Support */
- "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
- "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
- "maxNodeModuleJsDepth": 0, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
-
- /* Emit */
- "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
- "declarationMap": true, /* Create sourcemaps for d.ts files. */
- "noEmit": true, /* Disable emitting files from a compilation. */
-
- /* Interop Constraints */
- "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
- "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
- "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
-
- /* Type Checking */
- "strict": true, /* Enable all strict type-checking options. */
-
- /* Completeness */
- //"skipLibCheck": true /* Skip type checking all .d.ts files. */
- },
- "exclude": [
- "coverage"
- ]
-}