Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
This updates most dependencies.

Playwright has been kept at version 1.47 as the WebKit in 1.48 seems to have some problem with images (perhaps image format specific).

astro-purgecss has also been kept back as newer versions were causing problems with CSS filenames referenced in HTML files not being correct (due to the hashes differing from the actual filenames).
  • Loading branch information
reupen committed Nov 10, 2024
1 parent a510271 commit e5864c2
Show file tree
Hide file tree
Showing 21 changed files with 2,279 additions and 2,378 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ updates:
- "astro"
- "astro-*"
- "@astrojs/*"
exclude-patterns:
- "astro-purgecss"
eslint:
patterns:
- "eslint"
Expand Down
4,546 changes: 2,221 additions & 2,325 deletions package-lock.json

Large diffs are not rendered by default.

37 changes: 19 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,42 +23,43 @@
"start": "astro dev",
"pretest": "npm run build",
"test": "python scripts/run_in_playwright_container.py \"npm ci && npm exec --no -- playwright test\"",
"test:report": "playwright show-report test/e2e/output/html",
"pretest:update": "npm run build",
"test:update": "python scripts/run_in_playwright_container.py \"npm ci && npm exec --no -- playwright test --update-snapshots\""
},
"dependencies": {
"@astrojs/sitemap": "^3.1.6",
"@fontsource-variable/inter": "^5.0.18",
"@astrojs/sitemap": "^3.2.1",
"@fontsource-variable/inter": "^5.1.0",
"@fortawesome/fontawesome-free": "^6.6.0",
"astro": "^4.11.3",
"date-fns": "^3.6.0",
"sass": "^1.77.6",
"astro": "^4.16.10",
"date-fns": "^4.1.0",
"sass": "^1.80.6",
"swiped-events": "^1.2.0"
},
"devDependencies": {
"@astrojs/check": "^0.7.0",
"@astrojs/check": "^0.9.4",
"@axe-core/playwright": "^4.10.0",
"@playform/compress": "^0.1.6",
"@playwright/test": "^1.45.0",
"@playwright/test": "^1.47.2",
"@types/html-to-text": "^9.0.4",
"@types/node": "^20.14.9",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"astro-purgecss": "^4.1.1",
"@types/node": "^20.17.6",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"astro-purgecss": "4.1.1",
"cssnano": "^7.0.6",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-astro": "^1.2.2",
"eslint-plugin-jsx-a11y": "^6.9.0",
"exiftool-vendored": "^28.8.0",
"eslint-plugin-astro": "^1.3.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"exiftool-vendored": "^29.0.0",
"html-to-text": "^9.0.5",
"postcss-custom-media": "^11.0.5",
"postcss-preset-env": "^10.0.9",
"prettier": "^3.3.2",
"prettier-plugin-astro": "^0.14.0",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"purgecss": "^6.0.0",
"sharp": "^0.33.4",
"shx": "^0.3.4",
"typescript": "^5.5.3"
"typescript": "^5.6.3"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion test/e2e/visual.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ PAGES.forEach(({ path, takeViewportScreenshot }) => {
test("matches the saved screenshot", async ({ page }) => {
await page.goto(path)
await expect(page).toHaveScreenshot(
[path.replaceAll(/(^\/|\/$)/g, ""), "screenshot.png"],
[path.replaceAll(/(^\/|\/$)/g, ""), "screenshot.png"].filter(
(pathSegment) => pathSegment,
),
{
fullPage: !takeViewportScreenshot,
timeout: process.env.CI ? 40_000 : 15_000,
Expand Down

0 comments on commit e5864c2

Please sign in to comment.