summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@protobufjs/inquire
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
committeraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
commit434aa8343fdcbb4d5002f934979913c099489bee (patch)
tree55bab4ec5a6151be57797d34f61faf5ea744471b /frontend-old/node_modules/@protobufjs/inquire
parent893c388d4e99442a36005e5971a87730623f946e (diff)
sdk, del
Diffstat (limited to 'frontend-old/node_modules/@protobufjs/inquire')
-rw-r--r--frontend-old/node_modules/@protobufjs/inquire/.npmignore3
-rw-r--r--frontend-old/node_modules/@protobufjs/inquire/LICENSE26
-rw-r--r--frontend-old/node_modules/@protobufjs/inquire/README.md13
-rw-r--r--frontend-old/node_modules/@protobufjs/inquire/index.d.ts9
-rw-r--r--frontend-old/node_modules/@protobufjs/inquire/index.js17
-rw-r--r--frontend-old/node_modules/@protobufjs/inquire/package.json21
-rw-r--r--frontend-old/node_modules/@protobufjs/inquire/tests/data/array.js1
-rw-r--r--frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyArray.js1
-rw-r--r--frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyObject.js1
-rw-r--r--frontend-old/node_modules/@protobufjs/inquire/tests/data/object.js1
-rw-r--r--frontend-old/node_modules/@protobufjs/inquire/tests/index.js20
11 files changed, 0 insertions, 113 deletions
diff --git a/frontend-old/node_modules/@protobufjs/inquire/.npmignore b/frontend-old/node_modules/@protobufjs/inquire/.npmignore
deleted file mode 100644
index ce75de4..0000000
--- a/frontend-old/node_modules/@protobufjs/inquire/.npmignore
+++ /dev/null
@@ -1,3 +0,0 @@
-npm-debug.*
-node_modules/
-coverage/
diff --git a/frontend-old/node_modules/@protobufjs/inquire/LICENSE b/frontend-old/node_modules/@protobufjs/inquire/LICENSE
deleted file mode 100644
index 2a2d560..0000000
--- a/frontend-old/node_modules/@protobufjs/inquire/LICENSE
+++ /dev/null
@@ -1,26 +0,0 @@
-Copyright (c) 2016, Daniel Wirtz All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-* Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-* Neither the name of its author, nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/frontend-old/node_modules/@protobufjs/inquire/README.md b/frontend-old/node_modules/@protobufjs/inquire/README.md
deleted file mode 100644
index 22f9968..0000000
--- a/frontend-old/node_modules/@protobufjs/inquire/README.md
+++ /dev/null
@@ -1,13 +0,0 @@
-@protobufjs/inquire
-===================
-[![npm](https://img.shields.io/npm/v/@protobufjs/inquire.svg)](https://www.npmjs.com/package/@protobufjs/inquire)
-
-Requires a module only if available and hides the require call from bundlers.
-
-API
----
-
-* **inquire(moduleName: `string`): `?Object`**<br />
- Requires a module only if available.
-
-**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
diff --git a/frontend-old/node_modules/@protobufjs/inquire/index.d.ts b/frontend-old/node_modules/@protobufjs/inquire/index.d.ts
deleted file mode 100644
index 6f9825b..0000000
--- a/frontend-old/node_modules/@protobufjs/inquire/index.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-export = inquire;
-
-/**
- * Requires a module only if available.
- * @memberof util
- * @param {string} moduleName Module to require
- * @returns {?Object} Required module if available and not empty, otherwise `null`
- */
-declare function inquire(moduleName: string): Object;
diff --git a/frontend-old/node_modules/@protobufjs/inquire/index.js b/frontend-old/node_modules/@protobufjs/inquire/index.js
deleted file mode 100644
index 33778b5..0000000
--- a/frontend-old/node_modules/@protobufjs/inquire/index.js
+++ /dev/null
@@ -1,17 +0,0 @@
-"use strict";
-module.exports = inquire;
-
-/**
- * Requires a module only if available.
- * @memberof util
- * @param {string} moduleName Module to require
- * @returns {?Object} Required module if available and not empty, otherwise `null`
- */
-function inquire(moduleName) {
- try {
- var mod = eval("quire".replace(/^/,"re"))(moduleName); // eslint-disable-line no-eval
- if (mod && (mod.length || Object.keys(mod).length))
- return mod;
- } catch (e) {} // eslint-disable-line no-empty
- return null;
-}
diff --git a/frontend-old/node_modules/@protobufjs/inquire/package.json b/frontend-old/node_modules/@protobufjs/inquire/package.json
deleted file mode 100644
index f4b33db..0000000
--- a/frontend-old/node_modules/@protobufjs/inquire/package.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "name": "@protobufjs/inquire",
- "description": "Requires a module only if available and hides the require call from bundlers.",
- "version": "1.1.0",
- "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
- "repository": {
- "type": "git",
- "url": "https://github.com/dcodeIO/protobuf.js.git"
- },
- "license": "BSD-3-Clause",
- "main": "index.js",
- "types": "index.d.ts",
- "devDependencies": {
- "istanbul": "^0.4.5",
- "tape": "^4.6.3"
- },
- "scripts": {
- "test": "tape tests/*.js",
- "coverage": "istanbul cover node_modules/tape/bin/tape tests/*.js"
- }
-} \ No newline at end of file
diff --git a/frontend-old/node_modules/@protobufjs/inquire/tests/data/array.js b/frontend-old/node_modules/@protobufjs/inquire/tests/data/array.js
deleted file mode 100644
index 96627c3..0000000
--- a/frontend-old/node_modules/@protobufjs/inquire/tests/data/array.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = [1];
diff --git a/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyArray.js b/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyArray.js
deleted file mode 100644
index 0630c8f..0000000
--- a/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyArray.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = [];
diff --git a/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyObject.js b/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyObject.js
deleted file mode 100644
index 0369aa4..0000000
--- a/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyObject.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = {};
diff --git a/frontend-old/node_modules/@protobufjs/inquire/tests/data/object.js b/frontend-old/node_modules/@protobufjs/inquire/tests/data/object.js
deleted file mode 100644
index 3226d44..0000000
--- a/frontend-old/node_modules/@protobufjs/inquire/tests/data/object.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = { a: 1 };
diff --git a/frontend-old/node_modules/@protobufjs/inquire/tests/index.js b/frontend-old/node_modules/@protobufjs/inquire/tests/index.js
deleted file mode 100644
index 7d6496f..0000000
--- a/frontend-old/node_modules/@protobufjs/inquire/tests/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-var tape = require("tape");
-
-var inquire = require("..");
-
-tape.test("inquire", function(test) {
-
- test.equal(inquire("buffer").Buffer, Buffer, "should be able to require \"buffer\"");
-
- test.equal(inquire("%invalid"), null, "should not be able to require \"%invalid\"");
-
- test.equal(inquire("./tests/data/emptyObject"), null, "should return null when requiring a module exporting an empty object");
-
- test.equal(inquire("./tests/data/emptyArray"), null, "should return null when requiring a module exporting an empty array");
-
- test.same(inquire("./tests/data/object"), { a: 1 }, "should return the object if a non-empty object");
-
- test.same(inquire("./tests/data/array"), [ 1 ], "should return the module if a non-empty array");
-
- test.end();
-});