Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update major deps #10823

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@
"labels": ["dependencies"],
"rangeStrategy": "bump",
"ignoreDeps": [
// manually bumping
// manually bumping deps
"@biomejs/biome",
"@types/node",
"sharp",

// manually bumping workflow actions
"actions/labeler",

// ignore "engines" update
"node",
"npm",
"pnpm",

// follow vite deps version
"postcss-load-config",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@webcomponents/template-shadowroot": "^0.2.1",
"lit": "^2.8.0",
"lit": "^3.1.0",
"preact": "^10.19.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
Expand Down
5 changes: 2 additions & 3 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@
"js-yaml": "^4.1.0",
"kleur": "^4.1.4",
"magic-string": "^0.30.3",
"mime": "^3.0.0",
"ora": "^7.0.1",
"mrmime": "^2.0.0",
"ora": "^8.0.1",
"p-limit": "^5.0.0",
"p-queue": "^8.0.1",
"path-to-regexp": "^6.2.1",
Expand Down Expand Up @@ -187,7 +187,6 @@
"@types/aria-query": "^5.0.4",
"@types/babel__generator": "^7.6.7",
"@types/babel__traverse": "^7.20.4",
"@types/chai": "^4.3.10",
"@types/common-ancestor-path": "^1.0.2",
"@types/connect": "^3.4.38",
"@types/cssesc": "^3.0.2",
Expand Down
2 changes: 0 additions & 2 deletions packages/astro/performance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
"license": "ISC",
"devDependencies": {
"@types/yargs-parser": "^21.0.3",
"cross-env": "^7.0.3",
"kleur": "^4.1.5",
"npm-run-all": "^4.1.5",
"yargs-parser": "^21.1.1"
}
}
4 changes: 2 additions & 2 deletions packages/astro/src/assets/endpoint/generic.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-expect-error
import { imageConfig } from 'astro:assets';
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 { getConfiguredImageService } from '../internal.js';
import { etag } from '../utils/etag.js';
Expand Down Expand Up @@ -66,7 +66,7 @@ export const GET: APIRoute = async ({ request }) => {
return new Response(data, {
status: 200,
headers: {
'Content-Type': mime.getType(format) ?? `image/${format}`,
'Content-Type': mime.lookup(format) ?? `image/${format}`,
'Cache-Control': 'public, max-age=31536000',
ETag: etag(data.toString()),
Date: new Date().toUTCString(),
Expand Down
4 changes: 2 additions & 2 deletions packages/astro/src/assets/endpoint/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { fileURLToPath, pathToFileURL } from 'node:url';
import { assetsDir, imageConfig, outDir } from 'astro:assets';
import { isRemotePath, removeQueryString } from '@astrojs/internal-helpers/path';
import { readFile } from 'fs/promises';
import mime from 'mime/lite.js';
import * as mime from 'mrmime';
import type { APIRoute } from '../../@types/astro.js';
import { getConfiguredImageService } from '../internal.js';
import { etag } from '../utils/etag.js';
Expand Down Expand Up @@ -110,7 +110,7 @@ export const GET: APIRoute = async ({ request }) => {
return new Response(data, {
status: 200,
headers: {
'Content-Type': mime.getType(format) ?? `image/${format}`,
'Content-Type': mime.lookup(format) ?? `image/${format}`,
'Cache-Control': 'public, max-age=31536000',
ETag: etag(data.toString()),
Date: new Date().toUTCString(),
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/test/fixtures/lit-element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"@astrojs/lit": "workspace:*",
"@webcomponents/template-shadowroot": "^0.2.1",
"astro": "workspace:*",
"lit": "^2.8.0"
"lit": "^3.1.0"
}
}
6 changes: 3 additions & 3 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,22 @@
"kleur": "^4.1.5",
"nanoid": "^5.0.1",
"open": "^10.0.3",
"ora": "^7.0.1",
"ora": "^8.0.1",
"prompts": "^2.4.2",
"strip-ansi": "^7.1.0",
"yargs-parser": "^21.1.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/chai": "^4.3.6",
"@types/chai": "^4.3.14",
"@types/deep-diff": "^1.0.5",
"@types/diff": "^5.0.8",
"@types/mocha": "^10.0.2",
"@types/prompts": "^2.4.8",
"@types/yargs-parser": "^21.0.3",
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"chai": "^4.3.10",
"chai": "^4.4.1",
"cheerio": "1.0.0-rc.12",
"mocha": "^10.2.0",
"typescript": "^5.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
},
"devDependencies": {
"@types/html-escaper": "^3.0.2",
"@types/markdown-it": "^13.0.6",
"@types/markdown-it": "^14.0.1",
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"devalue": "^4.3.2",
Expand Down
5 changes: 2 additions & 3 deletions packages/integrations/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"kleur": "^4.1.4",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.0",
"remark-smartypants": "^2.0.0",
"remark-smartypants": "^3.0.0",
"source-map": "^0.7.4",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.1"
Expand All @@ -53,7 +53,6 @@
"astro": "^4.0.0"
},
"devDependencies": {
"@types/chai": "^4.3.10",
"@types/estree": "^1.0.5",
"@types/mdast": "^4.0.3",
"@types/mocha": "^10.0.4",
Expand All @@ -65,7 +64,7 @@
"mdast-util-mdx": "^3.0.0",
"mdast-util-to-string": "^4.0.0",
"reading-time": "^1.5.0",
"rehype-mathjax": "^5.0.0",
"rehype-mathjax": "^6.0.0",
"rehype-pretty-code": "^0.13.0",
"remark-math": "^6.0.0",
"remark-rehype": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/partytown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@builder.io/partytown": "^0.8.0",
"mrmime": "^1.0.1"
"mrmime": "^2.0.0"
},
"devDependencies": {
"astro": "workspace:*",
Expand Down
12 changes: 0 additions & 12 deletions packages/integrations/vercel/test/setup.js
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is unused.

This file was deleted.

1 change: 0 additions & 1 deletion packages/integrations/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"@vue/compiler-sfc": "^3.3.8"
},
"devDependencies": {
"@types/chai": "^4.3.10",
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"cheerio": "1.0.0-rc.12",
Expand Down
3 changes: 1 addition & 2 deletions packages/markdown/remark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"remark-smartypants": "^2.0.0",
"remark-smartypants": "^3.0.0",
"shiki": "^1.1.2",
"unified": "^11.0.4",
"unist-util-remove-position": "^5.0.0",
Expand All @@ -54,7 +54,6 @@
"vfile": "^6.0.1"
},
"devDependencies": {
"@types/chai": "^4.3.10",
"@types/estree": "^1.0.5",
"@types/hast": "^3.0.3",
"@types/mdast": "^4.0.3",
Expand Down