From cc94bef77a2cdcd8972fc555bbbffa14bb01d52d Mon Sep 17 00:00:00 2001 From: Princesseuh <3019731+Princesseuh@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:15:57 +0200 Subject: [PATCH] chore: changeset --- .changeset/shy-dolphins-sort.md | 8 ++++++++ packages/language-server/package.json | 2 +- packages/ts-plugin/package.json | 2 +- packages/vscode/package.json | 2 +- pnpm-lock.yaml | 26 +++++++++++--------------- 5 files changed, 22 insertions(+), 18 deletions(-) create mode 100644 .changeset/shy-dolphins-sort.md diff --git a/.changeset/shy-dolphins-sort.md b/.changeset/shy-dolphins-sort.md new file mode 100644 index 00000000..fb6c142f --- /dev/null +++ b/.changeset/shy-dolphins-sort.md @@ -0,0 +1,8 @@ +--- +"@astrojs/language-server": patch +"@astrojs/ts-plugin": patch +"astro-vscode": patch +"@astrojs/check": patch +--- + +Revert a change to top-level returns that could prevent the return types of functions from being correct in certain cases diff --git a/packages/language-server/package.json b/packages/language-server/package.json index ad5a694a..28691cad 100644 --- a/packages/language-server/package.json +++ b/packages/language-server/package.json @@ -21,7 +21,7 @@ "test:match": "pnpm run test -g" }, "dependencies": { - "@astrojs/compiler": "^2.10.0", + "@astrojs/compiler": "^2.10.1", "@jridgewell/sourcemap-codec": "^1.4.15", "@volar/kit": "~2.4.0-alpha.15", "@volar/language-core": "~2.4.0-alpha.15", diff --git a/packages/ts-plugin/package.json b/packages/ts-plugin/package.json index 6c06e20b..fe3ec4c5 100644 --- a/packages/ts-plugin/package.json +++ b/packages/ts-plugin/package.json @@ -21,7 +21,7 @@ "dependencies": { "@volar/language-core": "~2.4.0-alpha.15", "@volar/typescript": "~2.4.0-alpha.15", - "@astrojs/compiler": "^2.10.0", + "@astrojs/compiler": "^2.10.1", "@jridgewell/sourcemap-codec": "^1.4.15", "semver": "^7.3.8", "vscode-languageserver-textdocument": "^1.0.11" diff --git a/packages/vscode/package.json b/packages/vscode/package.json index d32847ce..8f1ed48f 100644 --- a/packages/vscode/package.json +++ b/packages/vscode/package.json @@ -229,7 +229,7 @@ "vscode-tmgrammar-test": "^0.1.2" }, "dependencies": { - "@astrojs/compiler": "^2.10.0", + "@astrojs/compiler": "^2.10.1", "prettier": "^3.2.5", "prettier-plugin-astro": "^0.14.1" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 19cbf40f..04c729a5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -76,8 +76,8 @@ importers: packages/language-server: dependencies: '@astrojs/compiler': - specifier: ^2.10.0 - version: 2.10.0 + specifier: ^2.10.1 + version: 2.10.1 '@jridgewell/sourcemap-codec': specifier: ^1.4.15 version: 1.4.15 @@ -179,8 +179,8 @@ importers: packages/ts-plugin: dependencies: '@astrojs/compiler': - specifier: ^2.10.0 - version: 2.10.0 + specifier: ^2.10.1 + version: 2.10.1 '@jridgewell/sourcemap-codec': specifier: ^1.4.15 version: 1.4.15 @@ -222,8 +222,8 @@ importers: packages/vscode: dependencies: '@astrojs/compiler': - specifier: ^2.10.0 - version: 2.10.0 + specifier: ^2.10.1 + version: 2.10.1 prettier: specifier: ^3.2.5 version: 3.2.5 @@ -309,12 +309,8 @@ packages: '@jridgewell/trace-mapping': 0.3.18 dev: true - /@astrojs/compiler@2.10.0: - resolution: {integrity: sha512-V8ym+4kYCKmMeSdfDvm/SrlmUlKLkKzfWV3cKyiStEKW/D+YsXaQiBZcSCtuKXq8aQhsDw9HtCTZilhEMBX+BA==} - - /@astrojs/compiler@2.9.1: - resolution: {integrity: sha512-s8Ge2lWHx/s3kl4UoerjL/iPtwdtogNM/BLOaGCwQA6crMOVYpphy5wUkYlKyuh8GAeGYH/5haLAFBsgNy9AQQ==} - dev: true + /@astrojs/compiler@2.10.1: + resolution: {integrity: sha512-XmM4j6BjvOVMag2xELq0JuG2yKOW8wgIu6dvb9BsjbGYmnvoStJn/pqEzVqc1EBszf2xYT7onIkftIOUz9AwrQ==} /@astrojs/internal-helpers@0.2.1: resolution: {integrity: sha512-06DD2ZnItMwUnH81LBLco3tWjcZ1lGU9rLCCBaeUCGYe9cI0wKyY2W3kDyoW1I6GmcWgt1fu+D1CTvz+FIKf8A==} @@ -2688,7 +2684,7 @@ packages: engines: {node: '>=18.14.1', npm: '>=6.14.0'} hasBin: true dependencies: - '@astrojs/compiler': 2.9.1 + '@astrojs/compiler': 2.10.1 '@astrojs/internal-helpers': 0.2.1 '@astrojs/markdown-remark': 4.2.1 '@astrojs/telemetry': 3.0.4 @@ -2771,7 +2767,7 @@ packages: engines: {node: '>=18.14.1', npm: '>=6.14.0'} hasBin: true dependencies: - '@astrojs/compiler': 2.10.0 + '@astrojs/compiler': 2.10.1 '@astrojs/internal-helpers': 0.2.1 '@astrojs/markdown-remark': 4.2.1 '@astrojs/telemetry': 3.0.4 @@ -6179,7 +6175,7 @@ packages: resolution: {integrity: sha512-RiBETaaP9veVstE4vUwSIcdATj6dKmXljouXc/DDNwBSPTp8FRkLGDSGFClKsAFeeg+13SB0Z1JZvbD76bigJw==} engines: {node: ^14.15.0 || >=16.0.0} dependencies: - '@astrojs/compiler': 2.10.0 + '@astrojs/compiler': 2.10.1 prettier: 3.2.5 sass-formatter: 0.7.6 dev: false