diff --git a/internals/scripts/package.json b/internals/scripts/package.json index acdc393f7..447476daf 100644 --- a/internals/scripts/package.json +++ b/internals/scripts/package.json @@ -18,10 +18,13 @@ "write:docs:guides": "wireit", "write:docs:models": "wireit", "write:docs:api": "wireit", + "write:model:docs": "wireit", + "write:model:folder": "wireit", "start:guide": "wireit", "validate": "wireit", "update:npm-dependencies": "wireit", "build": "wireit", + "copy-files": "wireit", "test:run": "wireit", "test": "wireit" }, @@ -58,6 +61,18 @@ "build" ] }, + "write:model:docs": { + "command": "node ./dist/bin/write/model/docs/index.js", + "dependencies": [ + "build" + ] + }, + "write:model:folder": { + "command": "node ./dist/bin/write/model/folder/index.js", + "dependencies": [ + "build" + ] + }, "start:guide": { "command": "node ./dist/bin/start/guide.js", "dependencies": [ @@ -71,15 +86,14 @@ ] }, "build": { - "command": "tsc -p ./tsconfig.json", + "command": "pnpm copy-files && tsc -p ./tsconfig.json", "dependencies": [ "../common:build" ], "files": [ "src/**/*.ts", - "src/**/*.mts", "!src/**/*.test.ts", - "!src/**/*.test.mts", + "**/_templates/**/*.ejs", "package.json", "vite.config.ts", "tsconfig.json" @@ -88,6 +102,9 @@ "dist/**" ] }, + "copy-files": { + "command": "rsync -avmq --include='*.ejs' -f 'hide,! */' ./src/ ./dist" + }, "test:run": { "command": "vitest run --config ./vite.config.ts", "dependencies": [ diff --git a/internals/scripts/src/bin/write/model-docs.ts b/internals/scripts/src/bin/write/model/docs/index.ts similarity index 68% rename from internals/scripts/src/bin/write/model-docs.ts rename to internals/scripts/src/bin/write/model/docs/index.ts index 07a72bb96..d4dd0f6da 100644 --- a/internals/scripts/src/bin/write/model-docs.ts +++ b/internals/scripts/src/bin/write/model/docs/index.ts @@ -1,9 +1,9 @@ import path from 'path'; -import { parseArgs } from "node:util"; -import { exists, readFile, readdir, stat, writeFile } from '@internals/common/fs'; +import { exists, readFile, readdir, writeFile } from '@internals/common/fs'; import { MODELS_DIR, SHARED_DIR } from '@internals/common/constants'; -import { error, info, warn } from '@internals/common/logger'; +import { error, info } from '@internals/common/logger'; import { JSONSchema, getPackageJSON } from '@internals/common/package-json'; +import { getModels } from '../shared/getModels.js'; const getModelFamily = (packageJSON: JSONSchema) => packageJSON['@upscalerjs']?.['modelFamily']; @@ -100,63 +100,17 @@ const writeModelDocs = async ( })); } -const isDirectory = async (path: string) => (await stat(path)).isDirectory(); - -const isValidModel = async (modelDirectoryName: string) => { - const modelDirectoryPath = path.resolve(MODELS_DIR, modelDirectoryName); - return await exists(modelDirectoryPath) && await isDirectory(modelDirectoryPath); -}; - -const getModelDirectories = async () => { - const modelDirectories: string[] = []; - for (const modelDirectoryName of await readdir(MODELS_DIR)) { - if (await isDirectory(path.resolve(MODELS_DIR, modelDirectoryName))) { - modelDirectories.push(modelDirectoryName); - } - }; - return modelDirectories; -} - -const expandModel = async (model: string): Promise => { - if (model.includes('*')) { - const modelNameMatch = model.split('*')[0]; - const models: string[] = []; - for (const modelDirectoryName of await getModelDirectories()) { - if (modelDirectoryName.startsWith(modelNameMatch)) { - models.push(modelDirectoryName); - } - } - return models; - } - return [model]; -}; - const main = async () => { - const { - positionals: models, - } = parseArgs({ - allowPositionals: true, - }); - - const validModels = new Set(); - for (const modelName of models) { - for (const model of await expandModel(modelName)) { - if (await isValidModel(model)) { - validModels.add(model); - } else { - warn(`Invalid model: ${model}`); - } - } - }; + const validModels = await getModels(); - if (models.length === 0) { + if (validModels.length === 0) { error('No models selected, nothing to do.') return; } - info(`Writing model docs for models:\n${Array.from(validModels).map(m => `- ${m}`).join('\n')}`); - await writeModelDocs(Array.from(validModels)); + info(`Writing model docs for models:\n${validModels.map(m => `- ${m}`).join('\n')}`); + await writeModelDocs(validModels); }; main(); diff --git a/internals/scripts/src/bin/write/model/folder/_templates/package.json.ejs b/internals/scripts/src/bin/write/model/folder/_templates/package.json.ejs new file mode 100644 index 000000000..05c41f35e --- /dev/null +++ b/internals/scripts/src/bin/write/model/folder/_templates/package.json.ejs @@ -0,0 +1,82 @@ +{ + "name": "<%- name %>", + "version": "<%- version %>", + "description": "<%- description %>", + "keywords": <%- JSON.stringify(keywords, null, 2) %>, + "author": "Kevin Scott", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/thekevinscott/upscaler.git" + }, + "exports": <%- JSON.stringify(exports, null, 2) %>, + "module": "<%- module %>", + "types": "<%- types %>", + "umd:main": "<%- umdMain %>", + "scripts": <%- JSON.stringify(Object.keys(scripts).reduce((obj, scriptName) => ({ + ...obj, + [scriptName]: 'wireit', + }), { + "lint": "wireit", + "prepublishOnly": "wireit", + "validate:build": "wireit", + "scaffold": "wireit", + "build:umd:tsc": "wireit", + "build:umd:index": "wireit", + "build:umd:rollup:index": "wireit", + "build:umd:uglify:index": "wireit", + }), null, 2) %>, + "files": [ + "assets/**/*", + "license", + "models/**/*", + "dist/**/*" + ], + "peerDependencies": { + "@tensorflow/tfjs": "~4.11.0" + }, + "devDependencies": { + "@tensorflow/tfjs": "~4.11.0", + "@tensorflow/tfjs-core": "~4.11.0", + "@tensorflow/tfjs-layers": "~4.11.0", + "@tensorflow/tfjs-node": "~4.11.0", + "@tensorflow/tfjs-node-gpu": "~4.11.0", + "seedrandom": "3.0.5", + "wireit": "^0.14.0" + }, + "@upscalerjs": { + "title": "<%- title %>", + <% if (!!locals.models) { %>"models": <%- JSON.stringify(models, null, 2) %>,<% } %> + "modelFamily": "<%- modelFamily %>" + }, + "wireit": <%- JSON.stringify(Object.entries(scripts).reduce((obj, [name, value]) => ({ + ...obj, + [name]: value, + }), { + "lint": { + "command": "eslint -c ../.eslintrc.js src --ext .ts", + "dependencies": [ + "scaffold" + ] + }, + "prepublishOnly": { + "command": "pnpm lint && pnpm build && pnpm validate:build" + }, + "scaffold": { + "command": "node -e 'const fs = require(\"fs\"); const {name, version} = require(\"./package.json\"); fs.writeFileSync(\"./src/constants.generated.ts\", `export const NAME = \"${name}\";\\nexport const VERSION=\"${version}\"`, \"utf-8\");'", + "files": [ + "package.json" + ], + "output": [ + "./src/constants.generated.ts" + ] + }, + "build:umd:tsc": { + "command": "tsc -p ./tsconfig.umd.json --outDir ./dist/umd-tmp" + }, + "build:umd:index": { + "command": "pnpm build:umd:rollup:index && pnpm build:umd:uglify:index" + }, + }), null, 2) %> +} + diff --git a/internals/scripts/src/bin/write/model/folder/index.ts b/internals/scripts/src/bin/write/model/folder/index.ts new file mode 100644 index 000000000..4c3e8d195 --- /dev/null +++ b/internals/scripts/src/bin/write/model/folder/index.ts @@ -0,0 +1,235 @@ +import path from 'path'; +import * as url from 'url'; +import asyncPool from "tiny-async-pool"; +import { readFile, writeFile, } from '@internals/common/fs'; +import { MODELS_DIR, } from '@internals/common/constants'; +import { error, info, } from '@internals/common/logger'; +import { getPackageJSON } from '@internals/common/package-json'; +import { getTemplate as _getTemplate, } from '@internals/common/get-template'; +import { getModels } from '../shared/getModels.js'; + +interface ModelDefinition { + exportKey: string; + umdPath: string; + requirePath: string; + importPath: string; +} + +const NUMBER_OF_CONCURRENT_THREADS = 5; + +const __dirname = url.fileURLToPath(new URL('.', import.meta.url)); +const TEMPLATES_DIR = path.resolve(__dirname, '_templates'); + +const getTemplate = ( + templateName: string, + args: Parameters[1] = {} +) => _getTemplate(path.resolve(TEMPLATES_DIR, templateName), args); + +const validateExport = (entry: [string, unknown]): entry is [string, { + umd: string; + import: string; + require: string; +}] => { + const xport = entry[1]; + return typeof xport === 'object' && xport !== null && 'umd' in xport && 'require' in xport && 'import' in xport; +}; + +const getUMDNames = async (modelDirectoryPath: string) => JSON.parse(await readFile(path.resolve(modelDirectoryPath, 'umd-names.json'))); +const getUmdKey = (umdPath: string) => umdPath.split('./').pop(); + +const writeModelFolder = async (modelDirectoryName: string) => { + const modelDirectoryPath = path.resolve(MODELS_DIR, modelDirectoryName); + const { + name, + version, + description, + keywords, + module, + types, + 'umd:main': umdMain, + exports: xports, + '@upscalerjs': { + title, + modelFamily, + models: supplementaryModelInformation, + }, + } = await getPackageJSON(modelDirectoryPath); + if (!umdMain) { + throw new Error(`No umd-main found in ${modelDirectoryName}/package.json`) + } + const umdNames = await getUMDNames(modelDirectoryPath); + const umdIndexName = umdNames['.']; + if (!umdIndexName) { + throw new Error(`No UMD index name defined for . in ${modelDirectoryName}`) + } + + const validExports = Object.entries(xports).filter(validateExport); + if (validExports.length === 0) { + throw new Error(`No valid exports for model ${modelDirectoryName}. Exports: ${JSON.stringify(xports, null, 2)}`); + } + + const definedModels: ModelDefinition[] = Object.entries(xports).filter(validateExport).map(([exportKey, { + umd: umdPath, + require: requirePath, + import: importPath, + }]) => ({ + exportKey, + umdPath, + requirePath, + importPath, + })); + if (definedModels.length === 0) { + throw new Error(`No defined models for model ${modelDirectoryName}`); + } + const nonIndexModels = definedModels.filter(({ exportKey }) => exportKey !== '.'); + const sharedFileDependenies = [ + "src/**/*.ts", + "!src/**/*.test.ts", + "!src/**/*.generated.ts", + "../../packages/shared/src/esrgan/**/*.ts", + "package.json", + "tsconfig.json", + "../tsconfig.json" + ]; + const umdFileDependencies = [ + "tsconfig.umd.json", + "umd-names.json", + "../tsconfig.umd.json", + ]; + const esmFileDependencies = [ + "tsconfig.esm.json", + "../tsconfig.esm.json", + ]; + const cjsFileDependencies = [ + "tsconfig.cjs.json", + "../tsconfig.cjs.json", + ]; + const exports = definedModels.reduce((obj, { exportKey, umdPath, requirePath, importPath }) => ({ + ...obj, + [exportKey]: { + umd: umdPath, + require: requirePath, + import: importPath, + }, + }), {}); + const vars = { + modelDirectoryName, + name, + version, + description, + keywords, + exports, + module, + types, + umdMain, + scripts: nonIndexModels.reduce((obj, { exportKey: key, umdPath }) => { + const umdName = umdNames[key]; + if (!umdName) { + throw new Error(`No UMD index name defined for ${key} in ${modelDirectoryName}`) + } + const nonMinifiedOut = umdPath.replace('.min', ''); + const originalPath = nonMinifiedOut.replace('dist/umd', 'dist/umd-tmp'); + return { + ...obj, + [`build:umd:${getUmdKey(key)}`]: { + "command": `pnpm build:umd:rollup:${getUmdKey(key)} && pnpm build:umd:uglify:${getUmdKey(key)}` + }, + [`build:umd:rollup:${getUmdKey(key)}`]: { + "command": `rollup -c ../rollup.config.cjs --input ${originalPath} --file ${nonMinifiedOut} --name ${umdName} --format umd` + }, + [`build:umd:uglify:${getUmdKey(key)}`]: { + "command": `uglifyjs ${nonMinifiedOut} --output ${umdPath} --compress --mangle --source-map` + }, + }; + }, { + "validate:build": { + "command": `ts-node ../../scripts/package-scripts/validate-build.ts models/${modelDirectoryName}` + }, + "build:umd:rollup:index": { + "command": `rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/${modelDirectoryName}/src/umd.js --file ./dist/umd/models/${modelDirectoryName}/src/umd.js --name ${umdIndexName} --format umd` + }, + "build:umd:uglify:index": { + "command": `uglifyjs ./dist/umd/models/${modelDirectoryName}/src/umd.js --output ./dist/umd/models/${modelDirectoryName}/src/umd.min.js --compress --mangle --source-map` + }, + "build": { + "command": "pnpm build:cjs && pnpm build:esm && pnpm build:umd", + "files": [ + ...sharedFileDependenies, + ...umdFileDependencies, + ...esmFileDependencies, + ...cjsFileDependencies, + ], + "output": [ + "dist/**" + ] + }, + "build:cjs": { + "command": "tsc -p ./tsconfig.cjs.json --outDir ./dist/cjs --baseUrl ./src", + "dependencies": [ + "scaffold" + ], + "files": [ + ...sharedFileDependenies, + ...cjsFileDependencies, + ], + "output": [ + "dist/cjs/**" + ] + }, + "build:esm": { + "command": "tsc -p ./tsconfig.esm.json --outDir ./dist/esm --baseUrl ./src", + "dependencies": [ + "scaffold" + ], + "files": [ + ...sharedFileDependenies, + ...esmFileDependencies, + ], + "output": [ + "dist/esm/**" + ] + }, + "build:umd": { + "command": `pnpm run build:umd:tsc && pnpm run build:umd:index && ${nonIndexModels.map(m => `pnpm run build:umd:${getUmdKey(m.exportKey)}`).join(' && ')} && rimraf ./dist/umd-tmp`, + "dependencies": [ + "scaffold" + ], + "files": [ + ...sharedFileDependenies, + ...umdFileDependencies, + ], + "output": [ + "dist/umd/**" + ] + }, + }), + title, + modelFamily, + models: supplementaryModelInformation, + }; + const newPackageJSON = JSON.parse(await getTemplate('package.json.ejs', vars)); + await writeFile(path.resolve(modelDirectoryPath, 'package.json'), `${JSON.stringify(newPackageJSON, null, 2)}\n`); +}; + +const writeModelFolders = async ( + models: Array, +) => { + for await (const _ of asyncPool(NUMBER_OF_CONCURRENT_THREADS, models, writeModelFolder)) { + // empty + } +} + +const main = async () => { + const validModels = await getModels(); + + if (validModels.length === 0) { + error('No models selected, nothing to do.') + return; + } + + + info(`Writing model folders for models:\n${validModels.map(m => `- ${m}`).join('\n')}`); + await writeModelFolders(validModels); +}; + +main(); diff --git a/internals/scripts/src/bin/write/model/shared/getModels.ts b/internals/scripts/src/bin/write/model/shared/getModels.ts new file mode 100644 index 000000000..47087c39e --- /dev/null +++ b/internals/scripts/src/bin/write/model/shared/getModels.ts @@ -0,0 +1,57 @@ +import path from 'path'; +import { exists, readdir, stat } from '@internals/common/fs'; +import { MODELS_DIR } from '@internals/common/constants'; +import { warn } from '@internals/common/logger'; +import { parseArgs } from "node:util"; + +const isDirectory = async (path: string) => (await stat(path)).isDirectory(); + +const isValidModel = async (modelDirectoryName: string) => { + const modelDirectoryPath = path.resolve(MODELS_DIR, modelDirectoryName); + return await exists(modelDirectoryPath) && await isDirectory(modelDirectoryPath); +}; + +const getModelDirectories = async () => { + const modelDirectories: string[] = []; + for (const modelDirectoryName of await readdir(MODELS_DIR)) { + if (await isDirectory(path.resolve(MODELS_DIR, modelDirectoryName))) { + modelDirectories.push(modelDirectoryName); + } + }; + return modelDirectories; +} + +const expandModel = async (model: string): Promise => { + if (model.includes('*')) { + const modelNameMatch = model.split('*')[0]; + const models: string[] = []; + for (const modelDirectoryName of await getModelDirectories()) { + if (modelDirectoryName.startsWith(modelNameMatch)) { + models.push(modelDirectoryName); + } + } + return models; + } + return [model]; +}; + +export const getModels = async (): Promise => { + const { + positionals: models, + } = parseArgs({ + allowPositionals: true, + }); + + const validModels = new Set(); + for (const modelName of models) { + for (const model of await expandModel(modelName)) { + if (await isValidModel(model)) { + validModels.add(model); + } else { + warn(`Invalid model: ${model}`); + } + } + }; + + return Array.from(validModels); +} diff --git a/models/esrgan-legacy/package.json b/models/esrgan-legacy/package.json index 390fd8f8a..55d51d518 100755 --- a/models/esrgan-legacy/package.json +++ b/models/esrgan-legacy/package.json @@ -19,62 +19,61 @@ }, "exports": { ".": { - "umd": "./dist/umd/umd.min.js", + "umd": "./dist/umd/models/esrgan-legacy/src/index.min.js", "require": "./dist/cjs/models/esrgan-legacy/src/cjs.js", "import": "./dist/esm/models/esrgan-legacy/src/index.js" }, "./div2k/2x": { - "umd": "./dist/umd/div2k/2x.min.js", + "umd": "./dist/umd/models/esrgan-legacy/src/div2k/x2/index.min.js", "require": "./dist/cjs/models/esrgan-legacy/src/div2k/x2/cjs.js", "import": "./dist/esm/models/esrgan-legacy/src/div2k/x2/index.js" }, "./div2k/3x": { - "umd": "./dist/umd/div2k/3x.min.js", + "umd": "./dist/umd/models/esrgan-legacy/src/div2k/x3/index.min.js", "require": "./dist/cjs/models/esrgan-legacy/src/div2k/x3/cjs.js", "import": "./dist/esm/models/esrgan-legacy/src/div2k/x3/index.js" }, "./div2k/4x": { - "umd": "./dist/umd/div2k/4x.min.js", + "umd": "./dist/umd/models/esrgan-legacy/src/div2k/x4/index.min.js", "require": "./dist/cjs/models/esrgan-legacy/src/div2k/x4/cjs.js", "import": "./dist/esm/models/esrgan-legacy/src/div2k/x4/index.js" }, "./psnr-small": { - "umd": "./dist/umd/psnr-small.min.js", + "umd": "./dist/umd/models/esrgan-legacy/src/psnr-small/index.min.js", "require": "./dist/cjs/models/esrgan-legacy/src/psnr-small/cjs.js", "import": "./dist/esm/models/esrgan-legacy/src/psnr-small/index.js" }, "./gans": { - "umd": "./dist/umd/gans.min.js", + "umd": "./dist/umd/models/esrgan-legacy/src/gans/index.min.js", "require": "./dist/cjs/models/esrgan-legacy/src/gans/cjs.js", "import": "./dist/esm/models/esrgan-legacy/src/gans/index.js" } }, - "module": "dist/esm/models/esrgan-legacy/src/index.js", - "types": "dist/esm/models/esrgan-legacy/src/index.d.ts", - "umd:main": "dist/umd/umd.min.js", + "module": "./dist/esm/models/esrgan-legacy/src/index.js", + "types": "./dist/esm/models/esrgan-legacy/src/index.d.ts", + "umd:main": "./dist/umd/models/esrgan-legacy/src/umd.min.js", "scripts": { "lint": "wireit", "prepublishOnly": "wireit", "validate:build": "wireit", - "build": "wireit", - "build:cjs": "wireit", - "build:esm": "wireit", - "build:umd": "wireit", - "clean": "wireit", "scaffold": "wireit", "build:umd:tsc": "wireit", "build:umd:index": "wireit", "build:umd:rollup:index": "wireit", "build:umd:uglify:index": "wireit", - "build:umd:div2k/x2": "wireit", - "build:umd:rollup:div2k/x2": "wireit", - "build:umd:uglify:div2k/x2": "wireit", - "build:umd:div2k/x3": "wireit", - "build:umd:rollup:div2k/x3": "wireit", - "build:umd:uglify:div2k/x3": "wireit", - "build:umd:div2k/x4": "wireit", - "build:umd:rollup:div2k/x4": "wireit", - "build:umd:uglify:div2k/x4": "wireit", + "build": "wireit", + "build:cjs": "wireit", + "build:esm": "wireit", + "build:umd": "wireit", + "build:umd:div2k/2x": "wireit", + "build:umd:rollup:div2k/2x": "wireit", + "build:umd:uglify:div2k/2x": "wireit", + "build:umd:div2k/3x": "wireit", + "build:umd:rollup:div2k/3x": "wireit", + "build:umd:uglify:div2k/3x": "wireit", + "build:umd:div2k/4x": "wireit", + "build:umd:rollup:div2k/4x": "wireit", + "build:umd:uglify:div2k/4x": "wireit", "build:umd:psnr-small": "wireit", "build:umd:rollup:psnr-small": "wireit", "build:umd:uglify:psnr-small": "wireit", @@ -100,6 +99,11 @@ "seedrandom": "3.0.5", "wireit": "^0.14.0" }, + "@upscalerjs": { + "title": "ESRGAN Legacy", + "models": "undefined", + "modelFamily": "esrgan" + }, "wireit": { "lint": { "command": "eslint -c ../.eslintrc.js src --ext .ts", @@ -110,8 +114,29 @@ "prepublishOnly": { "command": "pnpm lint && pnpm build && pnpm validate:build" }, + "scaffold": { + "command": "node -e 'const fs = require(\"fs\"); const {name, version} = require(\"./package.json\"); fs.writeFileSync(\"./src/constants.generated.ts\", `export const NAME = \"${name}\";\\nexport const VERSION=\"${version}\"`, \"utf-8\");'", + "files": [ + "package.json" + ], + "output": [ + "./src/constants.generated.ts" + ] + }, + "build:umd:tsc": { + "command": "tsc -p ./tsconfig.umd.json --outDir ./dist/umd-tmp" + }, + "build:umd:index": { + "command": "pnpm build:umd:rollup:index && pnpm build:umd:uglify:index" + }, "validate:build": { - "command": "pnpm --filter @internals/scripts validate models/esrgan-legacy" + "command": "ts-node ../../scripts/package-scripts/validate-build.ts models/esrgan-legacy" + }, + "build:umd:rollup:index": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/umd.js --file ./dist/umd/models/esrgan-legacy/src/umd.js --name ESRGANLegacy --format umd" + }, + "build:umd:uglify:index": { + "command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/umd.js --output ./dist/umd/models/esrgan-legacy/src/umd.min.js --compress --mangle --source-map" }, "build": { "command": "pnpm build:cjs && pnpm build:esm && pnpm build:umd", @@ -121,15 +146,15 @@ "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", "package.json", + "tsconfig.json", + "../tsconfig.json", + "tsconfig.umd.json", "umd-names.json", - "tsconfig.cjs.json", + "../tsconfig.umd.json", "tsconfig.esm.json", - "tsconfig.umd.json", - "tsconfig.json", - "../tsconfig.cjs.json", "../tsconfig.esm.json", - "../tsconfig.umd.json", - "../tsconfig.json" + "tsconfig.cjs.json", + "../tsconfig.cjs.json" ], "output": [ "dist/**" @@ -146,10 +171,10 @@ "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", "package.json", - "tsconfig.cjs.json", "tsconfig.json", - "../tsconfig.cjs.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.cjs.json", + "../tsconfig.cjs.json" ], "output": [ "dist/cjs/**" @@ -166,17 +191,17 @@ "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", "package.json", - "tsconfig.esm.json", "tsconfig.json", - "../tsconfig.esm.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.esm.json", + "../tsconfig.esm.json" ], "output": [ "dist/esm/**" ] }, "build:umd": { - "command": "pnpm run build:umd:tsc && pnpm run build:umd:index && pnpm run build:umd:div2k/x2 && pnpm run build:umd:div2k/x3 && pnpm run build:umd:div2k/x4 && pnpm run build:umd:psnr-small && pnpm run build:umd:gans && rimraf ./dist/umd-tmp", + "command": "pnpm run build:umd:tsc && pnpm run build:umd:index && pnpm run build:umd:div2k/2x && pnpm run build:umd:div2k/3x && pnpm run build:umd:div2k/4x && pnpm run build:umd:psnr-small && pnpm run build:umd:gans && rimraf ./dist/umd-tmp", "dependencies": [ "scaffold" ], @@ -185,85 +210,61 @@ "!src/**/*.test.ts", "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", - "umd-names.json", "package.json", - "tsconfig.umd.json", "tsconfig.json", - "../tsconfig.umd.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.umd.json", + "umd-names.json", + "../tsconfig.umd.json" ], "output": [ "dist/umd/**" ] }, - "clean": { - "command": "ts-node ../../scripts/package-scripts/clean-model.ts esrgan-legacy" - }, - "scaffold": { - "command": "node -e 'const fs = require(\"fs\"); const {name, version} = require(\"./package.json\"); fs.writeFileSync(\"./src/constants.generated.ts\", `export const NAME = \"${name}\";\\nexport const VERSION=\"${version}\"`, \"utf-8\");'", - "files": [ - "package.json" - ], - "output": [ - "./src/constants.generated.ts" - ] - }, - "build:umd:tsc": { - "command": "tsc -p ./tsconfig.umd.json --outDir ./dist/umd-tmp" - }, - "build:umd:index": { - "command": "pnpm build:umd:rollup:index && pnpm build:umd:uglify:index" - }, - "build:umd:rollup:index": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/umd.js --file ./dist/umd/umd.js --name ESRGANLegacy --format umd" - }, - "build:umd:uglify:index": { - "command": "uglifyjs ./dist/umd/umd.js --output ./dist/umd/umd.min.js --compress --mangle --source-map" - }, - "build:umd:div2k/x2": { - "command": "pnpm build:umd:rollup:div2k/x2 && pnpm build:umd:uglify:div2k/x2" + "build:umd:div2k/2x": { + "command": "pnpm build:umd:rollup:div2k/2x && pnpm build:umd:uglify:div2k/2x" }, - "build:umd:rollup:div2k/x2": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/div2k/x2/index.js --file ./dist/umd/div2k/2x.js --name ESRGANLegacyDiv2kX2 --format umd" + "build:umd:rollup:div2k/2x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/div2k/x2/index.js --file ./dist/umd/models/esrgan-legacy/src/div2k/x2/index.js --name ESRGANLegacyDiv2kX2 --format umd" }, - "build:umd:uglify:div2k/x2": { - "command": "uglifyjs ./dist/umd/div2k/2x.js --output ./dist/umd/div2k/2x.min.js --compress --mangle --source-map" + "build:umd:uglify:div2k/2x": { + "command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/div2k/x2/index.js --output ./dist/umd/models/esrgan-legacy/src/div2k/x2/index.min.js --compress --mangle --source-map" }, - "build:umd:div2k/x3": { - "command": "pnpm build:umd:rollup:div2k/x3 && pnpm build:umd:uglify:div2k/x3" + "build:umd:div2k/3x": { + "command": "pnpm build:umd:rollup:div2k/3x && pnpm build:umd:uglify:div2k/3x" }, - "build:umd:rollup:div2k/x3": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/div2k/x3/index.js --file ./dist/umd/div2k/3x.js --name ESRGANLegacyDiv2kX3 --format umd" + "build:umd:rollup:div2k/3x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/div2k/x3/index.js --file ./dist/umd/models/esrgan-legacy/src/div2k/x3/index.js --name ESRGANLegacyDiv2kX3 --format umd" }, - "build:umd:uglify:div2k/x3": { - "command": "uglifyjs ./dist/umd/div2k/3x.js --output ./dist/umd/div2k/3x.min.js --compress --mangle --source-map" + "build:umd:uglify:div2k/3x": { + "command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/div2k/x3/index.js --output ./dist/umd/models/esrgan-legacy/src/div2k/x3/index.min.js --compress --mangle --source-map" }, - "build:umd:div2k/x4": { - "command": "pnpm build:umd:rollup:div2k/x4 && pnpm build:umd:uglify:div2k/x4" + "build:umd:div2k/4x": { + "command": "pnpm build:umd:rollup:div2k/4x && pnpm build:umd:uglify:div2k/4x" }, - "build:umd:rollup:div2k/x4": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/div2k/x4/index.js --file ./dist/umd/div2k/4x.js --name ESRGANLegacyDiv2kX4 --format umd" + "build:umd:rollup:div2k/4x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/div2k/x4/index.js --file ./dist/umd/models/esrgan-legacy/src/div2k/x4/index.js --name ESRGANLegacyDiv2kX4 --format umd" }, - "build:umd:uglify:div2k/x4": { - "command": "uglifyjs ./dist/umd/div2k/4x.js --output ./dist/umd/div2k/4x.min.js --compress --mangle --source-map" + "build:umd:uglify:div2k/4x": { + "command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/div2k/x4/index.js --output ./dist/umd/models/esrgan-legacy/src/div2k/x4/index.min.js --compress --mangle --source-map" }, "build:umd:psnr-small": { "command": "pnpm build:umd:rollup:psnr-small && pnpm build:umd:uglify:psnr-small" }, "build:umd:rollup:psnr-small": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/psnr-small/index.js --file ./dist/umd/psnr-small.js --name ESRGANLegacyPSNRSmall --format umd" + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/psnr-small/index.js --file ./dist/umd/models/esrgan-legacy/src/psnr-small/index.js --name ESRGANLegacyPSNRSmall --format umd" }, "build:umd:uglify:psnr-small": { - "command": "uglifyjs ./dist/umd/psnr-small.js --output ./dist/umd/psnr-small.min.js --compress --mangle --source-map" + "command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/psnr-small/index.js --output ./dist/umd/models/esrgan-legacy/src/psnr-small/index.min.js --compress --mangle --source-map" }, "build:umd:gans": { "command": "pnpm build:umd:rollup:gans && pnpm build:umd:uglify:gans" }, "build:umd:rollup:gans": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/gans/index.js --file ./dist/umd/gans.js --name ESRGANLegacyGANS --format umd" + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/gans/index.js --file ./dist/umd/models/esrgan-legacy/src/gans/index.js --name ESRGANLegacyGANS --format umd" }, "build:umd:uglify:gans": { - "command": "uglifyjs ./dist/umd/gans.js --output ./dist/umd/gans.min.js --compress --mangle --source-map" + "command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/gans/index.js --output ./dist/umd/models/esrgan-legacy/src/gans/index.min.js --compress --mangle --source-map" } } } diff --git a/models/esrgan-medium/package.json b/models/esrgan-medium/package.json index 4cbd6d9b2..c2eb5f8c2 100644 --- a/models/esrgan-medium/package.json +++ b/models/esrgan-medium/package.json @@ -19,60 +19,59 @@ }, "exports": { ".": { - "umd": "./dist/umd/umd.min.js", + "umd": "./dist/umd/models/esrgan-medium/src/index.min.js", "require": "./dist/cjs/models/esrgan-medium/src/cjs.js", "import": "./dist/esm/models/esrgan-medium/src/index.js" }, "./2x": { - "umd": "./dist/umd/2x.min.js", + "umd": "./dist/umd/models/esrgan-medium/src/x2/index.min.js", "require": "./dist/cjs/models/esrgan-medium/src/x2/cjs.js", "import": "./dist/esm/models/esrgan-medium/src/x2/index.js" }, "./3x": { - "umd": "./dist/umd/3x.min.js", + "umd": "./dist/umd/models/esrgan-medium/src/x3/index.min.js", "require": "./dist/cjs/models/esrgan-medium/src/x3/cjs.js", "import": "./dist/esm/models/esrgan-medium/src/x3/index.js" }, "./4x": { - "umd": "./dist/umd/4x.min.js", + "umd": "./dist/umd/models/esrgan-medium/src/x4/index.min.js", "require": "./dist/cjs/models/esrgan-medium/src/x4/cjs.js", "import": "./dist/esm/models/esrgan-medium/src/x4/index.js" }, "./8x": { - "umd": "./dist/umd/8x.min.js", + "umd": "./dist/umd/models/esrgan-medium/src/x8/index.min.js", "require": "./dist/cjs/models/esrgan-medium/src/x8/cjs.js", "import": "./dist/esm/models/esrgan-medium/src/x8/index.js" } }, - "module": "dist/esm/models/esrgan-medium/src/index.js", - "types": "dist/esm/models/esrgan-medium/src/index.d.ts", - "umd:main": "dist/umd/umd.min.js", + "module": "./dist/esm/models/esrgan-medium/src/index.js", + "types": "./dist/esm/models/esrgan-medium/src/index.d.ts", + "umd:main": "./dist/umd/models/esrgan-medium/src/umd.min.js", "scripts": { "lint": "wireit", "prepublishOnly": "wireit", "validate:build": "wireit", - "build": "wireit", - "build:cjs": "wireit", - "build:esm": "wireit", - "build:umd": "wireit", - "clean": "wireit", "scaffold": "wireit", "build:umd:tsc": "wireit", "build:umd:index": "wireit", "build:umd:rollup:index": "wireit", "build:umd:uglify:index": "wireit", - "build:umd:x2": "wireit", - "build:umd:rollup:x2": "wireit", - "build:umd:uglify:x2": "wireit", - "build:umd:x3": "wireit", - "build:umd:rollup:x3": "wireit", - "build:umd:uglify:x3": "wireit", - "build:umd:x4": "wireit", - "build:umd:rollup:x4": "wireit", - "build:umd:uglify:x4": "wireit", - "build:umd:x8": "wireit", - "build:umd:rollup:x8": "wireit", - "build:umd:uglify:x8": "wireit" + "build": "wireit", + "build:cjs": "wireit", + "build:esm": "wireit", + "build:umd": "wireit", + "build:umd:2x": "wireit", + "build:umd:rollup:2x": "wireit", + "build:umd:uglify:2x": "wireit", + "build:umd:3x": "wireit", + "build:umd:rollup:3x": "wireit", + "build:umd:uglify:3x": "wireit", + "build:umd:4x": "wireit", + "build:umd:rollup:4x": "wireit", + "build:umd:uglify:4x": "wireit", + "build:umd:8x": "wireit", + "build:umd:rollup:8x": "wireit", + "build:umd:uglify:8x": "wireit" }, "files": [ "assets/**/*", @@ -94,14 +93,14 @@ }, "@upscalerjs": { "title": "ESRGAN Medium", - "modelFamily": "esrgan", "models": { "./8x": { "supportedPlatforms": [ "node" ] } - } + }, + "modelFamily": "esrgan" }, "wireit": { "lint": { @@ -113,8 +112,29 @@ "prepublishOnly": { "command": "pnpm lint && pnpm build && pnpm validate:build" }, + "scaffold": { + "command": "node -e 'const fs = require(\"fs\"); const {name, version} = require(\"./package.json\"); fs.writeFileSync(\"./src/constants.generated.ts\", `export const NAME = \"${name}\";\\nexport const VERSION=\"${version}\"`, \"utf-8\");'", + "files": [ + "package.json" + ], + "output": [ + "./src/constants.generated.ts" + ] + }, + "build:umd:tsc": { + "command": "tsc -p ./tsconfig.umd.json --outDir ./dist/umd-tmp" + }, + "build:umd:index": { + "command": "pnpm build:umd:rollup:index && pnpm build:umd:uglify:index" + }, "validate:build": { - "command": "pnpm --filter @internals/scripts validate models/esrgan-medium" + "command": "ts-node ../../scripts/package-scripts/validate-build.ts models/esrgan-medium" + }, + "build:umd:rollup:index": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-medium/src/umd.js --file ./dist/umd/models/esrgan-medium/src/umd.js --name ESRGANMedium --format umd" + }, + "build:umd:uglify:index": { + "command": "uglifyjs ./dist/umd/models/esrgan-medium/src/umd.js --output ./dist/umd/models/esrgan-medium/src/umd.min.js --compress --mangle --source-map" }, "build": { "command": "pnpm build:cjs && pnpm build:esm && pnpm build:umd", @@ -124,15 +144,15 @@ "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", "package.json", + "tsconfig.json", + "../tsconfig.json", + "tsconfig.umd.json", "umd-names.json", - "tsconfig.cjs.json", + "../tsconfig.umd.json", "tsconfig.esm.json", - "tsconfig.umd.json", - "tsconfig.json", - "../tsconfig.cjs.json", "../tsconfig.esm.json", - "../tsconfig.umd.json", - "../tsconfig.json" + "tsconfig.cjs.json", + "../tsconfig.cjs.json" ], "output": [ "dist/**" @@ -149,10 +169,10 @@ "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", "package.json", - "tsconfig.cjs.json", "tsconfig.json", - "../tsconfig.cjs.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.cjs.json", + "../tsconfig.cjs.json" ], "output": [ "dist/cjs/**" @@ -169,17 +189,17 @@ "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", "package.json", - "tsconfig.esm.json", "tsconfig.json", - "../tsconfig.esm.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.esm.json", + "../tsconfig.esm.json" ], "output": [ "dist/esm/**" ] }, "build:umd": { - "command": "pnpm run build:umd:tsc && pnpm run build:umd:index && pnpm run build:umd:x2 && pnpm run build:umd:x3 && pnpm run build:umd:x4 && pnpm run build:umd:x8 && rimraf ./dist/umd-tmp", + "command": "pnpm run build:umd:tsc && pnpm run build:umd:index && pnpm run build:umd:2x && pnpm run build:umd:3x && pnpm run build:umd:4x && pnpm run build:umd:8x && rimraf ./dist/umd-tmp", "dependencies": [ "scaffold" ], @@ -188,76 +208,52 @@ "!src/**/*.test.ts", "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", - "umd-names.json", "package.json", - "tsconfig.umd.json", "tsconfig.json", - "../tsconfig.umd.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.umd.json", + "umd-names.json", + "../tsconfig.umd.json" ], "output": [ "dist/umd/**" ] }, - "clean": { - "command": "ts-node ../../scripts/package-scripts/clean-model.ts esrgan-medium" - }, - "scaffold": { - "command": "node -e 'const fs = require(\"fs\"); const {name, version} = require(\"./package.json\"); fs.writeFileSync(\"./src/constants.generated.ts\", `export const NAME = \"${name}\";\\nexport const VERSION=\"${version}\"`, \"utf-8\");'", - "files": [ - "package.json" - ], - "output": [ - "./src/constants.generated.ts" - ] - }, - "build:umd:tsc": { - "command": "tsc -p ./tsconfig.umd.json --outDir ./dist/umd-tmp" - }, - "build:umd:index": { - "command": "pnpm build:umd:rollup:index && pnpm build:umd:uglify:index" - }, - "build:umd:rollup:index": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-medium/src/umd.js --file ./dist/umd/umd.js --name ESRGANMedium --format umd" - }, - "build:umd:uglify:index": { - "command": "uglifyjs ./dist/umd/umd.js --output ./dist/umd/umd.min.js --compress --mangle --source-map" - }, - "build:umd:x2": { - "command": "pnpm build:umd:rollup:x2 && pnpm build:umd:uglify:x2" + "build:umd:2x": { + "command": "pnpm build:umd:rollup:2x && pnpm build:umd:uglify:2x" }, - "build:umd:rollup:x2": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-medium/src/x2/index.js --file ./dist/umd/2x.js --name ESRGANMedium2x --format umd" + "build:umd:rollup:2x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-medium/src/x2/index.js --file ./dist/umd/models/esrgan-medium/src/x2/index.js --name ESRGANMedium2x --format umd" }, - "build:umd:uglify:x2": { - "command": "uglifyjs ./dist/umd/2x.js --output ./dist/umd/2x.min.js --compress --mangle --source-map" + "build:umd:uglify:2x": { + "command": "uglifyjs ./dist/umd/models/esrgan-medium/src/x2/index.js --output ./dist/umd/models/esrgan-medium/src/x2/index.min.js --compress --mangle --source-map" }, - "build:umd:x3": { - "command": "pnpm build:umd:rollup:x3 && pnpm build:umd:uglify:x3" + "build:umd:3x": { + "command": "pnpm build:umd:rollup:3x && pnpm build:umd:uglify:3x" }, - "build:umd:rollup:x3": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-medium/src/x3/index.js --file ./dist/umd/3x.js --name ESRGANMedium3x --format umd" + "build:umd:rollup:3x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-medium/src/x3/index.js --file ./dist/umd/models/esrgan-medium/src/x3/index.js --name ESRGANMedium3x --format umd" }, - "build:umd:uglify:x3": { - "command": "uglifyjs ./dist/umd/3x.js --output ./dist/umd/3x.min.js --compress --mangle --source-map" + "build:umd:uglify:3x": { + "command": "uglifyjs ./dist/umd/models/esrgan-medium/src/x3/index.js --output ./dist/umd/models/esrgan-medium/src/x3/index.min.js --compress --mangle --source-map" }, - "build:umd:x4": { - "command": "pnpm build:umd:rollup:x4 && pnpm build:umd:uglify:x4" + "build:umd:4x": { + "command": "pnpm build:umd:rollup:4x && pnpm build:umd:uglify:4x" }, - "build:umd:rollup:x4": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-medium/src/x4/index.js --file ./dist/umd/4x.js --name ESRGANMedium4x --format umd" + "build:umd:rollup:4x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-medium/src/x4/index.js --file ./dist/umd/models/esrgan-medium/src/x4/index.js --name ESRGANMedium4x --format umd" }, - "build:umd:uglify:x4": { - "command": "uglifyjs ./dist/umd/4x.js --output ./dist/umd/4x.min.js --compress --mangle --source-map" + "build:umd:uglify:4x": { + "command": "uglifyjs ./dist/umd/models/esrgan-medium/src/x4/index.js --output ./dist/umd/models/esrgan-medium/src/x4/index.min.js --compress --mangle --source-map" }, - "build:umd:x8": { - "command": "pnpm build:umd:rollup:x8 && pnpm build:umd:uglify:x8" + "build:umd:8x": { + "command": "pnpm build:umd:rollup:8x && pnpm build:umd:uglify:8x" }, - "build:umd:rollup:x8": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-medium/src/x8/index.js --file ./dist/umd/8x.js --name ESRGANMedium8x --format umd" + "build:umd:rollup:8x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-medium/src/x8/index.js --file ./dist/umd/models/esrgan-medium/src/x8/index.js --name ESRGANMedium8x --format umd" }, - "build:umd:uglify:x8": { - "command": "uglifyjs ./dist/umd/8x.js --output ./dist/umd/8x.min.js --compress --mangle --source-map" + "build:umd:uglify:8x": { + "command": "uglifyjs ./dist/umd/models/esrgan-medium/src/x8/index.js --output ./dist/umd/models/esrgan-medium/src/x8/index.min.js --compress --mangle --source-map" } } } diff --git a/models/esrgan-slim/package.json b/models/esrgan-slim/package.json index da17f2718..516f2c951 100644 --- a/models/esrgan-slim/package.json +++ b/models/esrgan-slim/package.json @@ -19,60 +19,59 @@ }, "exports": { ".": { - "umd": "./dist/umd/umd.min.js", + "umd": "./dist/umd/models/esrgan-slim/src/index.min.js", "require": "./dist/cjs/models/esrgan-slim/src/cjs.js", "import": "./dist/esm/models/esrgan-slim/src/index.js" }, "./2x": { - "umd": "./dist/umd/2x.min.js", + "umd": "./dist/umd/models/esrgan-slim/src/x2/index.min.js", "require": "./dist/cjs/models/esrgan-slim/src/x2/cjs.js", "import": "./dist/esm/models/esrgan-slim/src/x2/index.js" }, "./3x": { - "umd": "./dist/umd/3x.min.js", + "umd": "./dist/umd/models/esrgan-slim/src/x3/index.min.js", "require": "./dist/cjs/models/esrgan-slim/src/x3/cjs.js", "import": "./dist/esm/models/esrgan-slim/src/x3/index.js" }, "./4x": { - "umd": "./dist/umd/4x.min.js", + "umd": "./dist/umd/models/esrgan-slim/src/x4/index.min.js", "require": "./dist/cjs/models/esrgan-slim/src/x4/cjs.js", "import": "./dist/esm/models/esrgan-slim/src/x4/index.js" }, "./8x": { - "umd": "./dist/umd/8x.min.js", + "umd": "./dist/umd/models/esrgan-slim/src/x8/index.min.js", "require": "./dist/cjs/models/esrgan-slim/src/x8/cjs.js", "import": "./dist/esm/models/esrgan-slim/src/x8/index.js" } }, - "module": "dist/esm/models/esrgan-slim/src/index.js", - "types": "dist/esm/models/esrgan-slim/src/index.d.ts", - "umd:main": "dist/umd/umd.min.js", + "module": "./dist/esm/models/esrgan-slim/src/index.js", + "types": "./dist/esm/models/esrgan-slim/src/index.d.ts", + "umd:main": "./dist/umd/models/esrgan-slim/src/umd.min.js", "scripts": { "lint": "wireit", "prepublishOnly": "wireit", "validate:build": "wireit", - "build": "wireit", - "build:cjs": "wireit", - "build:esm": "wireit", - "build:umd": "wireit", - "clean": "wireit", "scaffold": "wireit", "build:umd:tsc": "wireit", "build:umd:index": "wireit", "build:umd:rollup:index": "wireit", "build:umd:uglify:index": "wireit", - "build:umd:x2": "wireit", - "build:umd:rollup:x2": "wireit", - "build:umd:uglify:x2": "wireit", - "build:umd:x3": "wireit", - "build:umd:rollup:x3": "wireit", - "build:umd:uglify:x3": "wireit", - "build:umd:x4": "wireit", - "build:umd:rollup:x4": "wireit", - "build:umd:uglify:x4": "wireit", - "build:umd:x8": "wireit", - "build:umd:rollup:x8": "wireit", - "build:umd:uglify:x8": "wireit" + "build": "wireit", + "build:cjs": "wireit", + "build:esm": "wireit", + "build:umd": "wireit", + "build:umd:2x": "wireit", + "build:umd:rollup:2x": "wireit", + "build:umd:uglify:2x": "wireit", + "build:umd:3x": "wireit", + "build:umd:rollup:3x": "wireit", + "build:umd:uglify:3x": "wireit", + "build:umd:4x": "wireit", + "build:umd:rollup:4x": "wireit", + "build:umd:uglify:4x": "wireit", + "build:umd:8x": "wireit", + "build:umd:rollup:8x": "wireit", + "build:umd:uglify:8x": "wireit" }, "files": [ "assets/**/*", @@ -94,14 +93,14 @@ }, "@upscalerjs": { "title": "ESRGAN Slim", - "modelFamily": "esrgan", "models": { "./8x": { "supportedPlatforms": [ "node" ] } - } + }, + "modelFamily": "esrgan" }, "wireit": { "lint": { @@ -113,8 +112,29 @@ "prepublishOnly": { "command": "pnpm lint && pnpm build && pnpm validate:build" }, + "scaffold": { + "command": "node -e 'const fs = require(\"fs\"); const {name, version} = require(\"./package.json\"); fs.writeFileSync(\"./src/constants.generated.ts\", `export const NAME = \"${name}\";\\nexport const VERSION=\"${version}\"`, \"utf-8\");'", + "files": [ + "package.json" + ], + "output": [ + "./src/constants.generated.ts" + ] + }, + "build:umd:tsc": { + "command": "tsc -p ./tsconfig.umd.json --outDir ./dist/umd-tmp" + }, + "build:umd:index": { + "command": "pnpm build:umd:rollup:index && pnpm build:umd:uglify:index" + }, "validate:build": { - "command": "pnpm --filter @internals/scripts validate models/esrgan-slim" + "command": "ts-node ../../scripts/package-scripts/validate-build.ts models/esrgan-slim" + }, + "build:umd:rollup:index": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-slim/src/umd.js --file ./dist/umd/models/esrgan-slim/src/umd.js --name ESRGANSlim --format umd" + }, + "build:umd:uglify:index": { + "command": "uglifyjs ./dist/umd/models/esrgan-slim/src/umd.js --output ./dist/umd/models/esrgan-slim/src/umd.min.js --compress --mangle --source-map" }, "build": { "command": "pnpm build:cjs && pnpm build:esm && pnpm build:umd", @@ -124,15 +144,15 @@ "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", "package.json", - "tsconfig.cjs.json", - "tsconfig.esm.json", - "tsconfig.umd.json", "tsconfig.json", + "../tsconfig.json", + "tsconfig.umd.json", "umd-names.json", - "../tsconfig.cjs.json", - "../tsconfig.esm.json", "../tsconfig.umd.json", - "../tsconfig.json" + "tsconfig.esm.json", + "../tsconfig.esm.json", + "tsconfig.cjs.json", + "../tsconfig.cjs.json" ], "output": [ "dist/**" @@ -149,10 +169,10 @@ "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", "package.json", - "tsconfig.cjs.json", "tsconfig.json", - "../tsconfig.cjs.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.cjs.json", + "../tsconfig.cjs.json" ], "output": [ "dist/cjs/**" @@ -169,17 +189,17 @@ "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", "package.json", - "tsconfig.esm.json", "tsconfig.json", - "../tsconfig.esm.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.esm.json", + "../tsconfig.esm.json" ], "output": [ "dist/esm/**" ] }, "build:umd": { - "command": "pnpm run build:umd:tsc && pnpm run build:umd:index && pnpm run build:umd:x2 && pnpm run build:umd:x3 && pnpm run build:umd:x4 && pnpm run build:umd:x8 && rimraf ./dist/umd-tmp", + "command": "pnpm run build:umd:tsc && pnpm run build:umd:index && pnpm run build:umd:2x && pnpm run build:umd:3x && pnpm run build:umd:4x && pnpm run build:umd:8x && rimraf ./dist/umd-tmp", "dependencies": [ "scaffold" ], @@ -188,76 +208,52 @@ "!src/**/*.test.ts", "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", - "umd-names.json", "package.json", - "tsconfig.umd.json", "tsconfig.json", - "../tsconfig.umd.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.umd.json", + "umd-names.json", + "../tsconfig.umd.json" ], "output": [ "dist/umd/**" ] }, - "clean": { - "command": "pnpm --filter @upscalerjs/scripts model:clean esrgan-slim" - }, - "scaffold": { - "command": "node -e 'const fs = require(\"fs\"); const {name, version} = require(\"./package.json\"); fs.writeFileSync(\"./src/constants.generated.ts\", `export const NAME = \"${name}\";\\nexport const VERSION=\"${version}\"`, \"utf-8\");'", - "files": [ - "package.json" - ], - "output": [ - "./src/constants.generated.ts" - ] - }, - "build:umd:tsc": { - "command": "tsc -p ./tsconfig.umd.json --outDir ./dist/umd-tmp" - }, - "build:umd:index": { - "command": "pnpm build:umd:rollup:index && pnpm build:umd:uglify:index" - }, - "build:umd:rollup:index": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-slim/src/umd.js --file ./dist/umd/umd.js --name ESRGANSlim --format umd" - }, - "build:umd:uglify:index": { - "command": "uglifyjs ./dist/umd/umd.js --output ./dist/umd/umd.min.js --compress --mangle --source-map" - }, - "build:umd:x2": { - "command": "pnpm build:umd:rollup:x2 && pnpm build:umd:uglify:x2" + "build:umd:2x": { + "command": "pnpm build:umd:rollup:2x && pnpm build:umd:uglify:2x" }, - "build:umd:rollup:x2": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-slim/src/x2/index.js --file ./dist/umd/2x.js --name ESRGANSlim2x --format umd" + "build:umd:rollup:2x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-slim/src/x2/index.js --file ./dist/umd/models/esrgan-slim/src/x2/index.js --name ESRGANSlim2x --format umd" }, - "build:umd:uglify:x2": { - "command": "uglifyjs ./dist/umd/2x.js --output ./dist/umd/2x.min.js --compress --mangle --source-map" + "build:umd:uglify:2x": { + "command": "uglifyjs ./dist/umd/models/esrgan-slim/src/x2/index.js --output ./dist/umd/models/esrgan-slim/src/x2/index.min.js --compress --mangle --source-map" }, - "build:umd:x3": { - "command": "pnpm build:umd:rollup:x3 && pnpm build:umd:uglify:x3" + "build:umd:3x": { + "command": "pnpm build:umd:rollup:3x && pnpm build:umd:uglify:3x" }, - "build:umd:rollup:x3": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-slim/src/x3/index.js --file ./dist/umd/3x.js --name ESRGANSlim3x --format umd" + "build:umd:rollup:3x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-slim/src/x3/index.js --file ./dist/umd/models/esrgan-slim/src/x3/index.js --name ESRGANSlim3x --format umd" }, - "build:umd:uglify:x3": { - "command": "uglifyjs ./dist/umd/3x.js --output ./dist/umd/3x.min.js --compress --mangle --source-map" + "build:umd:uglify:3x": { + "command": "uglifyjs ./dist/umd/models/esrgan-slim/src/x3/index.js --output ./dist/umd/models/esrgan-slim/src/x3/index.min.js --compress --mangle --source-map" }, - "build:umd:x4": { - "command": "pnpm build:umd:rollup:x4 && pnpm build:umd:uglify:x4" + "build:umd:4x": { + "command": "pnpm build:umd:rollup:4x && pnpm build:umd:uglify:4x" }, - "build:umd:rollup:x4": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-slim/src/x4/index.js --file ./dist/umd/4x.js --name ESRGANSlim4x --format umd" + "build:umd:rollup:4x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-slim/src/x4/index.js --file ./dist/umd/models/esrgan-slim/src/x4/index.js --name ESRGANSlim4x --format umd" }, - "build:umd:uglify:x4": { - "command": "uglifyjs ./dist/umd/4x.js --output ./dist/umd/4x.min.js --compress --mangle --source-map" + "build:umd:uglify:4x": { + "command": "uglifyjs ./dist/umd/models/esrgan-slim/src/x4/index.js --output ./dist/umd/models/esrgan-slim/src/x4/index.min.js --compress --mangle --source-map" }, - "build:umd:x8": { - "command": "pnpm build:umd:rollup:x8 && pnpm build:umd:uglify:x8" + "build:umd:8x": { + "command": "pnpm build:umd:rollup:8x && pnpm build:umd:uglify:8x" }, - "build:umd:rollup:x8": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-slim/src/x8/index.js --file ./dist/umd/8x.js --name ESRGANSlim8x --format umd" + "build:umd:rollup:8x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-slim/src/x8/index.js --file ./dist/umd/models/esrgan-slim/src/x8/index.js --name ESRGANSlim8x --format umd" }, - "build:umd:uglify:x8": { - "command": "uglifyjs ./dist/umd/8x.js --output ./dist/umd/8x.min.js --compress --mangle --source-map" + "build:umd:uglify:8x": { + "command": "uglifyjs ./dist/umd/models/esrgan-slim/src/x8/index.js --output ./dist/umd/models/esrgan-slim/src/x8/index.min.js --compress --mangle --source-map" } } } diff --git a/models/esrgan-thick/package.json b/models/esrgan-thick/package.json index f8441cead..406bd09eb 100644 --- a/models/esrgan-thick/package.json +++ b/models/esrgan-thick/package.json @@ -19,60 +19,59 @@ }, "exports": { ".": { - "umd": "./dist/umd/umd.min.js", + "umd": "./dist/umd/models/esrgan-thick/src/index.min.js", "require": "./dist/cjs/models/esrgan-thick/src/cjs.js", "import": "./dist/esm/models/esrgan-thick/src/index.js" }, "./2x": { - "umd": "./dist/umd/2x.min.js", + "umd": "./dist/umd/models/esrgan-thick/src/x2/index.min.js", "require": "./dist/cjs/models/esrgan-thick/src/x2/cjs.js", "import": "./dist/esm/models/esrgan-thick/src/x2/index.js" }, "./3x": { - "umd": "./dist/umd/3x.min.js", + "umd": "./dist/umd/models/esrgan-thick/src/x3/index.min.js", "require": "./dist/cjs/models/esrgan-thick/src/x3/cjs.js", "import": "./dist/esm/models/esrgan-thick/src/x3/index.js" }, "./4x": { - "umd": "./dist/umd/4x.min.js", + "umd": "./dist/umd/models/esrgan-thick/src/x4/index.min.js", "require": "./dist/cjs/models/esrgan-thick/src/x4/cjs.js", "import": "./dist/esm/models/esrgan-thick/src/x4/index.js" }, "./8x": { - "umd": "./dist/umd/8x.min.js", + "umd": "./dist/umd/models/esrgan-thick/src/x8/index.min.js", "require": "./dist/cjs/models/esrgan-thick/src/x8/cjs.js", "import": "./dist/esm/models/esrgan-thick/src/x8/index.js" } }, - "module": "dist/esm/models/esrgan-thick/src/index.js", - "types": "dist/esm/models/esrgan-thick/src/index.d.ts", - "umd:main": "dist/umd/umd.min.js", + "module": "./dist/esm/models/esrgan-thick/src/index.js", + "types": "./dist/esm/models/esrgan-thick/src/index.d.ts", + "umd:main": "./dist/umd/models/esrgan-thick/src/umd.min.js", "scripts": { "lint": "wireit", "prepublishOnly": "wireit", "validate:build": "wireit", - "build": "wireit", - "build:cjs": "wireit", - "build:esm": "wireit", - "build:umd": "wireit", - "clean": "wireit", "scaffold": "wireit", "build:umd:tsc": "wireit", "build:umd:index": "wireit", "build:umd:rollup:index": "wireit", "build:umd:uglify:index": "wireit", - "build:umd:x2": "wireit", - "build:umd:rollup:x2": "wireit", - "build:umd:uglify:x2": "wireit", - "build:umd:x3": "wireit", - "build:umd:rollup:x3": "wireit", - "build:umd:uglify:x3": "wireit", - "build:umd:x4": "wireit", - "build:umd:rollup:x4": "wireit", - "build:umd:uglify:x4": "wireit", - "build:umd:x8": "wireit", - "build:umd:rollup:x8": "wireit", - "build:umd:uglify:x8": "wireit" + "build": "wireit", + "build:cjs": "wireit", + "build:esm": "wireit", + "build:umd": "wireit", + "build:umd:2x": "wireit", + "build:umd:rollup:2x": "wireit", + "build:umd:uglify:2x": "wireit", + "build:umd:3x": "wireit", + "build:umd:rollup:3x": "wireit", + "build:umd:uglify:3x": "wireit", + "build:umd:4x": "wireit", + "build:umd:rollup:4x": "wireit", + "build:umd:uglify:4x": "wireit", + "build:umd:8x": "wireit", + "build:umd:rollup:8x": "wireit", + "build:umd:uglify:8x": "wireit" }, "files": [ "assets/**/*", @@ -94,6 +93,7 @@ }, "@upscalerjs": { "title": "ESRGAN Thick", + "models": "undefined", "modelFamily": "esrgan" }, "wireit": { @@ -106,8 +106,29 @@ "prepublishOnly": { "command": "pnpm lint && pnpm build && pnpm validate:build" }, + "scaffold": { + "command": "node -e 'const fs = require(\"fs\"); const {name, version} = require(\"./package.json\"); fs.writeFileSync(\"./src/constants.generated.ts\", `export const NAME = \"${name}\";\\nexport const VERSION=\"${version}\"`, \"utf-8\");'", + "files": [ + "package.json" + ], + "output": [ + "./src/constants.generated.ts" + ] + }, + "build:umd:tsc": { + "command": "tsc -p ./tsconfig.umd.json --outDir ./dist/umd-tmp" + }, + "build:umd:index": { + "command": "pnpm build:umd:rollup:index && pnpm build:umd:uglify:index" + }, "validate:build": { - "command": "pnpm --filter @internals/scripts validate models/esrgan-thick" + "command": "ts-node ../../scripts/package-scripts/validate-build.ts models/esrgan-thick" + }, + "build:umd:rollup:index": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-thick/src/umd.js --file ./dist/umd/models/esrgan-thick/src/umd.js --name ESRGANThick --format umd" + }, + "build:umd:uglify:index": { + "command": "uglifyjs ./dist/umd/models/esrgan-thick/src/umd.js --output ./dist/umd/models/esrgan-thick/src/umd.min.js --compress --mangle --source-map" }, "build": { "command": "pnpm build:cjs && pnpm build:esm && pnpm build:umd", @@ -116,16 +137,16 @@ "!src/**/*.test.ts", "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", - "umd-names.json", "package.json", - "tsconfig.cjs.json", - "tsconfig.esm.json", - "tsconfig.umd.json", "tsconfig.json", - "../tsconfig.cjs.json", - "../tsconfig.esm.json", + "../tsconfig.json", + "tsconfig.umd.json", + "umd-names.json", "../tsconfig.umd.json", - "../tsconfig.json" + "tsconfig.esm.json", + "../tsconfig.esm.json", + "tsconfig.cjs.json", + "../tsconfig.cjs.json" ], "output": [ "dist/**" @@ -142,10 +163,10 @@ "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", "package.json", - "tsconfig.cjs.json", "tsconfig.json", - "../tsconfig.cjs.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.cjs.json", + "../tsconfig.cjs.json" ], "output": [ "dist/cjs/**" @@ -162,17 +183,17 @@ "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", "package.json", - "tsconfig.esm.json", "tsconfig.json", - "../tsconfig.esm.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.esm.json", + "../tsconfig.esm.json" ], "output": [ "dist/esm/**" ] }, "build:umd": { - "command": "pnpm run build:umd:tsc && pnpm run build:umd:index && pnpm run build:umd:x2 && pnpm run build:umd:x3 && pnpm run build:umd:x4 && pnpm run build:umd:x8 && rimraf ./dist/umd-tmp", + "command": "pnpm run build:umd:tsc && pnpm run build:umd:index && pnpm run build:umd:2x && pnpm run build:umd:3x && pnpm run build:umd:4x && pnpm run build:umd:8x && rimraf ./dist/umd-tmp", "dependencies": [ "scaffold" ], @@ -181,76 +202,52 @@ "!src/**/*.test.ts", "!src/**/*.generated.ts", "../../packages/shared/src/esrgan/**/*.ts", - "umd-names.json", "package.json", - "tsconfig.umd.json", "tsconfig.json", - "../tsconfig.umd.json", - "../tsconfig.json" + "../tsconfig.json", + "tsconfig.umd.json", + "umd-names.json", + "../tsconfig.umd.json" ], "output": [ "dist/umd/**" ] }, - "clean": { - "command": "ts-node ../../scripts/package-scripts/clean-model.ts esrgan-thick" - }, - "scaffold": { - "command": "node -e 'const fs = require(\"fs\"); const {name, version} = require(\"./package.json\"); fs.writeFileSync(\"./src/constants.generated.ts\", `export const NAME = \"${name}\";\\nexport const VERSION=\"${version}\"`, \"utf-8\");'", - "files": [ - "package.json" - ], - "output": [ - "./src/constants.generated.ts" - ] - }, - "build:umd:tsc": { - "command": "tsc -p ./tsconfig.umd.json --outDir ./dist/umd-tmp" - }, - "build:umd:index": { - "command": "pnpm build:umd:rollup:index && pnpm build:umd:uglify:index" - }, - "build:umd:rollup:index": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-thick/src/umd.js --file ./dist/umd/umd.js --name ESRGANThick --format umd" - }, - "build:umd:uglify:index": { - "command": "uglifyjs ./dist/umd/umd.js --output ./dist/umd/umd.min.js --compress --mangle --source-map" - }, - "build:umd:x2": { - "command": "pnpm build:umd:rollup:x2 && pnpm build:umd:uglify:x2" + "build:umd:2x": { + "command": "pnpm build:umd:rollup:2x && pnpm build:umd:uglify:2x" }, - "build:umd:rollup:x2": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-thick/src/x2/index.js --file ./dist/umd/2x.js --name ESRGANThick2x --format umd" + "build:umd:rollup:2x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-thick/src/x2/index.js --file ./dist/umd/models/esrgan-thick/src/x2/index.js --name ESRGANThick2x --format umd" }, - "build:umd:uglify:x2": { - "command": "uglifyjs ./dist/umd/2x.js --output ./dist/umd/2x.min.js --compress --mangle --source-map" + "build:umd:uglify:2x": { + "command": "uglifyjs ./dist/umd/models/esrgan-thick/src/x2/index.js --output ./dist/umd/models/esrgan-thick/src/x2/index.min.js --compress --mangle --source-map" }, - "build:umd:x3": { - "command": "pnpm build:umd:rollup:x3 && pnpm build:umd:uglify:x3" + "build:umd:3x": { + "command": "pnpm build:umd:rollup:3x && pnpm build:umd:uglify:3x" }, - "build:umd:rollup:x3": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-thick/src/x3/index.js --file ./dist/umd/3x.js --name ESRGANThick3x --format umd" + "build:umd:rollup:3x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-thick/src/x3/index.js --file ./dist/umd/models/esrgan-thick/src/x3/index.js --name ESRGANThick3x --format umd" }, - "build:umd:uglify:x3": { - "command": "uglifyjs ./dist/umd/3x.js --output ./dist/umd/3x.min.js --compress --mangle --source-map" + "build:umd:uglify:3x": { + "command": "uglifyjs ./dist/umd/models/esrgan-thick/src/x3/index.js --output ./dist/umd/models/esrgan-thick/src/x3/index.min.js --compress --mangle --source-map" }, - "build:umd:x4": { - "command": "pnpm build:umd:rollup:x4 && pnpm build:umd:uglify:x4" + "build:umd:4x": { + "command": "pnpm build:umd:rollup:4x && pnpm build:umd:uglify:4x" }, - "build:umd:rollup:x4": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-thick/src/x4/index.js --file ./dist/umd/4x.js --name ESRGANThick4x --format umd" + "build:umd:rollup:4x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-thick/src/x4/index.js --file ./dist/umd/models/esrgan-thick/src/x4/index.js --name ESRGANThick4x --format umd" }, - "build:umd:uglify:x4": { - "command": "uglifyjs ./dist/umd/4x.js --output ./dist/umd/4x.min.js --compress --mangle --source-map" + "build:umd:uglify:4x": { + "command": "uglifyjs ./dist/umd/models/esrgan-thick/src/x4/index.js --output ./dist/umd/models/esrgan-thick/src/x4/index.min.js --compress --mangle --source-map" }, - "build:umd:x8": { - "command": "pnpm build:umd:rollup:x8 && pnpm build:umd:uglify:x8" + "build:umd:8x": { + "command": "pnpm build:umd:rollup:8x && pnpm build:umd:uglify:8x" }, - "build:umd:rollup:x8": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-thick/src/x8/index.js --file ./dist/umd/8x.js --name ESRGANThick8x --format umd" + "build:umd:rollup:8x": { + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-thick/src/x8/index.js --file ./dist/umd/models/esrgan-thick/src/x8/index.js --name ESRGANThick8x --format umd" }, - "build:umd:uglify:x8": { - "command": "uglifyjs ./dist/umd/8x.js --output ./dist/umd/8x.min.js --compress --mangle --source-map" + "build:umd:uglify:8x": { + "command": "uglifyjs ./dist/umd/models/esrgan-thick/src/x8/index.js --output ./dist/umd/models/esrgan-thick/src/x8/index.min.js --compress --mangle --source-map" } } } diff --git a/package.json b/package.json index 5bca6f5ad..45ce2bc80 100644 --- a/package.json +++ b/package.json @@ -46,11 +46,7 @@ "type": "git", "url": "git+https://github.com/thekevinscott/UpscalerJS.git" }, - "peerDependencies": { - "@tensorflow/tfjs": "~4.11.0", - "@tensorflow/tfjs-node": "~4.11.0", - "@tensorflow/tfjs-node-gpu": "~4.11.0" - }, + "peerDependencies": {}, "devDependencies": { "@internals/bundlers": "workspace:*", "@internals/common": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 56036369a..f85e9a3cd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1385,7 +1385,6 @@ packages: /@babel/parser@7.23.3: resolution: {integrity: sha512-uVsWNvlVsIninV2prNz/3lHCb+5CJ+e+IUBfbjToAHODtfGYLfCFuY4AU7TskI+dAKk+njsPiBjq1gKTvZOBaw==} engines: {node: '>=6.0.0'} - hasBin: true dependencies: '@babel/types': 7.23.3 @@ -1409,14 +1408,23 @@ packages: '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/plugin-transform-optional-chaining': 7.23.3(@babel/core@7.23.2) + /@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.23.3(@babel/core@7.23.2): + resolution: {integrity: sha512-XaJak1qcityzrX0/IU5nKHb34VaibwP3saKqG6a/tppelgllOH13LUann4ZCIBcVOeE6H18K4Vx9QKkVww3z/w==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.2 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-plugin-utils': 7.22.5 + /@babel/plugin-proposal-object-rest-spread@7.12.1(@babel/core@7.12.9): resolution: {integrity: sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA==} - deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.12.9 - '@babel/helper-plugin-utils': 7.10.4 + '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.12.9) '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.12.9) @@ -1857,6 +1865,17 @@ packages: '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-simple-access': 7.22.5 + /@babel/plugin-transform-modules-commonjs@7.23.3(@babel/core@7.23.2): + resolution: {integrity: sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.2 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.2) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-simple-access': 7.22.5 + /@babel/plugin-transform-modules-systemjs@7.23.3(@babel/core@7.23.2): resolution: {integrity: sha512-ZxyKGTkF9xT9YJuKQRo19ewf3pXpopuYQd8cDXqNzc3mUNbOME0RKMoZxviQk74hwzfQsEe66dE92MaZbdHKNQ==} engines: {node: '>=6.9.0'} @@ -2282,6 +2301,97 @@ packages: semver: 6.3.1 transitivePeerDependencies: - supports-color + dev: true + + /@babel/preset-env@7.23.3(@babel/core@7.23.2): + resolution: {integrity: sha512-ovzGc2uuyNfNAs/jyjIGxS8arOHS5FENZaNn4rtE7UdKMMkqHCvboHfcuhWLZNX5cB44QfcGNWjaevxMzzMf+Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/compat-data': 7.23.3 + '@babel/core': 7.23.2 + '@babel/helper-compilation-targets': 7.22.15 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-option': 7.22.15 + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.2) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.2) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.2) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.2) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.2) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.2) + '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-syntax-import-attributes': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.2) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.2) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.2) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.2) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.2) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.2) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.2) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.2) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.2) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.2) + '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.23.2) + '@babel/plugin-transform-arrow-functions': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-async-generator-functions': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-async-to-generator': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-block-scoped-functions': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-block-scoping': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-class-properties': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-class-static-block': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-classes': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-computed-properties': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-destructuring': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-dotall-regex': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-duplicate-keys': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-dynamic-import': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-exponentiation-operator': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-export-namespace-from': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-for-of': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-function-name': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-json-strings': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-literals': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-logical-assignment-operators': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-member-expression-literals': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-modules-amd': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-modules-systemjs': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-modules-umd': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.23.2) + '@babel/plugin-transform-new-target': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-nullish-coalescing-operator': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-numeric-separator': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-object-rest-spread': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-object-super': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-optional-catch-binding': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-optional-chaining': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-private-methods': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-private-property-in-object': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-property-literals': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-regenerator': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-reserved-words': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-shorthand-properties': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-spread': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-sticky-regex': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-template-literals': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-typeof-symbol': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-unicode-escapes': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-unicode-property-regex': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-unicode-regex': 7.23.3(@babel/core@7.23.2) + '@babel/plugin-transform-unicode-sets-regex': 7.23.3(@babel/core@7.23.2) + '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.23.2) + babel-plugin-polyfill-corejs2: 0.4.6(@babel/core@7.23.2) + babel-plugin-polyfill-corejs3: 0.8.6(@babel/core@7.23.2) + babel-plugin-polyfill-regenerator: 0.5.3(@babel/core@7.23.2) + core-js-compat: 3.33.2 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.23.2): resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==} @@ -2494,7 +2604,7 @@ packages: '@babel/generator': 7.23.3 '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.2) '@babel/plugin-transform-runtime': 7.23.3(@babel/core@7.23.2) - '@babel/preset-env': 7.23.2(@babel/core@7.23.2) + '@babel/preset-env': 7.23.3(@babel/core@7.23.2) '@babel/preset-react': 7.23.3(@babel/core@7.23.2) '@babel/preset-typescript': 7.23.2(@babel/core@7.23.2) '@babel/runtime': 7.23.2 @@ -2510,7 +2620,7 @@ packages: '@slorber/static-site-generator-webpack-plugin': 4.0.7 '@svgr/webpack': 6.5.1 autoprefixer: 10.4.16(postcss@8.4.31) - babel-loader: 8.3.0(@babel/core@7.23.2)(webpack@5.89.0) + babel-loader: 8.3.0(@babel/core@7.23.2)(webpack@5.88.2) babel-plugin-dynamic-import-node: 2.3.3 boxen: 6.2.1 chalk: 4.1.2 @@ -2519,33 +2629,33 @@ packages: cli-table3: 0.6.3 combine-promises: 1.2.0 commander: 5.1.0 - copy-webpack-plugin: 11.0.0(webpack@5.89.0) + copy-webpack-plugin: 11.0.0(webpack@5.88.2) core-js: 3.29.1 - css-loader: 6.8.1(webpack@5.89.0) - css-minimizer-webpack-plugin: 4.2.2(clean-css@5.3.2)(esbuild@0.19.2)(webpack@5.89.0) + css-loader: 6.8.1(webpack@5.88.2) + css-minimizer-webpack-plugin: 4.2.2(clean-css@5.3.2)(esbuild@0.19.2)(webpack@5.88.2) cssnano: 5.1.15(postcss@8.4.31) del: 6.1.1 detect-port: 1.5.1 escape-html: 1.0.3 eta: 2.2.0 - file-loader: 6.2.0(webpack@5.89.0) + file-loader: 6.2.0(webpack@5.88.2) fs-extra: 10.1.0 html-minifier-terser: 6.1.0 html-tags: 3.3.1 - html-webpack-plugin: 5.5.3(webpack@5.89.0) + html-webpack-plugin: 5.5.3(webpack@5.88.2) import-fresh: 3.3.0 leven: 3.1.0 lodash: 4.17.21 - mini-css-extract-plugin: 2.7.6(webpack@5.89.0) + mini-css-extract-plugin: 2.7.6(webpack@5.88.2) postcss: 8.4.31 - postcss-loader: 7.3.3(postcss@8.4.31)(typescript@5.2.2)(webpack@5.89.0) + postcss-loader: 7.3.3(postcss@8.4.31)(typescript@5.2.2)(webpack@5.88.2) prompts: 2.4.2 react: 18.2.0 - react-dev-utils: 12.0.1(eslint@8.47.0)(typescript@5.2.2)(webpack@5.89.0) + react-dev-utils: 12.0.1(eslint@8.47.0)(typescript@5.2.2)(webpack@5.88.2) react-dom: 18.2.0(react@18.2.0) react-helmet-async: 1.3.0(react-dom@18.2.0)(react@18.2.0) react-loadable: /@docusaurus/react-loadable@5.5.2(react@18.2.0) - react-loadable-ssr-addon-v5-slorber: 1.0.1(@docusaurus/react-loadable@5.5.2)(webpack@5.89.0) + react-loadable-ssr-addon-v5-slorber: 1.0.1(@docusaurus/react-loadable@5.5.2)(webpack@5.88.2) react-router: 5.3.4(react@18.2.0) react-router-config: 5.1.1(react-router@5.3.4)(react@18.2.0) react-router-dom: 5.3.4(react@18.2.0) @@ -2553,16 +2663,16 @@ packages: semver: 7.5.4 serve-handler: 6.1.5 shelljs: 0.8.5 - terser-webpack-plugin: 5.3.9(esbuild@0.19.2)(uglify-js@3.17.4)(webpack@5.89.0) + terser-webpack-plugin: 5.3.9(esbuild@0.19.2)(uglify-js@3.17.4)(webpack@5.88.2) tslib: 2.6.1 update-notifier: 5.1.0 - url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.89.0) + url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.88.2) wait-on: 6.0.1 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) webpack-bundle-analyzer: 4.10.0 - webpack-dev-server: 4.15.1(webpack@5.89.0) + webpack-dev-server: 4.15.1(webpack@5.88.2) webpack-merge: 5.10.0 - webpackbar: 5.0.2(webpack@5.89.0) + webpackbar: 5.0.2(webpack@5.88.2) transitivePeerDependencies: - '@docusaurus/types' - '@parcel/css' @@ -2610,7 +2720,7 @@ packages: '@docusaurus/utils': 2.4.3(@docusaurus/types@2.4.3)(esbuild@0.19.2)(uglify-js@3.17.4) '@mdx-js/mdx': 1.6.22 escape-html: 1.0.3 - file-loader: 6.2.0(webpack@5.89.0) + file-loader: 6.2.0(webpack@5.88.2) fs-extra: 10.1.0 image-size: 1.0.2 mdast-util-to-string: 2.0.0 @@ -2621,8 +2731,8 @@ packages: tslib: 2.6.1 unified: 9.2.2 unist-util-visit: 2.0.3 - url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.89.0) - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.88.2) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) transitivePeerDependencies: - '@docusaurus/types' - '@swc/core' @@ -2677,7 +2787,7 @@ packages: tslib: 2.6.1 unist-util-visit: 2.0.3 utility-types: 3.10.0 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) transitivePeerDependencies: - '@parcel/css' - '@swc/core' @@ -2720,7 +2830,7 @@ packages: react-dom: 18.2.0(react@18.2.0) tslib: 2.6.1 utility-types: 3.10.0 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) transitivePeerDependencies: - '@parcel/css' - '@swc/core' @@ -2755,7 +2865,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) tslib: 2.6.1 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) transitivePeerDependencies: - '@parcel/css' - '@swc/core' @@ -3156,7 +3266,7 @@ packages: react-dom: 18.2.0(react@18.2.0) react-helmet-async: 1.3.0(react-dom@18.2.0)(react@18.2.0) utility-types: 3.10.0 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) webpack-merge: 5.10.0 transitivePeerDependencies: - '@swc/core' @@ -3206,7 +3316,7 @@ packages: '@docusaurus/types': 2.4.3(esbuild@0.19.2)(react-dom@18.2.0)(react@18.2.0)(uglify-js@3.17.4) '@svgr/webpack': 6.5.1 escape-string-regexp: 4.0.0 - file-loader: 6.2.0(webpack@5.89.0) + file-loader: 6.2.0(webpack@5.88.2) fs-extra: 10.1.0 github-slugger: 1.5.0 globby: 11.1.0 @@ -3217,8 +3327,8 @@ packages: resolve-pathname: 3.0.0 shelljs: 0.8.5 tslib: 2.6.1 - url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.89.0) - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.88.2) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) transitivePeerDependencies: - '@swc/core' - esbuild @@ -4408,7 +4518,6 @@ packages: /@mapbox/node-pre-gyp@1.0.9: resolution: {integrity: sha512-aDF3S3rK9Q2gey/WAttUlISduDItz5BU3306M9Eyv6/oS40aMprnopshtlKTykxRNIBEZuRMaZAnbrQ4QtKGyw==} - hasBin: true dependencies: detect-libc: 2.0.2 https-proxy-agent: 5.0.1 @@ -4499,7 +4608,6 @@ packages: /@puppeteer/browsers@1.8.0: resolution: {integrity: sha512-TkRHIV6k2D8OlUe8RtG+5jgOF/H98Myx0M6AOafC8DdNVOFiBSFa5cpRDtpm8LXOa9sVwe0+e6Q3FC56X/DZfg==} engines: {node: '>=16.3.0'} - hasBin: true dependencies: debug: 4.3.4(supports-color@8.1.1) extract-zip: 2.0.1 @@ -4769,7 +4877,7 @@ packages: dependencies: '@babel/core': 7.23.2 '@babel/plugin-transform-react-constant-elements': 7.23.3(@babel/core@7.23.2) - '@babel/preset-env': 7.23.2(@babel/core@7.23.2) + '@babel/preset-env': 7.23.3(@babel/core@7.23.2) '@babel/preset-react': 7.23.3(@babel/core@7.23.2) '@babel/preset-typescript': 7.23.2(@babel/core@7.23.2) '@svgr/core': 6.5.1 @@ -4997,7 +5105,6 @@ packages: /@tensorflow/tfjs@4.11.0(seedrandom@3.0.5): resolution: {integrity: sha512-s6Vbz3IvMz2zNbH8/VptpRXzkwVjmuzT48esYLXJxMKtTcob4m5Srdxo7B+eJSDrWYkutXruiivaWmihFmu5rA==} - hasBin: true dependencies: '@tensorflow/tfjs-backend-cpu': 4.11.0(@tensorflow/tfjs-core@4.11.0) '@tensorflow/tfjs-backend-webgl': 4.11.0(@tensorflow/tfjs-core@4.11.0) @@ -5120,7 +5227,6 @@ packages: /@types/commander@2.12.2: resolution: {integrity: sha512-0QEFiR8ljcHp9bAbWxecjVRuAMr16ivPiGOw6KFQBVrVd0RQIcM3xKdRisH2EDWgVWujiYtHwhSkSUoAAGzH7Q==} - deprecated: This is a stub types definition for commander (https://github.com/tj/commander.js). commander provides its own type definitions, so you don't need @types/commander installed! dependencies: commander: 11.1.0 dev: false @@ -5982,7 +6088,6 @@ packages: /acorn@8.11.2: resolution: {integrity: sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==} engines: {node: '>=0.4.0'} - hasBin: true /address@1.2.2: resolution: {integrity: sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA==} @@ -6127,7 +6232,6 @@ packages: /ansi-html-community@0.0.8: resolution: {integrity: sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==} engines: {'0': node >= 0.8.0} - hasBin: true /ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} @@ -6338,7 +6442,7 @@ packages: - supports-color dev: true - /babel-loader@8.3.0(@babel/core@7.23.2)(webpack@5.89.0): + /babel-loader@8.3.0(@babel/core@7.23.2)(webpack@5.88.2): resolution: {integrity: sha512-H8SvsMF+m9t15HNLMipppzkC+Y2Yq+v3SonZyU70RBL/h1gxPkH08Ot8pEE9Z4Kd+czyWJClmFS8qzIP9OZ04Q==} engines: {node: '>= 8.9'} peerDependencies: @@ -6350,7 +6454,7 @@ packages: loader-utils: 2.0.4 make-dir: 3.1.0 schema-utils: 2.7.1 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) /babel-plugin-add-module-exports@1.0.4: resolution: {integrity: sha512-g+8yxHUZ60RcyaUpfNzy56OtWW+x9cyEe9j+CranqLiqbju2yf/Cy6ZtYK40EZxtrdHllzlVZgLmcOUCTlJ7Jg==} @@ -6587,7 +6691,7 @@ packages: dependencies: ansi-align: 3.0.1 camelcase: 7.0.1 - chalk: 5.0.1 + chalk: 5.3.0 cli-boxes: 3.0.0 string-width: 5.1.2 type-fest: 2.19.0 @@ -6673,7 +6777,6 @@ packages: /browserslist@4.22.1: resolution: {integrity: sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true dependencies: caniuse-lite: 1.0.30001562 electron-to-chromium: 1.4.583 @@ -6739,7 +6842,6 @@ packages: /c8@8.0.1: resolution: {integrity: sha512-EINpopxZNH1mETuI0DzRA4MZpAUH+IFiRhnmFD3vFr3vdrgxqi3VfE3KL0AIL+zDq8rC9bZqwM/VDmmoe04y7w==} engines: {node: '>=12'} - hasBin: true dependencies: '@bcoe/v8-coverage': 0.2.3 '@istanbuljs/schema': 0.1.3 @@ -7157,7 +7259,6 @@ packages: /color-support@1.1.3: resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} - hasBin: true /colord@2.9.3: resolution: {integrity: sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==} @@ -7265,7 +7366,6 @@ packages: /concurrently@8.2.2: resolution: {integrity: sha512-1dP4gpXFhei8IOtlXRE/T/4H88ElHgTiUzh71YUmtjTEHMSRS2Z/fgOxHSxxusGHogsRfxNq1vyAwxSC+EVyDg==} engines: {node: ^14.13.0 || >=16.0.0} - hasBin: true dependencies: chalk: 4.1.2 date-fns: 2.30.0 @@ -7331,7 +7431,7 @@ packages: engines: {node: '>=12'} dev: false - /copy-webpack-plugin@11.0.0(webpack@5.89.0): + /copy-webpack-plugin@11.0.0(webpack@5.88.2): resolution: {integrity: sha512-fX2MWpamkW0hZxMEg0+mYnA40LTosOSa5TqZ9GYIBzyJa9C3QUaMPSE2xAi/buNr8u89SfD9wHSQVBzrRa/SOQ==} engines: {node: '>= 14.15.0'} peerDependencies: @@ -7343,7 +7443,7 @@ packages: normalize-path: 3.0.0 schema-utils: 4.2.0 serialize-javascript: 6.0.1 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) /core-js-compat@3.33.2: resolution: {integrity: sha512-axfo+wxFVxnqf8RvxTzoAlzW4gRoacrHeoFlc9n0x50+7BEyZL/Rt3hicaED1/CEd7I6tPCPVUYcJwCMO5XUYw==} @@ -7465,7 +7565,6 @@ packages: /create-jest@29.7.0(@types/node@20.5.1)(ts-node@10.9.1): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 @@ -7548,7 +7647,7 @@ packages: dependencies: postcss: 8.4.31 - /css-loader@6.8.1(webpack@5.89.0): + /css-loader@6.8.1(webpack@5.88.2): resolution: {integrity: sha512-xDAXtEVGlD0gJ07iclwWVkLoZOpEvAWaSyf6W18S2pOC//K8+qUDIx8IIT3D+HjnmkJPQeesOPv5aiUaJsCM2g==} engines: {node: '>= 12.13.0'} peerDependencies: @@ -7562,9 +7661,9 @@ packages: postcss-modules-values: 4.0.0(postcss@8.4.31) postcss-value-parser: 4.2.0 semver: 7.5.4 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) - /css-minimizer-webpack-plugin@4.2.2(clean-css@5.3.2)(esbuild@0.19.2)(webpack@5.89.0): + /css-minimizer-webpack-plugin@4.2.2(clean-css@5.3.2)(esbuild@0.19.2)(webpack@5.88.2): resolution: {integrity: sha512-s3Of/4jKfw1Hj9CxEO1E5oXhQAxlayuHO2y/ML+C6I9sQ7FdzfEV6QgMLN3vI+qFsjJGIAFLKtQK7t8BOXAIyA==} engines: {node: '>= 14.15.0'} peerDependencies: @@ -7597,7 +7696,7 @@ packages: schema-utils: 4.2.0 serialize-javascript: 6.0.1 source-map: 0.6.1 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) /css-select@4.3.0: resolution: {integrity: sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==} @@ -7632,7 +7731,6 @@ packages: /cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} engines: {node: '>=4'} - hasBin: true /cssnano-preset-advanced@5.3.10(postcss@8.4.31): resolution: {integrity: sha512-fnYJyCS9jgMU+cmHO1rPSPf9axbQyD7iUhLO5Df6O4G+fKIOMps+ZbU0PdGFejFBBZ3Pftf18fn1eG7MAPUSWQ==} @@ -7964,7 +8062,6 @@ packages: /detect-port-alt@1.1.6: resolution: {integrity: sha512-5tQykt+LqfJFBEYaDITx7S7cR7mJ/zQmLXZ2qt5w04ainYZw6tBf9dBunMjVeVOdYVRUzUOE4HkY5J7+uttb5Q==} engines: {node: '>= 4.2.1'} - hasBin: true dependencies: address: 1.2.2 debug: 2.6.9 @@ -7973,7 +8070,6 @@ packages: /detect-port@1.5.1: resolution: {integrity: sha512-aBzdj76lueB6uUst5iAs7+0H/oOjqI5D16XUWxlWMIMROhcM0rfsNVk93zTngq1dDNpoXRr++Sus7ETAExppAQ==} - hasBin: true dependencies: address: 1.2.2 debug: 4.3.4(supports-color@8.1.1) @@ -8144,7 +8240,6 @@ packages: /ejs@3.1.9: resolution: {integrity: sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==} engines: {node: '>=0.10.0'} - hasBin: true dependencies: jake: 10.8.7 dev: false @@ -8255,7 +8350,6 @@ packages: /esbuild@0.17.19: resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==} engines: {node: '>=12'} - hasBin: true requiresBuild: true optionalDependencies: '@esbuild/android-arm': 0.17.19 @@ -8285,7 +8379,6 @@ packages: /esbuild@0.18.12: resolution: {integrity: sha512-XuOVLDdtsDslXStStduT41op21Ytmf4/BDS46aa3xPJ7X5h2eMWBF1oAe3QjUH3bDksocNXgzGUZ7XHIBya6Tg==} engines: {node: '>=12'} - hasBin: true requiresBuild: true optionalDependencies: '@esbuild/android-arm': 0.18.12 @@ -8315,7 +8408,6 @@ packages: /esbuild@0.18.20: resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} engines: {node: '>=12'} - hasBin: true requiresBuild: true optionalDependencies: '@esbuild/android-arm': 0.18.20 @@ -8345,7 +8437,6 @@ packages: /esbuild@0.19.2: resolution: {integrity: sha512-G6hPax8UbFakEj3hWO0Vs52LQ8k3lnBhxZWomUJDxfz3rZTLqF5k/FCzuNdLx2RbpBiQQF9H9onlDDH1lZsnjg==} engines: {node: '>=12'} - hasBin: true requiresBuild: true optionalDependencies: '@esbuild/android-arm': 0.19.2 @@ -8402,7 +8493,6 @@ packages: /escodegen@2.1.0: resolution: {integrity: sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==} engines: {node: '>=6.0'} - hasBin: true dependencies: esprima: 4.0.1 estraverse: 5.3.0 @@ -8468,7 +8558,6 @@ packages: /eslint@8.47.0: resolution: {integrity: sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - hasBin: true dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.47.0) '@eslint-community/regexpp': 4.10.0 @@ -8521,7 +8610,6 @@ packages: /esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} engines: {node: '>=4'} - hasBin: true /esquery@1.5.0: resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} @@ -8692,7 +8780,6 @@ packages: /extract-zip@2.0.1: resolution: {integrity: sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==} engines: {node: '>= 10.17.0'} - hasBin: true dependencies: debug: 4.3.4(supports-color@8.1.1) get-stream: 5.2.0 @@ -8805,7 +8892,7 @@ packages: dependencies: flat-cache: 3.2.0 - /file-loader@6.2.0(webpack@5.89.0): + /file-loader@6.2.0(webpack@5.88.2): resolution: {integrity: sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==} engines: {node: '>= 10.13.0'} peerDependencies: @@ -8813,7 +8900,7 @@ packages: dependencies: loader-utils: 2.0.4 schema-utils: 3.3.0 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) /file-selector@0.6.0: resolution: {integrity: sha512-QlZ5yJC0VxHxQQsQhXvBaC7VRJ2uaxTf+Tfpu4Z/OcVQJVpZO+DGU0rkoVW5ce2SccxugvpBJoMvUs59iILYdw==} @@ -8890,7 +8977,6 @@ packages: /flat@5.0.2: resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} - hasBin: true /flatted@3.2.9: resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} @@ -8936,7 +9022,7 @@ packages: cross-spawn: 7.0.3 signal-exit: 4.1.0 - /fork-ts-checker-webpack-plugin@6.5.3(eslint@8.47.0)(typescript@5.2.2)(webpack@5.89.0): + /fork-ts-checker-webpack-plugin@6.5.3(eslint@8.47.0)(typescript@5.2.2)(webpack@5.88.2): resolution: {integrity: sha512-SbH/l9ikmMWycd5puHJKTkZJKddF4iRLyW3DeZ08HTI7NGyLS38MXd/KGgeWumQO7YNQbW2u/NtPT2YowbPaGQ==} engines: {node: '>=10', yarn: '>=1.0.0'} peerDependencies: @@ -8965,7 +9051,7 @@ packages: semver: 7.5.4 tapable: 1.1.3 typescript: 5.2.2 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) /form-data@4.0.0: resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} @@ -9172,7 +9258,6 @@ packages: /glob@10.3.10: resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} engines: {node: '>=16 || 14 >=14.17'} - hasBin: true dependencies: foreground-child: 3.1.1 jackspeak: 2.3.6 @@ -9325,7 +9410,6 @@ packages: /handlebars@4.7.8: resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} engines: {node: '>=0.4.7'} - hasBin: true dependencies: minimist: 1.2.8 neo-async: 2.6.2 @@ -9457,7 +9541,6 @@ packages: /he@1.2.0: resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} - hasBin: true /history@4.10.1: resolution: {integrity: sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew==} @@ -9506,7 +9589,6 @@ packages: /html-minifier-terser@6.1.0: resolution: {integrity: sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw==} engines: {node: '>=12'} - hasBin: true dependencies: camel-case: 4.1.2 clean-css: 5.3.2 @@ -9523,6 +9605,19 @@ packages: /html-void-elements@1.0.5: resolution: {integrity: sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w==} + /html-webpack-plugin@5.5.3(webpack@5.88.2): + resolution: {integrity: sha512-6YrDKTuqaP/TquFH7h4srYWsZx+x6k6+FbsTm0ziCwGHDP78Unr1r9F/H4+sGmMbX08GQcJ+K64x55b+7VM/jg==} + engines: {node: '>=10.13.0'} + peerDependencies: + webpack: ^5.20.0 + dependencies: + '@types/html-minifier-terser': 6.1.0 + html-minifier-terser: 6.1.0 + lodash: 4.17.21 + pretty-error: 4.0.0 + tapable: 2.2.1 + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) + /html-webpack-plugin@5.5.3(webpack@5.89.0): resolution: {integrity: sha512-6YrDKTuqaP/TquFH7h4srYWsZx+x6k6+FbsTm0ziCwGHDP78Unr1r9F/H4+sGmMbX08GQcJ+K64x55b+7VM/jg==} engines: {node: '>=10.13.0'} @@ -9535,6 +9630,7 @@ packages: pretty-error: 4.0.0 tapable: 2.2.1 webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + dev: false /htmlparser2@6.1.0: resolution: {integrity: sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==} @@ -9707,7 +9803,6 @@ packages: /image-size@1.0.2: resolution: {integrity: sha512-xfOoWjceHntRb3qFCrh5ZFORYH8XCdYpASltMhZ/Q0KZiOwjdE/Yl2QCiWdwD+lygV5bMCvauzgu5PxBX/Yerg==} engines: {node: '>=14.0.0'} - hasBin: true dependencies: queue: 6.0.2 @@ -9736,7 +9831,6 @@ packages: /import-local@3.1.0: resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} engines: {node: '>=8'} - hasBin: true dependencies: pkg-dir: 4.2.0 resolve-cwd: 3.0.0 @@ -9920,7 +10014,6 @@ packages: /is-ci@2.0.0: resolution: {integrity: sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==} - hasBin: true dependencies: ci-info: 2.0.0 @@ -9942,7 +10035,6 @@ packages: /is-docker@2.2.1: resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} engines: {node: '>=8'} - hasBin: true /is-extendable@0.1.1: resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} @@ -10260,7 +10352,6 @@ packages: /jake@10.8.7: resolution: {integrity: sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==} engines: {node: '>=10'} - hasBin: true dependencies: async: 3.2.5 chalk: 4.1.2 @@ -10683,7 +10774,6 @@ packages: /jiti@1.21.0: resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==} - hasBin: true /joi@17.11.0: resolution: {integrity: sha512-NgB+lZLNoqISVy1rZocE9PZI36bL/77ie924Ri43yEvi9GUUMPeyVIr8KdFTMUlby1p0PBYMk9spIxEUQYqrJQ==} @@ -10699,14 +10789,12 @@ packages: /js-yaml@3.14.1: resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} - hasBin: true dependencies: argparse: 1.0.10 esprima: 4.0.1 /js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} - hasBin: true dependencies: argparse: 2.0.1 @@ -10755,12 +10843,10 @@ packages: /jsesc@0.5.0: resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} - hasBin: true /jsesc@2.5.2: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} engines: {node: '>=4'} - hasBin: true /json-buffer@3.0.0: resolution: {integrity: sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==} @@ -10783,7 +10869,6 @@ packages: /json5@2.2.3: resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} engines: {node: '>=6'} - hasBin: true /jsonc-parser@3.2.0: resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} @@ -10983,7 +11068,6 @@ packages: /loose-envify@1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} - hasBin: true dependencies: js-tokens: 4.0.0 @@ -11086,7 +11170,6 @@ packages: /marked@4.3.0: resolution: {integrity: sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==} engines: {node: '>= 12'} - hasBin: true /matchit@1.1.0: resolution: {integrity: sha512-+nGYoOlfHmxe5BW5tE0EMJppXEwdSf8uBA1GTZC7Q77kbT35+VKLYJMzVNWCHSsga1ps1tPYFtFyvxvKzWVmMA==} @@ -11395,7 +11478,6 @@ packages: /miller-rabin@4.0.1: resolution: {integrity: sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==} - hasBin: true dependencies: bn.js: 4.12.0 brorand: 1.1.0 @@ -11424,12 +11506,10 @@ packages: /mime@1.6.0: resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} engines: {node: '>=4'} - hasBin: true /mime@3.0.0: resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} engines: {node: '>=10.0.0'} - hasBin: true dev: true /mimic-fn@2.1.0: @@ -11445,14 +11525,14 @@ packages: resolution: {integrity: sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==} engines: {node: '>=4'} - /mini-css-extract-plugin@2.7.6(webpack@5.89.0): + /mini-css-extract-plugin@2.7.6(webpack@5.88.2): resolution: {integrity: sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw==} engines: {node: '>= 12.13.0'} peerDependencies: webpack: ^5.0.0 dependencies: schema-utils: 4.2.0 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) /miniflare@3.20231025.0: resolution: {integrity: sha512-pFcr2BRaGIQ26UfdDo8BMJ6kkd/Jo/FkQ/4K7UG/eORlDepsLrR/sTJddcSSIGl07MA+MGjhzopFTPpFskkS+g==} @@ -11551,14 +11631,12 @@ packages: /mkdirp@0.5.6: resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} - hasBin: true dependencies: minimist: 1.2.8 /mkdirp@1.0.4: resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} engines: {node: '>=10'} - hasBin: true /mlly@1.4.2: resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==} @@ -11572,7 +11650,6 @@ packages: /mocha@10.2.0: resolution: {integrity: sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==} engines: {node: '>= 14.0.0'} - hasBin: true dependencies: ansi-colors: 4.1.1 browser-stdout: 1.3.1 @@ -11629,14 +11706,12 @@ packages: /multicast-dns@7.2.5: resolution: {integrity: sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==} - hasBin: true dependencies: dns-packet: 5.6.1 thunky: 1.1.0 /mustache@4.2.0: resolution: {integrity: sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==} - hasBin: true dev: true /mute-stream@0.0.8: @@ -11656,18 +11731,15 @@ packages: /nanoid@3.3.3: resolution: {integrity: sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true dev: true /nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true /nanoid@4.0.2: resolution: {integrity: sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==} engines: {node: ^14 || ^16 || >=18} - hasBin: true dev: true /natural-compare@1.4.0: @@ -11742,7 +11814,6 @@ packages: /nodemon@3.0.1: resolution: {integrity: sha512-g9AZ7HmkhQkqXkRc20w+ZfQ73cHLbE8hnPbtaFbFtCumZsjyMhKk9LajQ07U5Ux28lvFjZ5X7HvWR1xzU8jHVw==} engines: {node: '>=10'} - hasBin: true dependencies: chokidar: 3.5.3 debug: 3.2.7(supports-color@5.5.0) @@ -11758,7 +11829,6 @@ packages: /nopt@1.0.10: resolution: {integrity: sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==} - hasBin: true dependencies: abbrev: 1.1.1 dev: true @@ -11766,7 +11836,6 @@ packages: /nopt@5.0.0: resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==} engines: {node: '>=6'} - hasBin: true dependencies: abbrev: 1.1.1 @@ -11888,7 +11957,6 @@ packages: /opener@1.5.2: resolution: {integrity: sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==} - hasBin: true /optionator@0.9.3: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} @@ -12240,7 +12308,6 @@ packages: /pixelmatch@5.3.0: resolution: {integrity: sha512-o8mkY4E/+LNUf6LzX96ht6k6CEDi65k9G2rjMtBe9Oo+VPKSvl+0GKHuH/AlG+GA5LPG/i5hrekkxUc3s2HU+Q==} - hasBin: true dependencies: pngjs: 6.0.0 dev: true @@ -12268,13 +12335,11 @@ packages: /playwright-core@1.36.0: resolution: {integrity: sha512-7RTr8P6YJPAqB+8j5ATGHqD6LvLLM39sYVNsslh78g8QeLcBs5750c6+msjrHUwwGt+kEbczBj1XB22WMwn+WA==} engines: {node: '>=16'} - hasBin: true dev: true /playwright-test@12.1.1: resolution: {integrity: sha512-RVACueGA7ssYNDJCmtApod6TmW0hTECZOtgPuFZOgus6iK16hC3ZB/NfPeO0/DVR0OPbnGAM2PeF8Mv4cBS+QQ==} engines: {node: '>=16.0.0'} - hasBin: true dependencies: acorn-loose: 8.4.0 assert: 2.1.0 @@ -12408,7 +12473,7 @@ packages: postcss: 8.4.31 postcss-selector-parser: 6.0.13 - /postcss-loader@7.3.3(postcss@8.4.31)(typescript@5.2.2)(webpack@5.89.0): + /postcss-loader@7.3.3(postcss@8.4.31)(typescript@5.2.2)(webpack@5.88.2): resolution: {integrity: sha512-YgO/yhtevGO/vJePCQmTxiaEwER94LABZN0ZMT4A0vsak9TpO+RvKRs7EmJ8peIlB9xfXCsS7M8LjqncsUZ5HA==} engines: {node: '>= 14.15.0'} peerDependencies: @@ -12419,7 +12484,7 @@ packages: jiti: 1.21.0 postcss: 8.4.31 semver: 7.5.4 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) transitivePeerDependencies: - typescript @@ -12713,7 +12778,6 @@ packages: /premove@4.0.0: resolution: {integrity: sha512-zim/Hr4+FVdCIM7zL9b9Z0Wfd5Ya3mnKtiuDv7L5lzYzanSq6cOcVJ7EFcgK4I0pt28l8H0jX/x3nyog380XgQ==} engines: {node: '>=6'} - hasBin: true dev: true /prepend-http@2.0.0: @@ -12723,7 +12787,6 @@ packages: /prettier@3.0.2: resolution: {integrity: sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==} engines: {node: '>=14'} - hasBin: true dev: true /pretty-error@4.0.0: @@ -12982,7 +13045,6 @@ packages: /rc@1.2.8: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} - hasBin: true dependencies: deep-extend: 0.6.0 ini: 1.3.8 @@ -13008,7 +13070,7 @@ packages: react: 18.2.0 dev: false - /react-dev-utils@12.0.1(eslint@8.47.0)(typescript@5.2.2)(webpack@5.89.0): + /react-dev-utils@12.0.1(eslint@8.47.0)(typescript@5.2.2)(webpack@5.88.2): resolution: {integrity: sha512-84Ivxmr17KjUupyqzFode6xKhjwuEJDROWKJy/BthkL7Wn6NJ8h4WE6k/exAv6ImS+0oZLRRW5j/aINMHyeGeQ==} engines: {node: '>=14'} peerDependencies: @@ -13027,7 +13089,7 @@ packages: escape-string-regexp: 4.0.0 filesize: 8.0.7 find-up: 5.0.0 - fork-ts-checker-webpack-plugin: 6.5.3(eslint@8.47.0)(typescript@5.2.2)(webpack@5.89.0) + fork-ts-checker-webpack-plugin: 6.5.3(eslint@8.47.0)(typescript@5.2.2)(webpack@5.88.2) global-modules: 2.0.0 globby: 11.1.0 gzip-size: 6.0.0 @@ -13043,7 +13105,7 @@ packages: strip-ansi: 6.0.1 text-table: 0.2.0 typescript: 5.2.2 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) transitivePeerDependencies: - eslint - supports-color @@ -13134,7 +13196,7 @@ packages: resolution: {integrity: sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==} dev: false - /react-loadable-ssr-addon-v5-slorber@1.0.1(@docusaurus/react-loadable@5.5.2)(webpack@5.89.0): + /react-loadable-ssr-addon-v5-slorber@1.0.1(@docusaurus/react-loadable@5.5.2)(webpack@5.88.2): resolution: {integrity: sha512-lq3Lyw1lGku8zUEJPDxsNm1AfYHBrO9Y1+olAYwpUJ2IGFBskM0DMKok97A6LWUpHm+o7IvQBOWu9MLenp9Z+A==} engines: {node: '>=10.13.0'} peerDependencies: @@ -13143,7 +13205,7 @@ packages: dependencies: '@babel/runtime': 7.23.2 react-loadable: /@docusaurus/react-loadable@5.5.2(react@18.2.0) - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) /react-loading@2.0.3(prop-types@15.8.1)(react@18.2.0): resolution: {integrity: sha512-Vdqy79zq+bpeWJqC+xjltUjuGApyoItPgL0vgVfcJHhqwU7bAMKzysfGW/ADu6i0z0JiOCRJjo+IkFNkRNbA3A==} @@ -13321,6 +13383,7 @@ packages: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 + functions-have-names: 1.2.3 set-function-name: 2.0.1 dev: false @@ -13363,7 +13426,6 @@ packages: /regjsparser@0.9.1: resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} - hasBin: true dependencies: jsesc: 0.5.0 @@ -13496,7 +13558,6 @@ packages: /resolve@1.22.8: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} - hasBin: true dependencies: is-core-module: 2.13.1 path-parse: 1.0.7 @@ -13541,20 +13602,17 @@ packages: /rimraf@2.7.1: resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} - hasBin: true dependencies: glob: 7.2.3 /rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} - hasBin: true dependencies: glob: 7.2.3 /rimraf@5.0.1: resolution: {integrity: sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==} engines: {node: '>=14'} - hasBin: true dependencies: glob: 10.3.10 dev: true @@ -13568,7 +13626,6 @@ packages: /rollup-plugin-inject@3.0.2: resolution: {integrity: sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w==} - deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject. dependencies: estree-walker: 0.6.1 magic-string: 0.25.9 @@ -13590,7 +13647,6 @@ packages: /rollup@3.28.0: resolution: {integrity: sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} - hasBin: true optionalDependencies: fsevents: 2.3.3 dev: true @@ -13604,7 +13660,6 @@ packages: /rtlcss@3.5.0: resolution: {integrity: sha512-wzgMaMFHQTnyi9YOwsx9LjOxYXJPzS8sYnFaKm6R5ysvTkwzHiB0vxnbHwchHQT65PTdBjDG21/kQBWI7q9O7A==} - hasBin: true dependencies: find-up: 5.0.0 picocolors: 1.0.0 @@ -13699,7 +13754,6 @@ packages: /sass@1.69.5: resolution: {integrity: sha512-qg2+UCJibLr2LCVOt3OlPhr/dqVHWOa9XtZf2OjbLs/T4VPSJ00udtgJxH3neXZm+QqX8B+3cU7RaLqp1iVfcQ==} engines: {node: '>=14.0.0'} - hasBin: true dependencies: chokidar: 3.5.3 immutable: 4.3.4 @@ -13803,16 +13857,13 @@ packages: /semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} - hasBin: true /semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} - hasBin: true /semver@7.5.4: resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} engines: {node: '>=10'} - hasBin: true dependencies: lru-cache: 6.0.0 @@ -13887,7 +13938,6 @@ packages: /serve@14.2.0: resolution: {integrity: sha512-+HOw/XK1bW8tw5iBilBz/mJLWRzM8XM6MPxL4J/dKzdxq1vfdEWSwhaR7/yS8EJp5wzvP92p1qirysJvnEtjXg==} engines: {node: '>= 14'} - hasBin: true dependencies: '@zeit/schemas': 2.29.0 ajv: 8.11.0 @@ -13937,7 +13987,6 @@ packages: /sha.js@2.4.11: resolution: {integrity: sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==} - hasBin: true dependencies: inherits: 2.0.4 safe-buffer: 5.2.1 @@ -13968,7 +14017,6 @@ packages: /shelljs@0.8.5: resolution: {integrity: sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==} engines: {node: '>=4'} - hasBin: true dependencies: glob: 7.2.3 interpret: 1.4.0 @@ -14021,7 +14069,6 @@ packages: /sitemap@7.1.1: resolution: {integrity: sha512-mK3aFtjz4VdJN0igpIJrinf3EO8U8mxOPsTBzSsy06UtjZQJ3YY3o3Xa7zSc5nMqcMrRwlChHZ18Kxg0caiPBg==} engines: {node: '>=12.0.0', npm: '>=5.6.0'} - hasBin: true dependencies: '@types/node': 17.0.45 '@types/sax': 1.2.7 @@ -14109,7 +14156,6 @@ packages: /sourcemap-codec@1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} - deprecated: Please use @jridgewell/sourcemap-codec instead dev: true /space-separated-tokens@1.1.5: @@ -14175,7 +14221,6 @@ packages: /stable@0.1.8: resolution: {integrity: sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==} - deprecated: 'Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility' /stack-utils@2.0.6: resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} @@ -14383,7 +14428,6 @@ packages: /svgo@2.8.0: resolution: {integrity: sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==} engines: {node: '>=10.13.0'} - hasBin: true dependencies: '@trysound/sax': 0.2.0 commander: 7.2.0 @@ -14457,6 +14501,31 @@ packages: unique-string: 3.0.0 dev: true + /terser-webpack-plugin@5.3.9(esbuild@0.19.2)(uglify-js@3.17.4)(webpack@5.88.2): + resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} + engines: {node: '>= 10.13.0'} + peerDependencies: + '@swc/core': '*' + esbuild: '*' + uglify-js: '*' + webpack: ^5.1.0 + peerDependenciesMeta: + '@swc/core': + optional: true + esbuild: + optional: true + uglify-js: + optional: true + dependencies: + '@jridgewell/trace-mapping': 0.3.20 + esbuild: 0.19.2 + jest-worker: 27.5.1 + schema-utils: 3.3.0 + serialize-javascript: 6.0.1 + terser: 5.24.0 + uglify-js: 3.17.4 + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) + /terser-webpack-plugin@5.3.9(esbuild@0.19.2)(uglify-js@3.17.4)(webpack@5.89.0): resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} engines: {node: '>= 10.13.0'} @@ -14485,7 +14554,6 @@ packages: /terser@5.24.0: resolution: {integrity: sha512-ZpGR4Hy3+wBEzVEnHvstMvqpD/nABNelQn/z2r0fjVWGQsN3bpOLzQlqDxmb4CDZnXq5lpjnQ+mHQLAOpfM5iw==} engines: {node: '>=10'} - hasBin: true dependencies: '@jridgewell/source-map': 0.3.5 acorn: 8.11.2 @@ -14580,7 +14648,6 @@ packages: /touch@3.1.0: resolution: {integrity: sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==} - hasBin: true dependencies: nopt: 1.0.10 dev: true @@ -14607,7 +14674,6 @@ packages: /tree-kill@1.2.2: resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} - hasBin: true dev: true /trim-lines@3.0.1: @@ -14619,7 +14685,6 @@ packages: /trim@0.0.1: resolution: {integrity: sha512-YzQV+TZg4AxpKxaTHK3c3D+kRDCGVEE7LemdlQZoQXn0iennk10RsIoY6ikzAqJTc9Xjl9C1/waHom/J86ziAQ==} - deprecated: Use String.prototype.trim() instead /trough@1.0.5: resolution: {integrity: sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==} @@ -14752,7 +14817,6 @@ packages: /tsc-alias@1.8.8: resolution: {integrity: sha512-OYUOd2wl0H858NvABWr/BoSKNERw3N9GTi3rHPK8Iv4O1UyUXIrTTOAZNHsjlVpXFOhpJBVARI1s+rzwLivN3Q==} - hasBin: true dependencies: chokidar: 3.5.3 commander: 9.5.0 @@ -14767,7 +14831,6 @@ packages: /tunnelmole@2.2.0: resolution: {integrity: sha512-kgrpnWBIDNjqrHxHXZfO9YOc1U/sxdxvhy6YZ8kBizEJqZj2Ce0VwSfQANDdRIMUUa7sZMUWm52YHtAn+PHh3g==} - hasBin: true requiresBuild: true dependencies: '@types/commander': 2.12.2 @@ -14885,12 +14948,10 @@ packages: /typescript@5.1.6: resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==} engines: {node: '>=14.17'} - hasBin: true /typescript@5.2.2: resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} engines: {node: '>=14.17'} - hasBin: true /ua-parser-js@1.0.37: resolution: {integrity: sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ==} @@ -14903,7 +14964,6 @@ packages: /uglify-js@3.17.4: resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} engines: {node: '>=0.8.0'} - hasBin: true /unbzip2-stream@1.4.3: resolution: {integrity: sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==} @@ -15129,7 +15189,7 @@ packages: dependencies: punycode: 2.3.1 - /url-loader@4.1.1(file-loader@6.2.0)(webpack@5.89.0): + /url-loader@4.1.1(file-loader@6.2.0)(webpack@5.88.2): resolution: {integrity: sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA==} engines: {node: '>= 10.13.0'} peerDependencies: @@ -15139,11 +15199,11 @@ packages: file-loader: optional: true dependencies: - file-loader: 6.2.0(webpack@5.89.0) + file-loader: 6.2.0(webpack@5.88.2) loader-utils: 2.0.4 mime-types: 2.1.35 schema-utils: 3.3.0 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) /url-parse-lax@3.0.0: resolution: {integrity: sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==} @@ -15230,12 +15290,10 @@ packages: /uuid@8.3.2: resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} - hasBin: true /uvu@0.5.6: resolution: {integrity: sha512-+g8ENReyr8YsOc6fv/NVJs2vFdHBnBNdfE49rshrTzDWOlUx4Gq7KOS2GD8eqhy2j+Ejq29+SbKH8yjkAqXqoA==} engines: {node: '>=8'} - hasBin: true dependencies: dequal: 2.0.3 diff: 5.1.0 @@ -15303,7 +15361,6 @@ packages: /vite-node@0.34.6(@types/node@20.5.1): resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} engines: {node: '>=v14.18.0'} - hasBin: true dependencies: cac: 6.7.14 debug: 4.3.4(supports-color@8.1.1) @@ -15449,7 +15506,6 @@ packages: /wait-on@6.0.1: resolution: {integrity: sha512-zht+KASY3usTY5u2LgaNqn/Cd8MukxLGjdcZxT2ns5QzDmTFc4XoWBgC+C/na+sMRZTuVygQoMYwdcVjHnYIVw==} engines: {node: '>=10.0.0'} - hasBin: true dependencies: axios: 0.25.0 joi: 17.11.0 @@ -15497,7 +15553,6 @@ packages: /webpack-bundle-analyzer@4.10.0: resolution: {integrity: sha512-j+apH0Cs+FY8IOIwxLbkgEJnbQgEPEG8uqLVnRb9tAoGbyKNxQA1u9wNDrTQHK3PinO4Pckew7AE7pnX/RS3wA==} engines: {node: '>= 10.13.0'} - hasBin: true dependencies: '@discoveryjs/json-ext': 0.5.7 acorn: 8.11.2 @@ -15516,7 +15571,7 @@ packages: - bufferutil - utf-8-validate - /webpack-dev-middleware@5.3.3(webpack@5.89.0): + /webpack-dev-middleware@5.3.3(webpack@5.88.2): resolution: {integrity: sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==} engines: {node: '>= 12.13.0'} peerDependencies: @@ -15527,9 +15582,9 @@ packages: mime-types: 2.1.35 range-parser: 1.2.1 schema-utils: 4.2.0 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) - /webpack-dev-server@4.15.1(webpack@5.89.0): + /webpack-dev-server@4.15.1(webpack@5.88.2): resolution: {integrity: sha512-5hbAst3h3C3L8w6W4P96L5vaV0PxSmJhxZvWKYIdgxOQm8pNZ5dEOmmSLBVpP85ReeyRt6AS1QJNyo/oFFPeVA==} engines: {node: '>= 12.13.0'} hasBin: true @@ -15570,8 +15625,8 @@ packages: serve-index: 1.9.1 sockjs: 0.3.24 spdy: 4.0.2 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) - webpack-dev-middleware: 5.3.3(webpack@5.89.0) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) + webpack-dev-middleware: 5.3.3(webpack@5.88.2) ws: 8.14.2 transitivePeerDependencies: - bufferutil @@ -15598,6 +15653,45 @@ packages: resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} engines: {node: '>=10.13.0'} + /webpack@5.88.2(esbuild@0.19.2)(uglify-js@3.17.4): + resolution: {integrity: sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==} + engines: {node: '>=10.13.0'} + hasBin: true + peerDependencies: + webpack-cli: '*' + peerDependenciesMeta: + webpack-cli: + optional: true + dependencies: + '@types/eslint-scope': 3.7.7 + '@types/estree': 1.0.5 + '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/wasm-edit': 1.11.6 + '@webassemblyjs/wasm-parser': 1.11.6 + acorn: 8.11.2 + acorn-import-assertions: 1.9.0(acorn@8.11.2) + browserslist: 4.22.1 + chrome-trace-event: 1.0.3 + enhanced-resolve: 5.15.0 + es-module-lexer: 1.4.1 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + json-parse-even-better-errors: 2.3.1 + loader-runner: 4.3.0 + mime-types: 2.1.35 + neo-async: 2.6.2 + schema-utils: 3.3.0 + tapable: 2.2.1 + terser-webpack-plugin: 5.3.9(esbuild@0.19.2)(uglify-js@3.17.4)(webpack@5.88.2) + watchpack: 2.4.0 + webpack-sources: 3.2.3 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js + /webpack@5.89.0(esbuild@0.19.2)(uglify-js@3.17.4): resolution: {integrity: sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==} engines: {node: '>=10.13.0'} @@ -15637,7 +15731,7 @@ packages: - esbuild - uglify-js - /webpackbar@5.0.2(webpack@5.89.0): + /webpackbar@5.0.2(webpack@5.88.2): resolution: {integrity: sha512-BmFJo7veBDgQzfWXl/wwYXr/VFus0614qZ8i9znqcl9fnEdiVkdbi0TedLQ6xAK92HZHDJ0QmyQ0fmuZPAgCYQ==} engines: {node: '>=12'} peerDependencies: @@ -15647,7 +15741,7 @@ packages: consola: 2.15.3 pretty-time: 1.1.0 std-env: 3.5.0 - webpack: 5.89.0(esbuild@0.19.2)(uglify-js@3.17.4) + webpack: 5.88.2(esbuild@0.19.2)(uglify-js@3.17.4) /websocket-driver@0.7.4: resolution: {integrity: sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==} @@ -15718,21 +15812,18 @@ packages: /which@1.3.1: resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} - hasBin: true dependencies: isexe: 2.0.0 /which@2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} engines: {node: '>= 8'} - hasBin: true dependencies: isexe: 2.0.0 /why-is-node-running@2.2.2: resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} engines: {node: '>=8'} - hasBin: true dependencies: siginfo: 2.0.0 stackback: 0.0.2 @@ -15772,7 +15863,6 @@ packages: /wireit@0.14.1: resolution: {integrity: sha512-q5sixPM/vKQEpyaub6J9QoHAFAF9g4zBdnjoYelH9/RLAekcUf3x1dmFLACGZ6nYjqehCsTlXC1irmzU7znPhA==} engines: {node: '>=14.14.0'} - hasBin: true dependencies: braces: 3.0.2 chokidar: 3.5.3 @@ -15787,7 +15877,6 @@ packages: /workerd@1.20231025.0: resolution: {integrity: sha512-W1PFtpMFfvmm+ozBf+u70TE3Pviv7WA4qzDeejHDC4z+PFDq4+3KJCkgffaGBO86h+akWO0hSsc0uXL2zAqofQ==} engines: {node: '>=16'} - hasBin: true requiresBuild: true optionalDependencies: '@cloudflare/workerd-darwin-64': 1.20231025.0 @@ -15804,7 +15893,6 @@ packages: /wrangler@3.15.0: resolution: {integrity: sha512-kxzK62rD+LRrDeZZzw8cP6FBub71vJCbfAAb594XobXajgXYh3pFjv18Vm8YLxHzoGMhmAOJPA5b4DHq4HEUCw==} engines: {node: '>=16.17.0'} - hasBin: true dependencies: '@cloudflare/kv-asset-handler': 0.2.0 '@esbuild-plugins/node-globals-polyfill': 0.2.3(esbuild@0.17.19) @@ -15910,7 +15998,6 @@ packages: /xml-js@1.6.11: resolution: {integrity: sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==} - hasBin: true dependencies: sax: 1.3.0 dev: false