aboutsummaryrefslogtreecommitdiffstats
path: root/backend/node_modules/es-define-property
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-07-25 12:10:39 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-07-25 12:10:39 +0530
commit4f27eefd6ec24a2644e674850f5a2b5d4928b168 (patch)
tree26067f67ef4d25b2b0d84b26d72432b1cade5825 /backend/node_modules/es-define-property
parentc00ac1ff51c795d4d93c32e0a913e2cebf917d0c (diff)
downloadadmin-panel-4f27eefd6ec24a2644e674850f5a2b5d4928b168.tar.gz
admin-panel-4f27eefd6ec24a2644e674850f5a2b5d4928b168.tar.bz2
admin-panel-4f27eefd6ec24a2644e674850f5a2b5d4928b168.zip
added .gitignore
Diffstat (limited to 'backend/node_modules/es-define-property')
-rw-r--r--backend/node_modules/es-define-property/.eslintrc13
-rw-r--r--backend/node_modules/es-define-property/.github/FUNDING.yml12
-rw-r--r--backend/node_modules/es-define-property/.nycrc9
-rw-r--r--backend/node_modules/es-define-property/CHANGELOG.md15
-rw-r--r--backend/node_modules/es-define-property/LICENSE21
-rw-r--r--backend/node_modules/es-define-property/README.md49
-rw-r--r--backend/node_modules/es-define-property/index.d.ts3
-rw-r--r--backend/node_modules/es-define-property/index.js16
-rw-r--r--backend/node_modules/es-define-property/package.json81
-rw-r--r--backend/node_modules/es-define-property/test/index.js55
-rw-r--r--backend/node_modules/es-define-property/tsconfig.json50
11 files changed, 0 insertions, 324 deletions
diff --git a/backend/node_modules/es-define-property/.eslintrc b/backend/node_modules/es-define-property/.eslintrc
deleted file mode 100644
index 46f3b12..0000000
--- a/backend/node_modules/es-define-property/.eslintrc
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "root": true,
-
- "extends": "@ljharb",
-
- "rules": {
- "new-cap": ["error", {
- "capIsNewExceptions": [
- "GetIntrinsic",
- ],
- }],
- },
-}
diff --git a/backend/node_modules/es-define-property/.github/FUNDING.yml b/backend/node_modules/es-define-property/.github/FUNDING.yml
deleted file mode 100644
index 4445451..0000000
--- a/backend/node_modules/es-define-property/.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/es-define-property
-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 a single custom sponsorship URL
diff --git a/backend/node_modules/es-define-property/.nycrc b/backend/node_modules/es-define-property/.nycrc
deleted file mode 100644
index bdd626c..0000000
--- a/backend/node_modules/es-define-property/.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/es-define-property/CHANGELOG.md b/backend/node_modules/es-define-property/CHANGELOG.md
deleted file mode 100644
index 4dce2ec..0000000
--- a/backend/node_modules/es-define-property/CHANGELOG.md
+++ /dev/null
@@ -1,15 +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.0 - 2024-02-12
-
-### Commits
-
-- Initial implementation, tests, readme, types [`3e154e1`](https://github.com/ljharb/es-define-property/commit/3e154e11a2fee09127220f5e503bf2c0a31dd480)
-- Initial commit [`07d98de`](https://github.com/ljharb/es-define-property/commit/07d98de34a4dc31ff5e83a37c0c3f49e0d85cd50)
-- npm init [`c4eb634`](https://github.com/ljharb/es-define-property/commit/c4eb6348b0d3886aac36cef34ad2ee0665ea6f3e)
-- Only apps should have lockfiles [`7af86ec`](https://github.com/ljharb/es-define-property/commit/7af86ec1d311ec0b17fdfe616a25f64276903856)
diff --git a/backend/node_modules/es-define-property/LICENSE b/backend/node_modules/es-define-property/LICENSE
deleted file mode 100644
index f82f389..0000000
--- a/backend/node_modules/es-define-property/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2024 Jordan Harband
-
-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/es-define-property/README.md b/backend/node_modules/es-define-property/README.md
deleted file mode 100644
index 9b291bd..0000000
--- a/backend/node_modules/es-define-property/README.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# es-define-property <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]
-
-`Object.defineProperty`, but not IE 8's broken one.
-
-## Example
-
-```js
-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](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
-
-[package-url]: https://npmjs.org/package/es-define-property
-[npm-version-svg]: https://versionbadg.es/ljharb/es-define-property.svg
-[deps-svg]: https://david-dm.org/ljharb/es-define-property.svg
-[deps-url]: https://david-dm.org/ljharb/es-define-property
-[dev-deps-svg]: https://david-dm.org/ljharb/es-define-property/dev-status.svg
-[dev-deps-url]: https://david-dm.org/ljharb/es-define-property#info=devDependencies
-[npm-badge-png]: https://nodei.co/npm/es-define-property.png?downloads=true&stars=true
-[license-image]: https://img.shields.io/npm/l/es-define-property.svg
-[license-url]: LICENSE
-[downloads-image]: https://img.shields.io/npm/dm/es-define-property.svg
-[downloads-url]: https://npm-stat.com/charts.html?package=es-define-property
-[codecov-image]: https://codecov.io/gh/ljharb/es-define-property/branch/main/graphs/badge.svg
-[codecov-url]: https://app.codecov.io/gh/ljharb/es-define-property/
-[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-define-property
-[actions-url]: https://github.com/ljharb/es-define-property/actions
diff --git a/backend/node_modules/es-define-property/index.d.ts b/backend/node_modules/es-define-property/index.d.ts
deleted file mode 100644
index 6012247..0000000
--- a/backend/node_modules/es-define-property/index.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-declare const defineProperty: false | typeof Object.defineProperty;
-
-export = defineProperty; \ No newline at end of file
diff --git a/backend/node_modules/es-define-property/index.js b/backend/node_modules/es-define-property/index.js
deleted file mode 100644
index f32737d..0000000
--- a/backend/node_modules/es-define-property/index.js
+++ /dev/null
@@ -1,16 +0,0 @@
-'use strict';
-
-var GetIntrinsic = require('get-intrinsic');
-
-/** @type {import('.')} */
-var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
-if ($defineProperty) {
- try {
- $defineProperty({}, 'a', { value: 1 });
- } catch (e) {
- // IE 8 has a broken defineProperty
- $defineProperty = false;
- }
-}
-
-module.exports = $defineProperty;
diff --git a/backend/node_modules/es-define-property/package.json b/backend/node_modules/es-define-property/package.json
deleted file mode 100644
index 45bc90f..0000000
--- a/backend/node_modules/es-define-property/package.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "name": "es-define-property",
- "version": "1.0.0",
- "description": "`Object.defineProperty`, but not IE 8's broken one.",
- "main": "index.js",
- "types": "./index.d.ts",
- "exports": {
- ".": "./index.js",
- "./package.json": "./package.json"
- },
- "sideEffects": false,
- "scripts": {
- "prepack": "npmignore --auto --commentLines=autogenerated",
- "prepublish": "not-in-publish || npm run prepublishOnly",
- "prepublishOnly": "safe-publish-latest",
- "prelint": "evalmd README.md",
- "lint": "eslint --ext=js,mjs .",
- "postlint": "tsc -p .",
- "pretest": "npm run lint",
- "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/ljharb/es-define-property.git"
- },
- "keywords": [
- "javascript",
- "ecmascript",
- "object",
- "define",
- "property",
- "defineProperty",
- "Object.defineProperty"
- ],
- "author": "Jordan Harband <ljharb@gmail.com>",
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/ljharb/es-define-property/issues"
- },
- "homepage": "https://github.com/ljharb/es-define-property#readme",
- "dependencies": {
- "get-intrinsic": "^1.2.4"
- },
- "devDependencies": {
- "@ljharb/eslint-config": "^21.1.0",
- "@types/get-intrinsic": "^1.2.2",
- "@types/gopd": "^1.0.3",
- "@types/tape": "^5.6.4",
- "aud": "^2.0.4",
- "auto-changelog": "^2.4.0",
- "eslint": "^8.8.0",
- "evalmd": "^0.0.19",
- "gopd": "^1.0.1",
- "in-publish": "^2.0.1",
- "npmignore": "^0.3.1",
- "nyc": "^10.3.2",
- "safe-publish-latest": "^2.0.0",
- "tape": "^5.7.4",
- "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/es-define-property/test/index.js b/backend/node_modules/es-define-property/test/index.js
deleted file mode 100644
index dbc054e..0000000
--- a/backend/node_modules/es-define-property/test/index.js
+++ /dev/null
@@ -1,55 +0,0 @@
-'use strict';
-
-var $defineProperty = require('../');
-
-var test = require('tape');
-var gOPD = require('gopd');
-
-test('defineProperty: supported', { skip: !$defineProperty }, function (t) {
- t.plan(4);
-
- t.equal(typeof $defineProperty, 'function', 'defineProperty is supported');
- if ($defineProperty && gOPD) { // this `if` check is just to shut TS up
- var o = { a: 1 };
-
- $defineProperty(o, 'b', { enumerable: true, value: 2 });
- t.deepEqual(
- gOPD(o, 'b'),
- {
- configurable: false,
- enumerable: true,
- value: 2,
- writable: false
- },
- 'property descriptor is as expected'
- );
-
- $defineProperty(o, 'c', { enumerable: false, value: 3, writable: true });
- t.deepEqual(
- gOPD(o, 'c'),
- {
- configurable: false,
- enumerable: false,
- value: 3,
- writable: true
- },
- 'property descriptor is as expected'
- );
- }
-
- t.equal($defineProperty, Object.defineProperty, 'defineProperty is Object.defineProperty');
-
- t.end();
-});
-
-test('defineProperty: not supported', { skip: !!$defineProperty }, function (t) {
- t.notOk($defineProperty, 'defineProperty is not supported');
-
- t.match(
- typeof $defineProperty,
- /^(?:undefined|boolean)$/,
- '`typeof defineProperty` is `undefined` or `boolean`'
- );
-
- t.end();
-});
diff --git a/backend/node_modules/es-define-property/tsconfig.json b/backend/node_modules/es-define-property/tsconfig.json
deleted file mode 100644
index fdfa155..0000000
--- a/backend/node_modules/es-define-property/tsconfig.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "compilerOptions": {
- /* Visit https://aka.ms/tsconfig.json to read more about this file */
-
- /* Projects */
-
- /* Language and Environment */
- "target": "es2022", /* 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": "node", /* 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": 1, /* 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",
- "test/list-exports"
- ],
-}