summaryrefslogtreecommitdiffstats
path: root/node_modules/@webassemblyjs/helper-api-error
diff options
context:
space:
mode:
authorGravatar Piotr Russ <mail@pruss.it> 2020-11-16 00:10:28 +0100
committerGravatar Piotr Russ <mail@pruss.it> 2020-11-16 00:10:28 +0100
commite06ec920f7a5d784e674c4c4b4e6d1da3dc7391d (patch)
tree55713f725f77b44ebfec86e4eec3ce33e71458ca /node_modules/@webassemblyjs/helper-api-error
downloadwebsite_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.gz
website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.bz2
website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.zip
api, login, auth
Diffstat (limited to 'node_modules/@webassemblyjs/helper-api-error')
-rw-r--r--node_modules/@webassemblyjs/helper-api-error/LICENSE21
-rw-r--r--node_modules/@webassemblyjs/helper-api-error/esm/index.js47
-rw-r--r--node_modules/@webassemblyjs/helper-api-error/lib/index.js62
-rw-r--r--node_modules/@webassemblyjs/helper-api-error/package.json42
4 files changed, 172 insertions, 0 deletions
diff --git a/node_modules/@webassemblyjs/helper-api-error/LICENSE b/node_modules/@webassemblyjs/helper-api-error/LICENSE
new file mode 100644
index 0000000..87e7e1f
--- /dev/null
+++ b/node_modules/@webassemblyjs/helper-api-error/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2018 Sven Sauleau <sven@sauleau.com>
+
+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/node_modules/@webassemblyjs/helper-api-error/esm/index.js b/node_modules/@webassemblyjs/helper-api-error/esm/index.js
new file mode 100644
index 0000000..869d480
--- /dev/null
+++ b/node_modules/@webassemblyjs/helper-api-error/esm/index.js
@@ -0,0 +1,47 @@
+function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
+
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+
+export var RuntimeError =
+/*#__PURE__*/
+function (_Error) {
+ _inherits(RuntimeError, _Error);
+
+ function RuntimeError() {
+ _classCallCheck(this, RuntimeError);
+
+ return _possibleConstructorReturn(this, (RuntimeError.__proto__ || Object.getPrototypeOf(RuntimeError)).apply(this, arguments));
+ }
+
+ return RuntimeError;
+}(Error);
+export var CompileError =
+/*#__PURE__*/
+function (_Error2) {
+ _inherits(CompileError, _Error2);
+
+ function CompileError() {
+ _classCallCheck(this, CompileError);
+
+ return _possibleConstructorReturn(this, (CompileError.__proto__ || Object.getPrototypeOf(CompileError)).apply(this, arguments));
+ }
+
+ return CompileError;
+}(Error);
+export var LinkError =
+/*#__PURE__*/
+function (_Error3) {
+ _inherits(LinkError, _Error3);
+
+ function LinkError() {
+ _classCallCheck(this, LinkError);
+
+ return _possibleConstructorReturn(this, (LinkError.__proto__ || Object.getPrototypeOf(LinkError)).apply(this, arguments));
+ }
+
+ return LinkError;
+}(Error); \ No newline at end of file
diff --git a/node_modules/@webassemblyjs/helper-api-error/lib/index.js b/node_modules/@webassemblyjs/helper-api-error/lib/index.js
new file mode 100644
index 0000000..926ec47
--- /dev/null
+++ b/node_modules/@webassemblyjs/helper-api-error/lib/index.js
@@ -0,0 +1,62 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.LinkError = exports.CompileError = exports.RuntimeError = void 0;
+
+function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
+
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+
+var RuntimeError =
+/*#__PURE__*/
+function (_Error) {
+ _inherits(RuntimeError, _Error);
+
+ function RuntimeError() {
+ _classCallCheck(this, RuntimeError);
+
+ return _possibleConstructorReturn(this, (RuntimeError.__proto__ || Object.getPrototypeOf(RuntimeError)).apply(this, arguments));
+ }
+
+ return RuntimeError;
+}(Error);
+
+exports.RuntimeError = RuntimeError;
+
+var CompileError =
+/*#__PURE__*/
+function (_Error2) {
+ _inherits(CompileError, _Error2);
+
+ function CompileError() {
+ _classCallCheck(this, CompileError);
+
+ return _possibleConstructorReturn(this, (CompileError.__proto__ || Object.getPrototypeOf(CompileError)).apply(this, arguments));
+ }
+
+ return CompileError;
+}(Error);
+
+exports.CompileError = CompileError;
+
+var LinkError =
+/*#__PURE__*/
+function (_Error3) {
+ _inherits(LinkError, _Error3);
+
+ function LinkError() {
+ _classCallCheck(this, LinkError);
+
+ return _possibleConstructorReturn(this, (LinkError.__proto__ || Object.getPrototypeOf(LinkError)).apply(this, arguments));
+ }
+
+ return LinkError;
+}(Error);
+
+exports.LinkError = LinkError; \ No newline at end of file
diff --git a/node_modules/@webassemblyjs/helper-api-error/package.json b/node_modules/@webassemblyjs/helper-api-error/package.json
new file mode 100644
index 0000000..c16f206
--- /dev/null
+++ b/node_modules/@webassemblyjs/helper-api-error/package.json
@@ -0,0 +1,42 @@
+{
+ "_from": "@webassemblyjs/helper-api-error@1.9.0",
+ "_id": "@webassemblyjs/helper-api-error@1.9.0",
+ "_inBundle": false,
+ "_integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==",
+ "_location": "/@webassemblyjs/helper-api-error",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "version",
+ "registry": true,
+ "raw": "@webassemblyjs/helper-api-error@1.9.0",
+ "name": "@webassemblyjs/helper-api-error",
+ "escapedName": "@webassemblyjs%2fhelper-api-error",
+ "scope": "@webassemblyjs",
+ "rawSpec": "1.9.0",
+ "saveSpec": null,
+ "fetchSpec": "1.9.0"
+ },
+ "_requiredBy": [
+ "/@webassemblyjs/wasm-parser",
+ "/@webassemblyjs/wast-parser"
+ ],
+ "_resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz",
+ "_shasum": "203f676e333b96c9da2eeab3ccef33c45928b6a2",
+ "_spec": "@webassemblyjs/helper-api-error@1.9.0",
+ "_where": "/home/pruss/Dev/3-minute-website/node_modules/@webassemblyjs/wast-parser",
+ "author": {
+ "name": "Sven Sauleau"
+ },
+ "bundleDependencies": false,
+ "deprecated": false,
+ "description": "Common API errors",
+ "gitHead": "0440b420888c1f7701eb9762ec657775506b87d8",
+ "license": "MIT",
+ "main": "lib/index.js",
+ "module": "esm/index.js",
+ "name": "@webassemblyjs/helper-api-error",
+ "publishConfig": {
+ "access": "public"
+ },
+ "version": "1.9.0"
+}