From 8acb46446e2758b88a398923393631079aadd3e4 Mon Sep 17 00:00:00 2001 From: prototypa Date: Fri, 12 Apr 2024 12:56:37 -0400 Subject: [PATCH] Update dependencies (astro v4.6.1) --- package-lock.json | 119 ++++++++++++++++++---- package.json | 10 +- src/components/widgets/Announcement.astro | 4 +- 3 files changed, 104 insertions(+), 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1d56314..57f67e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@onwidget/astrowind", - "version": "1.0.0-beta.26", + "version": "1.0.0-beta.27", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@onwidget/astrowind", - "version": "1.0.0-beta.26", + "version": "1.0.0-beta.27", "dependencies": { "@astro-community/astro-embed-youtube": "^0.5.2", "@astrojs/rss": "^4.0.5", @@ -14,19 +14,19 @@ "@astrolib/analytics": "^0.5.0", "@astrolib/seo": "^1.0.0-beta.5", "@fontsource-variable/inter": "^5.0.17", - "astro": "^4.5.18", + "astro": "^4.6.1", "astro-icon": "^1.1.0", "limax": "4.1.0", "lodash.merge": "^4.6.2", "unpic": "^3.18.0" }, "devDependencies": { - "@astrojs/mdx": "^2.2.4", + "@astrojs/mdx": "^2.3.0", "@astrojs/partytown": "^2.0.4", "@astrojs/tailwind": "5.1.0", "@eslint/js": "^9.0.0", "@iconify-json/flat-color-icons": "^1.1.10", - "@iconify-json/tabler": "^1.1.109", + "@iconify-json/tabler": "^1.1.110", "@playform/compress": "0.0.3", "@tailwindcss/typography": "^0.5.12", "@types/js-yaml": "^4.0.9", @@ -51,7 +51,7 @@ "typescript-eslint": "^7.6.0" }, "engines": { - "node": ">=18.14.1" + "node": "^18.17.1 || ^20.3.0 || >= 21.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -212,6 +212,7 @@ }, "node_modules/@astrojs/markdown-remark": { "version": "5.0.0", + "dev": true, "license": "MIT", "dependencies": { "@astrojs/prism": "^3.0.0", @@ -235,11 +236,12 @@ } }, "node_modules/@astrojs/mdx": { - "version": "2.2.4", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@astrojs/mdx/-/mdx-2.3.0.tgz", + "integrity": "sha512-8Lqr3kK1R6B3rukM71GSYTc4BHm5/j+UVdp7UEa18WHW/EVstmhKupabGUHj2Em2L/5AQdFMNmOBVkKzzcPO4g==", "dev": true, - "license": "MIT", "dependencies": { - "@astrojs/markdown-remark": "5.0.0", + "@astrojs/markdown-remark": "5.1.0", "@mdx-js/mdx": "^3.0.0", "acorn": "^8.11.2", "es-module-lexer": "^1.4.1", @@ -256,12 +258,38 @@ "vfile": "^6.0.1" }, "engines": { - "node": ">=18.14.1" + "node": "^18.17.1 || ^20.3.0 || >=21.0.0" }, "peerDependencies": { "astro": "^4.0.0" } }, + "node_modules/@astrojs/mdx/node_modules/@astrojs/markdown-remark": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@astrojs/markdown-remark/-/markdown-remark-5.1.0.tgz", + "integrity": "sha512-S6Z3K2hOB7MfjeDoHsotnP/q2UsnEDB8NlNAaCjMDsGBZfTUbWxyLW3CaphEWw08f6KLZi2ibK9yC3BaMhh2NQ==", + "dev": true, + "dependencies": { + "@astrojs/prism": "^3.1.0", + "github-slugger": "^2.0.0", + "hast-util-from-html": "^2.0.0", + "hast-util-to-text": "^4.0.0", + "import-meta-resolve": "^4.0.0", + "mdast-util-definitions": "^6.0.0", + "rehype-raw": "^7.0.0", + "rehype-stringify": "^10.0.0", + "remark-gfm": "^4.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.0.0", + "remark-smartypants": "^2.0.0", + "shiki": "^1.1.2", + "unified": "^11.0.4", + "unist-util-remove-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "unist-util-visit-parents": "^6.0.0", + "vfile": "^6.0.1" + } + }, "node_modules/@astrojs/partytown": { "version": "2.0.4", "dev": true, @@ -272,13 +300,14 @@ } }, "node_modules/@astrojs/prism": { - "version": "3.0.0", - "license": "MIT", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@astrojs/prism/-/prism-3.1.0.tgz", + "integrity": "sha512-Z9IYjuXSArkAUx3N6xj6+Bnvx8OdUSHA8YoOgyepp3+zJmtVYJIl/I18GozdJVW1p5u/CNpl3Km7/gwTJK85cw==", "dependencies": { "prismjs": "^1.29.0" }, "engines": { - "node": ">=18.14.1" + "node": "^18.17.1 || ^20.3.0 || >=21.0.0" } }, "node_modules/@astrojs/rss": { @@ -313,6 +342,7 @@ }, "node_modules/@astrojs/telemetry": { "version": "3.0.4", + "dev": true, "license": "MIT", "dependencies": { "ci-info": "^3.8.0", @@ -329,6 +359,7 @@ }, "node_modules/@astrojs/telemetry/node_modules/ci-info": { "version": "3.9.0", + "dev": true, "funding": [ { "type": "github", @@ -1205,9 +1236,10 @@ } }, "node_modules/@iconify-json/tabler": { - "version": "1.1.109", + "version": "1.1.110", + "resolved": "https://registry.npmjs.org/@iconify-json/tabler/-/tabler-1.1.110.tgz", + "integrity": "sha512-+0TbyNeQpFI2r+bjtbazGrpGskI3c9NTii/6HhWTS+/d5+PiLs6+wWJW0M9AU2ykew7zdMKB2WtyczFyjYzZIQ==", "dev": true, - "license": "MIT", "dependencies": { "@iconify/types": "*" } @@ -2990,14 +3022,14 @@ } }, "node_modules/astro": { - "version": "4.5.18", - "resolved": "https://registry.npmjs.org/astro/-/astro-4.5.18.tgz", - "integrity": "sha512-iytLnUfyUneKMjIQdj79zzniByXtcmGNDobIV/gjGsatC9vAyPqeCT8TbMqfkRBMeYGs+S/wCzSoPqaaMJiQnw==", + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/astro/-/astro-4.6.1.tgz", + "integrity": "sha512-gcL22NEhuRi4wu9/x5Kn2eJf7nT6GeU5BxdN6AHbUnX6UzEDIWtpgHs5lBIZYExKbHKN9PjEGXWQzQtFwLU+5g==", "dependencies": { "@astrojs/compiler": "^2.7.1", "@astrojs/internal-helpers": "0.4.0", - "@astrojs/markdown-remark": "5.0.0", - "@astrojs/telemetry": "3.0.4", + "@astrojs/markdown-remark": "5.1.0", + "@astrojs/telemetry": "3.1.0", "@babel/core": "^7.24.3", "@babel/generator": "^7.23.3", "@babel/parser": "^7.23.3", @@ -3061,8 +3093,9 @@ "astro": "astro.js" }, "engines": { - "node": ">=18.14.1", - "npm": ">=6.14.0" + "node": "^18.17.1 || ^20.3.0 || >=21.0.0", + "npm": ">=9.6.5", + "pnpm": ">=7.1.0" }, "optionalDependencies": { "sharp": "^0.32.6" @@ -3172,6 +3205,48 @@ "@iconify/utils": "^2.1.5" } }, + "node_modules/astro/node_modules/@astrojs/markdown-remark": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@astrojs/markdown-remark/-/markdown-remark-5.1.0.tgz", + "integrity": "sha512-S6Z3K2hOB7MfjeDoHsotnP/q2UsnEDB8NlNAaCjMDsGBZfTUbWxyLW3CaphEWw08f6KLZi2ibK9yC3BaMhh2NQ==", + "dependencies": { + "@astrojs/prism": "^3.1.0", + "github-slugger": "^2.0.0", + "hast-util-from-html": "^2.0.0", + "hast-util-to-text": "^4.0.0", + "import-meta-resolve": "^4.0.0", + "mdast-util-definitions": "^6.0.0", + "rehype-raw": "^7.0.0", + "rehype-stringify": "^10.0.0", + "remark-gfm": "^4.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.0.0", + "remark-smartypants": "^2.0.0", + "shiki": "^1.1.2", + "unified": "^11.0.4", + "unist-util-remove-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "unist-util-visit-parents": "^6.0.0", + "vfile": "^6.0.1" + } + }, + "node_modules/astro/node_modules/@astrojs/telemetry": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@astrojs/telemetry/-/telemetry-3.1.0.tgz", + "integrity": "sha512-/ca/+D8MIKEC8/A9cSaPUqQNZm+Es/ZinRv0ZAzvu2ios7POQSsVD+VOj7/hypWNsNM3T7RpfgNq7H2TU1KEHA==", + "dependencies": { + "ci-info": "^4.0.0", + "debug": "^4.3.4", + "dlv": "^1.1.3", + "dset": "^3.1.3", + "is-docker": "^3.0.0", + "is-wsl": "^3.0.0", + "which-pm-runs": "^1.1.0" + }, + "engines": { + "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + } + }, "node_modules/astro/node_modules/@esbuild/darwin-arm64": { "version": "0.19.12", "cpu": [ diff --git a/package.json b/package.json index f412bda..72cb58e 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "@onwidget/astrowind", - "version": "1.0.0-beta.26", + "version": "1.0.0-beta.27", "description": "AstroWind: A free template using Astro 4.0 and Tailwind CSS. Astro starter theme.", "type": "module", "private": true, "engines": { - "node": ">=18.14.1" + "node": "^18.17.1 || ^20.3.0 || >= 21.0.0" }, "scripts": { "dev": "astro dev", @@ -23,19 +23,19 @@ "@astrolib/analytics": "^0.5.0", "@astrolib/seo": "^1.0.0-beta.5", "@fontsource-variable/inter": "^5.0.17", - "astro": "^4.5.18", + "astro": "^4.6.1", "astro-icon": "^1.1.0", "limax": "4.1.0", "lodash.merge": "^4.6.2", "unpic": "^3.18.0" }, "devDependencies": { - "@astrojs/mdx": "^2.2.4", + "@astrojs/mdx": "^2.3.0", "@astrojs/partytown": "^2.0.4", "@astrojs/tailwind": "5.1.0", "@eslint/js": "^9.0.0", "@iconify-json/flat-color-icons": "^1.1.10", - "@iconify-json/tabler": "^1.1.109", + "@iconify-json/tabler": "^1.1.110", "@playform/compress": "0.0.3", "@tailwindcss/typography": "^0.5.12", "@types/js-yaml": "^4.0.9", diff --git a/src/components/widgets/Announcement.astro b/src/components/widgets/Announcement.astro index 2c2b922..97bdb0c 100644 --- a/src/components/widgets/Announcement.astro +++ b/src/components/widgets/Announcement.astro @@ -9,8 +9,8 @@ class="dark:bg-slate-700 bg-white/40 dark:text-slate-300 font-semibold px-1 py-0.5 text-xs mr-0.5 rtl:mr-0 rtl:ml-0.5 inline-block" >NEW - Astro 4.5 is now available! »Astro 4.6 is now available! »