Compare commits

..

12 Commits

Author SHA1 Message Date
Steven
40081cb319 Publish Stable
- vercel@28.16.10
 - @vercel/remix@1.4.3
2023-02-28 19:12:33 -05:00
Steven
9200be61d2 [tests] Publish with npm@9 (#9583)
https://vercel.slack.com/archives/C04DUD7EB1B/p1676488464681929
2023-03-01 00:09:40 +00:00
Nathan Rajlich
1390f6d2ee [remix] Gracefully handle symlink creation when updating Remix packages (#9569)
Fixes an edge-case error when changing the version of Remix and then making a deployment to Vercel when there is already an existing build cache:

> Error: EEXIST: file already exists, symlink '../.pnpm/@remix-run+server-runtime@1.5.0_biqbaboplfbrettd7655fr4n2y/node_modules/@remix-run/server-runtime' -> '/vercel/path0/node_modules/@remix-run/server-runtime'

This would happen because the symlink was created in a previous run, but no longer points to a valid path because it's a different version. To fix we'll delete the previous symlink when the target value does not match.
2023-02-28 22:51:58 +00:00
Nathan Rajlich
b78cfc9ba5 [remix] Set framework property on Lambda / EdgeFunction (#9579) 2023-02-28 22:16:05 +00:00
Chris Barber
803a9363f9 Publish Stable
- vercel@28.16.9
 - @vercel/gatsby-plugin-vercel-analytics@1.0.8
 - @vercel/gatsby-plugin-vercel-builder@1.1.11
 - @vercel/node-bridge@3.1.14
 - @vercel/node@2.9.10
 - @vercel/static-build@1.3.14
2023-02-28 15:32:23 -06:00
Chris Barber
4a0a3b64a2 [node] Added middlewareRawSrc to BOA route config (#9435)
Blocked by https://github.com/vercel/vercel/pull/9564

The build output's route configuration contains a compiled `src` from the list of `matchers` in middleware config, however we need to also save the original inputs so that we can render something meaningful in the web UI. The new prop added to the route is called `middlewareRawSrc` of type `string[]`.

This PR depends on https://github.com/vercel/api/pull/17231.

Linear: https://linear.app/vercel/issue/VCCLI-411/display-uncompressed-edge-middleware-matcher-show-the-list-of-matches
2023-02-28 21:26:26 +00:00
Mehul Kar
347c2de3a2 [tests] Adopt Workspace Configurations from turbo@1.8 (#9573) 2023-02-28 20:49:28 +00:00
Ethan Arrowood
a05cc11719 [tests] Fix gatsby cron job script - git diff operation (#9577)
as titled
2023-02-28 13:13:57 -07:00
Ethan Arrowood
55b999ea9b [tests] add missing -w option for pnpm in gatsby cron job script (#9575)
as titled
2023-02-28 13:05:31 -07:00
Ethan Arrowood
8babc3694f [tests] Fix gatsby cron job (#9574)
Changes logic so its a single npm call instead of multiple
2023-02-28 11:59:58 -08:00
Ethan Arrowood
6dc0321216 [tests] add missing __dirname from gatsby cron job script (#9572)
as titled
2023-02-28 11:40:05 -08:00
Ethan Arrowood
3df8c05792 [tests] Add cron job to update gatsby fixtures (#9510)
PR to add a cron job and script that automatically updates gatsby
fixture versions.
2023-02-28 11:32:00 -08:00
34 changed files with 46517 additions and 36342 deletions

View File

@@ -0,0 +1,31 @@
name: Cron Update Gatsby Fixtures
on:
# Allow manual runs
workflow_dispatch:
# Run once a week https://crontab.guru/once-a-week
schedule:
- cron: '0 0 * * 0'
jobs:
create-pull-request:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# 0 means fetch all commits so we can commit and push in the script below
with:
fetch-depth: 0
- name: Enable corepack
run: corepack enable pnpm
- name: Create Pull Request
uses: actions/github-script@v6
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}
# See https://github.com/actions/github-script#run-a-separate-file-with-an-async-function
with:
github-token: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}
script: |
const script = require('./utils/update-gatsby-fixtures.js')
await script({ github, context })

View File

@@ -16,6 +16,9 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -41,6 +44,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
- name: install npm@9
run: npm i -g npm@9
- name: install pnpm@7.24.2
run: npm i -g pnpm@7.24.2
- name: Install

1
.npmrc
View File

@@ -1,3 +1,4 @@
provenance=true
save-exact=true
hoist-pattern[]=!"**/@types/**"
hoist-pattern[]=!"**/typedoc"

View File

@@ -32,7 +32,7 @@
"source-map-support": "0.5.12",
"ts-eager": "2.0.2",
"ts-jest": "28.0.5",
"turbo": "1.7.4"
"turbo": "1.8.2"
},
"scripts": {
"lerna": "lerna",

View File

@@ -1,6 +1,6 @@
{
"name": "vercel",
"version": "28.16.8",
"version": "28.16.10",
"preferGlobal": true,
"license": "Apache-2.0",
"description": "The command-line interface for Vercel",
@@ -45,12 +45,12 @@
"@vercel/go": "2.3.9",
"@vercel/hydrogen": "0.0.55",
"@vercel/next": "3.6.2",
"@vercel/node": "2.9.9",
"@vercel/node": "2.9.10",
"@vercel/python": "3.1.51",
"@vercel/redwood": "1.1.7",
"@vercel/remix": "1.4.2",
"@vercel/remix": "1.4.3",
"@vercel/ruby": "1.3.68",
"@vercel/static-build": "1.3.13"
"@vercel/static-build": "1.3.14"
},
"devDependencies": {
"@alex_neo/jest-expect-message": "1.0.5",

View File

@@ -484,6 +484,7 @@ describe('build', () => {
{
src: '^/.*$',
middlewarePath: 'middleware',
middlewareRawSrc: [],
override: true,
continue: true,
},
@@ -548,6 +549,7 @@ describe('build', () => {
{
src: '^/.*$',
middlewarePath: 'middleware',
middlewareRawSrc: [],
override: true,
continue: true,
},
@@ -612,6 +614,7 @@ describe('build', () => {
{
src: '^\\/about(?:\\/((?:[^\\/#\\?]+?)(?:\\/(?:[^\\/#\\?]+?))*))?[\\/#\\?]?$|^\\/dashboard(?:\\/((?:[^\\/#\\?]+?)(?:\\/(?:[^\\/#\\?]+?))*))?[\\/#\\?]?$',
middlewarePath: 'middleware',
middlewareRawSrc: ['/about/:path*', '/dashboard/:path*'],
override: true,
continue: true,
},

13
packages/cli/turbo.json Normal file
View File

@@ -0,0 +1,13 @@
{
"$schema": "https://turborepo.org/schema.json",
"extends": ["//"],
"pipeline": {
"build": {
"outputs": [
"dist/**",
"src/util/constants.ts",
"src/util/dev/templates/*.ts"
]
}
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/gatsby-plugin-vercel-analytics",
"version": "1.0.7",
"version": "1.0.8",
"description": "Track Core Web Vitals in Gatsby projects with Vercel Analytics.",
"main": "index.js",
"files": [

View File

@@ -0,0 +1,9 @@
{
"$schema": "https://turborepo.org/schema.json",
"extends": ["//"],
"pipeline": {
"build": {
"outputs": ["gatsby-browser.js", "web-vitals.js", "index.js"]
}
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/gatsby-plugin-vercel-builder",
"version": "1.1.10",
"version": "1.1.11",
"main": "dist/index.js",
"files": [
"dist",
@@ -15,7 +15,7 @@
},
"dependencies": {
"@vercel/build-utils": "6.3.2",
"@vercel/node": "2.9.9",
"@vercel/node": "2.9.10",
"@vercel/routing-utils": "2.1.10",
"ajv": "8.12.0",
"esbuild": "0.14.47",

View File

@@ -0,0 +1,9 @@
{
"$schema": "https://turborepo.org/schema.json",
"extends": ["//"],
"pipeline": {
"build": {
"outputs": ["dist/**", "gatsby-node.js"]
}
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/node-bridge",
"version": "3.1.13",
"version": "3.1.14",
"license": "MIT",
"main": "./index.js",
"repository": {

View File

@@ -0,0 +1,9 @@
{
"$schema": "https://turborepo.org/schema.json",
"extends": ["//"],
"pipeline": {
"build": {
"outputs": ["helpers.js", "source-map-support.js"]
}
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/node",
"version": "2.9.9",
"version": "2.9.10",
"license": "MIT",
"main": "./dist/index",
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
@@ -32,7 +32,7 @@
"@edge-runtime/vm": "2.0.0",
"@types/node": "14.18.33",
"@vercel/build-utils": "6.3.2",
"@vercel/node-bridge": "3.1.13",
"@vercel/node-bridge": "3.1.14",
"@vercel/static-config": "2.0.13",
"edge-runtime": "2.0.0",
"esbuild": "0.14.47",

View File

@@ -449,9 +449,19 @@ export const build: BuildV3 = async ({
// Middleware is a catch-all for all paths unless a `matcher` property is defined
const src = getRegExpFromMatchers(staticConfig?.matcher);
const middlewareRawSrc: string[] = [];
if (staticConfig?.matcher) {
if (Array.isArray(staticConfig.matcher)) {
middlewareRawSrc.push(...staticConfig.matcher);
} else {
middlewareRawSrc.push(staticConfig.matcher as string);
}
}
routes = [
{
src,
middlewareRawSrc,
middlewarePath: outputPath,
continue: true,
override: true,

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/remix",
"version": "1.4.2",
"version": "1.4.3",
"license": "MIT",
"main": "./dist/index.js",
"homepage": "https://vercel.com/docs",

View File

@@ -93,6 +93,14 @@ export const build: BuildV2 = async ({
await runNpmInstall(entrypointFsDirname, [], spawnOpts, meta, nodeVersion);
}
const remixDevPackageJsonPath = _require.resolve(
'@remix-run/dev/package.json',
{ paths: [entrypointFsDirname] }
);
const remixVersion = JSON.parse(
await fs.readFile(remixDevPackageJsonPath, 'utf8')
).version;
// Make `remix build` output production mode
spawnOpts.env.NODE_ENV = 'production';
@@ -208,14 +216,16 @@ module.exports = config;`;
repoRootPath,
join(entrypointFsDirname, serverBuildPath),
remixConfig.serverEntryPoint,
nodeVersion
nodeVersion,
remixVersion
),
hasEdgeRoute
? createRenderEdgeFunction(
entrypointFsDirname,
repoRootPath,
join(entrypointFsDirname, serverBuildPath),
remixConfig.serverEntryPoint
remixConfig.serverEntryPoint,
remixVersion
)
: undefined,
]);
@@ -301,7 +311,8 @@ async function createRenderNodeFunction(
rootDir: string,
serverBuildPath: string,
serverEntryPoint: string | undefined,
nodeVersion: NodeVersion
nodeVersion: NodeVersion,
remixVersion: string
): Promise<NodejsLambda> {
const files: Files = {};
@@ -338,6 +349,10 @@ async function createRenderNodeFunction(
shouldAddSourcemapSupport: false,
operationType: 'SSR',
experimentalResponseStreaming: true,
framework: {
slug: 'remix',
version: remixVersion,
},
});
return fn;
@@ -347,7 +362,8 @@ async function createRenderEdgeFunction(
entrypointDir: string,
rootDir: string,
serverBuildPath: string,
serverEntryPoint: string | undefined
serverEntryPoint: string | undefined,
remixVersion: string
): Promise<EdgeFunction> {
const files: Files = {};
@@ -447,6 +463,10 @@ async function createRenderEdgeFunction(
deploymentTarget: 'v8-worker',
name: 'render',
entrypoint: handler,
framework: {
slug: 'remix',
version: remixVersion,
},
});
return fn;
@@ -481,14 +501,7 @@ async function ensureResolvable(start: string, base: string, pkgName: string) {
const match = packages.find(p => p.startsWith(prefix));
if (match) {
const pkgDir = join(pnpmDir, match, 'node_modules', pkgName);
const symlinkPath = join(pnpmDir, '..', pkgName);
const symlinkDir = dirname(symlinkPath);
const symlinkTarget = relative(symlinkDir, pkgDir);
await fs.mkdir(symlinkDir, { recursive: true });
await fs.symlink(symlinkTarget, symlinkPath);
console.warn(
`WARN: Created symlink for "${pkgName}". To silence this warning, add "${pkgName}" to "dependencies" in your \`package.json\` file.`
);
await ensureSymlink(pkgDir, join(pnpmDir, '..'), pkgName);
return;
}
}
@@ -506,14 +519,7 @@ async function ensureResolvable(start: string, base: string, pkgName: string) {
const match = packages.find(p => p.startsWith(prefix));
if (match) {
const pkgDir = join(prefixDir, match, 'node_modules', pkgName);
const symlinkPath = join(npmDir, '..', pkgName);
const symlinkDir = dirname(symlinkPath);
const symlinkTarget = relative(symlinkDir, pkgDir);
await fs.mkdir(symlinkDir, { recursive: true });
await fs.symlink(symlinkTarget, symlinkPath);
console.warn(
`WARN: Created symlink for "${pkgName}". To silence this warning, add "${pkgName}" to "dependencies" in your \`package.json\` file.`
);
await ensureSymlink(pkgDir, join(npmDir, '..'), pkgName);
return;
}
}
@@ -523,6 +529,37 @@ async function ensureResolvable(start: string, base: string, pkgName: string) {
);
}
async function ensureSymlink(
target: string,
nodeModulesDir: string,
pkgName: string
) {
const symlinkPath = join(nodeModulesDir, pkgName);
const symlinkDir = dirname(symlinkPath);
const relativeTarget = relative(symlinkDir, target);
try {
const existingTarget = await fs.readlink(symlinkPath);
if (existingTarget === relativeTarget) {
// Symlink is already the expected value, so do nothing
return;
} else {
// If a symlink already exists then delete it if the target doesn't match
await fs.unlink(symlinkPath);
}
} catch (err: any) {
// Ignore when path does not exist or is not a symlink
if (err.code !== 'ENOENT' && err.code !== 'EINVAL') {
throw err;
}
}
await fs.symlink(relativeTarget, symlinkPath);
console.warn(
`WARN: Created symlink for "${pkgName}". To silence this warning, add "${pkgName}" to "dependencies" in your \`package.json\` file.`
);
}
function isEdgeRuntime(runtime: string): boolean {
return runtime === 'edge' || runtime === 'experimental-edge';
}

View File

@@ -5,7 +5,7 @@
"src": "package.json",
"use": "@vercel/remix",
"config": {
"installCommand": "npm install --install-strategy=linked",
"installCommand": "npm install --install-strategy=linked && ln -sf broken 'node_modules/@remix-run/server-runtime'",
"zeroConfig": true
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/static-build",
"version": "1.3.13",
"version": "1.3.14",
"license": "MIT",
"main": "./dist/index",
"homepage": "https://vercel.com/docs/build-step",
@@ -29,8 +29,8 @@
}
},
"dependencies": {
"@vercel/gatsby-plugin-vercel-analytics": "1.0.7",
"@vercel/gatsby-plugin-vercel-builder": "1.1.10"
"@vercel/gatsby-plugin-vercel-analytics": "1.0.8",
"@vercel/gatsby-plugin-vercel-builder": "1.1.11"
},
"devDependencies": {
"@types/aws-lambda": "8.10.64",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
{
"private": true,
"dependencies": {
"gatsby": "4.25.2",
"gatsby": "4.25.4",
"gatsby-plugin-image": "^2.21.0",
"gatsby-plugin-manifest": "^4.21.0",
"gatsby-plugin-pnpm": "1.2.10",

View File

@@ -4,7 +4,7 @@ importers:
.:
specifiers:
gatsby: 4.25.2
gatsby: 4.25.4
gatsby-plugin-image: ^2.21.0
gatsby-plugin-manifest: ^4.21.0
gatsby-plugin-pnpm: 1.2.10
@@ -15,13 +15,13 @@ importers:
react: ^18.1.0
react-dom: ^18.1.0
dependencies:
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby-plugin-image: 2.25.0_ydhzldbgycgmvbrpalo2wmdfge
gatsby-plugin-manifest: 4.25.0_gatsby@4.25.2
gatsby-plugin-pnpm: 1.2.10_gatsby@4.25.2
gatsby-plugin-sharp: 4.25.0_gatsby@4.25.2
gatsby-source-filesystem: 4.25.0_gatsby@4.25.2
gatsby-transformer-sharp: 4.25.0_6zi7tjmr4qfzq3ejpz7sb2ox7u
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
gatsby-plugin-image: 2.25.0_xaovy7gaxklfiuhcegdtqnpnhi
gatsby-plugin-manifest: 4.25.0_gatsby@4.25.4
gatsby-plugin-pnpm: 1.2.10_gatsby@4.25.4
gatsby-plugin-sharp: 4.25.0_gatsby@4.25.4
gatsby-source-filesystem: 4.25.0_gatsby@4.25.4
gatsby-transformer-sharp: 4.25.0_c4ebbafybzmh26iep5hpxccrn4
prop-types: 15.8.1
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
@@ -2330,6 +2330,10 @@ packages:
lodash.deburr: 4.1.0
dev: false
/@socket.io/component-emitter/3.1.0:
resolution: {integrity: sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==}
dev: false
/@swc/helpers/0.4.14:
resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==}
dependencies:
@@ -2385,10 +2389,6 @@ packages:
resolution: {integrity: sha512-20R/mDpKSPWdJs5TOpz3e7zqbeCNuMCPhV7Yndk9KU2Rbij2r5W4RzwDPkzC+2lzUqXYu9rFzTktCBnDjHuNQg==}
dev: false
/@types/component-emitter/1.2.11:
resolution: {integrity: sha512-SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV2oux4jDZQ==}
dev: false
/@types/configstore/2.1.1:
resolution: {integrity: sha512-YY+hm3afkDHeSM2rsFXxeZtu0garnusBWNG1+7MknmDWQHqcH2w21/xOU9arJUi8ch4qyFklidANLCu3ihhVwQ==}
dev: false
@@ -2411,7 +2411,7 @@ packages:
resolution: {integrity: sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==}
dependencies:
'@types/eslint': 8.4.10
'@types/estree': 0.0.51
'@types/estree': 1.0.0
dev: false
/@types/eslint/7.29.0:
@@ -2424,7 +2424,7 @@ packages:
/@types/eslint/8.4.10:
resolution: {integrity: sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==}
dependencies:
'@types/estree': 0.0.51
'@types/estree': 1.0.0
'@types/json-schema': 7.0.11
dev: false
@@ -2444,7 +2444,7 @@ packages:
resolution: {integrity: sha512-ATA/xrS7CZ3A2WCPVY4eKdNpybq56zqlTirnHhhyOztZM/lPxJzusOBI3BsaXbu6FrUluqzvMlI4sZ6BDYMlMg==}
dependencies:
'@types/minimatch': 5.1.2
'@types/node': 8.10.66
'@types/node': 18.11.18
dev: false
/@types/http-cache-semantics/4.0.1:
@@ -2482,7 +2482,7 @@ packages:
/@types/mkdirp/0.5.2:
resolution: {integrity: sha512-U5icWpv7YnZYGsN4/cmh3WD2onMY0aJIiTE6+51TwJCttdHvtCYmkBNOobHlXwrJRL0nkH9jH4kD+1FAdMN4Tg==}
dependencies:
'@types/node': 8.10.66
'@types/node': 18.11.18
dev: false
/@types/node-fetch/2.6.2:
@@ -2532,7 +2532,7 @@ packages:
resolution: {integrity: sha512-YyP+VfeaqAyFmXoTh3HChxOQMyjByRMsHU7kc5KOJkSlXudhMhQIALbYV7rHh/l8d2lX3VUQzprrcAgWdRuU8g==}
dependencies:
'@types/glob': 5.0.37
'@types/node': 8.10.66
'@types/node': 18.11.18
dev: false
/@types/scheduler/0.16.2:
@@ -3180,7 +3180,7 @@ packages:
- supports-color
dev: false
/babel-plugin-remove-graphql-queries/4.25.0_b3vlds4jyvbln6bwxmbjhxwmje:
/babel-plugin-remove-graphql-queries/4.25.0_7b2zndudfh72txnvkexbyma2ty:
resolution: {integrity: sha512-enyqRNRrn7vTG3nwg1V+XhoAJIyUv3ZukQCs5KbHOK+WNDDiGZQzIG+FCiZFACScdZBJWyx7TYRYbOFJZ/KEGg==}
engines: {node: '>=14.15.0'}
peerDependencies:
@@ -3190,11 +3190,11 @@ packages:
'@babel/core': 7.20.12
'@babel/runtime': 7.20.7
'@babel/types': 7.20.7
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
gatsby-core-utils: 3.25.0
dev: false
/babel-plugin-remove-graphql-queries/4.25.0_gatsby@4.25.2:
/babel-plugin-remove-graphql-queries/4.25.0_gatsby@4.25.4:
resolution: {integrity: sha512-enyqRNRrn7vTG3nwg1V+XhoAJIyUv3ZukQCs5KbHOK+WNDDiGZQzIG+FCiZFACScdZBJWyx7TYRYbOFJZ/KEGg==}
engines: {node: '>=14.15.0'}
peerDependencies:
@@ -3203,7 +3203,7 @@ packages:
dependencies:
'@babel/runtime': 7.20.7
'@babel/types': 7.20.7
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
gatsby-core-utils: 3.25.0
dev: false
@@ -3280,10 +3280,6 @@ packages:
- supports-color
dev: false
/backo2/1.0.2:
resolution: {integrity: sha512-zj6Z6M7Eq+PBZ7PQxl5NT665MvJdAkzp0f60nAJ+sLaSCBPMwVak5ZegFbgVCzFcCJTKFoMizvM5Ld7+JrRJHA==}
dev: false
/balanced-match/1.0.2:
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
dev: false
@@ -3294,11 +3290,6 @@ packages:
safe-buffer: 5.2.1
dev: false
/base64-arraybuffer/0.1.4:
resolution: {integrity: sha512-a1eIFi4R9ySrbiMuyTGx5e92uRH5tQY6kArNcFaKBUleIoLjdjBg7Zxm3Mqm3Kmkf27HLR/1fnxX9q8GQ7Iavg==}
engines: {node: '>= 0.6.0'}
dev: false
/base64-js/1.5.1:
resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}
dev: false
@@ -3771,10 +3762,6 @@ packages:
resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==}
dev: false
/component-emitter/1.3.0:
resolution: {integrity: sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==}
dev: false
/compressible/2.0.18:
resolution: {integrity: sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==}
engines: {node: '>= 0.6'}
@@ -3857,7 +3844,7 @@ packages:
dev: false
/cookie-signature/1.0.6:
resolution: {integrity: sha1-4wOogrNCzD7oylE6eZmXNNqzriw=}
resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==}
dev: false
/cookie/0.4.2:
@@ -4466,43 +4453,39 @@ packages:
once: 1.4.0
dev: false
/engine.io-client/4.1.4:
resolution: {integrity: sha512-843fqAdKeUMFqKi1sSjnR11tJ4wi8sIefu6+JC1OzkkJBmjtc/gM/rZ53tJfu5Iae/3gApm5veoS+v+gtT0+Fg==}
/engine.io-client/6.2.3:
resolution: {integrity: sha512-aXPtgF1JS3RuuKcpSrBtimSjYvrbhKW9froICH4s0F3XQWLxsKNxqzG39nnvQZQnva4CMvUK63T7shevxRyYHw==}
dependencies:
base64-arraybuffer: 0.1.4
component-emitter: 1.3.0
'@socket.io/component-emitter': 3.1.0
debug: 4.3.4
engine.io-parser: 4.0.3
has-cors: 1.1.0
parseqs: 0.0.6
parseuri: 0.0.6
ws: 7.4.6
xmlhttprequest-ssl: 1.6.3
yeast: 0.1.2
engine.io-parser: 5.0.6
ws: 8.2.3
xmlhttprequest-ssl: 2.0.0
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
dev: false
/engine.io-parser/4.0.3:
resolution: {integrity: sha512-xEAAY0msNnESNPc00e19y5heTPX4y/TJ36gr8t1voOaNmTojP9b3oK3BbJLFufW2XFPQaaijpFewm2g2Um3uqA==}
engines: {node: '>=8.0.0'}
dependencies:
base64-arraybuffer: 0.1.4
/engine.io-parser/5.0.6:
resolution: {integrity: sha512-tjuoZDMAdEhVnSFleYPCtdL2GXwVTGtNjoeJd9IhIG3C1xs9uwxqRNEu5WpnDZCaozwVlK/nuQhpodhXSIMaxw==}
engines: {node: '>=10.0.0'}
dev: false
/engine.io/4.1.2:
resolution: {integrity: sha512-t5z6zjXuVLhXDMiFJPYsPOWEER8B0tIsD3ETgw19S1yg9zryvUfY3Vhtk3Gf4sihw/bQGIqQ//gjvVlu+Ca0bQ==}
/engine.io/6.2.1:
resolution: {integrity: sha512-ECceEFcAaNRybd3lsGQKas3ZlMVjN3cyWwMP25D2i0zWfyiytVbTpRPa34qrr+FHddtpBVOmq4H/DCv1O0lZRA==}
engines: {node: '>=10.0.0'}
dependencies:
'@types/cookie': 0.4.1
'@types/cors': 2.8.13
'@types/node': 18.11.18
accepts: 1.3.8
base64id: 2.0.0
cookie: 0.4.2
cors: 2.8.5
debug: 4.3.4
engine.io-parser: 4.0.3
ws: 7.4.6
engine.io-parser: 5.0.6
ws: 8.2.3
transitivePeerDependencies:
- bufferutil
- supports-color
@@ -5613,7 +5596,7 @@ packages:
'@parcel/transformer-json': 2.6.2_@parcel+core@2.6.2
dev: false
/gatsby-plugin-image/2.25.0_ydhzldbgycgmvbrpalo2wmdfge:
/gatsby-plugin-image/2.25.0_xaovy7gaxklfiuhcegdtqnpnhi:
resolution: {integrity: sha512-Q1TRjvBF7x50alS22i91rksl7A3g42S0jIdPEQcT9bl8MbFaJiboHGna/jp78nxm9vu4qtUJ1IziRSOu0bgHNQ==}
peerDependencies:
'@babel/core': ^7.12.3
@@ -5628,16 +5611,16 @@ packages:
'@babel/runtime': 7.20.7
'@babel/traverse': 7.20.12
babel-jsx-utils: 1.1.0
babel-plugin-remove-graphql-queries: 4.25.0_gatsby@4.25.2
babel-plugin-remove-graphql-queries: 4.25.0_gatsby@4.25.4
camelcase: 5.3.1
chokidar: 3.5.3
common-tags: 1.8.2
fs-extra: 10.1.0
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
gatsby-core-utils: 3.25.0
gatsby-plugin-sharp: 4.25.0_gatsby@4.25.2
gatsby-plugin-utils: 3.19.0_gatsby@4.25.2
gatsby-source-filesystem: 4.25.0_gatsby@4.25.2
gatsby-plugin-sharp: 4.25.0_gatsby@4.25.4
gatsby-plugin-utils: 3.19.0_gatsby@4.25.4
gatsby-source-filesystem: 4.25.0_gatsby@4.25.4
objectFitPolyfill: 2.3.5
prop-types: 15.8.1
react: 18.2.0
@@ -5647,23 +5630,23 @@ packages:
- supports-color
dev: false
/gatsby-plugin-manifest/4.25.0_gatsby@4.25.2:
/gatsby-plugin-manifest/4.25.0_gatsby@4.25.4:
resolution: {integrity: sha512-2n7v+TvhWUMoOJEaeiPDFsf9jvOImKLZpnzxE8e6ZeeoGeDngXSZhkkP3x2UYIknHtZXUUjFJh8BaVBXiB1dSQ==}
engines: {node: '>=14.15.0'}
peerDependencies:
gatsby: ^4.0.0-next
dependencies:
'@babel/runtime': 7.20.7
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
gatsby-core-utils: 3.25.0
gatsby-plugin-utils: 3.19.0_gatsby@4.25.2
gatsby-plugin-utils: 3.19.0_gatsby@4.25.4
semver: 7.3.8
sharp: 0.30.7
transitivePeerDependencies:
- graphql
dev: false
/gatsby-plugin-page-creator/4.25.0_5nijmeqlgjulq3py6h447sls2a:
/gatsby-plugin-page-creator/4.25.0_ikkr2w7n6b7ns22fowdw6fv24e:
resolution: {integrity: sha512-plHek7xHSV9l1bLPa1JAnxzBqP7j2ihCPRwpBk/wIJAR8cG65wjAT+Nu8DKpW0+2/MYill84ns1r2m8g0L/7bg==}
engines: {node: '>=14.15.0'}
peerDependencies:
@@ -5675,10 +5658,10 @@ packages:
chokidar: 3.5.3
fs-exists-cached: 1.0.0
fs-extra: 10.1.0
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
gatsby-core-utils: 3.25.0
gatsby-page-utils: 2.25.0
gatsby-plugin-utils: 3.19.0_5nijmeqlgjulq3py6h447sls2a
gatsby-plugin-utils: 3.19.0_ikkr2w7n6b7ns22fowdw6fv24e
gatsby-telemetry: 3.25.0
globby: 11.1.0
lodash: 4.17.21
@@ -5688,17 +5671,17 @@ packages:
- supports-color
dev: false
/gatsby-plugin-pnpm/1.2.10_gatsby@4.25.2:
/gatsby-plugin-pnpm/1.2.10_gatsby@4.25.4:
resolution: {integrity: sha512-29xjIakNEUY42OBb3wI9Thmawr5EcUUOB3dB8nE51yr/TfKQFCREk+HAOATQHTNedG3VZhgU4wVjl2V3wgOXJA==}
peerDependencies:
gatsby: ~2.x.x || ~3.x.x || ~4.x.x
dependencies:
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
lodash.get: 4.4.2
lodash.uniq: 4.5.0
dev: false
/gatsby-plugin-sharp/4.25.0_gatsby@4.25.2:
/gatsby-plugin-sharp/4.25.0_gatsby@4.25.4:
resolution: {integrity: sha512-8XiSKibQyp6pOFHEkEdRCpoDA3Ywcq5PKftNMExZ51MormT0+WqRC7ynuU+0fzktDTbbSyREvblKa+21Id+rRA==}
engines: {node: '>=14.15.0'}
peerDependencies:
@@ -5710,9 +5693,9 @@ packages:
debug: 4.3.4
filenamify: 4.3.0
fs-extra: 10.1.0
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
gatsby-core-utils: 3.25.0
gatsby-plugin-utils: 3.19.0_gatsby@4.25.2
gatsby-plugin-utils: 3.19.0_gatsby@4.25.4
lodash: 4.17.21
probe-image-size: 7.2.3
semver: 7.3.8
@@ -5722,7 +5705,7 @@ packages:
- supports-color
dev: false
/gatsby-plugin-typescript/4.25.0_gatsby@4.25.2:
/gatsby-plugin-typescript/4.25.0_gatsby@4.25.4:
resolution: {integrity: sha512-8BTtiVWuIqIEGx/PBBMWd6FYPgel16hT3js7SMo5oI9K4EPsSxRItgRf41MTJGxRR20EhL4e99g2S8x0v1+odA==}
engines: {node: '>=14.15.0'}
peerDependencies:
@@ -5734,13 +5717,13 @@ packages:
'@babel/plugin-proposal-optional-chaining': 7.20.7_@babel+core@7.20.12
'@babel/preset-typescript': 7.18.6_@babel+core@7.20.12
'@babel/runtime': 7.20.7
babel-plugin-remove-graphql-queries: 4.25.0_b3vlds4jyvbln6bwxmbjhxwmje
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
babel-plugin-remove-graphql-queries: 4.25.0_7b2zndudfh72txnvkexbyma2ty
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
transitivePeerDependencies:
- supports-color
dev: false
/gatsby-plugin-utils/3.19.0_5nijmeqlgjulq3py6h447sls2a:
/gatsby-plugin-utils/3.19.0_gatsby@4.25.4:
resolution: {integrity: sha512-EZtvgHSU5NPbEn6a4cfSpEGCQ09SfwbhoybHTJKj1clop86HSwOCV2iH8RbCc+X6jbdgHaSZsfsl7zG1h7DBUw==}
engines: {node: '>=14.15.0'}
peerDependencies:
@@ -5750,17 +5733,16 @@ packages:
'@babel/runtime': 7.20.7
fastq: 1.15.0
fs-extra: 10.1.0
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
gatsby-core-utils: 3.25.0
gatsby-sharp: 0.19.0
graphql: 15.8.0
graphql-compose: 9.0.10_graphql@15.8.0
graphql-compose: 9.0.10
import-from: 4.0.0
joi: 17.7.0
mime: 3.0.0
dev: false
/gatsby-plugin-utils/3.19.0_gatsby@4.25.2:
/gatsby-plugin-utils/3.19.0_ikkr2w7n6b7ns22fowdw6fv24e:
resolution: {integrity: sha512-EZtvgHSU5NPbEn6a4cfSpEGCQ09SfwbhoybHTJKj1clop86HSwOCV2iH8RbCc+X6jbdgHaSZsfsl7zG1h7DBUw==}
engines: {node: '>=14.15.0'}
peerDependencies:
@@ -5770,10 +5752,11 @@ packages:
'@babel/runtime': 7.20.7
fastq: 1.15.0
fs-extra: 10.1.0
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
gatsby-core-utils: 3.25.0
gatsby-sharp: 0.19.0
graphql-compose: 9.0.10
graphql: 15.8.0
graphql-compose: 9.0.10_graphql@15.8.0
import-from: 4.0.0
joi: 17.7.0
mime: 3.0.0
@@ -5815,7 +5798,7 @@ packages:
sharp: 0.30.7
dev: false
/gatsby-source-filesystem/4.25.0_gatsby@4.25.2:
/gatsby-source-filesystem/4.25.0_gatsby@4.25.4:
resolution: {integrity: sha512-gja4++bPkYpnum4/TxFicr3zRHBArnM2HjT77EE4EuDhdl6qlJYr/heD09LIPN2jdR5gmPwMDjIZnuYZ/6j/aQ==}
engines: {node: '>=14.15.0'}
peerDependencies:
@@ -5825,7 +5808,7 @@ packages:
chokidar: 3.5.3
file-type: 16.5.4
fs-extra: 10.1.0
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
gatsby-core-utils: 3.25.0
md5-file: 5.0.0
mime: 2.6.0
@@ -5855,7 +5838,7 @@ packages:
- encoding
dev: false
/gatsby-transformer-sharp/4.25.0_6zi7tjmr4qfzq3ejpz7sb2ox7u:
/gatsby-transformer-sharp/4.25.0_c4ebbafybzmh26iep5hpxccrn4:
resolution: {integrity: sha512-7aqecTvOUFiNB96ij77UnAGJs7Un0TlkpamG//dSl6Nru9EylGz/NW/Eg0vioQyHLCYdMvd5xO8V3BOHJADsnw==}
engines: {node: '>=14.15.0'}
peerDependencies:
@@ -5866,9 +5849,9 @@ packages:
bluebird: 3.7.2
common-tags: 1.8.2
fs-extra: 10.1.0
gatsby: 4.25.2_biqbaboplfbrettd7655fr4n2y
gatsby-plugin-sharp: 4.25.0_gatsby@4.25.2
gatsby-plugin-utils: 3.19.0_gatsby@4.25.2
gatsby: 4.25.4_biqbaboplfbrettd7655fr4n2y
gatsby-plugin-sharp: 4.25.0_gatsby@4.25.4
gatsby-plugin-utils: 3.19.0_gatsby@4.25.4
probe-image-size: 7.2.3
semver: 7.3.8
sharp: 0.30.7
@@ -5887,8 +5870,8 @@ packages:
- supports-color
dev: false
/gatsby/4.25.2_biqbaboplfbrettd7655fr4n2y:
resolution: {integrity: sha512-HKSWRdTOK5IBFDDgCKiPXiyszfdTTGZ+pple6My6dQ5a5U+Gn1PpjBIiYj4Me9WJAveQzC7tChsqBVVt7r6few==}
/gatsby/4.25.4_biqbaboplfbrettd7655fr4n2y:
resolution: {integrity: sha512-4IGQ615FCJi/o9qTvyZeZ4Pr04y+zpmxr531/r8rcJK1fcPC3BFR8QGxCrPNxI4jST/Imu4oRYYhnja/VWBCNg==}
engines: {node: '>=14.15.0'}
hasBin: true
requiresBuild: true
@@ -5933,7 +5916,7 @@ packages:
babel-plugin-add-module-exports: 1.0.4
babel-plugin-dynamic-import-node: 2.3.3
babel-plugin-lodash: 3.3.4
babel-plugin-remove-graphql-queries: 4.25.0_b3vlds4jyvbln6bwxmbjhxwmje
babel-plugin-remove-graphql-queries: 4.25.0_7b2zndudfh72txnvkexbyma2ty
babel-preset-gatsby: 2.25.0_cmslh6tfftwpzuhidsdk3oqsoi
better-opn: 2.1.1
bluebird: 3.7.2
@@ -5983,9 +5966,9 @@ packages:
gatsby-link: 4.25.0_jrmehtgkntpgvrzvp7eiismjfa
gatsby-page-utils: 2.25.0
gatsby-parcel-config: 0.16.0_@parcel+core@2.6.2
gatsby-plugin-page-creator: 4.25.0_5nijmeqlgjulq3py6h447sls2a
gatsby-plugin-typescript: 4.25.0_gatsby@4.25.2
gatsby-plugin-utils: 3.19.0_5nijmeqlgjulq3py6h447sls2a
gatsby-plugin-page-creator: 4.25.0_ikkr2w7n6b7ns22fowdw6fv24e
gatsby-plugin-typescript: 4.25.0_gatsby@4.25.4
gatsby-plugin-utils: 3.19.0_ikkr2w7n6b7ns22fowdw6fv24e
gatsby-react-router-scroll: 5.25.0_jrmehtgkntpgvrzvp7eiismjfa
gatsby-script: 1.10.0_jrmehtgkntpgvrzvp7eiismjfa
gatsby-telemetry: 3.25.0
@@ -6043,8 +6026,8 @@ packages:
shallow-compare: 1.2.2
signal-exit: 3.0.7
slugify: 1.6.5
socket.io: 3.1.2
socket.io-client: 3.1.3
socket.io: 4.5.4
socket.io-client: 4.5.4
st: 2.0.0
stack-trace: 0.0.10
string-similarity: 1.2.2
@@ -6345,10 +6328,6 @@ packages:
resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==}
dev: false
/has-cors/1.1.0:
resolution: {integrity: sha512-g5VNKdkFuUuVCP9gYfDJHjK2nqdQJ7aDLTnycnc2+RvsOQbuLdF5pm7vuE5J76SEBIQjs4kQY/BWq74JUmjbXA==}
dev: false
/has-flag/3.0.0:
resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==}
engines: {node: '>=4'}
@@ -7987,14 +7966,6 @@ packages:
parse-path: 7.0.0
dev: false
/parseqs/0.0.6:
resolution: {integrity: sha512-jeAGzMDbfSHHA091hr0r31eYfTig+29g3GKKE/PPbEQ65X0lmMwlEoqmhzu0iztID5uJpZsFlUPDP8ThPL7M8w==}
dev: false
/parseuri/0.0.6:
resolution: {integrity: sha512-AUjen8sAkGgao7UyCX6Ahv0gIK2fABKmYjvP4xmy5JaKvcbTRueIqIPHLAfq30xJddqSE033IOMUSOMCcK3Sow==}
dev: false
/parseurl/1.3.3:
resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==}
engines: {node: '>= 0.8'}
@@ -9303,51 +9274,44 @@ packages:
tslib: 2.4.1
dev: false
/socket.io-adapter/2.1.0:
resolution: {integrity: sha512-+vDov/aTsLjViYTwS9fPy5pEtTkrbEKsw2M+oVSoFGw6OD1IpvlV1VPhUzNbofCQ8oyMbdYJqDtGdmHQK6TdPg==}
/socket.io-adapter/2.4.0:
resolution: {integrity: sha512-W4N+o69rkMEGVuk2D/cvca3uYsvGlMwsySWV447y99gUPghxq42BxqLNMndb+a1mm/5/7NeXVQS7RLa2XyXvYg==}
dev: false
/socket.io-client/3.1.3:
resolution: {integrity: sha512-4sIGOGOmCg3AOgGi7EEr6ZkTZRkrXwub70bBB/F0JSkMOUFpA77WsL87o34DffQQ31PkbMUIadGOk+3tx1KGbw==}
/socket.io-client/4.5.4:
resolution: {integrity: sha512-ZpKteoA06RzkD32IbqILZ+Cnst4xewU7ZYK12aS1mzHftFFjpoMz69IuhP/nL25pJfao/amoPI527KnuhFm01g==}
engines: {node: '>=10.0.0'}
dependencies:
'@types/component-emitter': 1.2.11
backo2: 1.0.2
component-emitter: 1.3.0
'@socket.io/component-emitter': 3.1.0
debug: 4.3.4
engine.io-client: 4.1.4
parseuri: 0.0.6
socket.io-parser: 4.0.5
engine.io-client: 6.2.3
socket.io-parser: 4.2.2
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
dev: false
/socket.io-parser/4.0.5:
resolution: {integrity: sha512-sNjbT9dX63nqUFIOv95tTVm6elyIU4RvB1m8dOeZt+IgWwcWklFDOdmGcfo3zSiRsnR/3pJkjY5lfoGqEe4Eig==}
/socket.io-parser/4.2.2:
resolution: {integrity: sha512-DJtziuKypFkMMHCm2uIshOYC7QaylbtzQwiMYDuCKy3OPkjLzu4B2vAhTlqipRHHzrI0NJeBAizTK7X+6m1jVw==}
engines: {node: '>=10.0.0'}
dependencies:
'@types/component-emitter': 1.2.11
component-emitter: 1.3.0
'@socket.io/component-emitter': 3.1.0
debug: 4.3.4
transitivePeerDependencies:
- supports-color
dev: false
/socket.io/3.1.2:
resolution: {integrity: sha512-JubKZnTQ4Z8G4IZWtaAZSiRP3I/inpy8c/Bsx2jrwGrTbKeVU5xd6qkKMHpChYeM3dWZSO0QACiGK+obhBNwYw==}
/socket.io/4.5.4:
resolution: {integrity: sha512-m3GC94iK9MfIEeIBfbhJs5BqFibMtkRk8ZpKwG2QwxV0m/eEhPIV4ara6XCF1LWNAus7z58RodiZlAH71U3EhQ==}
engines: {node: '>=10.0.0'}
dependencies:
'@types/cookie': 0.4.1
'@types/cors': 2.8.13
'@types/node': 18.11.18
accepts: 1.3.8
base64id: 2.0.0
debug: 4.3.4
engine.io: 4.1.2
socket.io-adapter: 2.1.0
socket.io-parser: 4.0.5
engine.io: 6.2.1
socket.io-adapter: 2.4.0
socket.io-parser: 4.2.2
transitivePeerDependencies:
- bufferutil
- supports-color
@@ -10297,9 +10261,9 @@ packages:
typedarray-to-buffer: 3.1.5
dev: false
/ws/7.4.6:
resolution: {integrity: sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==}
engines: {node: '>=8.3.0'}
/ws/8.2.3:
resolution: {integrity: sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ^5.0.2
@@ -10315,8 +10279,8 @@ packages:
engines: {node: '>=8'}
dev: false
/xmlhttprequest-ssl/1.6.3:
resolution: {integrity: sha512-3XfeQE/wNkvrIktn2Kf0869fC0BN6UpydVasGIeSm2B1Llihf7/0UfZM+eCkOw3P7bP4+qPgqhm7ZoxuJtFU0Q==}
/xmlhttprequest-ssl/2.0.0:
resolution: {integrity: sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==}
engines: {node: '>=0.4.0'}
dev: false
@@ -10402,10 +10366,6 @@ packages:
yargs-parser: 18.1.3
dev: false
/yeast/0.1.2:
resolution: {integrity: sha512-8HFIh676uyGYP6wP13R/j6OJ/1HwJ46snpvzE7aHAN3Ryqh2yX6Xox2B4CUmTwwOIzlG3Bs7ocsP5dZH/R1Qbg==}
dev: false
/yocto-queue/0.1.0:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
{
"private": true,
"dependencies": {
"gatsby": "4.25.2",
"gatsby": "4.25.4",
"gatsby-plugin-image": "^2.21.0",
"gatsby-plugin-manifest": "^4.21.0",
"gatsby-plugin-pnpm": "1.2.10",

File diff suppressed because it is too large Load Diff

View File

@@ -15,7 +15,7 @@
"clean": "gatsby clean"
},
"dependencies": {
"gatsby": "^5.4.2",
"gatsby": "5.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}

File diff suppressed because it is too large Load Diff

View File

@@ -8,7 +8,7 @@
"clean": "gatsby clean"
},
"dependencies": {
"gatsby": "^5.4.2",
"gatsby": "5.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}

78
pnpm-lock.yaml generated
View File

@@ -29,7 +29,7 @@ importers:
source-map-support: 0.5.12
ts-eager: 2.0.2
ts-jest: 28.0.5
turbo: 1.7.4
turbo: 1.8.2
dependencies:
lerna: 5.6.2
devDependencies:
@@ -57,7 +57,7 @@ importers:
source-map-support: 0.5.12
ts-eager: 2.0.2
ts-jest: 28.0.5_jest@28.0.2
turbo: 1.7.4
turbo: 1.8.2
api:
specifiers:
@@ -214,13 +214,13 @@ importers:
'@vercel/hydrogen': 0.0.55
'@vercel/ncc': 0.24.0
'@vercel/next': 3.6.2
'@vercel/node': 2.9.9
'@vercel/node': 2.9.10
'@vercel/python': 3.1.51
'@vercel/redwood': 1.1.7
'@vercel/remix': 1.4.2
'@vercel/remix': 1.4.3
'@vercel/routing-utils': 2.1.10
'@vercel/ruby': 1.3.68
'@vercel/static-build': 1.3.13
'@vercel/static-build': 1.3.14
'@zeit/source-map-support': 0.6.2
ajv: 6.12.2
alpha-sort: 2.0.1
@@ -598,7 +598,7 @@ importers:
'@types/node': 14.18.33
'@types/react': 18.0.26
'@vercel/build-utils': 6.3.2
'@vercel/node': 2.9.9
'@vercel/node': 2.9.10
'@vercel/routing-utils': 2.1.10
ajv: 8.12.0
esbuild: 0.14.47
@@ -777,7 +777,7 @@ importers:
'@vercel/build-utils': 6.3.2
'@vercel/ncc': 0.24.0
'@vercel/nft': 0.22.5
'@vercel/node-bridge': 3.1.13
'@vercel/node-bridge': 3.1.14
'@vercel/static-config': 2.0.13
content-type: 1.0.4
cookie: 0.4.0
@@ -948,7 +948,7 @@ importers:
dependencies:
path-to-regexp: 6.1.0
optionalDependencies:
ajv: 6.12.6
ajv: 6.12.2
devDependencies:
'@types/jest': 27.4.1
'@types/node': 14.18.33
@@ -988,8 +988,8 @@ importers:
'@vercel/build-utils': 6.3.2
'@vercel/frameworks': 1.3.2
'@vercel/fs-detectors': 3.8.2
'@vercel/gatsby-plugin-vercel-analytics': 1.0.7
'@vercel/gatsby-plugin-vercel-builder': 1.1.10
'@vercel/gatsby-plugin-vercel-analytics': 1.0.8
'@vercel/gatsby-plugin-vercel-builder': 1.1.11
'@vercel/ncc': 0.24.0
'@vercel/routing-utils': 2.1.10
'@vercel/static-config': 2.0.13
@@ -7578,6 +7578,14 @@ packages:
resolution: {integrity: sha512-hCOfMzbFx5IDutmWLAt6MZwOUjIfSM9G9FyVxytmE4Rs/5YDPWQrD/+IR1w+FweD9H2oOZEnv36TmkjhNURBVA==}
dev: false
/ajv-keywords/3.5.2_ajv@6.12.2:
resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==}
peerDependencies:
ajv: ^6.9.1
dependencies:
ajv: 6.12.2
dev: true
/ajv-keywords/3.5.2_ajv@6.12.6:
resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==}
peerDependencies:
@@ -7593,7 +7601,6 @@ packages:
fast-json-stable-stringify: 2.1.0
json-schema-traverse: 0.4.1
uri-js: 4.4.1
dev: true
/ajv/6.12.6:
resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
@@ -7602,6 +7609,7 @@ packages:
fast-json-stable-stringify: 2.1.0
json-schema-traverse: 0.4.1
uri-js: 4.4.1
dev: true
/ajv/8.12.0:
resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==}
@@ -11844,7 +11852,7 @@ packages:
'@babel/code-frame': 7.12.11
'@eslint/eslintrc': 0.4.3
'@humanwhocodes/config-array': 0.5.0
ajv: 6.12.6
ajv: 6.12.2
chalk: 4.1.2
cross-spawn: 7.0.3
debug: 4.3.4
@@ -11892,7 +11900,7 @@ packages:
dependencies:
'@eslint/eslintrc': 1.4.1
'@humanwhocodes/config-array': 0.9.5
ajv: 6.12.6
ajv: 6.12.2
chalk: 4.1.2
cross-spawn: 7.0.3
debug: 4.3.4
@@ -20701,8 +20709,8 @@ packages:
engines: {node: '>= 8.9.0'}
dependencies:
'@types/json-schema': 7.0.11
ajv: 6.12.6
ajv-keywords: 3.5.2_ajv@6.12.6
ajv: 6.12.2
ajv-keywords: 3.5.2_ajv@6.12.2
dev: true
/schema-utils/2.7.1:
@@ -22519,65 +22527,65 @@ packages:
safe-buffer: 5.2.1
dev: true
/turbo-darwin-64/1.7.4:
resolution: {integrity: sha512-ZyYrQlUl8K/mYN1e6R7bEhPPYjMakz0DYMaexkyD7TAijQtWmTSd4a+I7VknOYNEssnUZ/v41GU3gPV1JAzxxQ==}
/turbo-darwin-64/1.8.2:
resolution: {integrity: sha512-j77U0uOeppENexFsIvvzExADSqMBEeCHnm+6LSNQfaajHSrbUVSTsuD6ZMYHamT6bslc+ZZm21jdecWkwZFBbw==}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
/turbo-darwin-arm64/1.7.4:
resolution: {integrity: sha512-CKIXg9uqp1a+Yeq/c4U0alPOqvwLUq5SBZf1PGYhGqJsfG0fRBtJfkUjHuBsuJIOGXg8rCmcGSWGIsIF6fqYuw==}
/turbo-darwin-arm64/1.8.2:
resolution: {integrity: sha512-1NoAvjlwt2wycsAFJouauy9epn9DptSMy6BoGqxJVc4jiibsLepp9qYc4f1/ln0zjd3FR1IvhGOiBfdpqMN7hg==}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
/turbo-linux-64/1.7.4:
resolution: {integrity: sha512-RIUl4RUFFyzD2T024vL7509Ygwcw+SEa8NOwPfaN6TtJHK7RZV/SBP3fLNVOptG9WRLnOWX3OvsLMbiOqDLLyA==}
/turbo-linux-64/1.8.2:
resolution: {integrity: sha512-TcT3CRYnBYA46kLGGbGC2jDyCEAvMgVpUdpIZGTmod48EKpZaEfVgTkpa4GJde8W68yRFogPZjPVL3yJHFpXSA==}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/turbo-linux-arm64/1.7.4:
resolution: {integrity: sha512-Bg65F0AjYYYxqE6RPf2H5TIGuA/EyWMeGOATHVSZOWAbYcnG3Ly03GZii8AHnUi7ntWBdjwvXf/QbOS1ayNB6A==}
/turbo-linux-arm64/1.8.2:
resolution: {integrity: sha512-Mb9+KBy4YJzPMZ6WGoMzMVZ6EtueCSvOvgmNpVFgkwbtabfBuaBOvN+irtg4RRSWvJQTDTziLABieocEEXZImQ==}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/turbo-windows-64/1.7.4:
resolution: {integrity: sha512-rTaV50XZ2BRxRHOHqt1UsWfeDmYLbn8UKE6g2D2ED+uW+kmnTvR9s01nmlGWd2sAuWcRYQyQ2V+O09VfKPKcQw==}
/turbo-windows-64/1.8.2:
resolution: {integrity: sha512-/+R5ikRrw2w2w38JtNPubGLIQHgUC70m783DI9aPgaM5c8P5D/Y0k6HgjuC/uXgiaz2h3R7p7YWlr+2/E0bqyA==}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: true
optional: true
/turbo-windows-arm64/1.7.4:
resolution: {integrity: sha512-h8sxdKPvHTnWUPtwnYszFMmSO0P/iUUwmYY9n7iYThA71zSao28UeZ0H0Gw75cY3MPjvkjn2C4EBAUGPjuZJLw==}
/turbo-windows-arm64/1.8.2:
resolution: {integrity: sha512-s07viz5nXSx4kyiksuPM4FGLRkoaGMaw0BpwFjdRQsl1p+WclUN1IPdokVPKOmFpu5pNCVYlG/raP/mXAEzDCg==}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: true
optional: true
/turbo/1.7.4:
resolution: {integrity: sha512-8RLedDoUL0kkVKWEZ/RMM70BvKLyDFen06QuKKhYC2XNOfNKqFDqzIdcY/vGick869bNIWalChoy4O07k0HLsA==}
/turbo/1.8.2:
resolution: {integrity: sha512-G/uJx6bZK5RwTWHsRN/MP0MvXFznmCaL3MQXdSf+OG/q0o8GE7+yivyyWEplWI1Asc8AEN909A/wlIkoz2FKTg==}
hasBin: true
requiresBuild: true
optionalDependencies:
turbo-darwin-64: 1.7.4
turbo-darwin-arm64: 1.7.4
turbo-linux-64: 1.7.4
turbo-linux-arm64: 1.7.4
turbo-windows-64: 1.7.4
turbo-windows-arm64: 1.7.4
turbo-darwin-64: 1.8.2
turbo-darwin-arm64: 1.8.2
turbo-linux-64: 1.8.2
turbo-linux-arm64: 1.8.2
turbo-windows-64: 1.8.2
turbo-windows-arm64: 1.8.2
dev: true
/tweetnacl/0.14.5:

View File

@@ -7,30 +7,6 @@
"outputMode": "new-only",
"outputs": ["dist/**"]
},
"@vercel/node-bridge#build": {
"dependsOn": ["^build"],
"outputMode": "new-only",
"outputs": ["helpers.js", "source-map-support.js"]
},
"@vercel/gatsby-plugin-vercel-builder#build": {
"dependsOn": ["^build"],
"outputMode": "new-only",
"outputs": ["dist/**", "gatsby-node.js"]
},
"@vercel/gatsby-plugin-vercel-analytics#build": {
"dependsOn": ["^build"],
"outputMode": "new-only",
"outputs": ["gatsby-browser.js", "web-vitals.js", "index.js"]
},
"vercel#build": {
"dependsOn": ["^build"],
"outputMode": "new-only",
"outputs": [
"dist/**",
"src/util/constants.ts",
"src/util/dev/templates/*.ts"
]
},
"test-unit": {
"dependsOn": ["build"],
"outputMode": "new-only"

16
utils/exec.js vendored Normal file
View File

@@ -0,0 +1,16 @@
const { execFileSync } = require('node:child_process');
function exec(cmd, args, opts) {
console.log({ input: `${cmd} ${args.join(' ')}` });
const output = execFileSync(cmd, args, {
encoding: 'utf-8',
...opts,
}).trim();
console.log({ output });
console.log();
return output;
}
module.exports = {
exec,
};

1
utils/publish.sh vendored
View File

@@ -13,6 +13,7 @@ fi
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
echo "Logged in to npm as: $(npm whoami)"
echo "Version of npm is: $(npm --version)"
dist_tag=""
tag="$(git describe --tags --exact-match 2> /dev/null || :)"

118
utils/update-gatsby-fixtures.js vendored Normal file
View File

@@ -0,0 +1,118 @@
const path = require('path');
const fs = require('fs');
const { exec } = require('./exec');
const branch = `update/gatsby-fixtures`;
/**
* invoked by ../.github/workflows/cron-test-and-update-gatsby.yml
* @param {{ github: ReturnType<import('@actions/github').getOctokit>, context: import('@actions/github').context }} param0 Defined by https://github.com/actions/github-script
* @returns
*/
module.exports = async ({ github, context }) => {
exec('git', ['config', '--global', 'user.email', 'infra+release@vercel.com']);
exec('git', ['config', '--global', 'user.name', 'vercel-release-bot']);
try {
// Branch may exist if there's already an existing PR
exec('git', ['checkout', branch]);
} catch {
exec('git', ['checkout', '-b', branch]);
}
const fixturesPath = path.join(
__dirname,
'..',
'packages',
'static-build',
'test',
'fixtures'
);
const gatsbyFixtures = [
'gatsby-v2',
'gatsby-v3',
'gatsby-v4-pnpm',
'gatsby-v4',
'gatsby-v5-pathPrefix',
'gatsby-v5',
];
for (const fixture of gatsbyFixtures) {
const fixturePath = path.join(fixturesPath, fixture);
const packageJSONPath = path.join(fixturePath, 'package.json');
const packageJSON = JSON.parse(fs.readFileSync(packageJSONPath, 'utf-8'));
const oldVersion = packageJSON.dependencies.gatsby;
const major = oldVersion.split('.')[0];
if (fixture.includes('pnpm')) {
exec(
'pnpm',
[
'-w',
'install',
`gatsby@^${major}`,
'--save-exact',
'--lockfile-only',
],
{ cwd: fixturePath }
);
} else {
exec(
'npm',
['install', `gatsby@^${major}`, '--save-exact', '--package-lock-only'],
{ cwd: fixturePath }
);
}
}
// exec throws error on non-zero exit code
// git diff --quiet returns exit code 1 if changes detected
try {
exec('git', ['diff', '--quiet']);
} catch {
exec('git', ['add', '-A']);
exec('git', ['commit', '-m', branch]);
exec('git', ['push', 'origin', branch]);
const { repo, owner } = context.repo;
const pulls = await github.rest.pulls.list({
owner,
repo,
state: 'open',
head: branch,
});
if (pulls.length === 0) {
const pr = await github.rest.pulls.create({
owner,
repo,
head: branch,
base: 'main',
title: '[tests] Update Gatsby fixture versions',
body: 'Automatically generated PR to update Gatsby fixture versions in `@vercel/static-build`',
});
await github.rest.pulls.requestReviewers({
owner,
repo,
pull_number: pr.data.number,
reviewers: [
'Ethan-Arrowood',
'styfle',
'TooTallNate',
'EndangeredMassa',
'cb1kenobi',
],
});
await github.rest.issues.addLabels({
owner,
repo,
issue_number: pr.data.number,
labels: ['area: tests', 'semver: none', 'pr: automerge'],
});
}
}
};