Update safe dependencies (#7430)
This commit is contained in:
parent
01b1c21c6b
commit
f275d058fc
132 changed files with 2309 additions and 2684 deletions
|
@ -11,11 +11,11 @@
|
|||
"@astrojs/node": "workspace:*",
|
||||
"@benchmark/timer": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"autocannon": "^7.10.0",
|
||||
"autocannon": "^7.11.0",
|
||||
"execa": "^6.1.0",
|
||||
"markdown-table": "^3.0.3",
|
||||
"mri": "^1.2.0",
|
||||
"port-authority": "^2.0.1",
|
||||
"pretty-bytes": "^6.0.0"
|
||||
"pretty-bytes": "^6.1.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/alpinejs": "^0.2.2",
|
||||
"@types/alpinejs": "^3.7.1",
|
||||
"alpinejs": "^3.12.0",
|
||||
"alpinejs": "^3.12.2",
|
||||
"astro": "^2.6.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
"@astrojs/lit": "^2.1.0",
|
||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||
"astro": "^2.6.6",
|
||||
"lit": "^2.7.4"
|
||||
"lit": "^2.7.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
"@astrojs/svelte": "^3.0.0",
|
||||
"@astrojs/vue": "^2.2.1",
|
||||
"astro": "^2.6.6",
|
||||
"preact": "^10.13.2",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"solid-js": "^1.7.4",
|
||||
"svelte": "^3.58.0",
|
||||
"vue": "^3.2.47"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
"@astrojs/preact": "^2.2.1",
|
||||
"@preact/signals": "^1.1.3",
|
||||
"astro": "^2.6.6",
|
||||
"preact": "^10.13.2"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/react": "^2.2.1",
|
||||
"@types/react": "^18.2.5",
|
||||
"@types/react-dom": "^18.2.3",
|
||||
"@types/react": "^18.2.13",
|
||||
"@types/react-dom": "^18.2.6",
|
||||
"astro": "^2.6.6",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/solid-js": "^2.2.0",
|
||||
"astro": "^2.6.6",
|
||||
"solid-js": "^1.7.4"
|
||||
"solid-js": "^1.7.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/svelte": "^3.0.0",
|
||||
"astro": "^2.6.6",
|
||||
"svelte": "^3.58.0"
|
||||
"svelte": "^3.59.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/vue": "^2.2.1",
|
||||
"astro": "^2.6.6",
|
||||
"vue": "^3.2.47"
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"@astrojs/node": "^5.2.0",
|
||||
"@astrojs/svelte": "^3.0.0",
|
||||
"astro": "^2.6.6",
|
||||
"svelte": "^3.58.0"
|
||||
"svelte": "^3.59.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
"@astrojs/mdx": "^0.19.7",
|
||||
"@astrojs/preact": "^2.2.1",
|
||||
"astro": "^2.6.6",
|
||||
"preact": "^10.13.2"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"@nanostores/preact": "^0.4.1",
|
||||
"astro": "^2.6.6",
|
||||
"nanostores": "^0.8.1",
|
||||
"preact": "^10.13.2"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"astro": "^2.6.6",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"canvas-confetti": "^1.6.0",
|
||||
"postcss": "^8.4.23",
|
||||
"postcss": "^8.4.24",
|
||||
"tailwindcss": "^3.3.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
"dependencies": {
|
||||
"astro": "^2.6.6",
|
||||
"vite-plugin-pwa": "0.14.7",
|
||||
"workbox-window": "^6.5.4"
|
||||
"workbox-window": "^6.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"astro": "^2.6.6",
|
||||
"vitest": "^0.31.0"
|
||||
"vitest": "^0.31.4"
|
||||
}
|
||||
}
|
||||
|
|
14
package.json
14
package.json
|
@ -77,20 +77,20 @@
|
|||
"devDependencies": {
|
||||
"@changesets/changelog-github": "^0.4.8",
|
||||
"@changesets/cli": "^2.26.1",
|
||||
"@types/node": "^18.7.21",
|
||||
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
||||
"@typescript-eslint/parser": "^5.58.0",
|
||||
"esbuild": "^0.17.12",
|
||||
"eslint": "^8.38.0",
|
||||
"@types/node": "^18.16.18",
|
||||
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
||||
"@typescript-eslint/parser": "^5.60.0",
|
||||
"esbuild": "^0.17.19",
|
||||
"eslint": "^8.43.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-plugin-no-only-tests": "^2.6.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"only-allow": "^1.1.1",
|
||||
"organize-imports-cli": "^0.10.0",
|
||||
"prettier": "^2.8.8",
|
||||
"prettier-plugin-astro": "^0.8.0",
|
||||
"prettier-plugin-astro": "^0.8.1",
|
||||
"tiny-glob": "^0.2.9",
|
||||
"turbo": "^1.9.3",
|
||||
"turbo": "^1.10.3",
|
||||
"typescript": "~5.0.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,11 +32,11 @@
|
|||
"astro-component"
|
||||
],
|
||||
"dependencies": {
|
||||
"prismjs": "^1.28.0"
|
||||
"prismjs": "^1.29.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro-scripts": "workspace:*",
|
||||
"@types/prismjs": "1.26.0"
|
||||
"@types/prismjs": "1.26.0",
|
||||
"astro-scripts": "workspace:*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.12.0"
|
||||
|
|
|
@ -27,18 +27,18 @@
|
|||
"test": "mocha --exit --timeout 20000"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chai": "^4.3.1",
|
||||
"@types/chai": "^4.3.5",
|
||||
"@types/chai-as-promised": "^7.1.5",
|
||||
"@types/mocha": "^9.1.1",
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"chai": "^4.3.6",
|
||||
"chai": "^4.3.7",
|
||||
"chai-as-promised": "^7.1.1",
|
||||
"chai-xml": "^0.4.0",
|
||||
"chai-xml": "^0.4.1",
|
||||
"mocha": "^9.2.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"fast-xml-parser": "^4.0.8",
|
||||
"fast-xml-parser": "^4.2.4",
|
||||
"kleur": "^4.1.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/preact": "workspace:*",
|
||||
"@e2e/astro-linked-lib": "link:../_deps/astro-linked-lib",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"vue": "^3.2.40"
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.4.3",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.37"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"private": true,
|
||||
"dependencies": {
|
||||
"astro": "workspace:*",
|
||||
"sass": "^1.52.2"
|
||||
"sass": "^1.63.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
"@astrojs/svelte": "workspace:*",
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.5.6",
|
||||
"svelte": "^3.50.1",
|
||||
"vue": "^3.2.39"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/lit": "workspace:*",
|
||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||
"astro": "workspace:*",
|
||||
"lit": "^2.7.0"
|
||||
"lit": "^2.7.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||
"lit": "^2.7.0",
|
||||
"preact": "^10.7.3",
|
||||
"lit": "^2.7.5",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.4.3",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.37"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.4.3",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.37"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.4.3",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.37"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.4.3",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.37"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.4.3",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.37"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.4.3",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.37"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,12 +11,12 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.4.3",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.36"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "astro dev"
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.7.3"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.7.3"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"solid-js": "^1.4.3"
|
||||
"solid-js": "^1.7.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/solid-js": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"solid-js": "^1.5.5"
|
||||
"solid-js": "^1.7.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"solid-js": "^1.4.3"
|
||||
"solid-js": "^1.7.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/svelte": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"@astrojs/mdx": "workspace:*",
|
||||
"svelte": "^3.48.0"
|
||||
"svelte": "^3.59.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"@astrojs/tailwind": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"postcss": "^8.4.23",
|
||||
"postcss": "^8.4.24",
|
||||
"tailwindcss": "^3.3.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"vue": "^3.2.39"
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -113,35 +113,35 @@
|
|||
"test:e2e:match": "playwright test -g"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/compiler": "^1.4.0",
|
||||
"@astrojs/compiler": "^1.5.0",
|
||||
"@astrojs/internal-helpers": "^0.1.0",
|
||||
"@astrojs/language-server": "^1.0.0",
|
||||
"@astrojs/markdown-remark": "^2.2.1",
|
||||
"@astrojs/telemetry": "^2.1.1",
|
||||
"@astrojs/webapi": "^2.2.0",
|
||||
"@babel/core": "^7.21.8",
|
||||
"@babel/generator": "^7.18.2",
|
||||
"@babel/parser": "^7.18.4",
|
||||
"@babel/plugin-transform-react-jsx": "^7.17.12",
|
||||
"@babel/traverse": "^7.18.2",
|
||||
"@babel/types": "^7.21.5",
|
||||
"@types/babel__core": "^7.1.19",
|
||||
"@babel/core": "^7.22.5",
|
||||
"@babel/generator": "^7.22.5",
|
||||
"@babel/parser": "^7.22.5",
|
||||
"@babel/plugin-transform-react-jsx": "^7.22.5",
|
||||
"@babel/traverse": "^7.22.5",
|
||||
"@babel/types": "^7.22.5",
|
||||
"@types/babel__core": "^7.20.1",
|
||||
"@types/yargs-parser": "^21.0.0",
|
||||
"acorn": "^8.8.2",
|
||||
"acorn": "^8.9.0",
|
||||
"boxen": "^6.2.1",
|
||||
"chokidar": "^3.5.3",
|
||||
"ci-info": "^3.3.1",
|
||||
"ci-info": "^3.8.0",
|
||||
"common-ancestor-path": "^1.0.1",
|
||||
"cookie": "^0.5.0",
|
||||
"debug": "^4.3.4",
|
||||
"deepmerge-ts": "^4.2.2",
|
||||
"deepmerge-ts": "^4.3.0",
|
||||
"devalue": "^4.3.2",
|
||||
"diff": "^5.1.0",
|
||||
"es-module-lexer": "^1.1.0",
|
||||
"esbuild": "^0.17.18",
|
||||
"es-module-lexer": "^1.3.0",
|
||||
"esbuild": "^0.17.19",
|
||||
"estree-walker": "3.0.0",
|
||||
"execa": "^6.1.0",
|
||||
"fast-glob": "^3.2.11",
|
||||
"fast-glob": "^3.2.12",
|
||||
"github-slugger": "^2.0.0",
|
||||
"gray-matter": "^4.0.3",
|
||||
"html-escaper": "^3.0.3",
|
||||
|
@ -149,67 +149,67 @@
|
|||
"kleur": "^4.1.4",
|
||||
"magic-string": "^0.27.0",
|
||||
"mime": "^3.0.0",
|
||||
"ora": "^6.1.0",
|
||||
"ora": "^6.3.1",
|
||||
"p-limit": "^4.0.0",
|
||||
"path-to-regexp": "^6.2.1",
|
||||
"preferred-pm": "^3.0.3",
|
||||
"prompts": "^2.4.2",
|
||||
"rehype": "^12.0.1",
|
||||
"semver": "^7.3.8",
|
||||
"semver": "^7.5.2",
|
||||
"server-destroy": "^1.0.1",
|
||||
"shiki": "^0.14.1",
|
||||
"slash": "^4.0.0",
|
||||
"string-width": "^5.1.2",
|
||||
"strip-ansi": "^7.0.1",
|
||||
"strip-ansi": "^7.1.0",
|
||||
"supports-esm": "^1.0.0",
|
||||
"tsconfig-resolver": "^3.0.1",
|
||||
"typescript": "*",
|
||||
"unist-util-visit": "^4.1.0",
|
||||
"vfile": "^5.3.2",
|
||||
"vite": "^4.3.1",
|
||||
"unist-util-visit": "^4.1.2",
|
||||
"vfile": "^5.3.7",
|
||||
"vite": "^4.3.9",
|
||||
"vitefu": "^0.2.4",
|
||||
"yargs-parser": "^21.0.1",
|
||||
"yargs-parser": "^21.1.1",
|
||||
"zod": "^3.20.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.29.2",
|
||||
"@types/babel__generator": "^7.6.4",
|
||||
"@types/babel__traverse": "^7.17.1",
|
||||
"@types/chai": "^4.3.1",
|
||||
"@types/babel__traverse": "^7.20.1",
|
||||
"@types/chai": "^4.3.5",
|
||||
"@types/common-ancestor-path": "^1.0.0",
|
||||
"@types/connect": "^3.4.35",
|
||||
"@types/cookie": "^0.5.1",
|
||||
"@types/debug": "^4.1.7",
|
||||
"@types/diff": "^5.0.2",
|
||||
"@types/debug": "^4.1.8",
|
||||
"@types/diff": "^5.0.3",
|
||||
"@types/estree": "^0.0.51",
|
||||
"@types/hast": "^2.3.4",
|
||||
"@types/html-escaper": "^3.0.0",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
"@types/mime": "^2.0.3",
|
||||
"@types/mocha": "^9.1.1",
|
||||
"@types/prettier": "^2.6.3",
|
||||
"@types/prompts": "^2.0.14",
|
||||
"@types/prettier": "^2.7.3",
|
||||
"@types/prompts": "^2.4.4",
|
||||
"@types/resolve": "^1.20.2",
|
||||
"@types/rimraf": "^3.0.2",
|
||||
"@types/send": "^0.17.1",
|
||||
"@types/server-destroy": "^1.0.1",
|
||||
"@types/unist": "^2.0.6",
|
||||
"astro-scripts": "workspace:*",
|
||||
"chai": "^4.3.6",
|
||||
"cheerio": "^1.0.0-rc.11",
|
||||
"chai": "^4.3.7",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"eol": "^0.9.1",
|
||||
"memfs": "^3.4.7",
|
||||
"memfs": "^3.5.3",
|
||||
"mocha": "^9.2.2",
|
||||
"node-mocks-http": "^1.11.0",
|
||||
"node-mocks-http": "^1.12.2",
|
||||
"rehype-autolink-headings": "^6.1.1",
|
||||
"rehype-slug": "^5.0.1",
|
||||
"rehype-toc": "^3.0.2",
|
||||
"remark-code-titles": "^0.1.2",
|
||||
"rollup": "^3.9.0",
|
||||
"sass": "^1.52.2",
|
||||
"rollup": "^3.25.1",
|
||||
"sass": "^1.63.4",
|
||||
"sharp": "^0.32.1",
|
||||
"srcset-parse": "^1.1.0",
|
||||
"undici": "^5.22.0",
|
||||
"undici": "^5.22.1",
|
||||
"unified": "^10.1.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
"dependencies": {
|
||||
"@astrojs/react": "workspace:*",
|
||||
"@performance/utils": "workspace:*",
|
||||
"@types/react": "^18.0.21",
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"@types/react": "^18.2.13",
|
||||
"@types/react-dom": "^18.2.6",
|
||||
"astro": "workspace:*",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
"@astrojs/markdoc": "workspace:*",
|
||||
"@astrojs/react": "workspace:*",
|
||||
"@performance/utils": "workspace:*",
|
||||
"@types/react": "^18.0.21",
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"@types/react": "^18.2.13",
|
||||
"@types/react-dom": "^18.2.6",
|
||||
"astro": "workspace:*",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/react": "workspace:*",
|
||||
"@performance/utils": "workspace:*",
|
||||
"@types/react": "^18.0.21",
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"@types/react": "^18.2.13",
|
||||
"@types/react-dom": "^18.2.6",
|
||||
"astro": "workspace:*",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"cross-env": "^7.0.3",
|
||||
"kleur": "^4.1.5",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"yargs-parser": "^21.0.1"
|
||||
"yargs-parser": "^21.1.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
import type { DiagnosticCode } from '@astrojs/compiler/shared/diagnostics.js';
|
||||
import type { DiagnosticMessage } from '@astrojs/compiler';
|
||||
import type { AstroErrorCodes } from './errors-data.js';
|
||||
import { codeFrame } from './printer.js';
|
||||
import { getErrorDataByCode } from './utils.js';
|
||||
|
||||
type DiagnosticCode = DiagnosticMessage['code'];
|
||||
|
||||
interface ErrorProperties {
|
||||
code: AstroErrorCodes | DiagnosticCode;
|
||||
title?: string;
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
import type { DiagnosticCode } from '@astrojs/compiler/shared/diagnostics.js';
|
||||
import type { DiagnosticMessage } from '@astrojs/compiler';
|
||||
import type { YAMLException } from 'js-yaml';
|
||||
import type { ErrorPayload as ViteErrorPayload } from 'vite';
|
||||
import type { SSRError } from '../../@types/astro.js';
|
||||
import { AstroErrorData, type AstroErrorCodes, type ErrorData } from './errors-data.js';
|
||||
|
||||
type DiagnosticCode = DiagnosticMessage['code'];
|
||||
|
||||
/**
|
||||
* Get the line and character based on the offset
|
||||
* @param offset The index of the position
|
||||
|
|
|
@ -192,7 +192,7 @@ export default function astroJSX(): PluginObj {
|
|||
) {
|
||||
return;
|
||||
}
|
||||
const parent = path.findParent((n) => t.isJSXElement(n))!;
|
||||
const parent = path.findParent((n) => t.isJSXElement(n.node))!;
|
||||
const parentNode = parent.node as t.JSXElement;
|
||||
const tagName = getTagName(parentNode);
|
||||
if (!isComponent(tagName)) return;
|
||||
|
@ -249,9 +249,9 @@ export default function astroJSX(): PluginObj {
|
|||
}
|
||||
},
|
||||
JSXIdentifier(path, state) {
|
||||
const isAttr = path.findParent((n) => t.isJSXAttribute(n));
|
||||
const isAttr = path.findParent((n) => t.isJSXAttribute(n.node));
|
||||
if (isAttr) return;
|
||||
const parent = path.findParent((n) => t.isJSXElement(n))!;
|
||||
const parent = path.findParent((n) => t.isJSXElement(n.node))!;
|
||||
const parentNode = parent.node as t.JSXElement;
|
||||
const tagName = getTagName(parentNode);
|
||||
if (!isComponent(tagName)) return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"astro": "workspace:*",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.39"
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/svelte": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"svelte": "^3.48.0"
|
||||
"svelte": "^3.59.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/svelte": "workspace:*",
|
||||
"@test/namespace-package": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"svelte": "^3.48.0"
|
||||
"svelte": "^3.59.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/svelte": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"svelte": "^3.48.0"
|
||||
"svelte": "^3.59.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
"@astrojs/svelte": "workspace:*",
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.39"
|
||||
"preact": "^10.15.1",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
"astro": "workspace:*",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"svelte": "^3.48.0"
|
||||
"svelte": "^3.59.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
"astro": "workspace:*",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"svelte": "^3.48.0"
|
||||
"svelte": "^3.59.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"vue": "^3.2.39"
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
"private": true,
|
||||
"dependencies": {
|
||||
"astro": "workspace:*",
|
||||
"mdast-util-to-string": "^3.1.0",
|
||||
"mdast-util-to-string": "^3.2.0",
|
||||
"reading-time": "^1.5.0",
|
||||
"unist-util-visit": "^4.1.0"
|
||||
"unist-util-visit": "^4.1.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
"name": "@test/astro-slot-with-client",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"astro": "workspace:*",
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,15 +5,15 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"@astrojs/react": "workspace:*",
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"@astrojs/solid-js": "workspace:*",
|
||||
"@astrojs/svelte": "workspace:*",
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"solid-js": "^1.7.4",
|
||||
"svelte": "^3.58.0",
|
||||
"vue": "^3.2.47",
|
||||
"preact": "^10.13.2"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.11.0",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
"@astrojs/svelte": "workspace:*",
|
||||
"@test/component-library-shared": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.13.2",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"svelte": "^3.58.0"
|
||||
"svelte": "^3.59.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
"@astrojs/svelte": "workspace:*",
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.39"
|
||||
"preact": "^10.15.1",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.4.3",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.36"
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/solid-js": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"solid-js": "^1.5.6"
|
||||
"solid-js": "^1.7.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/lit": "workspace:*",
|
||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||
"astro": "workspace:*",
|
||||
"lit": "^2.7.0"
|
||||
"lit": "^2.7.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"postcss": "^8.4.23",
|
||||
"solid-js": "^1.5.6",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.39"
|
||||
"postcss": "^8.4.24",
|
||||
"solid-js": "^1.7.6",
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"postcss-preset-env": "^7.7.1"
|
||||
"postcss-preset-env": "^7.8.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/preact": "workspace:*",
|
||||
"@test/react-lib": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.10.1"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
"private": true,
|
||||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"@preact/signals": "1.1.1",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0",
|
||||
"@preact/signals": "1.1.1"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
"astro": "workspace:*",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"solid-js": "^1.5.6"
|
||||
"solid-js": "^1.7.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
"astro": "workspace:*",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"vue": "^3.2.37"
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:",
|
||||
"astro": "workspace:",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/solid-js": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"solid-js": "^1.5.6"
|
||||
"solid-js": "^1.7.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/svelte": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"svelte": "^3.48.0"
|
||||
"svelte": "^3.59.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"vue": "^3.2.39"
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"solid-js": "^1.5.6"
|
||||
"solid-js": "^1.7.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
"private": true,
|
||||
"dependencies": {
|
||||
"@astrojs/solid-js": "workspace:*",
|
||||
"@solidjs/router": "^0.5.0",
|
||||
"@solidjs/router": "^0.5.1",
|
||||
"@test/solid-jsx-component": "file:./deps/solid-jsx-component",
|
||||
"astro": "workspace:*",
|
||||
"solid-js": "^1.5.6"
|
||||
"solid-js": "^1.7.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "workspace:",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"@astrojs/preact": "workspace:*",
|
||||
"@astrojs/react": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0",
|
||||
"preact": "^10.15.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0"
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"@astrojs/preact": "workspace:*",
|
||||
"@test/static-build-pkg": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"preact": "^10.11.0"
|
||||
"preact": "^10.15.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/svelte": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"svelte": "^3.48.0"
|
||||
"svelte": "^3.59.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/tailwind": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"tailwindcss": "^3.3.2",
|
||||
"postcss": "^8.4.23"
|
||||
"postcss": "^8.4.24",
|
||||
"tailwindcss": "^3.3.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@astrojs/tailwind": "workspace:*",
|
||||
"@astrojs/mdx": "workspace:*",
|
||||
"@astrojs/tailwind": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"postcss": "^8.4.23",
|
||||
"postcss": "^8.4.24",
|
||||
"tailwindcss": "^3.3.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"private": true,
|
||||
"dependencies": {
|
||||
"astro": "workspace:*",
|
||||
"astro-embed": "^0.1.1"
|
||||
"astro-embed": "^0.1.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"vue": "^3.2.39"
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"dependencies": {
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"vue": "^3.2.39"
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"@astrojs/svelte": "workspace:*",
|
||||
"@astrojs/vue": "workspace:*",
|
||||
"astro": "workspace:*",
|
||||
"svelte": "^3.48.0",
|
||||
"vue": "^3.2.39"
|
||||
"svelte": "^3.59.1",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
"//a": "MOST PACKAGES SHOULD GO IN DEV_DEPENDENCIES! THEY WILL BE BUNDLED.",
|
||||
"//b": "DEPENDENCIES IS FOR UNBUNDLED PACKAGES",
|
||||
"dependencies": {
|
||||
"@astrojs/cli-kit": "^0.2.2",
|
||||
"chai": "^4.3.6",
|
||||
"@astrojs/cli-kit": "^0.2.3",
|
||||
"chai": "^4.3.7",
|
||||
"execa": "^6.1.0",
|
||||
"giget": "1.0.0",
|
||||
"mocha": "^9.2.2",
|
||||
|
@ -42,7 +42,7 @@
|
|||
"@types/which-pm-runs": "^1.0.0",
|
||||
"arg": "^5.0.2",
|
||||
"astro-scripts": "workspace:*",
|
||||
"strip-ansi": "^7.0.1",
|
||||
"strip-ansi": "^7.1.0",
|
||||
"strip-json-comments": "^5.0.0",
|
||||
"which-pm-runs": "^1.1.0"
|
||||
},
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/underscore-redirects": "^0.1.0",
|
||||
"@cloudflare/workers-types": "^4.20230518.0",
|
||||
"esbuild": "^0.17.12",
|
||||
"esbuild": "^0.17.19",
|
||||
"tiny-glob": "^0.2.9"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -49,8 +49,8 @@
|
|||
"devDependencies": {
|
||||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"chai": "^4.3.6",
|
||||
"cheerio": "^1.0.0-rc.11",
|
||||
"chai": "^4.3.7",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"mocha": "^9.2.2",
|
||||
"slash": "^4.0.0",
|
||||
"wrangler": "^2.0.23"
|
||||
|
|
|
@ -14,19 +14,19 @@ describe.skip('Basic app', () => {
|
|||
});
|
||||
|
||||
it('can render', async () => {
|
||||
const { ready, stop } = runCLI('./fixtures/basics/', { silent: true });
|
||||
const { ready, stop } = runCLI('./fixtures/basics/', { silent: true, port: 8789 });
|
||||
|
||||
try {
|
||||
await ready;
|
||||
|
||||
let res = await fetch(`http://localhost:8787/`);
|
||||
let res = await fetch(`http://localhost:8789/`);
|
||||
expect(res.status).to.equal(200);
|
||||
let html = await res.text();
|
||||
let $ = cheerio.load(html);
|
||||
expect($('h1').text()).to.equal('Testing');
|
||||
expect($('#env').text()).to.equal('secret');
|
||||
} finally {
|
||||
stop();
|
||||
await stop();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue