mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-12 04:22:14 +00:00
Compare commits
3 Commits
@vercel/py
...
@vercel/py
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e829ce47c3 | ||
|
|
474770e9b0 | ||
|
|
e762d8d4e8 |
6
.github/workflows/test-unit.yml
vendored
6
.github/workflows/test-unit.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
node: [12]
|
node: [14]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
TURBO_REMOTE_ONLY: true
|
TURBO_REMOTE_ONLY: true
|
||||||
@@ -39,9 +39,9 @@ jobs:
|
|||||||
- run: yarn install --network-timeout 1000000
|
- run: yarn install --network-timeout 1000000
|
||||||
- run: yarn run build
|
- run: yarn run build
|
||||||
- run: yarn run lint
|
- run: yarn run lint
|
||||||
if: matrix.os == 'ubuntu-latest' && matrix.node == 12 # only run lint once
|
if: matrix.os == 'ubuntu-latest' && matrix.node == 14 # only run lint once
|
||||||
- run: yarn run test-unit
|
- run: yarn run test-unit
|
||||||
- run: yarn workspace vercel run coverage
|
- run: yarn workspace vercel run coverage
|
||||||
if: matrix.os == 'ubuntu-latest' && matrix.node == 12 # only run coverage once
|
if: matrix.os == 'ubuntu-latest' && matrix.node == 14 # only run coverage once
|
||||||
env:
|
env:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vercel/build-utils",
|
"name": "@vercel/build-utils",
|
||||||
"version": "3.1.0",
|
"version": "3.1.1-canary.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"types": "./dist/index.d.js",
|
"types": "./dist/index.d.js",
|
||||||
|
|||||||
@@ -327,6 +327,7 @@ export interface ProjectSettings {
|
|||||||
buildCommand?: string | null;
|
buildCommand?: string | null;
|
||||||
outputDirectory?: string | null;
|
outputDirectory?: string | null;
|
||||||
rootDirectory?: string | null;
|
rootDirectory?: string | null;
|
||||||
|
nodeVersion?: string;
|
||||||
createdAt?: number;
|
createdAt?: number;
|
||||||
autoExposeSystemEnvs?: boolean;
|
autoExposeSystemEnvs?: boolean;
|
||||||
sourceFilesOutsideRootDirectory?: boolean;
|
sourceFilesOutsideRootDirectory?: boolean;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vercel",
|
"name": "vercel",
|
||||||
"version": "24.2.4",
|
"version": "24.2.5-canary.0",
|
||||||
"preferGlobal": true,
|
"preferGlobal": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"description": "The command-line interface for Vercel",
|
"description": "The command-line interface for Vercel",
|
||||||
@@ -43,11 +43,15 @@
|
|||||||
"node": ">= 12"
|
"node": ">= 12"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vercel/build-utils": "3.1.0",
|
"@vercel/build-utils": "3.1.1-canary.0",
|
||||||
"@vercel/go": "1.4.3",
|
"@vercel/go": "1.4.4-canary.0",
|
||||||
"@vercel/node": "1.15.3",
|
"@vercel/next": "2.8.67-canary.0",
|
||||||
"@vercel/python": "2.3.3",
|
"@vercel/node": "1.15.4-canary.0",
|
||||||
"@vercel/ruby": "1.3.6",
|
"@vercel/python": "2.3.4-canary.0",
|
||||||
|
"@vercel/redwood": "0.8.4-canary.0",
|
||||||
|
"@vercel/remix": "0.0.2-canary.0",
|
||||||
|
"@vercel/ruby": "1.3.7-canary.0",
|
||||||
|
"@vercel/static-build": "0.25.3-canary.0",
|
||||||
"update-notifier": "4.1.0"
|
"update-notifier": "4.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -90,7 +94,8 @@
|
|||||||
"@types/update-notifier": "5.1.0",
|
"@types/update-notifier": "5.1.0",
|
||||||
"@types/which": "1.3.2",
|
"@types/which": "1.3.2",
|
||||||
"@types/write-json-file": "2.2.1",
|
"@types/write-json-file": "2.2.1",
|
||||||
"@vercel/client": "11.0.3",
|
"@types/yauzl-promise": "2.1.0",
|
||||||
|
"@vercel/client": "11.0.4-canary.0",
|
||||||
"@vercel/frameworks": "0.9.1",
|
"@vercel/frameworks": "0.9.1",
|
||||||
"@vercel/ncc": "0.24.0",
|
"@vercel/ncc": "0.24.0",
|
||||||
"@zeit/fun": "0.11.2",
|
"@zeit/fun": "0.11.2",
|
||||||
@@ -167,7 +172,8 @@
|
|||||||
"utility-types": "2.1.0",
|
"utility-types": "2.1.0",
|
||||||
"which": "2.0.2",
|
"which": "2.0.2",
|
||||||
"write-json-file": "2.2.0",
|
"write-json-file": "2.2.0",
|
||||||
"xdg-app-paths": "5.1.0"
|
"xdg-app-paths": "5.1.0",
|
||||||
|
"yauzl-promise": "2.1.3"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"preset": "ts-jest",
|
"preset": "ts-jest",
|
||||||
|
|||||||
502
packages/cli/src/commands/build.ts
Normal file
502
packages/cli/src/commands/build.ts
Normal file
@@ -0,0 +1,502 @@
|
|||||||
|
import fs from 'fs-extra';
|
||||||
|
import chalk from 'chalk';
|
||||||
|
import dotenv from 'dotenv';
|
||||||
|
import { join, relative } from 'path';
|
||||||
|
import {
|
||||||
|
detectBuilders,
|
||||||
|
Files,
|
||||||
|
FileFsRef,
|
||||||
|
PackageJson,
|
||||||
|
BuildOptions,
|
||||||
|
Config,
|
||||||
|
Meta,
|
||||||
|
Builder,
|
||||||
|
BuildResultV2,
|
||||||
|
BuildResultV2Typical,
|
||||||
|
BuildResultV3,
|
||||||
|
} from '@vercel/build-utils';
|
||||||
|
import minimatch from 'minimatch';
|
||||||
|
import {
|
||||||
|
appendRoutesToPhase,
|
||||||
|
getTransformedRoutes,
|
||||||
|
mergeRoutes,
|
||||||
|
MergeRoutesProps,
|
||||||
|
Route,
|
||||||
|
} from '@vercel/routing-utils';
|
||||||
|
import { VercelConfig } from '@vercel/client';
|
||||||
|
|
||||||
|
import pull from './pull';
|
||||||
|
import { staticFiles as getFiles } from '../util/get-files';
|
||||||
|
import Client from '../util/client';
|
||||||
|
import getArgs from '../util/get-args';
|
||||||
|
import cmd from '../util/output/cmd';
|
||||||
|
import * as cli from '../util/pkg-name';
|
||||||
|
import cliPkg from '../util/pkg';
|
||||||
|
import readJSONFile from '../util/read-json-file';
|
||||||
|
import { CantParseJSONFile } from '../util/errors-ts';
|
||||||
|
import { readProjectSettings } from '../util/projects/project-settings';
|
||||||
|
import { VERCEL_DIR } from '../util/projects/link';
|
||||||
|
import confirm from '../util/input/confirm';
|
||||||
|
import { emoji, prependEmoji } from '../util/emoji';
|
||||||
|
import stamp from '../util/output/stamp';
|
||||||
|
import {
|
||||||
|
OUTPUT_DIR,
|
||||||
|
PathOverride,
|
||||||
|
writeBuildResult,
|
||||||
|
} from '../util/build/write-build-result';
|
||||||
|
import { importBuilders } from '../util/build/import-builders';
|
||||||
|
|
||||||
|
type BuildResult = BuildResultV2 | BuildResultV3;
|
||||||
|
|
||||||
|
const help = () => {
|
||||||
|
return console.log(`
|
||||||
|
${chalk.bold(`${cli.logo} ${cli.name} build`)}
|
||||||
|
|
||||||
|
${chalk.dim('Options:')}
|
||||||
|
|
||||||
|
-h, --help Output usage information
|
||||||
|
-A ${chalk.bold.underline('FILE')}, --local-config=${chalk.bold.underline(
|
||||||
|
'FILE'
|
||||||
|
)} Path to the local ${'`vercel.json`'} file
|
||||||
|
-Q ${chalk.bold.underline('DIR')}, --global-config=${chalk.bold.underline(
|
||||||
|
'DIR'
|
||||||
|
)} Path to the global ${'`.vercel`'} directory
|
||||||
|
--cwd [path] The current working directory
|
||||||
|
--prod Build a production deployment
|
||||||
|
-d, --debug Debug mode [off]
|
||||||
|
-y, --yes Skip the confirmation prompt
|
||||||
|
|
||||||
|
${chalk.dim('Examples:')}
|
||||||
|
|
||||||
|
${chalk.gray('–')} Build the project
|
||||||
|
|
||||||
|
${chalk.cyan(`$ ${cli.name} build`)}
|
||||||
|
${chalk.cyan(`$ ${cli.name} build --cwd ./path-to-project`)}
|
||||||
|
`);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default async function main(client: Client): Promise<number> {
|
||||||
|
const { output } = client;
|
||||||
|
|
||||||
|
// Ensure that `vc build` is not being invoked recursively
|
||||||
|
if (process.env.__VERCEL_BUILD_RUNNING) {
|
||||||
|
output.error(
|
||||||
|
`${cmd(
|
||||||
|
`${cli.name} build`
|
||||||
|
)} must not recursively invoke itself. Check the Build Command in the Project Settings or the ${cmd(
|
||||||
|
'build'
|
||||||
|
)} script in ${cmd('package.json')}`
|
||||||
|
);
|
||||||
|
output.error(
|
||||||
|
`Learn More: https://vercel.link/recursive-invocation-of-commands`
|
||||||
|
);
|
||||||
|
return 1;
|
||||||
|
} else {
|
||||||
|
process.env.__VERCEL_BUILD_RUNNING = '1';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Parse CLI args
|
||||||
|
const argv = getArgs(client.argv.slice(2), {
|
||||||
|
'--cwd': String,
|
||||||
|
'--prod': Boolean,
|
||||||
|
});
|
||||||
|
|
||||||
|
if (argv['--help']) {
|
||||||
|
help();
|
||||||
|
return 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the working directory if necessary
|
||||||
|
if (argv['--cwd']) {
|
||||||
|
process.chdir(argv['--cwd']);
|
||||||
|
}
|
||||||
|
const cwd = process.cwd();
|
||||||
|
|
||||||
|
// TODO: read project settings from the API, fall back to local `project.json` if that fails
|
||||||
|
|
||||||
|
// Read project settings, and pull them from Vercel if necessary
|
||||||
|
let project = await readProjectSettings(join(cwd, VERCEL_DIR));
|
||||||
|
const isTTY = process.stdin.isTTY;
|
||||||
|
while (!project?.settings) {
|
||||||
|
if (!isTTY) {
|
||||||
|
client.output.print(
|
||||||
|
`No Project Settings found locally. Run ${cli.getCommandName(
|
||||||
|
'pull --yes'
|
||||||
|
)} to retreive them.`
|
||||||
|
);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
const confirmed = await confirm(
|
||||||
|
`No Project Settings found locally. Run ${cli.getCommandName(
|
||||||
|
'pull'
|
||||||
|
)} for retrieving them?`,
|
||||||
|
true
|
||||||
|
);
|
||||||
|
if (!confirmed) {
|
||||||
|
client.output.print(`Aborted. No Project Settings retrieved.\n`);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
client.argv = [];
|
||||||
|
const result = await pull(client);
|
||||||
|
if (result !== 0) {
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
project = await readProjectSettings(join(cwd, VERCEL_DIR));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Build `target` influences which environment variables will be used
|
||||||
|
const target = argv['--prod'] ? 'production' : 'preview';
|
||||||
|
|
||||||
|
// TODO: load env vars from the API, fall back to local files if that fails
|
||||||
|
|
||||||
|
const envPath = await checkExists([
|
||||||
|
join(cwd, VERCEL_DIR, `.env.${target}.local`),
|
||||||
|
join(cwd, `.env`),
|
||||||
|
]);
|
||||||
|
if (envPath) {
|
||||||
|
dotenv.config({ path: envPath, debug: client.output.isDebugEnabled() });
|
||||||
|
output.log(`Loaded env from "${relative(cwd, envPath)}"`);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Some build processes use this env var to platform detect Vercel
|
||||||
|
process.env.NOW_BUILDER = '1';
|
||||||
|
|
||||||
|
const workPath = join(cwd, project.settings.rootDirectory || '.');
|
||||||
|
|
||||||
|
// Load `package.json` and `vercel.json` files
|
||||||
|
const [pkg, vercelConfig] = await Promise.all([
|
||||||
|
readJSONFile<PackageJson>(join(workPath, 'package.json')),
|
||||||
|
readJSONFile<VercelConfig>(join(workPath, 'vercel.json')).then(
|
||||||
|
config => config || readJSONFile<VercelConfig>(join(workPath, 'now.json'))
|
||||||
|
),
|
||||||
|
]);
|
||||||
|
if (pkg instanceof CantParseJSONFile) throw pkg;
|
||||||
|
if (vercelConfig instanceof CantParseJSONFile) throw vercelConfig;
|
||||||
|
|
||||||
|
// Get a list of source files
|
||||||
|
const files = (await getFiles(workPath, client)).map(f =>
|
||||||
|
relative(workPath, f)
|
||||||
|
);
|
||||||
|
|
||||||
|
const routesResult = getTransformedRoutes({ nowConfig: vercelConfig || {} });
|
||||||
|
if (routesResult.error) {
|
||||||
|
output.prettyError(routesResult.error);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (vercelConfig?.builds && vercelConfig.functions) {
|
||||||
|
output.prettyError({
|
||||||
|
message:
|
||||||
|
'The `functions` property cannot be used in conjunction with the `builds` property. Please remove one of them.',
|
||||||
|
link: 'https://vercel.link/functions-and-builds',
|
||||||
|
});
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
let builds = vercelConfig?.builds || [];
|
||||||
|
let zeroConfigRoutes: Route[] = [];
|
||||||
|
|
||||||
|
if (builds.length > 0) {
|
||||||
|
output.warn(
|
||||||
|
'Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings'
|
||||||
|
);
|
||||||
|
builds = builds.map(b => expandBuild(files, b)).flat();
|
||||||
|
} else {
|
||||||
|
// Zero config
|
||||||
|
|
||||||
|
// Detect the Vercel Builders that will need to be invoked
|
||||||
|
const detectedBuilders = await detectBuilders(files, pkg, {
|
||||||
|
...vercelConfig,
|
||||||
|
projectSettings: project.settings,
|
||||||
|
featHandleMiss: true,
|
||||||
|
});
|
||||||
|
|
||||||
|
if (detectedBuilders.errors && detectedBuilders.errors.length > 0) {
|
||||||
|
output.prettyError(detectedBuilders.errors[0]);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (const w of detectedBuilders.warnings) {
|
||||||
|
console.log(
|
||||||
|
`Warning: ${w.message} ${w.action || 'Learn More'}: ${w.link}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (detectedBuilders.builders) {
|
||||||
|
builds = detectedBuilders.builders;
|
||||||
|
} else {
|
||||||
|
builds = [{ src: '**', use: '@vercel/static' }];
|
||||||
|
}
|
||||||
|
|
||||||
|
zeroConfigRoutes.push(...(detectedBuilders.redirectRoutes || []));
|
||||||
|
zeroConfigRoutes.push(
|
||||||
|
...appendRoutesToPhase({
|
||||||
|
routes: [],
|
||||||
|
newRoutes: detectedBuilders.rewriteRoutes,
|
||||||
|
phase: 'filesystem',
|
||||||
|
})
|
||||||
|
);
|
||||||
|
zeroConfigRoutes = appendRoutesToPhase({
|
||||||
|
routes: zeroConfigRoutes,
|
||||||
|
newRoutes: detectedBuilders.errorRoutes,
|
||||||
|
phase: 'error',
|
||||||
|
});
|
||||||
|
zeroConfigRoutes.push(...(detectedBuilders.defaultRoutes || []));
|
||||||
|
}
|
||||||
|
|
||||||
|
const builderSpecs = new Set(builds.map(b => b.use));
|
||||||
|
const buildersWithPkgs = await importBuilders(builderSpecs, cwd, output);
|
||||||
|
|
||||||
|
// Populate Files -> FileFsRef mapping
|
||||||
|
const filesMap: Files = {};
|
||||||
|
for (const path of files) {
|
||||||
|
const fsPath = join(workPath, path);
|
||||||
|
const { mode } = await fs.stat(fsPath);
|
||||||
|
filesMap[path] = new FileFsRef({ mode, fsPath });
|
||||||
|
}
|
||||||
|
|
||||||
|
// Delete output directory from potential previous build
|
||||||
|
await fs.remove(OUTPUT_DIR);
|
||||||
|
|
||||||
|
const buildStamp = stamp();
|
||||||
|
|
||||||
|
// Create fresh new output directory
|
||||||
|
await fs.mkdirp(OUTPUT_DIR);
|
||||||
|
|
||||||
|
const ops: Promise<Error | void>[] = [];
|
||||||
|
|
||||||
|
// Write the `detectedBuilders` result to output dir
|
||||||
|
ops.push(
|
||||||
|
fs.writeJSON(
|
||||||
|
join(OUTPUT_DIR, 'builds.json'),
|
||||||
|
{
|
||||||
|
'//': 'This file was generated by the `vercel build` command. It is not part of the Build Output API.',
|
||||||
|
target,
|
||||||
|
builds: builds.map(build => {
|
||||||
|
const builderWithPkg = buildersWithPkgs.get(build.use);
|
||||||
|
if (!builderWithPkg) {
|
||||||
|
throw new Error(`Failed to load Builder "${build.use}"`);
|
||||||
|
}
|
||||||
|
const { builder, pkg: builderPkg } = builderWithPkg;
|
||||||
|
return {
|
||||||
|
require: builderPkg.name,
|
||||||
|
apiVersion: builder.version,
|
||||||
|
...build,
|
||||||
|
};
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
spaces: 2,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
// The `meta` config property is re-used for each Builder
|
||||||
|
// invocation so that Builders can share state between
|
||||||
|
// subsequent entrypoint builds.
|
||||||
|
const meta: Meta = {
|
||||||
|
skipDownload: true,
|
||||||
|
cliVersion: cliPkg.version,
|
||||||
|
};
|
||||||
|
|
||||||
|
// Execute Builders for detected entrypoints
|
||||||
|
// TODO: parallelize builds
|
||||||
|
const buildResults: Map<Builder, BuildResult> = new Map();
|
||||||
|
const overrides: PathOverride[] = [];
|
||||||
|
for (const build of builds) {
|
||||||
|
if (typeof build.src !== 'string') continue;
|
||||||
|
|
||||||
|
const builderWithPkg = buildersWithPkgs.get(build.use);
|
||||||
|
if (!builderWithPkg) {
|
||||||
|
throw new Error(`Failed to load Builder "${build.use}"`);
|
||||||
|
}
|
||||||
|
const { builder, pkg: builderPkg } = builderWithPkg;
|
||||||
|
|
||||||
|
const buildConfig: Config = {
|
||||||
|
outputDirectory: project.settings.outputDirectory ?? undefined,
|
||||||
|
...build.config,
|
||||||
|
projectSettings: project.settings,
|
||||||
|
installCommand: project.settings.installCommand ?? undefined,
|
||||||
|
devCommand: project.settings.devCommand ?? undefined,
|
||||||
|
buildCommand: project.settings.buildCommand ?? undefined,
|
||||||
|
framework: project.settings.framework,
|
||||||
|
nodeVersion: project.settings.nodeVersion,
|
||||||
|
};
|
||||||
|
const repoRootPath = cwd === workPath ? undefined : cwd;
|
||||||
|
const buildOptions: BuildOptions = {
|
||||||
|
files: filesMap,
|
||||||
|
entrypoint: build.src,
|
||||||
|
workPath,
|
||||||
|
repoRootPath,
|
||||||
|
config: buildConfig,
|
||||||
|
meta,
|
||||||
|
};
|
||||||
|
output.debug(
|
||||||
|
`Building entrypoint "${build.src}" with "${builderPkg.name}"`
|
||||||
|
);
|
||||||
|
const buildResult = await builder.build(buildOptions);
|
||||||
|
|
||||||
|
// Store the build result to generate the final `config.json` after
|
||||||
|
// all builds have completed
|
||||||
|
buildResults.set(build, buildResult);
|
||||||
|
|
||||||
|
// Start flushing the file outputs to the filesystem asynchronously
|
||||||
|
ops.push(
|
||||||
|
writeBuildResult(
|
||||||
|
buildResult,
|
||||||
|
build,
|
||||||
|
builder,
|
||||||
|
builderPkg,
|
||||||
|
vercelConfig?.cleanUrls
|
||||||
|
).then(
|
||||||
|
override => {
|
||||||
|
if (override) overrides.push(override);
|
||||||
|
},
|
||||||
|
err => err
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Wait for filesystem operations to complete
|
||||||
|
// TODO render progress bar?
|
||||||
|
let hadError = false;
|
||||||
|
const errors = await Promise.all(ops);
|
||||||
|
for (const error of errors) {
|
||||||
|
if (error) {
|
||||||
|
hadError = true;
|
||||||
|
output.prettyError(error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (hadError) return 1;
|
||||||
|
|
||||||
|
// Merge existing `config.json` file into the one that will be produced
|
||||||
|
const configPath = join(OUTPUT_DIR, 'config.json');
|
||||||
|
// TODO: properly type
|
||||||
|
const existingConfig = await readJSONFile<any>(configPath);
|
||||||
|
if (existingConfig instanceof CantParseJSONFile) {
|
||||||
|
throw existingConfig;
|
||||||
|
}
|
||||||
|
if (existingConfig) {
|
||||||
|
if (existingConfig.overrides) {
|
||||||
|
overrides.push(existingConfig.overrides);
|
||||||
|
}
|
||||||
|
// Find the `Build` entry for this config file and update the build result
|
||||||
|
for (const [build, buildResult] of buildResults.entries()) {
|
||||||
|
if ('buildOutputPath' in buildResult) {
|
||||||
|
output.debug(`Using "config.json" for "${build.use}`);
|
||||||
|
buildResults.set(build, existingConfig);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const builderRoutes: MergeRoutesProps['builds'] = Array.from(
|
||||||
|
buildResults.entries()
|
||||||
|
)
|
||||||
|
.filter(b => 'routes' in b[1] && Array.isArray(b[1].routes))
|
||||||
|
.map(b => {
|
||||||
|
return {
|
||||||
|
use: b[0].use,
|
||||||
|
entrypoint: b[0].src!,
|
||||||
|
routes: (b[1] as BuildResultV2Typical).routes,
|
||||||
|
};
|
||||||
|
});
|
||||||
|
if (zeroConfigRoutes.length) {
|
||||||
|
builderRoutes.unshift({
|
||||||
|
use: '@vercel/zero-config-routes',
|
||||||
|
entrypoint: '/',
|
||||||
|
routes: zeroConfigRoutes,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
const mergedRoutes = mergeRoutes({
|
||||||
|
userRoutes: routesResult.routes,
|
||||||
|
builds: builderRoutes,
|
||||||
|
});
|
||||||
|
|
||||||
|
const mergedImages = mergeImages(buildResults.values());
|
||||||
|
const mergedWildcard = mergeWildcard(buildResults.values());
|
||||||
|
const mergedOverrides: Record<string, PathOverride> =
|
||||||
|
overrides.length > 0 ? Object.assign({}, ...overrides) : undefined;
|
||||||
|
|
||||||
|
// Write out the final `config.json` file based on the
|
||||||
|
// user configuration and Builder build results
|
||||||
|
// TODO: properly type
|
||||||
|
const config = {
|
||||||
|
version: 3,
|
||||||
|
routes: mergedRoutes,
|
||||||
|
images: mergedImages,
|
||||||
|
wildcard: mergedWildcard,
|
||||||
|
overrides: mergedOverrides,
|
||||||
|
};
|
||||||
|
await fs.writeJSON(join(OUTPUT_DIR, 'config.json'), config, { spaces: 2 });
|
||||||
|
|
||||||
|
output.print(
|
||||||
|
`${prependEmoji(
|
||||||
|
`Build Completed in ${chalk.bold(OUTPUT_DIR)} ${chalk.gray(
|
||||||
|
buildStamp()
|
||||||
|
)}`,
|
||||||
|
emoji('success')
|
||||||
|
)}\n`
|
||||||
|
);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
function expandBuild(files: string[], build: Builder): Builder[] {
|
||||||
|
if (!build.src) return [];
|
||||||
|
|
||||||
|
let pattern = build.src;
|
||||||
|
if (pattern[0] === '/') {
|
||||||
|
// Remove a leading slash so that the globbing is relative
|
||||||
|
// to `cwd` instead of the root of the filesystem.
|
||||||
|
pattern = pattern.substring(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
const matches = files.filter(
|
||||||
|
name => name === pattern || minimatch(name, pattern, { dot: true })
|
||||||
|
);
|
||||||
|
|
||||||
|
return matches.map(m => {
|
||||||
|
return {
|
||||||
|
...build,
|
||||||
|
src: m,
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function mergeImages(
|
||||||
|
buildResults: Iterable<BuildResult>
|
||||||
|
): BuildResultV2Typical['images'] {
|
||||||
|
let images: BuildResultV2Typical['images'] = undefined;
|
||||||
|
for (const result of buildResults) {
|
||||||
|
if ('images' in result && result.images) {
|
||||||
|
images = Object.assign({} || images, result.images);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return images;
|
||||||
|
}
|
||||||
|
|
||||||
|
function mergeWildcard(
|
||||||
|
buildResults: Iterable<BuildResult>
|
||||||
|
): BuildResultV2Typical['wildcard'] {
|
||||||
|
let wildcard: BuildResultV2Typical['wildcard'] = undefined;
|
||||||
|
for (const result of buildResults) {
|
||||||
|
if ('wildcard' in result && result.wildcard) {
|
||||||
|
if (!wildcard) wildcard = [];
|
||||||
|
wildcard.push(...result.wildcard);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return wildcard;
|
||||||
|
}
|
||||||
|
|
||||||
|
async function checkExists(paths: Iterable<string>) {
|
||||||
|
for (const path of paths) {
|
||||||
|
try {
|
||||||
|
await fs.stat(path);
|
||||||
|
return path;
|
||||||
|
} catch (err: any) {
|
||||||
|
if (err.code !== 'ENOENT') throw err;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -3,6 +3,7 @@ export default new Map([
|
|||||||
['aliases', 'alias'],
|
['aliases', 'alias'],
|
||||||
['billing', 'billing'],
|
['billing', 'billing'],
|
||||||
['bisect', 'bisect'],
|
['bisect', 'bisect'],
|
||||||
|
['build', 'build'],
|
||||||
['cc', 'billing'],
|
['cc', 'billing'],
|
||||||
['cert', 'certs'],
|
['cert', 'certs'],
|
||||||
['certs', 'certs'],
|
['certs', 'certs'],
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ const main = async () => {
|
|||||||
// * a subcommand (as in: `vercel ls`)
|
// * a subcommand (as in: `vercel ls`)
|
||||||
const targetOrSubcommand = argv._[2];
|
const targetOrSubcommand = argv._[2];
|
||||||
|
|
||||||
const betaCommands: string[] = [];
|
const betaCommands: string[] = ['build'];
|
||||||
if (betaCommands.includes(targetOrSubcommand)) {
|
if (betaCommands.includes(targetOrSubcommand)) {
|
||||||
console.log(
|
console.log(
|
||||||
`${chalk.grey(
|
`${chalk.grey(
|
||||||
@@ -303,7 +303,14 @@ const main = async () => {
|
|||||||
|
|
||||||
let authConfig = null;
|
let authConfig = null;
|
||||||
|
|
||||||
const subcommandsWithoutToken = ['login', 'logout', 'help', 'init', 'update'];
|
const subcommandsWithoutToken = [
|
||||||
|
'login',
|
||||||
|
'logout',
|
||||||
|
'help',
|
||||||
|
'init',
|
||||||
|
'update',
|
||||||
|
'build',
|
||||||
|
];
|
||||||
|
|
||||||
if (authConfigExists) {
|
if (authConfigExists) {
|
||||||
try {
|
try {
|
||||||
@@ -524,6 +531,7 @@ const main = async () => {
|
|||||||
typeof scope === 'string' &&
|
typeof scope === 'string' &&
|
||||||
targetCommand !== 'login' &&
|
targetCommand !== 'login' &&
|
||||||
targetCommand !== 'dev' &&
|
targetCommand !== 'dev' &&
|
||||||
|
targetCommand !== 'build' &&
|
||||||
!(targetCommand === 'teams' && argv._[3] !== 'invite')
|
!(targetCommand === 'teams' && argv._[3] !== 'invite')
|
||||||
) {
|
) {
|
||||||
let user = null;
|
let user = null;
|
||||||
@@ -598,6 +606,9 @@ const main = async () => {
|
|||||||
case 'bisect':
|
case 'bisect':
|
||||||
func = require('./commands/bisect').default;
|
func = require('./commands/bisect').default;
|
||||||
break;
|
break;
|
||||||
|
case 'build':
|
||||||
|
func = require('./commands/build').default;
|
||||||
|
break;
|
||||||
case 'certs':
|
case 'certs':
|
||||||
func = require('./commands/certs').default;
|
func = require('./commands/certs').default;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -251,9 +251,6 @@ export interface Project extends ProjectSettings {
|
|||||||
updatedAt: number;
|
updatedAt: number;
|
||||||
createdAt: number;
|
createdAt: number;
|
||||||
alias?: ProjectAliasTarget[];
|
alias?: ProjectAliasTarget[];
|
||||||
devCommand?: string | null;
|
|
||||||
framework?: string | null;
|
|
||||||
rootDirectory?: string | null;
|
|
||||||
latestDeployments?: Partial<Deployment>[];
|
latestDeployments?: Partial<Deployment>[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
197
packages/cli/src/util/build/import-builders.ts
Normal file
197
packages/cli/src/util/build/import-builders.ts
Normal file
@@ -0,0 +1,197 @@
|
|||||||
|
import npa from 'npm-package-arg';
|
||||||
|
import { satisfies } from 'semver';
|
||||||
|
import { dirname, join } from 'path';
|
||||||
|
import { outputJSON, readJSON } from 'fs-extra';
|
||||||
|
import {
|
||||||
|
BuilderV2,
|
||||||
|
BuilderV3,
|
||||||
|
PackageJson,
|
||||||
|
spawnAsync,
|
||||||
|
} from '@vercel/build-utils';
|
||||||
|
import * as staticBuilder from './static-builder';
|
||||||
|
import { VERCEL_DIR } from '../projects/link';
|
||||||
|
import { Output } from '../output';
|
||||||
|
import readJSONFile from '../read-json-file';
|
||||||
|
import { CantParseJSONFile } from '../errors-ts';
|
||||||
|
|
||||||
|
interface BuilderWithPkg {
|
||||||
|
path: string;
|
||||||
|
pkgPath: string;
|
||||||
|
builder: BuilderV2 | BuilderV3;
|
||||||
|
pkg: PackageJson;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Imports the specified Vercel Builders, installing any missing ones
|
||||||
|
* into `.vercel/builders` if necessary.
|
||||||
|
*/
|
||||||
|
export async function importBuilders(
|
||||||
|
builderSpecs: Set<string>,
|
||||||
|
cwd: string,
|
||||||
|
output: Output
|
||||||
|
): Promise<Map<string, BuilderWithPkg>> {
|
||||||
|
const results = new Map<string, BuilderWithPkg>();
|
||||||
|
const resolvedSpecs = new Map<string, string>();
|
||||||
|
|
||||||
|
const buildersDir = join(cwd, VERCEL_DIR, 'builders');
|
||||||
|
const buildersPkgPath = join(buildersDir, 'package.json');
|
||||||
|
|
||||||
|
do {
|
||||||
|
const buildersToAdd = new Set<string>();
|
||||||
|
|
||||||
|
for (const spec of builderSpecs) {
|
||||||
|
const resolvedSpec = resolvedSpecs.get(spec) || spec;
|
||||||
|
const parsed = npa(resolvedSpec);
|
||||||
|
|
||||||
|
let { name } = parsed;
|
||||||
|
if (!name) {
|
||||||
|
// A URL was specified - will need to install it and resolve the
|
||||||
|
// proper package name from the written `package.json` file
|
||||||
|
buildersToAdd.add(spec);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (name === '@vercel/static') {
|
||||||
|
// `@vercel/static` is a special-case built-in builder
|
||||||
|
results.set(name, {
|
||||||
|
builder: staticBuilder,
|
||||||
|
pkg: { name },
|
||||||
|
path: '',
|
||||||
|
pkgPath: '',
|
||||||
|
});
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
let pkgPath: string | undefined;
|
||||||
|
let builderPkg: PackageJson | undefined;
|
||||||
|
|
||||||
|
try {
|
||||||
|
// First try `.vercel/builders`. The package name should always be available
|
||||||
|
// at the top-level of `node_modules` since CLI is installing those directly.
|
||||||
|
pkgPath = join(buildersDir, 'node_modules', name, 'package.json');
|
||||||
|
builderPkg = await readJSON(pkgPath);
|
||||||
|
} catch (err: any) {
|
||||||
|
if (err?.code !== 'ENOENT') throw err;
|
||||||
|
// If `pkgPath` wasn't found in `.vercel/builders` then try as a CLI local
|
||||||
|
// dependency. `require.resolve()` will throw if the Builder is not a CLI
|
||||||
|
// dep, in which case we'll install it into `.vercel/builders`.
|
||||||
|
pkgPath = require.resolve(`${name}/package.json`, {
|
||||||
|
paths: [__dirname],
|
||||||
|
});
|
||||||
|
builderPkg = await readJSON(pkgPath);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!builderPkg || !pkgPath) {
|
||||||
|
throw new Error(`Failed to load \`package.json\` for "${name}"`);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (typeof builderPkg.version !== 'string') {
|
||||||
|
throw new Error(
|
||||||
|
`\`package.json\` for "${name}" does not contain a "version" field`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (
|
||||||
|
parsed.type === 'version' &&
|
||||||
|
parsed.rawSpec !== builderPkg.version
|
||||||
|
) {
|
||||||
|
// An explicit Builder version was specified but it does
|
||||||
|
// not match the version that is currently installed
|
||||||
|
output.debug(
|
||||||
|
`Installed version "${name}@${builderPkg.version}" does not match "${parsed.rawSpec}"`
|
||||||
|
);
|
||||||
|
buildersToAdd.add(spec);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (
|
||||||
|
parsed.type === 'range' &&
|
||||||
|
!satisfies(builderPkg.version, parsed.rawSpec)
|
||||||
|
) {
|
||||||
|
// An explicit Builder range was specified but it is not
|
||||||
|
// compatible with the version that is currently installed
|
||||||
|
output.debug(
|
||||||
|
`Installed version "${name}@${builderPkg.version}" is not compatible with "${parsed.rawSpec}"`
|
||||||
|
);
|
||||||
|
buildersToAdd.add(spec);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO: handle `parsed.type === 'tag'` ("latest" vs. anything else?)
|
||||||
|
|
||||||
|
const path = join(dirname(pkgPath), builderPkg.main || 'index.js');
|
||||||
|
const builder = require(path);
|
||||||
|
|
||||||
|
results.set(spec, {
|
||||||
|
builder,
|
||||||
|
pkg: builderPkg,
|
||||||
|
path,
|
||||||
|
pkgPath,
|
||||||
|
});
|
||||||
|
output.debug(`Imported Builder "${name}" from "${dirname(pkgPath)}"`);
|
||||||
|
} catch (err: any) {
|
||||||
|
if (err.code === 'MODULE_NOT_FOUND') {
|
||||||
|
output.debug(`Failed to import "${name}": ${err}`);
|
||||||
|
buildersToAdd.add(spec);
|
||||||
|
|
||||||
|
if (err.message.includes('@now/build-utils')) {
|
||||||
|
const upgradeMessage =
|
||||||
|
parsed.scope === '@now'
|
||||||
|
? ` Please update from "@now" to "@vercel".`
|
||||||
|
: '';
|
||||||
|
throw new Error(
|
||||||
|
`The legacy "${name}" Builder is not supported.${upgradeMessage}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
throw err;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add any Builders that are not yet present into `.vercel/builders`
|
||||||
|
if (buildersToAdd.size > 0) {
|
||||||
|
try {
|
||||||
|
const emptyPkgJson = {
|
||||||
|
private: true,
|
||||||
|
license: 'UNLICENSED',
|
||||||
|
};
|
||||||
|
await outputJSON(buildersPkgPath, emptyPkgJson, {
|
||||||
|
flag: 'wx',
|
||||||
|
});
|
||||||
|
} catch (err: any) {
|
||||||
|
if (err.code !== 'EEXIST') throw err;
|
||||||
|
}
|
||||||
|
|
||||||
|
output.debug(
|
||||||
|
`Installing Builders: ${Array.from(buildersToAdd).join(', ')}`
|
||||||
|
);
|
||||||
|
await spawnAsync(
|
||||||
|
'yarn',
|
||||||
|
['add', '@vercel/build-utils', ...buildersToAdd],
|
||||||
|
{ cwd: buildersDir }
|
||||||
|
);
|
||||||
|
|
||||||
|
// Cross-reference any builderSpecs from the saved `package.json` file,
|
||||||
|
// in case they were installed from a URL
|
||||||
|
const buildersPkg = await readJSONFile<PackageJson>(buildersPkgPath);
|
||||||
|
if (buildersPkg instanceof CantParseJSONFile) throw buildersPkg;
|
||||||
|
if (!buildersPkg) {
|
||||||
|
throw new Error(`Failed to load "${buildersPkgPath}"`);
|
||||||
|
}
|
||||||
|
for (const spec of buildersToAdd) {
|
||||||
|
for (const [name, version] of Object.entries(
|
||||||
|
buildersPkg.dependencies || {}
|
||||||
|
)) {
|
||||||
|
if (version === spec) {
|
||||||
|
output.debug(`Resolved Builder spec "${spec}" to name "${name}"`);
|
||||||
|
resolvedSpecs.set(spec, name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} while (results.size !== builderSpecs.size);
|
||||||
|
|
||||||
|
return results;
|
||||||
|
}
|
||||||
41
packages/cli/src/util/build/static-builder.ts
Normal file
41
packages/cli/src/util/build/static-builder.ts
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
import minimatch from 'minimatch';
|
||||||
|
import { BuildV2, Files } from '@vercel/build-utils';
|
||||||
|
|
||||||
|
export const version = 2;
|
||||||
|
|
||||||
|
export const build: BuildV2 = async ({ entrypoint, files, config }) => {
|
||||||
|
const output: Files = {};
|
||||||
|
const outputDirectory = config.zeroConfig ? config.outputDirectory : '';
|
||||||
|
|
||||||
|
for (let [filename, fileFsRef] of Object.entries(files)) {
|
||||||
|
if (
|
||||||
|
filename.startsWith('.git/') ||
|
||||||
|
filename === 'vercel.json' ||
|
||||||
|
filename === 'now.json'
|
||||||
|
) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (
|
||||||
|
entrypoint &&
|
||||||
|
!(
|
||||||
|
entrypoint === filename ||
|
||||||
|
minimatch(filename, entrypoint, { dot: true })
|
||||||
|
)
|
||||||
|
) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (outputDirectory) {
|
||||||
|
const outputMatch = outputDirectory + '/';
|
||||||
|
if (filename.startsWith(outputMatch)) {
|
||||||
|
// static output files are moved to the root directory
|
||||||
|
filename = filename.slice(outputMatch.length);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
output[filename] = fileFsRef;
|
||||||
|
}
|
||||||
|
|
||||||
|
return { output };
|
||||||
|
};
|
||||||
108
packages/cli/src/util/build/unzip.ts
Normal file
108
packages/cli/src/util/build/unzip.ts
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
/**
|
||||||
|
* Code modified from `extract-zip` to accept Buffer.
|
||||||
|
* https://github.com/maxogden/extract-zip/blob/master/index.js
|
||||||
|
* BSD-2 Copyright (c) 2014 Max Ogden and other contributors
|
||||||
|
*/
|
||||||
|
|
||||||
|
import path from 'path';
|
||||||
|
import pipe from 'promisepipe';
|
||||||
|
import * as fs from 'fs-extra';
|
||||||
|
import { streamToBuffer } from '@vercel/build-utils';
|
||||||
|
import { Entry, ZipFile, fromBuffer as zipFromBuffer } from 'yauzl-promise';
|
||||||
|
|
||||||
|
async function* createZipIterator(zipFile: ZipFile) {
|
||||||
|
let entry: Entry;
|
||||||
|
while ((entry = await zipFile.readEntry()) !== null) {
|
||||||
|
yield entry;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function unzip(buffer: Buffer, dir: string): Promise<void> {
|
||||||
|
const zipFile = await zipFromBuffer(buffer);
|
||||||
|
for await (const entry of createZipIterator(zipFile)) {
|
||||||
|
if (entry.fileName.startsWith('__MACOSX/')) continue;
|
||||||
|
|
||||||
|
try {
|
||||||
|
const destDir = path.dirname(path.join(dir, entry.fileName));
|
||||||
|
await fs.mkdirp(destDir);
|
||||||
|
|
||||||
|
const canonicalDestDir = await fs.realpath(destDir);
|
||||||
|
const relativeDestDir = path.relative(dir, canonicalDestDir);
|
||||||
|
|
||||||
|
if (relativeDestDir.split(path.sep).includes('..')) {
|
||||||
|
throw new Error(
|
||||||
|
`Out of bound path "${canonicalDestDir}" found while processing file ${entry.fileName}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
await extractEntry(zipFile, entry, dir);
|
||||||
|
} catch (err) {
|
||||||
|
await zipFile.close();
|
||||||
|
throw err;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
async function extractEntry(
|
||||||
|
zipFile: ZipFile,
|
||||||
|
entry: Entry,
|
||||||
|
dir: string
|
||||||
|
): Promise<void> {
|
||||||
|
const dest = path.join(dir, entry.fileName);
|
||||||
|
|
||||||
|
// convert external file attr int into a fs stat mode int
|
||||||
|
const mode = (entry.externalFileAttributes >> 16) & 0xffff;
|
||||||
|
// check if it's a symlink or dir (using stat mode constants)
|
||||||
|
const IFMT = 61440;
|
||||||
|
const IFDIR = 16384;
|
||||||
|
const IFLNK = 40960;
|
||||||
|
const symlink = (mode & IFMT) === IFLNK;
|
||||||
|
let isDir = (mode & IFMT) === IFDIR;
|
||||||
|
|
||||||
|
// Failsafe, borrowed from jsZip
|
||||||
|
if (!isDir && entry.fileName.endsWith('/')) {
|
||||||
|
isDir = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// check for windows weird way of specifying a directory
|
||||||
|
// https://github.com/maxogden/extract-zip/issues/13#issuecomment-154494566
|
||||||
|
const madeBy = entry.versionMadeBy >> 8;
|
||||||
|
if (!isDir) isDir = madeBy === 0 && entry.externalFileAttributes === 16;
|
||||||
|
|
||||||
|
const procMode = getExtractedMode(mode, isDir) & 0o777;
|
||||||
|
|
||||||
|
// always ensure folders are created
|
||||||
|
const destDir = isDir ? dest : path.dirname(dest);
|
||||||
|
|
||||||
|
const mkdirOptions = { recursive: true };
|
||||||
|
if (isDir) {
|
||||||
|
// @ts-ignore
|
||||||
|
mkdirOptions.mode = procMode;
|
||||||
|
}
|
||||||
|
await fs.mkdir(destDir, mkdirOptions);
|
||||||
|
if (isDir) return;
|
||||||
|
|
||||||
|
const readStream = await zipFile.openReadStream(entry);
|
||||||
|
|
||||||
|
if (symlink) {
|
||||||
|
const link = await streamToBuffer(readStream);
|
||||||
|
await fs.symlink(link.toString('utf8'), dest);
|
||||||
|
} else {
|
||||||
|
await pipe(readStream, fs.createWriteStream(dest, { mode: procMode }));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function getExtractedMode(entryMode: number, isDir: boolean): number {
|
||||||
|
let mode = entryMode;
|
||||||
|
|
||||||
|
// Set defaults, if necessary
|
||||||
|
if (mode === 0) {
|
||||||
|
if (isDir) {
|
||||||
|
mode = 0o755;
|
||||||
|
} else {
|
||||||
|
mode = 0o644;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return mode;
|
||||||
|
}
|
||||||
373
packages/cli/src/util/build/write-build-result.ts
Normal file
373
packages/cli/src/util/build/write-build-result.ts
Normal file
@@ -0,0 +1,373 @@
|
|||||||
|
import fs from 'fs-extra';
|
||||||
|
import mimeTypes from 'mime-types';
|
||||||
|
import { basename, dirname, extname, join, relative, resolve } from 'path';
|
||||||
|
import {
|
||||||
|
Builder,
|
||||||
|
BuildResultV2,
|
||||||
|
BuildResultV3,
|
||||||
|
File,
|
||||||
|
FileFsRef,
|
||||||
|
BuilderV2,
|
||||||
|
BuilderV3,
|
||||||
|
Lambda,
|
||||||
|
PackageJson,
|
||||||
|
Prerender,
|
||||||
|
download,
|
||||||
|
EdgeFunction,
|
||||||
|
BuildResultBuildOutput,
|
||||||
|
} from '@vercel/build-utils';
|
||||||
|
import pipe from 'promisepipe';
|
||||||
|
import { unzip } from './unzip';
|
||||||
|
import { VERCEL_DIR } from '../projects/link';
|
||||||
|
|
||||||
|
export const OUTPUT_DIR = join(VERCEL_DIR, 'output');
|
||||||
|
|
||||||
|
export async function writeBuildResult(
|
||||||
|
buildResult: BuildResultV2 | BuildResultV3,
|
||||||
|
build: Builder,
|
||||||
|
builder: BuilderV2 | BuilderV3,
|
||||||
|
builderPkg: PackageJson,
|
||||||
|
cleanUrls?: boolean
|
||||||
|
) {
|
||||||
|
const { version } = builder;
|
||||||
|
if (version === 2) {
|
||||||
|
return writeBuildResultV2(buildResult as BuildResultV2, cleanUrls);
|
||||||
|
} else if (version === 3) {
|
||||||
|
return writeBuildResultV3(buildResult as BuildResultV3, build);
|
||||||
|
}
|
||||||
|
throw new Error(
|
||||||
|
`Unsupported Builder version \`${version}\` from "${builderPkg.name}"`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function isEdgeFunction(v: any): v is EdgeFunction {
|
||||||
|
return v?.type === 'EdgeFunction';
|
||||||
|
}
|
||||||
|
|
||||||
|
function isLambda(v: any): v is Lambda {
|
||||||
|
return v?.type === 'Lambda';
|
||||||
|
}
|
||||||
|
|
||||||
|
function isPrerender(v: any): v is Prerender {
|
||||||
|
return v?.type === 'Prerender';
|
||||||
|
}
|
||||||
|
|
||||||
|
function isFile(v: any): v is File {
|
||||||
|
const type = v?.type;
|
||||||
|
return type === 'FileRef' || type === 'FileFsRef' || type === 'FileBlob';
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface PathOverride {
|
||||||
|
contentType?: string;
|
||||||
|
path?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Writes the output from the `build()` return value of a v2 Builder to
|
||||||
|
* the filesystem.
|
||||||
|
*/
|
||||||
|
async function writeBuildResultV2(
|
||||||
|
buildResult: BuildResultV2,
|
||||||
|
cleanUrls?: boolean
|
||||||
|
) {
|
||||||
|
if ('buildOutputPath' in buildResult) {
|
||||||
|
await mergeBuilderOutput(buildResult);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const lambdas = new Map<Lambda, string>();
|
||||||
|
const overrides: Record<string, PathOverride> = {};
|
||||||
|
for (const [path, output] of Object.entries(buildResult.output)) {
|
||||||
|
if (isLambda(output)) {
|
||||||
|
await writeLambda(output, path, lambdas);
|
||||||
|
} else if (isPrerender(output)) {
|
||||||
|
await writeLambda(output.lambda, path, lambdas);
|
||||||
|
|
||||||
|
// Write the fallback file alongside the Lambda directory
|
||||||
|
let fallback = output.fallback;
|
||||||
|
if (fallback) {
|
||||||
|
const ext = getFileExtension(fallback);
|
||||||
|
const fallbackName = `${path}.prerender-fallback${ext}`;
|
||||||
|
const fallbackPath = join(OUTPUT_DIR, 'functions', fallbackName);
|
||||||
|
const stream = fallback.toStream();
|
||||||
|
await pipe(
|
||||||
|
stream,
|
||||||
|
fs.createWriteStream(fallbackPath, { mode: fallback.mode })
|
||||||
|
);
|
||||||
|
fallback = new FileFsRef({
|
||||||
|
...output.fallback,
|
||||||
|
fsPath: basename(fallbackName),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
const prerenderConfigPath = join(
|
||||||
|
OUTPUT_DIR,
|
||||||
|
'functions',
|
||||||
|
`${path}.prerender-config.json`
|
||||||
|
);
|
||||||
|
const prerenderConfig = {
|
||||||
|
...output,
|
||||||
|
lambda: undefined,
|
||||||
|
fallback,
|
||||||
|
};
|
||||||
|
await fs.writeJSON(prerenderConfigPath, prerenderConfig, { spaces: 2 });
|
||||||
|
} else if (isFile(output)) {
|
||||||
|
await writeStaticFile(output, path, overrides, cleanUrls);
|
||||||
|
} else if (isEdgeFunction(output)) {
|
||||||
|
await writeEdgeFunction(output, path);
|
||||||
|
} else {
|
||||||
|
throw new Error(
|
||||||
|
`Unsupported output type: "${(output as any).type}" for ${path}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return Object.keys(overrides).length > 0 ? overrides : undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Writes the output from the `build()` return value of a v3 Builder to
|
||||||
|
* the filesystem.
|
||||||
|
*/
|
||||||
|
async function writeBuildResultV3(buildResult: BuildResultV3, build: Builder) {
|
||||||
|
const { output } = buildResult;
|
||||||
|
if (isLambda(output)) {
|
||||||
|
const src = build.src!;
|
||||||
|
const ext = extname(src);
|
||||||
|
const path = build.config?.zeroConfig
|
||||||
|
? src.substring(0, src.length - ext.length)
|
||||||
|
: src;
|
||||||
|
await writeLambda(output, path);
|
||||||
|
} else {
|
||||||
|
throw new Error(
|
||||||
|
`Unsupported output type: "${(output as any).type}" for ${build.src}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Writes a static `File` instance to the file system in the "static" directory.
|
||||||
|
* If the filename does not have a file extension then one attempts to be inferred
|
||||||
|
* from the extension of the `fsPath`.
|
||||||
|
*
|
||||||
|
* @param file The `File` instance to write
|
||||||
|
* @param path The URL path where the `File` can be accessed from
|
||||||
|
* @param overrides Record of override configuration when a File is renamed or has other metadata
|
||||||
|
*/
|
||||||
|
async function writeStaticFile(
|
||||||
|
file: File,
|
||||||
|
path: string,
|
||||||
|
overrides: Record<string, PathOverride>,
|
||||||
|
cleanUrls = false
|
||||||
|
) {
|
||||||
|
let fsPath = path;
|
||||||
|
let override: PathOverride | null = null;
|
||||||
|
|
||||||
|
// If the output path doesn't match the determined file extension of
|
||||||
|
// the File then add the extension. This is to help avoid conflicts
|
||||||
|
// where an output path matches a directory name of another output path
|
||||||
|
// (i.e. `blog` -> `blog.html` and `blog/hello` -> `blog/hello.html`)
|
||||||
|
const ext = getFileExtension(file);
|
||||||
|
if (ext && extname(path) !== ext) {
|
||||||
|
fsPath += ext;
|
||||||
|
if (!override) override = {};
|
||||||
|
override.path = path;
|
||||||
|
}
|
||||||
|
|
||||||
|
// If `cleanUrls` is true then remove the `.html` file extension
|
||||||
|
// for HTML files.
|
||||||
|
if (cleanUrls && path.endsWith('.html')) {
|
||||||
|
if (!override) override = {};
|
||||||
|
override.path = path.slice(0, -5);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Ensure an explicit "content-type" on the `File` is returned in
|
||||||
|
// the final output asset.
|
||||||
|
if (file.contentType) {
|
||||||
|
if (!override) override = {};
|
||||||
|
override.contentType = file.contentType;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (override) {
|
||||||
|
overrides[fsPath] = override;
|
||||||
|
}
|
||||||
|
|
||||||
|
const dest = join(OUTPUT_DIR, 'static', fsPath);
|
||||||
|
await fs.mkdirp(dirname(dest));
|
||||||
|
|
||||||
|
// TODO: handle (or skip) symlinks?
|
||||||
|
const stream = file.toStream();
|
||||||
|
await pipe(stream, fs.createWriteStream(dest, { mode: file.mode }));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Serializes the `EdgeFunction` instance to the file system.
|
||||||
|
*
|
||||||
|
* @param edgeFunction The `EdgeFunction` instance
|
||||||
|
* @param path The URL path where the `EdgeFunction` can be accessed from
|
||||||
|
*/
|
||||||
|
async function writeEdgeFunction(edgeFunction: EdgeFunction, path: string) {
|
||||||
|
const dest = join(OUTPUT_DIR, 'functions', `${path}.func`);
|
||||||
|
|
||||||
|
await fs.mkdirp(dest);
|
||||||
|
const ops: Promise<any>[] = [];
|
||||||
|
ops.push(download(edgeFunction.files, dest));
|
||||||
|
|
||||||
|
const config = {
|
||||||
|
runtime: 'edge',
|
||||||
|
...edgeFunction,
|
||||||
|
files: undefined,
|
||||||
|
type: undefined,
|
||||||
|
};
|
||||||
|
const configPath = join(dest, '.vc-config.json');
|
||||||
|
ops.push(
|
||||||
|
fs.writeJSON(configPath, config, {
|
||||||
|
spaces: 2,
|
||||||
|
})
|
||||||
|
);
|
||||||
|
await Promise.all(ops);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Writes the file references from the `Lambda` instance to the file system.
|
||||||
|
*
|
||||||
|
* @param lambda The `Lambda` instance
|
||||||
|
* @param path The URL path where the `Lambda` can be accessed from
|
||||||
|
* @param lambdas (optional) Map of `Lambda` instances that have previously been written
|
||||||
|
*/
|
||||||
|
async function writeLambda(
|
||||||
|
lambda: Lambda,
|
||||||
|
path: string,
|
||||||
|
lambdas?: Map<Lambda, string>
|
||||||
|
) {
|
||||||
|
const dest = join(OUTPUT_DIR, 'functions', `${path}.func`);
|
||||||
|
|
||||||
|
// If the `lambda` has already been written to the filesystem at a different
|
||||||
|
// location then create a symlink to the previous location instead of copying
|
||||||
|
// the files again.
|
||||||
|
const existingLambdaPath = lambdas?.get(lambda);
|
||||||
|
if (existingLambdaPath) {
|
||||||
|
const destDir = dirname(dest);
|
||||||
|
const targetDest = join(
|
||||||
|
OUTPUT_DIR,
|
||||||
|
'functions',
|
||||||
|
`${existingLambdaPath}.func`
|
||||||
|
);
|
||||||
|
const target = relative(destDir, targetDest);
|
||||||
|
await fs.mkdirp(destDir);
|
||||||
|
await fs.symlink(target, dest);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
lambdas?.set(lambda, path);
|
||||||
|
|
||||||
|
await fs.mkdirp(dest);
|
||||||
|
const ops: Promise<any>[] = [];
|
||||||
|
if (lambda.files) {
|
||||||
|
// `files` is defined
|
||||||
|
ops.push(download(lambda.files, dest));
|
||||||
|
} else if (lambda.zipBuffer) {
|
||||||
|
// Builders that use the deprecated `createLambda()` might only have `zipBuffer`
|
||||||
|
ops.push(unzip(lambda.zipBuffer, dest));
|
||||||
|
} else {
|
||||||
|
throw new Error('Malformed `Lambda` - no "files" present');
|
||||||
|
}
|
||||||
|
|
||||||
|
const config = {
|
||||||
|
...lambda,
|
||||||
|
type: undefined,
|
||||||
|
files: undefined,
|
||||||
|
zipBuffer: undefined,
|
||||||
|
};
|
||||||
|
const configPath = join(dest, '.vc-config.json');
|
||||||
|
ops.push(
|
||||||
|
fs.writeJSON(configPath, config, {
|
||||||
|
spaces: 2,
|
||||||
|
})
|
||||||
|
);
|
||||||
|
await Promise.all(ops);
|
||||||
|
|
||||||
|
// XXX: remove any `.vercel/builders` directories that were
|
||||||
|
// extracted into the `dest` dir. This is a temporary band-aid
|
||||||
|
// to make `vercel-php` work since it is inadvertently including
|
||||||
|
// `.vercel/builders` into the Lambda files due to glob syntax.
|
||||||
|
// See: https://github.com/juicyfx/vercel-php/pull/232
|
||||||
|
for await (const dir of findDirs('.vercel', dest)) {
|
||||||
|
const absDir = join(dest, dir);
|
||||||
|
const entries = await fs.readdir(absDir);
|
||||||
|
if (entries.includes('cache')) {
|
||||||
|
// Delete everything except for "cache"
|
||||||
|
await Promise.all(
|
||||||
|
entries
|
||||||
|
.filter(e => e !== 'cache')
|
||||||
|
.map(entry => fs.remove(join(absDir, entry)))
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
// Delete the entire `.vercel` directory
|
||||||
|
await fs.remove(absDir);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* When the Root Directory setting is utilized, merge the contents of the
|
||||||
|
* `.vercel/output` directory that was specified by the Builder into the
|
||||||
|
* `vc build` output directory.
|
||||||
|
*/
|
||||||
|
async function mergeBuilderOutput(buildResult: BuildResultBuildOutput) {
|
||||||
|
const absOutputDir = resolve(OUTPUT_DIR);
|
||||||
|
if (absOutputDir === buildResult.buildOutputPath) {
|
||||||
|
// `.vercel/output` dir is already in the correct location,
|
||||||
|
// so no need to do anything
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
await fs.copy(buildResult.buildOutputPath, OUTPUT_DIR);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Attempts to return the file extension (i.e. `.html`) from the given
|
||||||
|
* `File` instance, based on its actual filesystem path and/or the
|
||||||
|
* "content-type" of the File.
|
||||||
|
*/
|
||||||
|
function getFileExtension(file: File): string {
|
||||||
|
let ext = '';
|
||||||
|
if (file.type === 'FileFsRef') {
|
||||||
|
ext = extname(file.fsPath);
|
||||||
|
}
|
||||||
|
if (!ext && file.contentType) {
|
||||||
|
const e = mimeTypes.extension(file.contentType);
|
||||||
|
if (e) {
|
||||||
|
ext = `.${e}`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return ext;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an async iterator that scans a directory
|
||||||
|
* for sub-directories with the matching `name`.
|
||||||
|
*/
|
||||||
|
export async function* findDirs(
|
||||||
|
name: string,
|
||||||
|
dir: string,
|
||||||
|
root = dir
|
||||||
|
): AsyncIterable<string> {
|
||||||
|
let paths: string[];
|
||||||
|
try {
|
||||||
|
paths = await fs.readdir(dir);
|
||||||
|
} catch (err: any) {
|
||||||
|
if (err.code !== 'ENOENT') {
|
||||||
|
throw err;
|
||||||
|
}
|
||||||
|
paths = [];
|
||||||
|
}
|
||||||
|
for (const path of paths) {
|
||||||
|
const abs = join(dir, path);
|
||||||
|
const s = await fs.stat(abs);
|
||||||
|
if (s.isDirectory()) {
|
||||||
|
if (path === name) {
|
||||||
|
yield relative(root, abs);
|
||||||
|
} else {
|
||||||
|
yield* findDirs(name, abs, root);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -2,6 +2,16 @@ import title from 'title';
|
|||||||
import pkg from './pkg';
|
import pkg from './pkg';
|
||||||
import cmd from './output/cmd';
|
import cmd from './output/cmd';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The package name defined in the CLI's `package.json` file (`vercel`).
|
||||||
|
*/
|
||||||
|
export const name = pkg.name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Unicode symbol used to represent the CLI.
|
||||||
|
*/
|
||||||
|
export const logo = '▲';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the package name such as `vercel` or `now`.
|
* Returns the package name such as `vercel` or `now`.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -5,12 +5,14 @@ import { join } from 'path';
|
|||||||
|
|
||||||
export type ProjectLinkAndSettings = ProjectLink & {
|
export type ProjectLinkAndSettings = ProjectLink & {
|
||||||
settings: {
|
settings: {
|
||||||
|
installCommand: Project['installCommand'];
|
||||||
buildCommand: Project['buildCommand'];
|
buildCommand: Project['buildCommand'];
|
||||||
devCommand: Project['devCommand'];
|
devCommand: Project['devCommand'];
|
||||||
outputDirectory: Project['outputDirectory'];
|
outputDirectory: Project['outputDirectory'];
|
||||||
directoryListing: Project['directoryListing'];
|
directoryListing: Project['directoryListing'];
|
||||||
rootDirectory: Project['rootDirectory'];
|
rootDirectory: Project['rootDirectory'];
|
||||||
framework: Project['framework'];
|
framework: Project['framework'];
|
||||||
|
nodeVersion: Project['nodeVersion'];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -22,20 +24,22 @@ export async function writeProjectSettings(
|
|||||||
project: Project,
|
project: Project,
|
||||||
org: Org
|
org: Org
|
||||||
) {
|
) {
|
||||||
const data = {
|
const projectLinkAndSettings: ProjectLinkAndSettings = {
|
||||||
projectId: project.id,
|
projectId: project.id,
|
||||||
orgId: org.id,
|
orgId: org.id,
|
||||||
settings: {
|
settings: {
|
||||||
buildCommand: project.buildCommand,
|
|
||||||
devCommand: project.devCommand,
|
|
||||||
outputDirectory: project.outputDirectory,
|
|
||||||
directoryListing: project.directoryListing,
|
|
||||||
rootDirectory: project.rootDirectory,
|
|
||||||
framework: project.framework,
|
framework: project.framework,
|
||||||
|
devCommand: project.devCommand,
|
||||||
|
installCommand: project.installCommand,
|
||||||
|
buildCommand: project.buildCommand,
|
||||||
|
outputDirectory: project.outputDirectory,
|
||||||
|
rootDirectory: project.rootDirectory,
|
||||||
|
directoryListing: project.directoryListing,
|
||||||
|
nodeVersion: project.nodeVersion,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const path = join(cwd, VERCEL_DIR, VERCEL_DIR_PROJECT);
|
const path = join(cwd, VERCEL_DIR, VERCEL_DIR_PROJECT);
|
||||||
return await outputJSON(path, data, {
|
return await outputJSON(path, projectLinkAndSettings, {
|
||||||
spaces: 2,
|
spaces: 2,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
.next
|
.next
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
!.vercel
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
.next
|
.next
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
!.vercel
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vercel/client",
|
"name": "@vercel/client",
|
||||||
"version": "11.0.3",
|
"version": "11.0.4-canary.0",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
"homepage": "https://vercel.com",
|
"homepage": "https://vercel.com",
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vercel/build-utils": "3.1.0",
|
"@vercel/build-utils": "3.1.1-canary.0",
|
||||||
"@zeit/fetch": "5.2.0",
|
"@zeit/fetch": "5.2.0",
|
||||||
"async-retry": "1.2.3",
|
"async-retry": "1.2.3",
|
||||||
"async-sema": "3.0.0",
|
"async-sema": "3.0.0",
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
foo
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
baz
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
qux
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
bar
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
baz
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
qux
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
bar
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vercel/go",
|
"name": "@vercel/go",
|
||||||
"version": "1.4.3",
|
"version": "1.4.4-canary.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./dist/index",
|
"main": "./dist/index",
|
||||||
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/go",
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/go",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"@types/fs-extra": "^5.0.5",
|
"@types/fs-extra": "^5.0.5",
|
||||||
"@types/node-fetch": "^2.3.0",
|
"@types/node-fetch": "^2.3.0",
|
||||||
"@types/tar": "^4.0.0",
|
"@types/tar": "^4.0.0",
|
||||||
"@vercel/build-utils": "3.1.0",
|
"@vercel/build-utils": "3.1.1-canary.0",
|
||||||
"@vercel/ncc": "0.24.0",
|
"@vercel/ncc": "0.24.0",
|
||||||
"async-retry": "1.3.1",
|
"async-retry": "1.3.1",
|
||||||
"execa": "^1.0.0",
|
"execa": "^1.0.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vercel/next",
|
"name": "@vercel/next",
|
||||||
"version": "2.8.66",
|
"version": "2.8.67-canary.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./dist/index",
|
"main": "./dist/index",
|
||||||
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
"@types/semver": "6.0.0",
|
"@types/semver": "6.0.0",
|
||||||
"@types/text-table": "0.2.1",
|
"@types/text-table": "0.2.1",
|
||||||
"@types/webpack-sources": "3.2.0",
|
"@types/webpack-sources": "3.2.0",
|
||||||
"@vercel/build-utils": "3.1.0",
|
"@vercel/build-utils": "3.1.1-canary.0",
|
||||||
"@vercel/nft": "0.19.0",
|
"@vercel/nft": "0.19.0",
|
||||||
"@vercel/routing-utils": "1.13.3",
|
"@vercel/routing-utils": "1.13.3",
|
||||||
"async-sema": "3.0.1",
|
"async-sema": "3.0.1",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vercel/node",
|
"name": "@vercel/node",
|
||||||
"version": "1.15.3",
|
"version": "1.15.4-canary.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./dist/index",
|
"main": "./dist/index",
|
||||||
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
"@types/etag": "1.8.0",
|
"@types/etag": "1.8.0",
|
||||||
"@types/jest": "27.4.1",
|
"@types/jest": "27.4.1",
|
||||||
"@types/test-listen": "1.1.0",
|
"@types/test-listen": "1.1.0",
|
||||||
"@vercel/build-utils": "3.1.0",
|
"@vercel/build-utils": "3.1.1-canary.0",
|
||||||
"@vercel/ncc": "0.24.0",
|
"@vercel/ncc": "0.24.0",
|
||||||
"@vercel/nft": "0.19.0",
|
"@vercel/nft": "0.19.0",
|
||||||
"content-type": "1.0.4",
|
"content-type": "1.0.4",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vercel/python",
|
"name": "@vercel/python",
|
||||||
"version": "2.3.3",
|
"version": "2.3.4-canary.0",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/execa": "^0.9.0",
|
"@types/execa": "^0.9.0",
|
||||||
"@types/jest": "27.4.1",
|
"@types/jest": "27.4.1",
|
||||||
"@vercel/build-utils": "3.1.0",
|
"@vercel/build-utils": "3.1.1-canary.0",
|
||||||
"@vercel/ncc": "0.24.0",
|
"@vercel/ncc": "0.24.0",
|
||||||
"execa": "^1.0.0",
|
"execa": "^1.0.0",
|
||||||
"typescript": "4.3.4"
|
"typescript": "4.3.4"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vercel/redwood",
|
"name": "@vercel/redwood",
|
||||||
"version": "0.8.3",
|
"version": "0.8.4-canary.0",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://vercel.com/docs",
|
"homepage": "https://vercel.com/docs",
|
||||||
@@ -28,6 +28,6 @@
|
|||||||
"@types/aws-lambda": "8.10.19",
|
"@types/aws-lambda": "8.10.19",
|
||||||
"@types/node": "*",
|
"@types/node": "*",
|
||||||
"@types/semver": "6.0.0",
|
"@types/semver": "6.0.0",
|
||||||
"@vercel/build-utils": "3.1.0"
|
"@vercel/build-utils": "3.1.1-canary.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
12
packages/remix/build.js
Normal file
12
packages/remix/build.js
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
const execa = require('execa');
|
||||||
|
const { remove } = require('fs-extra');
|
||||||
|
|
||||||
|
async function main() {
|
||||||
|
await remove('dist');
|
||||||
|
await execa('tsc', [], { stdio: 'inherit' });
|
||||||
|
}
|
||||||
|
|
||||||
|
main().catch(err => {
|
||||||
|
console.error(err);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
||||||
3
packages/remix/default-server.js
Normal file
3
packages/remix/default-server.js
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
const { createRequestHandler } = require('@remix-run/vercel');
|
||||||
|
const build = require('./');
|
||||||
|
module.exports = createRequestHandler({ build });
|
||||||
5
packages/remix/jest.config.js
Normal file
5
packages/remix/jest.config.js
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
/** @type {import('@ts-jest/dist/types').InitialOptionsTsJest} */
|
||||||
|
module.exports = {
|
||||||
|
preset: 'ts-jest',
|
||||||
|
testEnvironment: 'node',
|
||||||
|
};
|
||||||
33
packages/remix/package.json
Normal file
33
packages/remix/package.json
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"name": "@vercel/remix",
|
||||||
|
"version": "0.0.2-canary.0",
|
||||||
|
"license": "MIT",
|
||||||
|
"main": "./dist/index.js",
|
||||||
|
"homepage": "https://vercel.com/docs",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/vercel/vercel.git",
|
||||||
|
"directory": "packages/remix"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "node build.js",
|
||||||
|
"test-integration-once": "yarn test test/test.js",
|
||||||
|
"test": "jest --env node --verbose --bail --runInBand",
|
||||||
|
"test-unit": "yarn test test/build.test.ts",
|
||||||
|
"prepublishOnly": "node build.js"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist",
|
||||||
|
"default-server.js"
|
||||||
|
],
|
||||||
|
"dependencies": {
|
||||||
|
"@remix-run/vercel": "1.4.3",
|
||||||
|
"@vercel/nft": "0.19.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/jest": "27.5.1",
|
||||||
|
"@types/node": "*",
|
||||||
|
"@vercel/build-utils": "3.1.1-canary.0",
|
||||||
|
"typescript": "4.6.4"
|
||||||
|
}
|
||||||
|
}
|
||||||
266
packages/remix/src/build.ts
Normal file
266
packages/remix/src/build.ts
Normal file
@@ -0,0 +1,266 @@
|
|||||||
|
import { promises as fs } from 'fs';
|
||||||
|
import { dirname, join } from 'path';
|
||||||
|
import {
|
||||||
|
debug,
|
||||||
|
download,
|
||||||
|
execCommand,
|
||||||
|
FileFsRef,
|
||||||
|
getNodeVersion,
|
||||||
|
getSpawnOptions,
|
||||||
|
glob,
|
||||||
|
NodejsLambda,
|
||||||
|
readConfigFile,
|
||||||
|
runNpmInstall,
|
||||||
|
runPackageJsonScript,
|
||||||
|
scanParentDirs,
|
||||||
|
} from '@vercel/build-utils';
|
||||||
|
import type {
|
||||||
|
BuildV2,
|
||||||
|
Files,
|
||||||
|
NodeVersion,
|
||||||
|
PackageJson,
|
||||||
|
} from '@vercel/build-utils';
|
||||||
|
import { nodeFileTrace } from '@vercel/nft';
|
||||||
|
import type { AppConfig } from './types';
|
||||||
|
|
||||||
|
export const build: BuildV2 = async ({
|
||||||
|
entrypoint,
|
||||||
|
files,
|
||||||
|
workPath,
|
||||||
|
config,
|
||||||
|
meta = {},
|
||||||
|
}) => {
|
||||||
|
const { installCommand, buildCommand } = config;
|
||||||
|
|
||||||
|
await download(files, workPath, meta);
|
||||||
|
|
||||||
|
const mountpoint = dirname(entrypoint);
|
||||||
|
const entrypointFsDirname = join(workPath, mountpoint);
|
||||||
|
|
||||||
|
// Run "Install Command"
|
||||||
|
const nodeVersion = await getNodeVersion(
|
||||||
|
entrypointFsDirname,
|
||||||
|
undefined,
|
||||||
|
config,
|
||||||
|
meta
|
||||||
|
);
|
||||||
|
|
||||||
|
const spawnOpts = getSpawnOptions(meta, nodeVersion);
|
||||||
|
if (!spawnOpts.env) {
|
||||||
|
spawnOpts.env = {};
|
||||||
|
}
|
||||||
|
const { cliType, lockfileVersion } = await scanParentDirs(
|
||||||
|
entrypointFsDirname
|
||||||
|
);
|
||||||
|
if (cliType === 'npm') {
|
||||||
|
if (
|
||||||
|
typeof lockfileVersion === 'number' &&
|
||||||
|
lockfileVersion >= 2 &&
|
||||||
|
(nodeVersion?.major || 0) < 16
|
||||||
|
) {
|
||||||
|
// Ensure that npm 7 is at the beginning of the `$PATH`
|
||||||
|
spawnOpts.env.PATH = `/node16/bin-npm7:${spawnOpts.env.PATH}`;
|
||||||
|
console.log('Detected `package-lock.json` generated by npm 7...');
|
||||||
|
}
|
||||||
|
} else if (cliType === 'pnpm') {
|
||||||
|
if (typeof lockfileVersion === 'number' && lockfileVersion === 5.4) {
|
||||||
|
// Ensure that pnpm 7 is at the beginning of the `$PATH`
|
||||||
|
spawnOpts.env.PATH = `/pnpm7/node_modules/.bin:${spawnOpts.env.PATH}`;
|
||||||
|
console.log('Detected `pnpm-lock.yaml` generated by pnpm 7...');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (typeof installCommand === 'string') {
|
||||||
|
if (installCommand.trim()) {
|
||||||
|
console.log(`Running "install" command: \`${installCommand}\`...`);
|
||||||
|
|
||||||
|
const env: Record<string, string> = {
|
||||||
|
YARN_NODE_LINKER: 'node-modules',
|
||||||
|
...spawnOpts.env,
|
||||||
|
};
|
||||||
|
|
||||||
|
await execCommand(installCommand, {
|
||||||
|
...spawnOpts,
|
||||||
|
env,
|
||||||
|
cwd: entrypointFsDirname,
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
console.log(`Skipping "install" command...`);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
await runNpmInstall(entrypointFsDirname, [], spawnOpts, meta, nodeVersion);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Make `remix build` output production mode
|
||||||
|
spawnOpts.env.NODE_ENV = 'production';
|
||||||
|
|
||||||
|
// Run "Build Command"
|
||||||
|
if (buildCommand) {
|
||||||
|
debug(`Executing build command "${buildCommand}"`);
|
||||||
|
await execCommand(buildCommand, {
|
||||||
|
...spawnOpts,
|
||||||
|
cwd: entrypointFsDirname,
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
const pkg = await readConfigFile<PackageJson>(
|
||||||
|
join(entrypointFsDirname, 'package.json')
|
||||||
|
);
|
||||||
|
if (hasScript('vercel-build', pkg)) {
|
||||||
|
debug(`Executing "yarn vercel-build"`);
|
||||||
|
await runPackageJsonScript(
|
||||||
|
entrypointFsDirname,
|
||||||
|
'vercel-build',
|
||||||
|
spawnOpts
|
||||||
|
);
|
||||||
|
} else if (hasScript('build', pkg)) {
|
||||||
|
debug(`Executing "yarn build"`);
|
||||||
|
await runPackageJsonScript(entrypointFsDirname, 'build', spawnOpts);
|
||||||
|
} else {
|
||||||
|
await execCommand('remix build', {
|
||||||
|
...spawnOpts,
|
||||||
|
cwd: entrypointFsDirname,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
let serverBuildPath = 'build/index.js';
|
||||||
|
let needsHandler = true;
|
||||||
|
try {
|
||||||
|
const remixConfig: AppConfig = require(join(
|
||||||
|
entrypointFsDirname,
|
||||||
|
'remix.config'
|
||||||
|
));
|
||||||
|
|
||||||
|
// If `serverBuildTarget === 'vercel'` then Remix will output a handler
|
||||||
|
// that is already in Vercel (req, res) format, so don't inject the handler
|
||||||
|
if (remixConfig.serverBuildTarget) {
|
||||||
|
if (remixConfig.serverBuildTarget !== 'vercel') {
|
||||||
|
throw new Error(
|
||||||
|
`\`serverBuildTarget\` in Remix config must be "vercel" (got "${remixConfig.serverBuildTarget}")`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
serverBuildPath = 'api/index.js';
|
||||||
|
needsHandler = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (remixConfig.serverBuildPath) {
|
||||||
|
// Explicit file path where the server output file will be
|
||||||
|
serverBuildPath = remixConfig.serverBuildPath;
|
||||||
|
} else if (remixConfig.serverBuildDirectory) {
|
||||||
|
// Explicit directory path the server output will be
|
||||||
|
serverBuildPath = join(remixConfig.serverBuildDirectory, 'index.js');
|
||||||
|
}
|
||||||
|
} catch (err: any) {
|
||||||
|
// Ignore error if `remix.config.js` does not exist
|
||||||
|
if (err.code !== 'MODULE_NOT_FOUND') throw err;
|
||||||
|
}
|
||||||
|
|
||||||
|
const [staticFiles, renderFunction] = await Promise.all([
|
||||||
|
glob('**', join(entrypointFsDirname, 'public')),
|
||||||
|
createRenderFunction(
|
||||||
|
entrypointFsDirname,
|
||||||
|
serverBuildPath,
|
||||||
|
needsHandler,
|
||||||
|
nodeVersion
|
||||||
|
),
|
||||||
|
]);
|
||||||
|
|
||||||
|
return {
|
||||||
|
routes: [
|
||||||
|
{
|
||||||
|
src: '^/build/(.*)$',
|
||||||
|
headers: { 'cache-control': 'public, max-age=31536000, immutable' },
|
||||||
|
continue: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
handle: 'filesystem',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: '/(.*)',
|
||||||
|
dest: '/render',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
output: {
|
||||||
|
render: renderFunction,
|
||||||
|
...staticFiles,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
function hasScript(scriptName: string, pkg: PackageJson | null) {
|
||||||
|
const scripts = (pkg && pkg.scripts) || {};
|
||||||
|
return typeof scripts[scriptName] === 'string';
|
||||||
|
}
|
||||||
|
|
||||||
|
async function createRenderFunction(
|
||||||
|
rootDir: string,
|
||||||
|
serverBuildPath: string,
|
||||||
|
needsHandler: boolean,
|
||||||
|
nodeVersion: NodeVersion
|
||||||
|
): Promise<NodejsLambda> {
|
||||||
|
const files: Files = {};
|
||||||
|
const handler = needsHandler
|
||||||
|
? join(dirname(serverBuildPath), '__vc_handler.js')
|
||||||
|
: serverBuildPath;
|
||||||
|
const handlerPath = join(rootDir, handler);
|
||||||
|
|
||||||
|
if (needsHandler) {
|
||||||
|
// Copy the `default-server.js` file into the "build" directory
|
||||||
|
const sourceHandlerPath = join(__dirname, '../default-server.js');
|
||||||
|
await fs.copyFile(sourceHandlerPath, handlerPath);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Trace the handler with `@vercel/nft`
|
||||||
|
const trace = await nodeFileTrace([handlerPath], {
|
||||||
|
base: rootDir,
|
||||||
|
});
|
||||||
|
|
||||||
|
let needsVercelAdapter = false;
|
||||||
|
for (const warning of trace.warnings) {
|
||||||
|
if (warning.message.includes("'@remix-run/vercel'")) {
|
||||||
|
needsVercelAdapter = true;
|
||||||
|
} else if (warning.stack) {
|
||||||
|
debug(warning.stack.replace('Error: ', 'Warning: '));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (const file of trace.fileList) {
|
||||||
|
files[file] = await FileFsRef.fromFsPath({ fsPath: join(rootDir, file) });
|
||||||
|
}
|
||||||
|
|
||||||
|
if (needsVercelAdapter) {
|
||||||
|
// Package in the Builder's version of `@remix-run/vercel` Runtime adapter
|
||||||
|
const remixVercelPackageJsonPath = require.resolve(
|
||||||
|
'@remix-run/vercel/package.json',
|
||||||
|
{
|
||||||
|
paths: [__dirname],
|
||||||
|
}
|
||||||
|
);
|
||||||
|
const remixVercelPackageJson: PackageJson = require(remixVercelPackageJsonPath);
|
||||||
|
const remixVercelDir = dirname(remixVercelPackageJsonPath);
|
||||||
|
const remixVercelEntrypoint = join(remixVercelDir, 'index.js');
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`Warning: Implicitly adding \`${remixVercelPackageJson.name}\` v${remixVercelPackageJson.version} to your project. You should add this dependency to your \`package.json\` file.`
|
||||||
|
);
|
||||||
|
|
||||||
|
const adapterBase = join(remixVercelDir, '../../..');
|
||||||
|
const adapterTrace = await nodeFileTrace([remixVercelEntrypoint], {
|
||||||
|
base: adapterBase,
|
||||||
|
});
|
||||||
|
for (const file of adapterTrace.fileList) {
|
||||||
|
files[file] = await FileFsRef.fromFsPath({
|
||||||
|
fsPath: join(adapterBase, file),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const lambda = new NodejsLambda({
|
||||||
|
files,
|
||||||
|
handler,
|
||||||
|
runtime: nodeVersion.runtime,
|
||||||
|
shouldAddHelpers: false,
|
||||||
|
shouldAddSourcemapSupport: false,
|
||||||
|
});
|
||||||
|
|
||||||
|
return lambda;
|
||||||
|
}
|
||||||
3
packages/remix/src/index.ts
Normal file
3
packages/remix/src/index.ts
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
export const version = 2;
|
||||||
|
export * from './build';
|
||||||
|
export * from './prepare-cache';
|
||||||
38
packages/remix/src/prepare-cache.ts
Normal file
38
packages/remix/src/prepare-cache.ts
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
import { dirname, join, relative } from 'path';
|
||||||
|
import { glob } from '@vercel/build-utils';
|
||||||
|
import type { PrepareCache } from '@vercel/build-utils';
|
||||||
|
import type { AppConfig } from './types';
|
||||||
|
|
||||||
|
export const prepareCache: PrepareCache = async ({
|
||||||
|
entrypoint,
|
||||||
|
repoRootPath,
|
||||||
|
workPath,
|
||||||
|
}) => {
|
||||||
|
let cacheDirectory = '.cache';
|
||||||
|
const mountpoint = dirname(entrypoint);
|
||||||
|
const entrypointFsDirname = join(workPath, mountpoint);
|
||||||
|
try {
|
||||||
|
const remixConfig: AppConfig = require(join(
|
||||||
|
entrypointFsDirname,
|
||||||
|
'remix.config'
|
||||||
|
));
|
||||||
|
if (remixConfig.cacheDirectory) {
|
||||||
|
cacheDirectory = remixConfig.cacheDirectory;
|
||||||
|
}
|
||||||
|
} catch (err: any) {
|
||||||
|
// Ignore error if `remix.config.js` does not exist
|
||||||
|
if (err.code !== 'MODULE_NOT_FOUND') throw err;
|
||||||
|
}
|
||||||
|
|
||||||
|
const root = repoRootPath || workPath;
|
||||||
|
|
||||||
|
const [nodeModulesFiles, cacheDirFiles] = await Promise.all([
|
||||||
|
// Cache `node_modules`
|
||||||
|
glob('**/node_modules/**', root),
|
||||||
|
|
||||||
|
// Cache the Remix "cacheDirectory" (typically `.cache`)
|
||||||
|
glob(relative(root, join(entrypointFsDirname, cacheDirectory, '**')), root),
|
||||||
|
]);
|
||||||
|
|
||||||
|
return { ...nodeModulesFiles, ...cacheDirFiles };
|
||||||
|
};
|
||||||
7
packages/remix/src/types.ts
Normal file
7
packages/remix/src/types.ts
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
// Stripped down version of `@remix-run/dev` AppConfig
|
||||||
|
export interface AppConfig {
|
||||||
|
cacheDirectory?: string;
|
||||||
|
serverBuildDirectory?: string;
|
||||||
|
serverBuildPath?: string;
|
||||||
|
serverBuildTarget?: string;
|
||||||
|
}
|
||||||
53
packages/remix/test/build.test.ts
vendored
Normal file
53
packages/remix/test/build.test.ts
vendored
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
import assert from 'assert';
|
||||||
|
import { join } from 'path';
|
||||||
|
import { NodejsLambda } from '@vercel/build-utils';
|
||||||
|
import { build, prepareCache } from '../src';
|
||||||
|
|
||||||
|
jest.setTimeout(10 * 60 * 1000);
|
||||||
|
|
||||||
|
const fixture = (name: string) => join(__dirname, 'fixtures', name);
|
||||||
|
|
||||||
|
describe('build()', () => {
|
||||||
|
it('should build fixture "01-remix-basics"', async () => {
|
||||||
|
if (process.platform === 'win32') {
|
||||||
|
// Fails on Windows (https://github.com/vercel/vercel/runs/6484955910):
|
||||||
|
// > 'remix' is not recognized as an internal or external command,
|
||||||
|
console.log('Skipping test on Windows.');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const workPath = fixture('01-remix-basics');
|
||||||
|
const result = await build({
|
||||||
|
files: {},
|
||||||
|
entrypoint: 'package.json',
|
||||||
|
workPath,
|
||||||
|
config: {},
|
||||||
|
});
|
||||||
|
assert('output' in result);
|
||||||
|
const names = Object.keys(result.output);
|
||||||
|
|
||||||
|
expect('favicon.ico' in result.output).toEqual(true);
|
||||||
|
expect(names.filter(n => n.startsWith('build/')).length).toBeGreaterThan(5);
|
||||||
|
|
||||||
|
const render = result.output.render;
|
||||||
|
expect(render.type).toEqual('Lambda');
|
||||||
|
expect((render as NodejsLambda).launcherType).toEqual('Nodejs');
|
||||||
|
|
||||||
|
const cache = await prepareCache({
|
||||||
|
files: {},
|
||||||
|
entrypoint: 'package.json',
|
||||||
|
workPath,
|
||||||
|
config: {},
|
||||||
|
});
|
||||||
|
const cacheNames = Object.keys(cache);
|
||||||
|
|
||||||
|
// Assert `node_modules` was cached
|
||||||
|
const nodeModulesFiles = cacheNames.filter(n =>
|
||||||
|
n.startsWith('node_modules/')
|
||||||
|
);
|
||||||
|
expect(nodeModulesFiles.length).toBeGreaterThanOrEqual(10);
|
||||||
|
|
||||||
|
// Assert `.cache` was cached
|
||||||
|
const dotCacheFiles = cacheNames.filter(n => n.startsWith('.cache/'));
|
||||||
|
expect(dotCacheFiles.length).toBeGreaterThanOrEqual(4);
|
||||||
|
});
|
||||||
|
});
|
||||||
6
packages/remix/test/fixtures/01-remix-basics/.gitignore
vendored
Normal file
6
packages/remix/test/fixtures/01-remix-basics/.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
node_modules
|
||||||
|
|
||||||
|
/.cache
|
||||||
|
/build
|
||||||
|
/public/build
|
||||||
|
.env
|
||||||
53
packages/remix/test/fixtures/01-remix-basics/README.md
vendored
Normal file
53
packages/remix/test/fixtures/01-remix-basics/README.md
vendored
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
# Welcome to Remix!
|
||||||
|
|
||||||
|
- [Remix Docs](https://remix.run/docs)
|
||||||
|
|
||||||
|
## Development
|
||||||
|
|
||||||
|
From your terminal:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm run dev
|
||||||
|
```
|
||||||
|
|
||||||
|
This starts your app in development mode, rebuilding assets on file changes.
|
||||||
|
|
||||||
|
## Deployment
|
||||||
|
|
||||||
|
First, build your app for production:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm run build
|
||||||
|
```
|
||||||
|
|
||||||
|
Then run the app in production mode:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm start
|
||||||
|
```
|
||||||
|
|
||||||
|
Now you'll need to pick a host to deploy it to.
|
||||||
|
|
||||||
|
### DIY
|
||||||
|
|
||||||
|
If you're familiar with deploying node applications, the built-in Remix app server is production-ready.
|
||||||
|
|
||||||
|
Make sure to deploy the output of `remix build`
|
||||||
|
|
||||||
|
- `build/`
|
||||||
|
- `public/build/`
|
||||||
|
|
||||||
|
### Using a Template
|
||||||
|
|
||||||
|
When you ran `npx create-remix@latest` there were a few choices for hosting. You can run that again to create a new project, then copy over your `app/` folder to the new project that's pre-configured for your target server.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cd ..
|
||||||
|
# create a new project, and pick a pre-configured host
|
||||||
|
npx create-remix@latest
|
||||||
|
cd my-new-remix-app
|
||||||
|
# remove the new project's app (not the old one!)
|
||||||
|
rm -rf app
|
||||||
|
# copy your app over
|
||||||
|
cp -R ../my-old-remix-app/app app
|
||||||
|
```
|
||||||
4
packages/remix/test/fixtures/01-remix-basics/app/entry.client.tsx
vendored
Normal file
4
packages/remix/test/fixtures/01-remix-basics/app/entry.client.tsx
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
import { RemixBrowser } from "@remix-run/react";
|
||||||
|
import { hydrate } from "react-dom";
|
||||||
|
|
||||||
|
hydrate(<RemixBrowser />, document);
|
||||||
21
packages/remix/test/fixtures/01-remix-basics/app/entry.server.tsx
vendored
Normal file
21
packages/remix/test/fixtures/01-remix-basics/app/entry.server.tsx
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
import type { EntryContext } from "@remix-run/node";
|
||||||
|
import { RemixServer } from "@remix-run/react";
|
||||||
|
import { renderToString } from "react-dom/server";
|
||||||
|
|
||||||
|
export default function handleRequest(
|
||||||
|
request: Request,
|
||||||
|
responseStatusCode: number,
|
||||||
|
responseHeaders: Headers,
|
||||||
|
remixContext: EntryContext
|
||||||
|
) {
|
||||||
|
let markup = renderToString(
|
||||||
|
<RemixServer context={remixContext} url={request.url} />
|
||||||
|
);
|
||||||
|
|
||||||
|
responseHeaders.set("Content-Type", "text/html");
|
||||||
|
|
||||||
|
return new Response("<!DOCTYPE html>" + markup, {
|
||||||
|
status: responseStatusCode,
|
||||||
|
headers: responseHeaders,
|
||||||
|
});
|
||||||
|
}
|
||||||
32
packages/remix/test/fixtures/01-remix-basics/app/root.tsx
vendored
Normal file
32
packages/remix/test/fixtures/01-remix-basics/app/root.tsx
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
import type { MetaFunction } from "@remix-run/node";
|
||||||
|
import {
|
||||||
|
Links,
|
||||||
|
LiveReload,
|
||||||
|
Meta,
|
||||||
|
Outlet,
|
||||||
|
Scripts,
|
||||||
|
ScrollRestoration,
|
||||||
|
} from "@remix-run/react";
|
||||||
|
|
||||||
|
export const meta: MetaFunction = () => ({
|
||||||
|
charset: "utf-8",
|
||||||
|
title: "New Remix App",
|
||||||
|
viewport: "width=device-width,initial-scale=1",
|
||||||
|
});
|
||||||
|
|
||||||
|
export default function App() {
|
||||||
|
return (
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<Meta />
|
||||||
|
<Links />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<Outlet />
|
||||||
|
<ScrollRestoration />
|
||||||
|
<Scripts />
|
||||||
|
<LiveReload />
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
);
|
||||||
|
}
|
||||||
32
packages/remix/test/fixtures/01-remix-basics/app/routes/index.tsx
vendored
Normal file
32
packages/remix/test/fixtures/01-remix-basics/app/routes/index.tsx
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
export default function Index() {
|
||||||
|
return (
|
||||||
|
<div style={{ fontFamily: "system-ui, sans-serif", lineHeight: "1.4" }}>
|
||||||
|
<h1>Welcome to Remix</h1>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
href="https://remix.run/tutorials/blog"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
|
15m Quickstart Blog Tutorial
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
href="https://remix.run/tutorials/jokes"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
|
Deep Dive Jokes App Tutorial
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a target="_blank" href="https://remix.run/docs" rel="noreferrer">
|
||||||
|
Remix Docs
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
28
packages/remix/test/fixtures/01-remix-basics/package.json
vendored
Normal file
28
packages/remix/test/fixtures/01-remix-basics/package.json
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"name": "remix-template-remix",
|
||||||
|
"private": true,
|
||||||
|
"description": "",
|
||||||
|
"license": "",
|
||||||
|
"sideEffects": false,
|
||||||
|
"scripts": {
|
||||||
|
"build": "remix build",
|
||||||
|
"dev": "remix dev",
|
||||||
|
"start": "remix-serve build"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@remix-run/node": "^1.4.3",
|
||||||
|
"@remix-run/react": "^1.4.3",
|
||||||
|
"@remix-run/serve": "^1.4.3",
|
||||||
|
"react": "^17.0.2",
|
||||||
|
"react-dom": "^17.0.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@remix-run/dev": "^1.4.3",
|
||||||
|
"@types/react": "^17.0.45",
|
||||||
|
"@types/react-dom": "^17.0.17",
|
||||||
|
"typescript": "^4.6.4"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
packages/remix/test/fixtures/01-remix-basics/public/favicon.ico
vendored
Normal file
BIN
packages/remix/test/fixtures/01-remix-basics/public/favicon.ico
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
10
packages/remix/test/fixtures/01-remix-basics/remix.config.js
vendored
Normal file
10
packages/remix/test/fixtures/01-remix-basics/remix.config.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/**
|
||||||
|
* @type {import('@remix-run/dev').AppConfig}
|
||||||
|
*/
|
||||||
|
module.exports = {
|
||||||
|
ignoredRouteFiles: ['**/.*'],
|
||||||
|
// appDirectory: "app",
|
||||||
|
// assetsBuildDirectory: "public/build",
|
||||||
|
// serverBuildPath: "build/index.js",
|
||||||
|
// publicPath: "/build/",
|
||||||
|
};
|
||||||
2
packages/remix/test/fixtures/01-remix-basics/remix.env.d.ts
vendored
Normal file
2
packages/remix/test/fixtures/01-remix-basics/remix.env.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/// <reference types="@remix-run/dev" />
|
||||||
|
/// <reference types="@remix-run/node/globals" />
|
||||||
22
packages/remix/test/fixtures/01-remix-basics/tsconfig.json
vendored
Normal file
22
packages/remix/test/fixtures/01-remix-basics/tsconfig.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"],
|
||||||
|
"compilerOptions": {
|
||||||
|
"lib": ["DOM", "DOM.Iterable", "ES2019"],
|
||||||
|
"isolatedModules": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"jsx": "react-jsx",
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"target": "ES2019",
|
||||||
|
"strict": true,
|
||||||
|
"allowJs": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"~/*": ["./app/*"]
|
||||||
|
},
|
||||||
|
|
||||||
|
// Remix takes care of building everything in `remix build`.
|
||||||
|
"noEmit": true
|
||||||
|
}
|
||||||
|
}
|
||||||
13
packages/remix/test/fixtures/01-remix-basics/vercel.json
vendored
Normal file
13
packages/remix/test/fixtures/01-remix-basics/vercel.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"builds": [
|
||||||
|
{
|
||||||
|
"src": "package.json",
|
||||||
|
"use": "@vercel/remix",
|
||||||
|
"config": {
|
||||||
|
"zeroConfig": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"probes": [{ "path": "/", "mustContain": "Welcome to Remix" }]
|
||||||
|
}
|
||||||
5598
packages/remix/test/fixtures/01-remix-basics/yarn.lock
vendored
Normal file
5598
packages/remix/test/fixtures/01-remix-basics/yarn.lock
vendored
Normal file
File diff suppressed because it is too large
Load Diff
34
packages/remix/test/test.js
vendored
Normal file
34
packages/remix/test/test.js
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
const fs = require('fs');
|
||||||
|
const path = require('path');
|
||||||
|
const { version } = require('../package.json');
|
||||||
|
|
||||||
|
const {
|
||||||
|
packAndDeploy,
|
||||||
|
testDeployment,
|
||||||
|
} = require('../../../test/lib/deployment/test-deployment.js');
|
||||||
|
|
||||||
|
jest.setTimeout(12 * 60 * 1000);
|
||||||
|
|
||||||
|
let builderUrl;
|
||||||
|
const buildUtilsUrl = version.includes('canary') ? '@canary' : undefined;
|
||||||
|
|
||||||
|
beforeAll(async () => {
|
||||||
|
const builderPath = path.resolve(__dirname, '..');
|
||||||
|
builderUrl = await packAndDeploy(builderPath);
|
||||||
|
console.log('builderUrl', builderUrl);
|
||||||
|
});
|
||||||
|
|
||||||
|
const fixturesPath = path.resolve(__dirname, 'fixtures');
|
||||||
|
|
||||||
|
// eslint-disable-next-line no-restricted-syntax
|
||||||
|
for (const fixture of fs.readdirSync(fixturesPath)) {
|
||||||
|
// eslint-disable-next-line no-loop-func
|
||||||
|
it(`should build ${fixture}`, async () => {
|
||||||
|
await expect(
|
||||||
|
testDeployment(
|
||||||
|
{ builderUrl, buildUtilsUrl },
|
||||||
|
path.join(fixturesPath, fixture)
|
||||||
|
)
|
||||||
|
).resolves.toBeDefined();
|
||||||
|
});
|
||||||
|
}
|
||||||
4
packages/remix/test/tsconfig.json
vendored
Normal file
4
packages/remix/test/tsconfig.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"extends": "../tsconfig.json",
|
||||||
|
"include": ["*.test.ts"]
|
||||||
|
}
|
||||||
21
packages/remix/tsconfig.json
Normal file
21
packages/remix/tsconfig.json
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"declaration": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"lib": ["esnext"],
|
||||||
|
"module": "commonjs",
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"noEmitOnError": true,
|
||||||
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
"noImplicitReturns": true,
|
||||||
|
"noUnusedLocals": true,
|
||||||
|
"noUnusedParameters": true,
|
||||||
|
"outDir": "./dist",
|
||||||
|
"types": ["node", "jest"],
|
||||||
|
"strict": true,
|
||||||
|
"target": "es2019",
|
||||||
|
"sourceMap": true
|
||||||
|
},
|
||||||
|
"include": ["src/**/*"],
|
||||||
|
"exclude": ["node_modules"]
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@vercel/ruby",
|
"name": "@vercel/ruby",
|
||||||
"author": "Nathan Cahill <nathan@nathancahill.com>",
|
"author": "Nathan Cahill <nathan@nathancahill.com>",
|
||||||
"version": "1.3.6",
|
"version": "1.3.7-canary.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./dist/index",
|
"main": "./dist/index",
|
||||||
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/ruby",
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/ruby",
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/fs-extra": "8.0.0",
|
"@types/fs-extra": "8.0.0",
|
||||||
"@types/semver": "6.0.0",
|
"@types/semver": "6.0.0",
|
||||||
"@vercel/build-utils": "3.1.0",
|
"@vercel/build-utils": "3.1.1-canary.0",
|
||||||
"@vercel/ncc": "0.24.0",
|
"@vercel/ncc": "0.24.0",
|
||||||
"execa": "2.0.4",
|
"execa": "2.0.4",
|
||||||
"fs-extra": "^7.0.1",
|
"fs-extra": "^7.0.1",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vercel/static-build",
|
"name": "@vercel/static-build",
|
||||||
"version": "0.25.2",
|
"version": "0.25.3-canary.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./dist/index",
|
"main": "./dist/index",
|
||||||
"homepage": "https://vercel.com/docs/build-step",
|
"homepage": "https://vercel.com/docs/build-step",
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
"@types/ms": "0.7.31",
|
"@types/ms": "0.7.31",
|
||||||
"@types/node-fetch": "2.5.4",
|
"@types/node-fetch": "2.5.4",
|
||||||
"@types/promise-timeout": "1.3.0",
|
"@types/promise-timeout": "1.3.0",
|
||||||
"@vercel/build-utils": "3.1.0",
|
"@vercel/build-utils": "3.1.1-canary.0",
|
||||||
"@vercel/frameworks": "0.9.1",
|
"@vercel/frameworks": "0.9.1",
|
||||||
"@vercel/ncc": "0.24.0",
|
"@vercel/ncc": "0.24.0",
|
||||||
"@vercel/routing-utils": "1.13.3",
|
"@vercel/routing-utils": "1.13.3",
|
||||||
|
|||||||
1
utils/run.js
vendored
1
utils/run.js
vendored
@@ -15,6 +15,7 @@ const allPackages = [
|
|||||||
'python',
|
'python',
|
||||||
'ruby',
|
'ruby',
|
||||||
'redwood',
|
'redwood',
|
||||||
|
'remix',
|
||||||
'static-build',
|
'static-build',
|
||||||
'cli',
|
'cli',
|
||||||
];
|
];
|
||||||
|
|||||||
542
yarn.lock
542
yarn.lock
@@ -602,6 +602,13 @@
|
|||||||
"@babel/helper-simple-access" "^7.10.1"
|
"@babel/helper-simple-access" "^7.10.1"
|
||||||
babel-plugin-dynamic-import-node "^2.3.3"
|
babel-plugin-dynamic-import-node "^2.3.3"
|
||||||
|
|
||||||
|
"@babel/runtime@^7.7.6":
|
||||||
|
version "7.17.9"
|
||||||
|
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72"
|
||||||
|
integrity sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==
|
||||||
|
dependencies:
|
||||||
|
regenerator-runtime "^0.13.4"
|
||||||
|
|
||||||
"@babel/template@^7.10.1", "@babel/template@^7.4.4":
|
"@babel/template@^7.10.1", "@babel/template@^7.4.4":
|
||||||
version "7.10.1"
|
version "7.10.1"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.10.1.tgz#e167154a94cb5f14b28dc58f5356d2162f539811"
|
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.10.1.tgz#e167154a94cb5f14b28dc58f5356d2162f539811"
|
||||||
@@ -1910,6 +1917,42 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" ">= 8"
|
"@types/node" ">= 8"
|
||||||
|
|
||||||
|
"@remix-run/node@1.4.3":
|
||||||
|
version "1.4.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@remix-run/node/-/node-1.4.3.tgz#73d1ade20df0f17e331fa4c0c980c56db1387e6e"
|
||||||
|
integrity sha512-2x3BQ2qrA1v4Viu+GYMNMxxflnT5QcyOsPNCNvLjLm4o1pODHxYmp+2TEcZRgDqSTXgA7PNYlsEgG0BN/T33QA==
|
||||||
|
dependencies:
|
||||||
|
"@remix-run/server-runtime" "1.4.3"
|
||||||
|
"@types/busboy" "^0.3.1"
|
||||||
|
"@types/node-fetch" "^2.5.12"
|
||||||
|
"@web-std/file" "^3.0.0"
|
||||||
|
abort-controller "^3.0.0"
|
||||||
|
blob-stream "^0.1.3"
|
||||||
|
busboy "^0.3.1"
|
||||||
|
cookie-signature "^1.1.0"
|
||||||
|
form-data "^4.0.0"
|
||||||
|
node-fetch "^2.6.1"
|
||||||
|
source-map-support "^0.5.21"
|
||||||
|
|
||||||
|
"@remix-run/server-runtime@1.4.3":
|
||||||
|
version "1.4.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@remix-run/server-runtime/-/server-runtime-1.4.3.tgz#d9a76ea5ff00492ff9275e43bb099e69ac80010d"
|
||||||
|
integrity sha512-NgzoEAlIuZWv53oZRgxGz+jqkEtAa+veAuxlp5/UcZ/VhygpYIcfKwdx4eCOqJOi1TqILNWrh3cedEVvV0jccQ==
|
||||||
|
dependencies:
|
||||||
|
"@types/cookie" "^0.4.0"
|
||||||
|
cookie "^0.4.1"
|
||||||
|
jsesc "^3.0.1"
|
||||||
|
react-router-dom "^6.2.2"
|
||||||
|
set-cookie-parser "^2.4.8"
|
||||||
|
source-map "^0.7.3"
|
||||||
|
|
||||||
|
"@remix-run/vercel@1.4.3":
|
||||||
|
version "1.4.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@remix-run/vercel/-/vercel-1.4.3.tgz#3fb4c52b13064bc7eb2d79277d8f50ff14b86357"
|
||||||
|
integrity sha512-ZNDmn/j8mU0rK+6VdMqZmWx50thlXtioNLJ0U6qic3hSFFr4vO1weRTUwRIFE3Gm3AxmmvcLxx581W2aTnReVQ==
|
||||||
|
dependencies:
|
||||||
|
"@remix-run/node" "1.4.3"
|
||||||
|
|
||||||
"@samverschueren/stream-to-observable@^0.3.0":
|
"@samverschueren/stream-to-observable@^0.3.0":
|
||||||
version "0.3.0"
|
version "0.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f"
|
resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f"
|
||||||
@@ -2124,6 +2167,13 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
|
"@types/busboy@^0.3.1":
|
||||||
|
version "0.3.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/busboy/-/busboy-0.3.2.tgz#2f29b017513415399c42632ae6a7cfcb1409b79c"
|
||||||
|
integrity sha512-iEvdm9Z9KdSs/ozuh1Z7ZsXrOl8F4M/CLMXPZHr3QuJ4d6Bjn+HBMC5EMKpwpAo8oi8iK9GZfFoHaIMrrZgwVw==
|
||||||
|
dependencies:
|
||||||
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/bytes@3.0.0":
|
"@types/bytes@3.0.0":
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/bytes/-/bytes-3.0.0.tgz#549eeacd0a8fecfaa459334583a4edcee738e6db"
|
resolved "https://registry.yarnpkg.com/@types/bytes/-/bytes-3.0.0.tgz#549eeacd0a8fecfaa459334583a4edcee738e6db"
|
||||||
@@ -2166,6 +2216,11 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.3.3.tgz#85bc74ba782fb7aa3a514d11767832b0e3bc6803"
|
resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.3.3.tgz#85bc74ba782fb7aa3a514d11767832b0e3bc6803"
|
||||||
integrity sha512-LKVP3cgXBT9RYj+t+9FDKwS5tdI+rPBXaNSkma7hvqy35lc7mAokC2zsqWJH0LaqIt3B962nuYI77hsJoT1gow==
|
integrity sha512-LKVP3cgXBT9RYj+t+9FDKwS5tdI+rPBXaNSkma7hvqy35lc7mAokC2zsqWJH0LaqIt3B962nuYI77hsJoT1gow==
|
||||||
|
|
||||||
|
"@types/cookie@^0.4.0":
|
||||||
|
version "0.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.4.1.tgz#bfd02c1f2224567676c1545199f87c3a861d878d"
|
||||||
|
integrity sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==
|
||||||
|
|
||||||
"@types/cross-spawn@6.0.0":
|
"@types/cross-spawn@6.0.0":
|
||||||
version "6.0.0"
|
version "6.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/cross-spawn/-/cross-spawn-6.0.0.tgz#320aaf1d1a12979f1b84fe7a5590a7e860bf3a80"
|
resolved "https://registry.yarnpkg.com/@types/cross-spawn/-/cross-spawn-6.0.0.tgz#320aaf1d1a12979f1b84fe7a5590a7e860bf3a80"
|
||||||
@@ -2357,6 +2412,14 @@
|
|||||||
jest-matcher-utils "^27.0.0"
|
jest-matcher-utils "^27.0.0"
|
||||||
pretty-format "^27.0.0"
|
pretty-format "^27.0.0"
|
||||||
|
|
||||||
|
"@types/jest@27.5.1":
|
||||||
|
version "27.5.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.5.1.tgz#2c8b6dc6ff85c33bcd07d0b62cb3d19ddfdb3ab9"
|
||||||
|
integrity sha512-fUy7YRpT+rHXto1YlL+J9rs0uLGyiqVt3ZOTQR+4ROc47yNl8WLdVLgUloBRhOxP1PZvguHl44T3H0wAWxahYQ==
|
||||||
|
dependencies:
|
||||||
|
jest-matcher-utils "^27.0.0"
|
||||||
|
pretty-format "^27.0.0"
|
||||||
|
|
||||||
"@types/js-yaml@3.12.1":
|
"@types/js-yaml@3.12.1":
|
||||||
version "3.12.1"
|
version "3.12.1"
|
||||||
resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-3.12.1.tgz#5c6f4a1eabca84792fbd916f0cb40847f123c656"
|
resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-3.12.1.tgz#5c6f4a1eabca84792fbd916f0cb40847f123c656"
|
||||||
@@ -2476,6 +2539,14 @@
|
|||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
form-data "^3.0.0"
|
form-data "^3.0.0"
|
||||||
|
|
||||||
|
"@types/node-fetch@^2.5.12":
|
||||||
|
version "2.6.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.1.tgz#8f127c50481db65886800ef496f20bbf15518975"
|
||||||
|
integrity sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==
|
||||||
|
dependencies:
|
||||||
|
"@types/node" "*"
|
||||||
|
form-data "^3.0.0"
|
||||||
|
|
||||||
"@types/node@*", "@types/node@>= 8":
|
"@types/node@*", "@types/node@>= 8":
|
||||||
version "14.0.12"
|
version "14.0.12"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.12.tgz#9c1d8ffb8084e8936603a6122a7649e40e68e04b"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.12.tgz#9c1d8ffb8084e8936603a6122a7649e40e68e04b"
|
||||||
@@ -2746,6 +2817,22 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@types/yargs-parser" "*"
|
"@types/yargs-parser" "*"
|
||||||
|
|
||||||
|
"@types/yauzl-promise@2.1.0":
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/yauzl-promise/-/yauzl-promise-2.1.0.tgz#a813ca317cd897f286fdfefb9b202463d315313a"
|
||||||
|
integrity sha512-7PkQ5UtElDsanzjdUQzXnstCqxx6KAOTMURuHwOuqC6YO2WaYQ6ItLnLy3TiEVNQMO/pD+QSOcfnAkeSX4hsTA==
|
||||||
|
dependencies:
|
||||||
|
"@types/events" "*"
|
||||||
|
"@types/node" "*"
|
||||||
|
"@types/yauzl" "*"
|
||||||
|
|
||||||
|
"@types/yauzl@*":
|
||||||
|
version "2.9.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.9.2.tgz#c48e5d56aff1444409e39fa164b0b4d4552a7b7a"
|
||||||
|
integrity sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==
|
||||||
|
dependencies:
|
||||||
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/yazl@2.4.2":
|
"@types/yazl@2.4.2":
|
||||||
version "2.4.2"
|
version "2.4.2"
|
||||||
resolved "https://registry.yarnpkg.com/@types/yazl/-/yazl-2.4.2.tgz#d5f8a4752261badbf1a36e8b49e042dc18ec84bc"
|
resolved "https://registry.yarnpkg.com/@types/yazl/-/yazl-2.4.2.tgz#d5f8a4752261badbf1a36e8b49e042dc18ec84bc"
|
||||||
@@ -2855,6 +2942,28 @@
|
|||||||
resolve-from "^5.0.0"
|
resolve-from "^5.0.0"
|
||||||
rollup-pluginutils "^2.8.2"
|
rollup-pluginutils "^2.8.2"
|
||||||
|
|
||||||
|
"@web-std/blob@^3.0.3":
|
||||||
|
version "3.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/@web-std/blob/-/blob-3.0.4.tgz#dd67a685547331915428d69e723c7da2015c3fc5"
|
||||||
|
integrity sha512-+dibyiw+uHYK4dX5cJ7HA+gtDAaUUe6JsOryp2ZpAC7h4ICsh49E34JwHoEKPlPvP0llCrNzz45vvD+xX5QDBg==
|
||||||
|
dependencies:
|
||||||
|
"@web-std/stream" "1.0.0"
|
||||||
|
web-encoding "1.1.5"
|
||||||
|
|
||||||
|
"@web-std/file@^3.0.0":
|
||||||
|
version "3.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@web-std/file/-/file-3.0.2.tgz#b84cc9ed754608b18dcf78ac62c40dbcc6a94692"
|
||||||
|
integrity sha512-pIH0uuZsmY8YFvSHP1NsBIiMT/1ce0suPrX74fEeO3Wbr1+rW0fUGEe4d0R99iLwXtyCwyserqCFI4BJkJlkRA==
|
||||||
|
dependencies:
|
||||||
|
"@web-std/blob" "^3.0.3"
|
||||||
|
|
||||||
|
"@web-std/stream@1.0.0":
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@web-std/stream/-/stream-1.0.0.tgz#01066f40f536e4329d9b696dc29872f3a14b93c1"
|
||||||
|
integrity sha512-jyIbdVl+0ZJyKGTV0Ohb9E6UnxP+t7ZzX4Do3AHjZKxUXKMs9EmqnBDQgHF7bEw0EzbQygOjtt/7gvtmi//iCQ==
|
||||||
|
dependencies:
|
||||||
|
web-streams-polyfill "^3.1.1"
|
||||||
|
|
||||||
"@zeit/dns-cached-resolve@2.1.0":
|
"@zeit/dns-cached-resolve@2.1.0":
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/@zeit/dns-cached-resolve/-/dns-cached-resolve-2.1.0.tgz#78583010df1683fdb7b05949b75593c9a8641bc1"
|
resolved "https://registry.yarnpkg.com/@zeit/dns-cached-resolve/-/dns-cached-resolve-2.1.0.tgz#78583010df1683fdb7b05949b75593c9a8641bc1"
|
||||||
@@ -2932,6 +3041,11 @@
|
|||||||
mkdirp-promise "^5.0.1"
|
mkdirp-promise "^5.0.1"
|
||||||
mz "^2.5.0"
|
mz "^2.5.0"
|
||||||
|
|
||||||
|
"@zxing/text-encoding@0.9.0":
|
||||||
|
version "0.9.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@zxing/text-encoding/-/text-encoding-0.9.0.tgz#fb50ffabc6c7c66a0c96b4c03e3d9be74864b70b"
|
||||||
|
integrity sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==
|
||||||
|
|
||||||
JSONStream@^1.0.4, JSONStream@^1.3.4:
|
JSONStream@^1.0.4, JSONStream@^1.3.4:
|
||||||
version "1.3.5"
|
version "1.3.5"
|
||||||
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
|
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
|
||||||
@@ -2945,6 +3059,13 @@ abbrev@1:
|
|||||||
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
|
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
|
||||||
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
|
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
|
||||||
|
|
||||||
|
abort-controller@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392"
|
||||||
|
integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==
|
||||||
|
dependencies:
|
||||||
|
event-target-shim "^5.0.0"
|
||||||
|
|
||||||
accepts@~1.3.7:
|
accepts@~1.3.7:
|
||||||
version "1.3.7"
|
version "1.3.7"
|
||||||
resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
|
resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
|
||||||
@@ -3455,6 +3576,11 @@ ava@2.2.0:
|
|||||||
update-notifier "^3.0.1"
|
update-notifier "^3.0.1"
|
||||||
write-file-atomic "^3.0.0"
|
write-file-atomic "^3.0.0"
|
||||||
|
|
||||||
|
available-typed-arrays@^1.0.5:
|
||||||
|
version "1.0.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7"
|
||||||
|
integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==
|
||||||
|
|
||||||
aws-sign2@~0.7.0:
|
aws-sign2@~0.7.0:
|
||||||
version "0.7.0"
|
version "0.7.0"
|
||||||
resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"
|
resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"
|
||||||
@@ -3595,6 +3721,18 @@ bl@^1.0.0:
|
|||||||
readable-stream "^2.3.5"
|
readable-stream "^2.3.5"
|
||||||
safe-buffer "^5.1.1"
|
safe-buffer "^5.1.1"
|
||||||
|
|
||||||
|
blob-stream@^0.1.3:
|
||||||
|
version "0.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/blob-stream/-/blob-stream-0.1.3.tgz#98d668af6996e0f32ef666d06e215ccc7d77686c"
|
||||||
|
integrity sha1-mNZor2mW4PMu9mbQbiFczH13aGw=
|
||||||
|
dependencies:
|
||||||
|
blob "0.0.4"
|
||||||
|
|
||||||
|
blob@0.0.4:
|
||||||
|
version "0.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.4.tgz#bcf13052ca54463f30f9fc7e95b9a47630a94921"
|
||||||
|
integrity sha1-vPEwUspURj8w+fx+lbmkdjCpSSE=
|
||||||
|
|
||||||
bluebird@^3.3.1, bluebird@^3.5.0, bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5:
|
bluebird@^3.3.1, bluebird@^3.5.0, bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5:
|
||||||
version "3.7.2"
|
version "3.7.2"
|
||||||
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
|
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
|
||||||
@@ -3760,6 +3898,13 @@ builtins@^1.0.3:
|
|||||||
resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88"
|
resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88"
|
||||||
integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og=
|
integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og=
|
||||||
|
|
||||||
|
busboy@^0.3.1:
|
||||||
|
version "0.3.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/busboy/-/busboy-0.3.1.tgz#170899274c5bf38aae27d5c62b71268cd585fd1b"
|
||||||
|
integrity sha512-y7tTxhGKXcyBxRKAni+awqx8uqaJKrSFSNFSeRG5CsWNdmy2BIK+6VGWEW7TZnIO/533mtMEA4rOevQV815YJw==
|
||||||
|
dependencies:
|
||||||
|
dicer "0.3.0"
|
||||||
|
|
||||||
byline@^5.0.0:
|
byline@^5.0.0:
|
||||||
version "5.0.0"
|
version "5.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/byline/-/byline-5.0.0.tgz#741c5216468eadc457b03410118ad77de8c1ddb1"
|
resolved "https://registry.yarnpkg.com/byline/-/byline-5.0.0.tgz#741c5216468eadc457b03410118ad77de8c1ddb1"
|
||||||
@@ -3829,6 +3974,14 @@ cacheable-request@^6.0.0:
|
|||||||
normalize-url "^4.1.0"
|
normalize-url "^4.1.0"
|
||||||
responselike "^1.0.2"
|
responselike "^1.0.2"
|
||||||
|
|
||||||
|
call-bind@^1.0.0, call-bind@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c"
|
||||||
|
integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==
|
||||||
|
dependencies:
|
||||||
|
function-bind "^1.1.1"
|
||||||
|
get-intrinsic "^1.0.2"
|
||||||
|
|
||||||
call-matcher@^1.0.0:
|
call-matcher@^1.0.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/call-matcher/-/call-matcher-1.1.0.tgz#23b2c1bc7a8394c8be28609d77ddbd5786680432"
|
resolved "https://registry.yarnpkg.com/call-matcher/-/call-matcher-1.1.0.tgz#23b2c1bc7a8394c8be28609d77ddbd5786680432"
|
||||||
@@ -4513,6 +4666,11 @@ cookie-signature@1.0.6:
|
|||||||
resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c"
|
resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c"
|
||||||
integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw=
|
integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw=
|
||||||
|
|
||||||
|
cookie-signature@^1.1.0:
|
||||||
|
version "1.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.2.0.tgz#4deed303f5f095e7a02c979e3fcb19157f5eaeea"
|
||||||
|
integrity sha512-R0BOPfLGTitaKhgKROKZQN6iyq2iDQcH1DOF8nJoaWapguX5bC2w+Q/I9NmmM5lfcvEarnLZr+cCvmEYYSXvYA==
|
||||||
|
|
||||||
cookie@0.3.1:
|
cookie@0.3.1:
|
||||||
version "0.3.1"
|
version "0.3.1"
|
||||||
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
|
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
|
||||||
@@ -4523,6 +4681,11 @@ cookie@0.4.0:
|
|||||||
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba"
|
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba"
|
||||||
integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==
|
integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==
|
||||||
|
|
||||||
|
cookie@^0.4.1:
|
||||||
|
version "0.4.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432"
|
||||||
|
integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==
|
||||||
|
|
||||||
copy-concurrently@^1.0.0:
|
copy-concurrently@^1.0.0:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0"
|
resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0"
|
||||||
@@ -4818,6 +4981,14 @@ define-properties@^1.1.2, define-properties@^1.1.3:
|
|||||||
dependencies:
|
dependencies:
|
||||||
object-keys "^1.0.12"
|
object-keys "^1.0.12"
|
||||||
|
|
||||||
|
define-properties@^1.1.4:
|
||||||
|
version "1.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1"
|
||||||
|
integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==
|
||||||
|
dependencies:
|
||||||
|
has-property-descriptors "^1.0.0"
|
||||||
|
object-keys "^1.1.1"
|
||||||
|
|
||||||
define-property@^0.2.5:
|
define-property@^0.2.5:
|
||||||
version "0.2.5"
|
version "0.2.5"
|
||||||
resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116"
|
resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116"
|
||||||
@@ -4925,6 +5096,13 @@ dezalgo@^1.0.0:
|
|||||||
asap "^2.0.0"
|
asap "^2.0.0"
|
||||||
wrappy "1"
|
wrappy "1"
|
||||||
|
|
||||||
|
dicer@0.3.0:
|
||||||
|
version "0.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/dicer/-/dicer-0.3.0.tgz#eacd98b3bfbf92e8ab5c2fdb71aaac44bb06b872"
|
||||||
|
integrity sha512-MdceRRWqltEG2dZqO769g27N/3PXfcKl04VhYnBlo2YhH7zPi88VebsjTKclaOyiuMaGU72hTfw3VkUitGcVCA==
|
||||||
|
dependencies:
|
||||||
|
streamsearch "0.1.2"
|
||||||
|
|
||||||
diff-sequences@^27.5.1:
|
diff-sequences@^27.5.1:
|
||||||
version "27.5.1"
|
version "27.5.1"
|
||||||
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.5.1.tgz#eaecc0d327fd68c8d9672a1e64ab8dccb2ef5327"
|
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.5.1.tgz#eaecc0d327fd68c8d9672a1e64ab8dccb2ef5327"
|
||||||
@@ -5193,6 +5371,35 @@ es-abstract@^1.17.0-next.1, es-abstract@^1.17.5:
|
|||||||
string.prototype.trimleft "^2.1.1"
|
string.prototype.trimleft "^2.1.1"
|
||||||
string.prototype.trimright "^2.1.1"
|
string.prototype.trimright "^2.1.1"
|
||||||
|
|
||||||
|
es-abstract@^1.18.5, es-abstract@^1.19.0, es-abstract@^1.19.5:
|
||||||
|
version "1.20.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.20.0.tgz#b2d526489cceca004588296334726329e0a6bfb6"
|
||||||
|
integrity sha512-URbD8tgRthKD3YcC39vbvSDrX23upXnPcnGAjQfgxXF5ID75YcENawc9ZX/9iTP9ptUyfCLIxTTuMYoRfiOVKA==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
es-to-primitive "^1.2.1"
|
||||||
|
function-bind "^1.1.1"
|
||||||
|
function.prototype.name "^1.1.5"
|
||||||
|
get-intrinsic "^1.1.1"
|
||||||
|
get-symbol-description "^1.0.0"
|
||||||
|
has "^1.0.3"
|
||||||
|
has-property-descriptors "^1.0.0"
|
||||||
|
has-symbols "^1.0.3"
|
||||||
|
internal-slot "^1.0.3"
|
||||||
|
is-callable "^1.2.4"
|
||||||
|
is-negative-zero "^2.0.2"
|
||||||
|
is-regex "^1.1.4"
|
||||||
|
is-shared-array-buffer "^1.0.2"
|
||||||
|
is-string "^1.0.7"
|
||||||
|
is-weakref "^1.0.2"
|
||||||
|
object-inspect "^1.12.0"
|
||||||
|
object-keys "^1.1.1"
|
||||||
|
object.assign "^4.1.2"
|
||||||
|
regexp.prototype.flags "^1.4.1"
|
||||||
|
string.prototype.trimend "^1.0.5"
|
||||||
|
string.prototype.trimstart "^1.0.5"
|
||||||
|
unbox-primitive "^1.0.2"
|
||||||
|
|
||||||
es-to-primitive@^1.2.1:
|
es-to-primitive@^1.2.1:
|
||||||
version "1.2.1"
|
version "1.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a"
|
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a"
|
||||||
@@ -5435,6 +5642,11 @@ etag@1.8.1, etag@~1.8.1:
|
|||||||
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
|
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
|
||||||
integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=
|
integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=
|
||||||
|
|
||||||
|
event-target-shim@^5.0.0:
|
||||||
|
version "5.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789"
|
||||||
|
integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==
|
||||||
|
|
||||||
eventemitter3@^3.1.0:
|
eventemitter3@^3.1.0:
|
||||||
version "3.1.2"
|
version "3.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
|
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
|
||||||
@@ -5907,6 +6119,11 @@ for-in@^1.0.2:
|
|||||||
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
|
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
|
||||||
integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=
|
integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=
|
||||||
|
|
||||||
|
foreach@^2.0.5:
|
||||||
|
version "2.0.6"
|
||||||
|
resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.6.tgz#87bcc8a1a0e74000ff2bf9802110708cfb02eb6e"
|
||||||
|
integrity sha512-k6GAGDyqLe9JaebCsFCoudPPWfihKu8pylYXRlqP1J7ms39iPoTtk2fviNglIeQEwdh0bQeKJ01ZPyuyQvKzwg==
|
||||||
|
|
||||||
forever-agent@~0.6.1:
|
forever-agent@~0.6.1:
|
||||||
version "0.6.1"
|
version "0.6.1"
|
||||||
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
|
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
|
||||||
@@ -5921,6 +6138,15 @@ form-data@^3.0.0:
|
|||||||
combined-stream "^1.0.8"
|
combined-stream "^1.0.8"
|
||||||
mime-types "^2.1.12"
|
mime-types "^2.1.12"
|
||||||
|
|
||||||
|
form-data@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"
|
||||||
|
integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==
|
||||||
|
dependencies:
|
||||||
|
asynckit "^0.4.0"
|
||||||
|
combined-stream "^1.0.8"
|
||||||
|
mime-types "^2.1.12"
|
||||||
|
|
||||||
form-data@~2.3.2:
|
form-data@~2.3.2:
|
||||||
version "2.3.3"
|
version "2.3.3"
|
||||||
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6"
|
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6"
|
||||||
@@ -6049,11 +6275,26 @@ function-bind@^1.1.1:
|
|||||||
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
|
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
|
||||||
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
|
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
|
||||||
|
|
||||||
|
function.prototype.name@^1.1.5:
|
||||||
|
version "1.1.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621"
|
||||||
|
integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
define-properties "^1.1.3"
|
||||||
|
es-abstract "^1.19.0"
|
||||||
|
functions-have-names "^1.2.2"
|
||||||
|
|
||||||
functional-red-black-tree@^1.0.1:
|
functional-red-black-tree@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
|
resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
|
||||||
integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=
|
integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=
|
||||||
|
|
||||||
|
functions-have-names@^1.2.2:
|
||||||
|
version "1.2.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834"
|
||||||
|
integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==
|
||||||
|
|
||||||
gauge@~2.7.3:
|
gauge@~2.7.3:
|
||||||
version "2.7.4"
|
version "2.7.4"
|
||||||
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
|
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
|
||||||
@@ -6098,6 +6339,15 @@ get-caller-file@^2.0.5:
|
|||||||
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
|
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
|
||||||
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
|
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
|
||||||
|
|
||||||
|
get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1:
|
||||||
|
version "1.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6"
|
||||||
|
integrity sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==
|
||||||
|
dependencies:
|
||||||
|
function-bind "^1.1.1"
|
||||||
|
has "^1.0.3"
|
||||||
|
has-symbols "^1.0.1"
|
||||||
|
|
||||||
get-own-enumerable-property-symbols@^3.0.0:
|
get-own-enumerable-property-symbols@^3.0.0:
|
||||||
version "3.0.2"
|
version "3.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664"
|
resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664"
|
||||||
@@ -6165,6 +6415,14 @@ get-stream@^6.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
|
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
|
||||||
integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==
|
integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==
|
||||||
|
|
||||||
|
get-symbol-description@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6"
|
||||||
|
integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
get-intrinsic "^1.1.1"
|
||||||
|
|
||||||
get-value@^2.0.3, get-value@^2.0.6:
|
get-value@^2.0.3, get-value@^2.0.6:
|
||||||
version "2.0.6"
|
version "2.0.6"
|
||||||
resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28"
|
resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28"
|
||||||
@@ -6437,6 +6695,11 @@ has-ansi@^2.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
ansi-regex "^2.0.0"
|
ansi-regex "^2.0.0"
|
||||||
|
|
||||||
|
has-bigints@^1.0.1, has-bigints@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa"
|
||||||
|
integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==
|
||||||
|
|
||||||
has-flag@^2.0.0:
|
has-flag@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51"
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51"
|
||||||
@@ -6452,11 +6715,30 @@ has-flag@^4.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
|
||||||
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
|
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
|
||||||
|
|
||||||
|
has-property-descriptors@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861"
|
||||||
|
integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==
|
||||||
|
dependencies:
|
||||||
|
get-intrinsic "^1.1.1"
|
||||||
|
|
||||||
has-symbols@^1.0.0, has-symbols@^1.0.1:
|
has-symbols@^1.0.0, has-symbols@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8"
|
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8"
|
||||||
integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==
|
integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==
|
||||||
|
|
||||||
|
has-symbols@^1.0.2, has-symbols@^1.0.3:
|
||||||
|
version "1.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8"
|
||||||
|
integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==
|
||||||
|
|
||||||
|
has-tostringtag@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25"
|
||||||
|
integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==
|
||||||
|
dependencies:
|
||||||
|
has-symbols "^1.0.2"
|
||||||
|
|
||||||
has-unicode@^2.0.0, has-unicode@^2.0.1:
|
has-unicode@^2.0.0, has-unicode@^2.0.1:
|
||||||
version "2.0.1"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
|
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
|
||||||
@@ -6513,6 +6795,13 @@ hasha@^5.0.0:
|
|||||||
is-stream "^2.0.0"
|
is-stream "^2.0.0"
|
||||||
type-fest "^0.8.0"
|
type-fest "^0.8.0"
|
||||||
|
|
||||||
|
history@^5.2.0:
|
||||||
|
version "5.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/history/-/history-5.3.0.tgz#1548abaa245ba47992f063a0783db91ef201c73b"
|
||||||
|
integrity sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==
|
||||||
|
dependencies:
|
||||||
|
"@babel/runtime" "^7.7.6"
|
||||||
|
|
||||||
hosted-git-info@^2.1.4, hosted-git-info@^2.6.0, hosted-git-info@^2.7.1:
|
hosted-git-info@^2.1.4, hosted-git-info@^2.6.0, hosted-git-info@^2.7.1:
|
||||||
version "2.8.9"
|
version "2.8.9"
|
||||||
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9"
|
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9"
|
||||||
@@ -6845,6 +7134,15 @@ inquirer@^6.2.0:
|
|||||||
strip-ansi "^5.1.0"
|
strip-ansi "^5.1.0"
|
||||||
through "^2.3.6"
|
through "^2.3.6"
|
||||||
|
|
||||||
|
internal-slot@^1.0.3:
|
||||||
|
version "1.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c"
|
||||||
|
integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==
|
||||||
|
dependencies:
|
||||||
|
get-intrinsic "^1.1.0"
|
||||||
|
has "^1.0.3"
|
||||||
|
side-channel "^1.0.4"
|
||||||
|
|
||||||
into-stream@5.0.0:
|
into-stream@5.0.0:
|
||||||
version "5.0.0"
|
version "5.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-5.0.0.tgz#690569d7806b29d7cbd496cb05972fbe725b42a5"
|
resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-5.0.0.tgz#690569d7806b29d7cbd496cb05972fbe725b42a5"
|
||||||
@@ -6897,6 +7195,13 @@ is-arrayish@^0.2.1:
|
|||||||
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
|
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
|
||||||
integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=
|
integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=
|
||||||
|
|
||||||
|
is-bigint@^1.0.1:
|
||||||
|
version "1.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3"
|
||||||
|
integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==
|
||||||
|
dependencies:
|
||||||
|
has-bigints "^1.0.1"
|
||||||
|
|
||||||
is-binary-path@~2.1.0:
|
is-binary-path@~2.1.0:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
|
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
|
||||||
@@ -6904,6 +7209,14 @@ is-binary-path@~2.1.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
binary-extensions "^2.0.0"
|
binary-extensions "^2.0.0"
|
||||||
|
|
||||||
|
is-boolean-object@^1.1.0:
|
||||||
|
version "1.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719"
|
||||||
|
integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
has-tostringtag "^1.0.0"
|
||||||
|
|
||||||
is-buffer@^1.1.5:
|
is-buffer@^1.1.5:
|
||||||
version "1.1.6"
|
version "1.1.6"
|
||||||
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
|
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
|
||||||
@@ -6914,6 +7227,11 @@ is-callable@^1.1.4, is-callable@^1.1.5:
|
|||||||
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.0.tgz#83336560b54a38e35e3a2df7afd0454d691468bb"
|
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.0.tgz#83336560b54a38e35e3a2df7afd0454d691468bb"
|
||||||
integrity sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==
|
integrity sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==
|
||||||
|
|
||||||
|
is-callable@^1.2.4:
|
||||||
|
version "1.2.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945"
|
||||||
|
integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==
|
||||||
|
|
||||||
is-ci@^2.0.0:
|
is-ci@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
|
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
|
||||||
@@ -7024,6 +7342,13 @@ is-generator-fn@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118"
|
resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118"
|
||||||
integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==
|
integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==
|
||||||
|
|
||||||
|
is-generator-function@^1.0.7:
|
||||||
|
version "1.0.10"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72"
|
||||||
|
integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==
|
||||||
|
dependencies:
|
||||||
|
has-tostringtag "^1.0.0"
|
||||||
|
|
||||||
is-glob@^3.1.0:
|
is-glob@^3.1.0:
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a"
|
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a"
|
||||||
@@ -7061,6 +7386,11 @@ is-installed-globally@^0.3.1:
|
|||||||
global-dirs "^2.0.1"
|
global-dirs "^2.0.1"
|
||||||
is-path-inside "^3.0.1"
|
is-path-inside "^3.0.1"
|
||||||
|
|
||||||
|
is-negative-zero@^2.0.2:
|
||||||
|
version "2.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150"
|
||||||
|
integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==
|
||||||
|
|
||||||
is-npm@^3.0.0:
|
is-npm@^3.0.0:
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-3.0.0.tgz#ec9147bfb629c43f494cf67936a961edec7e8053"
|
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-3.0.0.tgz#ec9147bfb629c43f494cf67936a961edec7e8053"
|
||||||
@@ -7071,6 +7401,13 @@ is-npm@^4.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-4.0.0.tgz#c90dd8380696df87a7a6d823c20d0b12bbe3c84d"
|
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-4.0.0.tgz#c90dd8380696df87a7a6d823c20d0b12bbe3c84d"
|
||||||
integrity sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==
|
integrity sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==
|
||||||
|
|
||||||
|
is-number-object@^1.0.4:
|
||||||
|
version "1.0.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc"
|
||||||
|
integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==
|
||||||
|
dependencies:
|
||||||
|
has-tostringtag "^1.0.0"
|
||||||
|
|
||||||
is-number@^3.0.0:
|
is-number@^3.0.0:
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195"
|
resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195"
|
||||||
@@ -7177,11 +7514,26 @@ is-regex@^1.0.4, is-regex@^1.0.5:
|
|||||||
dependencies:
|
dependencies:
|
||||||
has-symbols "^1.0.1"
|
has-symbols "^1.0.1"
|
||||||
|
|
||||||
|
is-regex@^1.1.4:
|
||||||
|
version "1.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958"
|
||||||
|
integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
has-tostringtag "^1.0.0"
|
||||||
|
|
||||||
is-regexp@^1.0.0:
|
is-regexp@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069"
|
resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069"
|
||||||
integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk=
|
integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk=
|
||||||
|
|
||||||
|
is-shared-array-buffer@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79"
|
||||||
|
integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
|
||||||
is-ssh@^1.3.0:
|
is-ssh@^1.3.0:
|
||||||
version "1.3.1"
|
version "1.3.1"
|
||||||
resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.3.1.tgz#f349a8cadd24e65298037a522cf7520f2e81a0f3"
|
resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.3.1.tgz#f349a8cadd24e65298037a522cf7520f2e81a0f3"
|
||||||
@@ -7199,6 +7551,13 @@ is-stream@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3"
|
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3"
|
||||||
integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==
|
integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==
|
||||||
|
|
||||||
|
is-string@^1.0.5, is-string@^1.0.7:
|
||||||
|
version "1.0.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd"
|
||||||
|
integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==
|
||||||
|
dependencies:
|
||||||
|
has-tostringtag "^1.0.0"
|
||||||
|
|
||||||
is-symbol@^1.0.2:
|
is-symbol@^1.0.2:
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.3.tgz#38e1014b9e6329be0de9d24a414fd7441ec61937"
|
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.3.tgz#38e1014b9e6329be0de9d24a414fd7441ec61937"
|
||||||
@@ -7206,6 +7565,13 @@ is-symbol@^1.0.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
has-symbols "^1.0.1"
|
has-symbols "^1.0.1"
|
||||||
|
|
||||||
|
is-symbol@^1.0.3:
|
||||||
|
version "1.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c"
|
||||||
|
integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==
|
||||||
|
dependencies:
|
||||||
|
has-symbols "^1.0.2"
|
||||||
|
|
||||||
is-text-path@^1.0.1:
|
is-text-path@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e"
|
resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e"
|
||||||
@@ -7213,6 +7579,17 @@ is-text-path@^1.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
text-extensions "^1.0.0"
|
text-extensions "^1.0.0"
|
||||||
|
|
||||||
|
is-typed-array@^1.1.3, is-typed-array@^1.1.7:
|
||||||
|
version "1.1.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.8.tgz#cbaa6585dc7db43318bc5b89523ea384a6f65e79"
|
||||||
|
integrity sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==
|
||||||
|
dependencies:
|
||||||
|
available-typed-arrays "^1.0.5"
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
es-abstract "^1.18.5"
|
||||||
|
foreach "^2.0.5"
|
||||||
|
has-tostringtag "^1.0.0"
|
||||||
|
|
||||||
is-typedarray@^1.0.0, is-typedarray@~1.0.0:
|
is-typedarray@^1.0.0, is-typedarray@~1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
|
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
|
||||||
@@ -7233,6 +7610,13 @@ is-utf8@^0.2.0, is-utf8@^0.2.1:
|
|||||||
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
|
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
|
||||||
integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=
|
integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=
|
||||||
|
|
||||||
|
is-weakref@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2"
|
||||||
|
integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
|
||||||
is-windows@^1.0.0, is-windows@^1.0.2:
|
is-windows@^1.0.0, is-windows@^1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
|
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
|
||||||
@@ -7772,6 +8156,11 @@ jsesc@^2.5.1:
|
|||||||
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
|
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
|
||||||
integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==
|
integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==
|
||||||
|
|
||||||
|
jsesc@^3.0.1:
|
||||||
|
version "3.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-3.0.2.tgz#bb8b09a6597ba426425f2e4a07245c3d00b9343e"
|
||||||
|
integrity sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==
|
||||||
|
|
||||||
jsesc@~0.5.0:
|
jsesc@~0.5.0:
|
||||||
version "0.5.0"
|
version "0.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d"
|
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d"
|
||||||
@@ -9097,6 +9486,11 @@ object-copy@^0.1.0:
|
|||||||
define-property "^0.2.5"
|
define-property "^0.2.5"
|
||||||
kind-of "^3.0.3"
|
kind-of "^3.0.3"
|
||||||
|
|
||||||
|
object-inspect@^1.12.0, object-inspect@^1.9.0:
|
||||||
|
version "1.12.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0"
|
||||||
|
integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==
|
||||||
|
|
||||||
object-inspect@^1.7.0:
|
object-inspect@^1.7.0:
|
||||||
version "1.7.0"
|
version "1.7.0"
|
||||||
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67"
|
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67"
|
||||||
@@ -9132,6 +9526,16 @@ object.assign@^4.1.0:
|
|||||||
has-symbols "^1.0.0"
|
has-symbols "^1.0.0"
|
||||||
object-keys "^1.0.11"
|
object-keys "^1.0.11"
|
||||||
|
|
||||||
|
object.assign@^4.1.2:
|
||||||
|
version "4.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940"
|
||||||
|
integrity sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.0"
|
||||||
|
define-properties "^1.1.3"
|
||||||
|
has-symbols "^1.0.1"
|
||||||
|
object-keys "^1.1.1"
|
||||||
|
|
||||||
object.getownpropertydescriptors@^2.0.3:
|
object.getownpropertydescriptors@^2.0.3:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz#369bf1f9592d8ab89d712dced5cb81c7c5352649"
|
resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz#369bf1f9592d8ab89d712dced5cb81c7c5352649"
|
||||||
@@ -10034,6 +10438,21 @@ react-is@^18.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67"
|
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67"
|
||||||
integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg==
|
integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg==
|
||||||
|
|
||||||
|
react-router-dom@^6.2.2:
|
||||||
|
version "6.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.3.0.tgz#a0216da813454e521905b5fa55e0e5176123f43d"
|
||||||
|
integrity sha512-uaJj7LKytRxZNQV8+RbzJWnJ8K2nPsOOEuX7aQstlMZKQT0164C+X2w6bnkqU3sjtLvpd5ojrezAyfZ1+0sStw==
|
||||||
|
dependencies:
|
||||||
|
history "^5.2.0"
|
||||||
|
react-router "6.3.0"
|
||||||
|
|
||||||
|
react-router@6.3.0:
|
||||||
|
version "6.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.3.0.tgz#3970cc64b4cb4eae0c1ea5203a80334fdd175557"
|
||||||
|
integrity sha512-7Wh1DzVQ+tlFjkeo+ujvjSqSJmkt1+8JO+T5xklPlgrh70y7ogx75ODRW0ThWhY7S+6yEDks8TYrtQe/aoboBQ==
|
||||||
|
dependencies:
|
||||||
|
history "^5.2.0"
|
||||||
|
|
||||||
read-cmd-shim@^1.0.1:
|
read-cmd-shim@^1.0.1:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-1.0.5.tgz#87e43eba50098ba5a32d0ceb583ab8e43b961c16"
|
resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-1.0.5.tgz#87e43eba50098ba5a32d0ceb583ab8e43b961c16"
|
||||||
@@ -10204,6 +10623,11 @@ regenerate@^1.4.0:
|
|||||||
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.1.tgz#cad92ad8e6b591773485fbe05a485caf4f457e6f"
|
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.1.tgz#cad92ad8e6b591773485fbe05a485caf4f457e6f"
|
||||||
integrity sha512-j2+C8+NtXQgEKWk49MMP5P/u2GhnahTtVkRIHr5R5lVRlbKvmQ+oS+A5aLKWp2ma5VkT8sh6v+v4hbH0YHR66A==
|
integrity sha512-j2+C8+NtXQgEKWk49MMP5P/u2GhnahTtVkRIHr5R5lVRlbKvmQ+oS+A5aLKWp2ma5VkT8sh6v+v4hbH0YHR66A==
|
||||||
|
|
||||||
|
regenerator-runtime@^0.13.4:
|
||||||
|
version "0.13.9"
|
||||||
|
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
|
||||||
|
integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==
|
||||||
|
|
||||||
regex-not@^1.0.0, regex-not@^1.0.2:
|
regex-not@^1.0.0, regex-not@^1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c"
|
resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c"
|
||||||
@@ -10220,6 +10644,15 @@ regexp.prototype.flags@^1.2.0:
|
|||||||
define-properties "^1.1.3"
|
define-properties "^1.1.3"
|
||||||
es-abstract "^1.17.0-next.1"
|
es-abstract "^1.17.0-next.1"
|
||||||
|
|
||||||
|
regexp.prototype.flags@^1.4.1:
|
||||||
|
version "1.4.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac"
|
||||||
|
integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
define-properties "^1.1.3"
|
||||||
|
functions-have-names "^1.2.2"
|
||||||
|
|
||||||
regexpp@^3.2.0:
|
regexpp@^3.2.0:
|
||||||
version "3.2.0"
|
version "3.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2"
|
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2"
|
||||||
@@ -10611,6 +11044,11 @@ set-cookie-parser@2.4.6:
|
|||||||
resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.4.6.tgz#43bdea028b9e6f176474ee5298e758b4a44799c3"
|
resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.4.6.tgz#43bdea028b9e6f176474ee5298e758b4a44799c3"
|
||||||
integrity sha512-mNCnTUF0OYPwYzSHbdRdCfNNHqrne+HS5tS5xNb6yJbdP9wInV0q5xPLE0EyfV/Q3tImo3y/OXpD8Jn0Jtnjrg==
|
integrity sha512-mNCnTUF0OYPwYzSHbdRdCfNNHqrne+HS5tS5xNb6yJbdP9wInV0q5xPLE0EyfV/Q3tImo3y/OXpD8Jn0Jtnjrg==
|
||||||
|
|
||||||
|
set-cookie-parser@^2.4.8:
|
||||||
|
version "2.4.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.4.8.tgz#d0da0ed388bc8f24e706a391f9c9e252a13c58b2"
|
||||||
|
integrity sha512-edRH8mBKEWNVIVMKejNnuJxleqYE/ZSdcT8/Nem9/mmosx12pctd80s2Oy00KNZzrogMZS5mauK2/ymL1bvlvg==
|
||||||
|
|
||||||
set-value@^2.0.0, set-value@^2.0.1:
|
set-value@^2.0.0, set-value@^2.0.1:
|
||||||
version "2.0.1"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b"
|
resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b"
|
||||||
@@ -10650,6 +11088,15 @@ shebang-regex@^3.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
|
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
|
||||||
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
|
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
|
||||||
|
|
||||||
|
side-channel@^1.0.4:
|
||||||
|
version "1.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"
|
||||||
|
integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.0"
|
||||||
|
get-intrinsic "^1.0.2"
|
||||||
|
object-inspect "^1.9.0"
|
||||||
|
|
||||||
signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3:
|
signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3:
|
||||||
version "3.0.3"
|
version "3.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
|
||||||
@@ -10799,6 +11246,14 @@ source-map-support@^0.5.12, source-map-support@^0.5.17, source-map-support@^0.5.
|
|||||||
buffer-from "^1.0.0"
|
buffer-from "^1.0.0"
|
||||||
source-map "^0.6.0"
|
source-map "^0.6.0"
|
||||||
|
|
||||||
|
source-map-support@^0.5.21:
|
||||||
|
version "0.5.21"
|
||||||
|
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
|
||||||
|
integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==
|
||||||
|
dependencies:
|
||||||
|
buffer-from "^1.0.0"
|
||||||
|
source-map "^0.6.0"
|
||||||
|
|
||||||
source-map-url@^0.4.0:
|
source-map-url@^0.4.0:
|
||||||
version "0.4.0"
|
version "0.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"
|
resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"
|
||||||
@@ -10966,6 +11421,11 @@ stream-to-promise@2.2.0:
|
|||||||
end-of-stream "~1.1.0"
|
end-of-stream "~1.1.0"
|
||||||
stream-to-array "~2.3.0"
|
stream-to-array "~2.3.0"
|
||||||
|
|
||||||
|
streamsearch@0.1.2:
|
||||||
|
version "0.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-0.1.2.tgz#808b9d0e56fc273d809ba57338e929919a1a9f1a"
|
||||||
|
integrity sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=
|
||||||
|
|
||||||
string-argv@0.3.1, string-argv@^0.3.0:
|
string-argv@0.3.1, string-argv@^0.3.0:
|
||||||
version "0.3.1"
|
version "0.3.1"
|
||||||
resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da"
|
resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da"
|
||||||
@@ -11031,6 +11491,15 @@ string.prototype.trimend@^1.0.0:
|
|||||||
define-properties "^1.1.3"
|
define-properties "^1.1.3"
|
||||||
es-abstract "^1.17.5"
|
es-abstract "^1.17.5"
|
||||||
|
|
||||||
|
string.prototype.trimend@^1.0.5:
|
||||||
|
version "1.0.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz#914a65baaab25fbdd4ee291ca7dde57e869cb8d0"
|
||||||
|
integrity sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
define-properties "^1.1.4"
|
||||||
|
es-abstract "^1.19.5"
|
||||||
|
|
||||||
string.prototype.trimleft@^2.1.1:
|
string.prototype.trimleft@^2.1.1:
|
||||||
version "2.1.2"
|
version "2.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.2.tgz#4408aa2e5d6ddd0c9a80739b087fbc067c03b3cc"
|
resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.2.tgz#4408aa2e5d6ddd0c9a80739b087fbc067c03b3cc"
|
||||||
@@ -11057,6 +11526,15 @@ string.prototype.trimstart@^1.0.0:
|
|||||||
define-properties "^1.1.3"
|
define-properties "^1.1.3"
|
||||||
es-abstract "^1.17.5"
|
es-abstract "^1.17.5"
|
||||||
|
|
||||||
|
string.prototype.trimstart@^1.0.5:
|
||||||
|
version "1.0.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz#5466d93ba58cfa2134839f81d7f42437e8c01fef"
|
||||||
|
integrity sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
define-properties "^1.1.4"
|
||||||
|
es-abstract "^1.19.5"
|
||||||
|
|
||||||
string_decoder@^1.1.1:
|
string_decoder@^1.1.1:
|
||||||
version "1.3.0"
|
version "1.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
|
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
|
||||||
@@ -11842,6 +12320,11 @@ typescript@4.5.2:
|
|||||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998"
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998"
|
||||||
integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==
|
integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==
|
||||||
|
|
||||||
|
typescript@4.6.4:
|
||||||
|
version "4.6.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9"
|
||||||
|
integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==
|
||||||
|
|
||||||
uglify-js@^3.1.4:
|
uglify-js@^3.1.4:
|
||||||
version "3.13.5"
|
version "3.13.5"
|
||||||
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.13.5.tgz#5d71d6dbba64cf441f32929b1efce7365bb4f113"
|
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.13.5.tgz#5d71d6dbba64cf441f32929b1efce7365bb4f113"
|
||||||
@@ -11867,6 +12350,16 @@ umask@^1.1.0:
|
|||||||
resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d"
|
resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d"
|
||||||
integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0=
|
integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0=
|
||||||
|
|
||||||
|
unbox-primitive@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e"
|
||||||
|
integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==
|
||||||
|
dependencies:
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
has-bigints "^1.0.2"
|
||||||
|
has-symbols "^1.0.3"
|
||||||
|
which-boxed-primitive "^1.0.2"
|
||||||
|
|
||||||
unicode-canonical-property-names-ecmascript@^1.0.4:
|
unicode-canonical-property-names-ecmascript@^1.0.4:
|
||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818"
|
resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818"
|
||||||
@@ -12061,6 +12554,18 @@ util-promisify@^2.1.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
object.getownpropertydescriptors "^2.0.3"
|
object.getownpropertydescriptors "^2.0.3"
|
||||||
|
|
||||||
|
util@^0.12.3:
|
||||||
|
version "0.12.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/util/-/util-0.12.4.tgz#66121a31420df8f01ca0c464be15dfa1d1850253"
|
||||||
|
integrity sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==
|
||||||
|
dependencies:
|
||||||
|
inherits "^2.0.3"
|
||||||
|
is-arguments "^1.0.4"
|
||||||
|
is-generator-function "^1.0.7"
|
||||||
|
is-typed-array "^1.1.3"
|
||||||
|
safe-buffer "^5.1.2"
|
||||||
|
which-typed-array "^1.1.2"
|
||||||
|
|
||||||
utility-types@2.1.0:
|
utility-types@2.1.0:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-2.1.0.tgz#0c78fc9f7eb424d14302222b4ddd13fdb17f44ab"
|
resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-2.1.0.tgz#0c78fc9f7eb424d14302222b4ddd13fdb17f44ab"
|
||||||
@@ -12143,6 +12648,20 @@ wcwidth@^1.0.0, wcwidth@^1.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
defaults "^1.0.3"
|
defaults "^1.0.3"
|
||||||
|
|
||||||
|
web-encoding@1.1.5:
|
||||||
|
version "1.1.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/web-encoding/-/web-encoding-1.1.5.tgz#fc810cf7667364a6335c939913f5051d3e0c4864"
|
||||||
|
integrity sha512-HYLeVCdJ0+lBYV2FvNZmv3HJ2Nt0QYXqZojk3d9FJOLkwnuhzM9tmamh8d7HPM8QqjKH8DeHkFTx+CFlWpZZDA==
|
||||||
|
dependencies:
|
||||||
|
util "^0.12.3"
|
||||||
|
optionalDependencies:
|
||||||
|
"@zxing/text-encoding" "0.9.0"
|
||||||
|
|
||||||
|
web-streams-polyfill@^3.1.1:
|
||||||
|
version "3.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6"
|
||||||
|
integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==
|
||||||
|
|
||||||
webidl-conversions@^4.0.2:
|
webidl-conversions@^4.0.2:
|
||||||
version "4.0.2"
|
version "4.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
|
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
|
||||||
@@ -12167,11 +12686,34 @@ whatwg-url@^7.0.0:
|
|||||||
tr46 "^1.0.1"
|
tr46 "^1.0.1"
|
||||||
webidl-conversions "^4.0.2"
|
webidl-conversions "^4.0.2"
|
||||||
|
|
||||||
|
which-boxed-primitive@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6"
|
||||||
|
integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==
|
||||||
|
dependencies:
|
||||||
|
is-bigint "^1.0.1"
|
||||||
|
is-boolean-object "^1.1.0"
|
||||||
|
is-number-object "^1.0.4"
|
||||||
|
is-string "^1.0.5"
|
||||||
|
is-symbol "^1.0.3"
|
||||||
|
|
||||||
which-module@^2.0.0:
|
which-module@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
|
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
|
||||||
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
|
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
|
||||||
|
|
||||||
|
which-typed-array@^1.1.2:
|
||||||
|
version "1.1.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.7.tgz#2761799b9a22d4b8660b3c1b40abaa7739691793"
|
||||||
|
integrity sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==
|
||||||
|
dependencies:
|
||||||
|
available-typed-arrays "^1.0.5"
|
||||||
|
call-bind "^1.0.2"
|
||||||
|
es-abstract "^1.18.5"
|
||||||
|
foreach "^2.0.5"
|
||||||
|
has-tostringtag "^1.0.0"
|
||||||
|
is-typed-array "^1.1.7"
|
||||||
|
|
||||||
which@2.0.2, which@^2.0.1:
|
which@2.0.2, which@^2.0.1:
|
||||||
version "2.0.2"
|
version "2.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
|
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
|
||||||
|
|||||||
Reference in New Issue
Block a user