1. Module bundling added to reduce server calls as each file was taking ~440 ms to load on public server.\n2. JavaScript lib files refactored with OOP for use with module bundling.
This commit is contained in:
22
node_modules/@babel/plugin-syntax-import-assertions/LICENSE
generated
vendored
Normal file
22
node_modules/@babel/plugin-syntax-import-assertions/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
||||
|
||||
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.
|
||||
19
node_modules/@babel/plugin-syntax-import-assertions/README.md
generated
vendored
Normal file
19
node_modules/@babel/plugin-syntax-import-assertions/README.md
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# @babel/plugin-syntax-import-assertions
|
||||
|
||||
> Allow parsing of the module assertion attributes in the import statement
|
||||
|
||||
See our website [@babel/plugin-syntax-import-assertions](https://babeljs.io/docs/babel-plugin-syntax-import-assertions) for more information.
|
||||
|
||||
## Install
|
||||
|
||||
Using npm:
|
||||
|
||||
```sh
|
||||
npm install --save-dev @babel/plugin-syntax-import-assertions
|
||||
```
|
||||
|
||||
or using yarn:
|
||||
|
||||
```sh
|
||||
yarn add @babel/plugin-syntax-import-assertions --dev
|
||||
```
|
||||
34
node_modules/@babel/plugin-syntax-import-assertions/lib/index.js
generated
vendored
Normal file
34
node_modules/@babel/plugin-syntax-import-assertions/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _helperPluginUtils = require("@babel/helper-plugin-utils");
|
||||
var _default = exports.default = (0, _helperPluginUtils.declare)(api => {
|
||||
api.assertVersion(7);
|
||||
return {
|
||||
name: "syntax-import-assertions",
|
||||
manipulateOptions(opts, {
|
||||
plugins
|
||||
}) {
|
||||
for (let i = 0; i < plugins.length; i++) {
|
||||
const plugin = plugins[i];
|
||||
if (plugin === "importAttributes") {
|
||||
plugins[i] = ["importAttributes", {
|
||||
deprecatedAssertSyntax: true
|
||||
}];
|
||||
return;
|
||||
}
|
||||
if (Array.isArray(plugin) && plugin[0] === "importAttributes") {
|
||||
if (plugin.length < 2) plugins[i].push({});
|
||||
plugin[1].deprecatedAssertSyntax = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
plugins.push("importAssertions");
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/@babel/plugin-syntax-import-assertions/lib/index.js.map
generated
vendored
Normal file
1
node_modules/@babel/plugin-syntax-import-assertions/lib/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"names":["_helperPluginUtils","require","_default","exports","default","declare","api","assertVersion","name","manipulateOptions","opts","plugins","i","length","plugin","deprecatedAssertSyntax","Array","isArray","push"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\n\nexport default declare(api => {\n api.assertVersion(REQUIRED_VERSION(7));\n\n return {\n name: \"syntax-import-assertions\",\n\n manipulateOptions(opts, { plugins }) {\n for (let i = 0; i < plugins.length; i++) {\n const plugin = plugins[i];\n if (plugin === \"importAttributes\") {\n plugins[i] = [\"importAttributes\", { deprecatedAssertSyntax: true }];\n return;\n }\n if (Array.isArray(plugin) && plugin[0] === \"importAttributes\") {\n if (plugin.length < 2) (plugins[i] as any[]).push({});\n plugin[1].deprecatedAssertSyntax = true;\n return;\n }\n }\n plugins.push(\"importAssertions\");\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEtC,IAAAC,0BAAO,EAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAAkB,CAAE,CAAC;EAEtC,OAAO;IACLC,IAAI,EAAE,0BAA0B;IAEhCC,iBAAiBA,CAACC,IAAI,EAAE;MAAEC;IAAQ,CAAC,EAAE;MACnC,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGD,OAAO,CAACE,MAAM,EAAED,CAAC,EAAE,EAAE;QACvC,MAAME,MAAM,GAAGH,OAAO,CAACC,CAAC,CAAC;QACzB,IAAIE,MAAM,KAAK,kBAAkB,EAAE;UACjCH,OAAO,CAACC,CAAC,CAAC,GAAG,CAAC,kBAAkB,EAAE;YAAEG,sBAAsB,EAAE;UAAK,CAAC,CAAC;UACnE;QACF;QACA,IAAIC,KAAK,CAACC,OAAO,CAACH,MAAM,CAAC,IAAIA,MAAM,CAAC,CAAC,CAAC,KAAK,kBAAkB,EAAE;UAC7D,IAAIA,MAAM,CAACD,MAAM,GAAG,CAAC,EAAGF,OAAO,CAACC,CAAC,CAAC,CAAWM,IAAI,CAAC,CAAC,CAAC,CAAC;UACrDJ,MAAM,CAAC,CAAC,CAAC,CAACC,sBAAsB,GAAG,IAAI;UACvC;QACF;MACF;MACAJ,OAAO,CAACO,IAAI,CAAC,kBAAkB,CAAC;IAClC;EACF,CAAC;AACH,CAAC,CAAC","ignoreList":[]}
|
||||
32
node_modules/@babel/plugin-syntax-import-assertions/package.json
generated
vendored
Normal file
32
node_modules/@babel/plugin-syntax-import-assertions/package.json
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-import-assertions",
|
||||
"version": "7.25.6",
|
||||
"description": "Allow parsing of the module assertion attributes in the import statement",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-plugin-syntax-import-assertions"
|
||||
},
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"main": "./lib/index.js",
|
||||
"keywords": [
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "^7.24.8"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.25.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"type": "commonjs"
|
||||
}
|
||||
20
node_modules/@babel/plugin-syntax-import-assertions/tsconfig.json
generated
vendored
Normal file
20
node_modules/@babel/plugin-syntax-import-assertions/tsconfig.json
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/* This file is automatically generated by scripts/generators/tsconfig.js */
|
||||
{
|
||||
"extends": [
|
||||
"../../tsconfig.base.json",
|
||||
"../../tsconfig.paths.json"
|
||||
],
|
||||
"include": [
|
||||
"../../packages/babel-plugin-syntax-import-assertions/src/**/*.ts",
|
||||
"../../lib/globals.d.ts",
|
||||
"../../scripts/repo-utils/*.d.ts"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "../../packages/babel-helper-plugin-utils"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/babel-core"
|
||||
}
|
||||
]
|
||||
}
|
||||
1
node_modules/@babel/plugin-syntax-import-assertions/tsconfig.tsbuildinfo
generated
vendored
Normal file
1
node_modules/@babel/plugin-syntax-import-assertions/tsconfig.tsbuildinfo
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user