Skip to content

Commit cca3bc9

Browse files
authored
fix: correct more typos (#12971)
1 parent 971fde7 commit cca3bc9

File tree

26 files changed

+52
-52
lines changed

26 files changed

+52
-52
lines changed

packages/astro-rss/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176

177177
### Patch Changes
178178

179-
- [#7066](https://github.com/withastro/astro/pull/7066) [`a37e67b52`](https://github.com/withastro/astro/commit/a37e67b520dc35dbf40313c77490a97446de2f74) Thanks [@TheOtterlord](https://github.com/TheOtterlord)! - Fix pubDate schema tranformation
179+
- [#7066](https://github.com/withastro/astro/pull/7066) [`a37e67b52`](https://github.com/withastro/astro/commit/a37e67b520dc35dbf40313c77490a97446de2f74) Thanks [@TheOtterlord](https://github.com/TheOtterlord)! - Fix pubDate schema transformation
180180

181181
- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files
182182

packages/astro/CHANGELOG.md

Lines changed: 22 additions & 22 deletions
Large diffs are not rendered by default.

packages/astro/client.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ declare module '*.avif' {
110110
declare module '*.svg' {
111111
type Props = {
112112
/**
113-
* Accesible, short-text description
113+
* Accessible, short-text description
114114
*
115115
* {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Element/title|MDN Reference}
116116
*/

packages/astro/e2e/fixtures/actions-blog/src/styles/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,6 @@ hr {
135135
clip: rect(1px, 1px, 1px, 1px);
136136
/* modern browsers, clip-path works inwards from each corner */
137137
clip-path: inset(50%);
138-
/* added line to stop words getting smushed together (as they go onto seperate lines and some screen readers do not understand line feeds as a space */
138+
/* added line to stop words getting smushed together (as they go onto separate lines and some screen readers do not understand line feeds as a space */
139139
white-space: nowrap;
140140
}

packages/astro/e2e/fixtures/actions-react-19/src/styles/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,6 @@ hr {
135135
clip: rect(1px, 1px, 1px, 1px);
136136
/* modern browsers, clip-path works inwards from each corner */
137137
clip-path: inset(50%);
138-
/* added line to stop words getting smushed together (as they go onto seperate lines and some screen readers do not understand line feeds as a space */
138+
/* added line to stop words getting smushed together (as they go onto separate lines and some screen readers do not understand line feeds as a space */
139139
white-space: nowrap;
140140
}

packages/astro/src/actions/runtime/virtual/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export type ActionMiddlewareContext = {
246246
calledFrom: 'rpc' | 'form';
247247
/** The name of the action. Useful to track the source of an action result during a redirect. */
248248
name: string;
249-
/** Programatically call the action to get the result. */
249+
/** Programmatically call the action to get the result. */
250250
handler: () => Promise<SafeResult<any, any>>;
251251
};
252252
/**

packages/astro/src/assets/build/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export async function generateImagesForPath(
180180
try {
181181
await fs.promises.unlink(cachedFileURL);
182182
} catch {
183-
/* Old caches may not have a seperate image binary, no-op */
183+
/* Old caches may not have a separate image binary, no-op */
184184
}
185185
await fs.promises.unlink(cachedMetaFileURL);
186186

packages/astro/src/assets/build/remote.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export async function revalidateRemoteImage(
6868
webToCachePolicyRequest(req),
6969
webToCachePolicyResponse(
7070
res.ok ? res : new Response(null, { status: 200, headers: res.headers }),
71-
), // 304 responses themselves are not cachable, so just pretend to get the refreshed TTL
71+
), // 304 responses themselves are not cacheable, so just pretend to get the refreshed TTL
7272
);
7373
const expires = policy.storable() ? policy.timeToLive() : 0;
7474

packages/astro/src/core/routing/manifest/create.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ function isStaticSegment(segment: RoutePart[]) {
392392
* Routes that may collide depending on the parameters returned by their `getStaticPaths`
393393
* are not reported as collisions at this stage.
394394
*
395-
* Two routes are guarantted to collide in the following scenarios:
395+
* Two routes are guaranteed to collide in the following scenarios:
396396
* - Both are the exact same static route.
397397
* For example, `/foo` from an injected route and `/foo` from a file in the project.
398398
* - Both are non-prerendered dynamic routes with equal static parts in matching positions
@@ -719,9 +719,9 @@ export async function createRouteManifest(
719719
if (dev || settings.buildOutput === 'server') {
720720
injectImageEndpoint(settings, { routes }, dev ? 'dev' : 'build');
721721
// Ideally we would only inject the server islands route if server islands are used in the project.
722-
// Unforunately, there is a "circular dependency": to know if server islands are used, we need to run
722+
// Unfortunately, there is a "circular dependency": to know if server islands are used, we need to run
723723
// the build but the build relies on the routes manifest.
724-
// This situation also means we cannot update the buildOutput based on wether or not server islands
724+
// This situation also means we cannot update the buildOutput based on whether or not server islands
725725
// are used in the project. If server islands are detected after the build but the buildOutput is
726726
// static, we fail the build.
727727
injectServerIslandRoute(settings.config, { routes });

packages/astro/test/core-image-svg.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ describe('astro:assets - SVG Components', () => {
206206
const $path = $svg.children('path');
207207
assert.equal($path.length, 1);
208208
});
209-
it('adds the svg into the document as a sprite, overridding the default', () => {
209+
it('adds the svg into the document as a sprite, overriding the default', () => {
210210
let $svg = $('#definition svg');
211211
assert.equal($svg.length, 1);
212212
assert.equal(!!$svg.attr('viewBox'), false);

0 commit comments

Comments
 (0)