mirror of
https://github.com/withastro/astro.git
synced 2025-01-13 22:11:20 -05:00
Update major deps (#10823)
This commit is contained in:
parent
91219a5cf8
commit
237e17c8fe
17 changed files with 250 additions and 463 deletions
10
.github/renovate.json5
vendored
10
.github/renovate.json5
vendored
|
@ -4,11 +4,19 @@
|
||||||
"labels": ["dependencies"],
|
"labels": ["dependencies"],
|
||||||
"rangeStrategy": "bump",
|
"rangeStrategy": "bump",
|
||||||
"ignoreDeps": [
|
"ignoreDeps": [
|
||||||
// manually bumping
|
// manually bumping deps
|
||||||
"@biomejs/biome",
|
"@biomejs/biome",
|
||||||
"@types/node",
|
"@types/node",
|
||||||
"sharp",
|
"sharp",
|
||||||
|
|
||||||
|
// manually bumping workflow actions
|
||||||
|
"actions/labeler",
|
||||||
|
|
||||||
|
// ignore "engines" update
|
||||||
|
"node",
|
||||||
|
"npm",
|
||||||
|
"pnpm",
|
||||||
|
|
||||||
// follow vite deps version
|
// follow vite deps version
|
||||||
"postcss-load-config",
|
"postcss-load-config",
|
||||||
],
|
],
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||||
"lit": "^2.8.0",
|
"lit": "^3.1.0",
|
||||||
"preact": "^10.19.2",
|
"preact": "^10.19.2",
|
||||||
"react": "^18.1.0",
|
"react": "^18.1.0",
|
||||||
"react-dom": "^18.1.0",
|
"react-dom": "^18.1.0",
|
||||||
|
|
|
@ -155,8 +155,8 @@
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"kleur": "^4.1.4",
|
"kleur": "^4.1.4",
|
||||||
"magic-string": "^0.30.3",
|
"magic-string": "^0.30.3",
|
||||||
"mime": "^3.0.0",
|
"mrmime": "^2.0.0",
|
||||||
"ora": "^7.0.1",
|
"ora": "^8.0.1",
|
||||||
"p-limit": "^5.0.0",
|
"p-limit": "^5.0.0",
|
||||||
"p-queue": "^8.0.1",
|
"p-queue": "^8.0.1",
|
||||||
"path-to-regexp": "^6.2.1",
|
"path-to-regexp": "^6.2.1",
|
||||||
|
@ -187,7 +187,6 @@
|
||||||
"@types/aria-query": "^5.0.4",
|
"@types/aria-query": "^5.0.4",
|
||||||
"@types/babel__generator": "^7.6.7",
|
"@types/babel__generator": "^7.6.7",
|
||||||
"@types/babel__traverse": "^7.20.4",
|
"@types/babel__traverse": "^7.20.4",
|
||||||
"@types/chai": "^4.3.10",
|
|
||||||
"@types/common-ancestor-path": "^1.0.2",
|
"@types/common-ancestor-path": "^1.0.2",
|
||||||
"@types/connect": "^3.4.38",
|
"@types/connect": "^3.4.38",
|
||||||
"@types/cssesc": "^3.0.2",
|
"@types/cssesc": "^3.0.2",
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/yargs-parser": "^21.0.3",
|
"@types/yargs-parser": "^21.0.3",
|
||||||
"cross-env": "^7.0.3",
|
|
||||||
"kleur": "^4.1.5",
|
"kleur": "^4.1.5",
|
||||||
"npm-run-all": "^4.1.5",
|
|
||||||
"yargs-parser": "^21.1.1"
|
"yargs-parser": "^21.1.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
import { imageConfig } from 'astro:assets';
|
import { imageConfig } from 'astro:assets';
|
||||||
import { isRemotePath } from '@astrojs/internal-helpers/path';
|
import { isRemotePath } from '@astrojs/internal-helpers/path';
|
||||||
import mime from 'mime/lite.js';
|
import * as mime from 'mrmime';
|
||||||
import type { APIRoute } from '../../@types/astro.js';
|
import type { APIRoute } from '../../@types/astro.js';
|
||||||
import { getConfiguredImageService } from '../internal.js';
|
import { getConfiguredImageService } from '../internal.js';
|
||||||
import { etag } from '../utils/etag.js';
|
import { etag } from '../utils/etag.js';
|
||||||
|
@ -66,7 +66,7 @@ export const GET: APIRoute = async ({ request }) => {
|
||||||
return new Response(data, {
|
return new Response(data, {
|
||||||
status: 200,
|
status: 200,
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': mime.getType(format) ?? `image/${format}`,
|
'Content-Type': mime.lookup(format) ?? `image/${format}`,
|
||||||
'Cache-Control': 'public, max-age=31536000',
|
'Cache-Control': 'public, max-age=31536000',
|
||||||
ETag: etag(data.toString()),
|
ETag: etag(data.toString()),
|
||||||
Date: new Date().toUTCString(),
|
Date: new Date().toUTCString(),
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { fileURLToPath, pathToFileURL } from 'node:url';
|
||||||
import { assetsDir, imageConfig, outDir } from 'astro:assets';
|
import { assetsDir, imageConfig, outDir } from 'astro:assets';
|
||||||
import { isRemotePath, removeQueryString } from '@astrojs/internal-helpers/path';
|
import { isRemotePath, removeQueryString } from '@astrojs/internal-helpers/path';
|
||||||
import { readFile } from 'fs/promises';
|
import { readFile } from 'fs/promises';
|
||||||
import mime from 'mime/lite.js';
|
import * as mime from 'mrmime';
|
||||||
import type { APIRoute } from '../../@types/astro.js';
|
import type { APIRoute } from '../../@types/astro.js';
|
||||||
import { getConfiguredImageService } from '../internal.js';
|
import { getConfiguredImageService } from '../internal.js';
|
||||||
import { etag } from '../utils/etag.js';
|
import { etag } from '../utils/etag.js';
|
||||||
|
@ -110,7 +110,7 @@ export const GET: APIRoute = async ({ request }) => {
|
||||||
return new Response(data, {
|
return new Response(data, {
|
||||||
status: 200,
|
status: 200,
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': mime.getType(format) ?? `image/${format}`,
|
'Content-Type': mime.lookup(format) ?? `image/${format}`,
|
||||||
'Cache-Control': 'public, max-age=31536000',
|
'Cache-Control': 'public, max-age=31536000',
|
||||||
ETag: etag(data.toString()),
|
ETag: etag(data.toString()),
|
||||||
Date: new Date().toUTCString(),
|
Date: new Date().toUTCString(),
|
||||||
|
|
|
@ -6,6 +6,6 @@
|
||||||
"@astrojs/lit": "workspace:*",
|
"@astrojs/lit": "workspace:*",
|
||||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
"lit": "^2.8.0"
|
"lit": "^3.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,14 +78,14 @@
|
||||||
"kleur": "^4.1.5",
|
"kleur": "^4.1.5",
|
||||||
"nanoid": "^5.0.1",
|
"nanoid": "^5.0.1",
|
||||||
"open": "^10.0.3",
|
"open": "^10.0.3",
|
||||||
"ora": "^7.0.1",
|
"ora": "^8.0.1",
|
||||||
"prompts": "^2.4.2",
|
"prompts": "^2.4.2",
|
||||||
"strip-ansi": "^7.1.0",
|
"strip-ansi": "^7.1.0",
|
||||||
"yargs-parser": "^21.1.1",
|
"yargs-parser": "^21.1.1",
|
||||||
"zod": "^3.22.4"
|
"zod": "^3.22.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chai": "^4.3.6",
|
"@types/chai": "^4.3.14",
|
||||||
"@types/deep-diff": "^1.0.5",
|
"@types/deep-diff": "^1.0.5",
|
||||||
"@types/diff": "^5.0.8",
|
"@types/diff": "^5.0.8",
|
||||||
"@types/mocha": "^10.0.2",
|
"@types/mocha": "^10.0.2",
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
"@types/yargs-parser": "^21.0.3",
|
"@types/yargs-parser": "^21.0.3",
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
"astro-scripts": "workspace:*",
|
"astro-scripts": "workspace:*",
|
||||||
"chai": "^4.3.10",
|
"chai": "^4.4.1",
|
||||||
"cheerio": "1.0.0-rc.12",
|
"cheerio": "1.0.0-rc.12",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.2.2",
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/html-escaper": "^3.0.2",
|
"@types/html-escaper": "^3.0.2",
|
||||||
"@types/markdown-it": "^13.0.6",
|
"@types/markdown-it": "^14.0.1",
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
"astro-scripts": "workspace:*",
|
"astro-scripts": "workspace:*",
|
||||||
"devalue": "^4.3.2",
|
"devalue": "^4.3.2",
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
"kleur": "^4.1.4",
|
"kleur": "^4.1.4",
|
||||||
"rehype-raw": "^7.0.0",
|
"rehype-raw": "^7.0.0",
|
||||||
"remark-gfm": "^4.0.0",
|
"remark-gfm": "^4.0.0",
|
||||||
"remark-smartypants": "^2.0.0",
|
"remark-smartypants": "^3.0.0",
|
||||||
"source-map": "^0.7.4",
|
"source-map": "^0.7.4",
|
||||||
"unist-util-visit": "^5.0.0",
|
"unist-util-visit": "^5.0.0",
|
||||||
"vfile": "^6.0.1"
|
"vfile": "^6.0.1"
|
||||||
|
@ -53,7 +53,6 @@
|
||||||
"astro": "^4.0.0"
|
"astro": "^4.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chai": "^4.3.10",
|
|
||||||
"@types/estree": "^1.0.5",
|
"@types/estree": "^1.0.5",
|
||||||
"@types/mdast": "^4.0.3",
|
"@types/mdast": "^4.0.3",
|
||||||
"@types/mocha": "^10.0.4",
|
"@types/mocha": "^10.0.4",
|
||||||
|
@ -65,7 +64,7 @@
|
||||||
"mdast-util-mdx": "^3.0.0",
|
"mdast-util-mdx": "^3.0.0",
|
||||||
"mdast-util-to-string": "^4.0.0",
|
"mdast-util-to-string": "^4.0.0",
|
||||||
"reading-time": "^1.5.0",
|
"reading-time": "^1.5.0",
|
||||||
"rehype-mathjax": "^5.0.0",
|
"rehype-mathjax": "^6.0.0",
|
||||||
"rehype-pretty-code": "^0.13.0",
|
"rehype-pretty-code": "^0.13.0",
|
||||||
"remark-math": "^6.0.0",
|
"remark-math": "^6.0.0",
|
||||||
"remark-rehype": "^11.0.0",
|
"remark-rehype": "^11.0.0",
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@builder.io/partytown": "^0.8.0",
|
"@builder.io/partytown": "^0.8.0",
|
||||||
"mrmime": "^1.0.1"
|
"mrmime": "^2.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
import { use } from 'chai';
|
|
||||||
import chaiJestSnapshot from 'chai-jest-snapshot';
|
|
||||||
|
|
||||||
use(chaiJestSnapshot);
|
|
||||||
|
|
||||||
before(function () {
|
|
||||||
chaiJestSnapshot.resetSnapshotRegistry();
|
|
||||||
});
|
|
||||||
|
|
||||||
beforeEach(function () {
|
|
||||||
chaiJestSnapshot.configureUsingMochaContext(this);
|
|
||||||
});
|
|
|
@ -45,7 +45,6 @@
|
||||||
"@vue/compiler-sfc": "^3.3.8"
|
"@vue/compiler-sfc": "^3.3.8"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chai": "^4.3.10",
|
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
"astro-scripts": "workspace:*",
|
"astro-scripts": "workspace:*",
|
||||||
"cheerio": "1.0.0-rc.12",
|
"cheerio": "1.0.0-rc.12",
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
"remark-gfm": "^4.0.0",
|
"remark-gfm": "^4.0.0",
|
||||||
"remark-parse": "^11.0.0",
|
"remark-parse": "^11.0.0",
|
||||||
"remark-rehype": "^11.0.0",
|
"remark-rehype": "^11.0.0",
|
||||||
"remark-smartypants": "^2.0.0",
|
"remark-smartypants": "^3.0.0",
|
||||||
"shiki": "^1.1.2",
|
"shiki": "^1.1.2",
|
||||||
"unified": "^11.0.4",
|
"unified": "^11.0.4",
|
||||||
"unist-util-remove-position": "^5.0.0",
|
"unist-util-remove-position": "^5.0.0",
|
||||||
|
@ -54,7 +54,6 @@
|
||||||
"vfile": "^6.0.1"
|
"vfile": "^6.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chai": "^4.3.10",
|
|
||||||
"@types/estree": "^1.0.5",
|
"@types/estree": "^1.0.5",
|
||||||
"@types/hast": "^3.0.3",
|
"@types/hast": "^3.0.3",
|
||||||
"@types/mdast": "^4.0.3",
|
"@types/mdast": "^4.0.3",
|
||||||
|
|
649
pnpm-lock.yaml
generated
649
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
@ -2,7 +2,7 @@ import arg from 'arg';
|
||||||
import { globby as glob } from 'globby';
|
import { globby as glob } from 'globby';
|
||||||
import { promises as fs, readFileSync } from 'node:fs';
|
import { promises as fs, readFileSync } from 'node:fs';
|
||||||
import { posix } from 'node:path';
|
import { posix } from 'node:path';
|
||||||
import tar from 'tar';
|
import * as tar from 'tar/create';
|
||||||
|
|
||||||
const { resolve, dirname, sep, join } = posix;
|
const { resolve, dirname, sep, join } = posix;
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
"kleur": "^4.1.4",
|
"kleur": "^4.1.4",
|
||||||
"p-limit": "^5.0.0",
|
"p-limit": "^5.0.0",
|
||||||
"svelte": "^4.2.5",
|
"svelte": "^4.2.5",
|
||||||
"tar": "^6.1.15"
|
"tar": "^7.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@octokit/action": "^6.0.5",
|
"@octokit/action": "^6.0.5",
|
||||||
|
|
Loading…
Add table
Reference in a new issue