Skip to content

Commit

Permalink
Spelling (#3393)
Browse files Browse the repository at this point in the history
* spelling: actually

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: and

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: array

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: asynchronous

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: attribute

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: because

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: changes

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: committed

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: committing

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: concatenated

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: concatenation

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: congratulatory

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: connection

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: contains

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: controller

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: declarations

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: decorator

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: dependencies

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: directive

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: disconnected

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: each

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: effect

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: empirically

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: enhanced

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: enumerating

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: flattened

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: fulfilled

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: github

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: happened

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: inference

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: installed

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: iterable

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: javascript

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: member

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: mixing-in

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: module

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: modules

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: more

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: necessarily

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: necessary

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: nonexistent

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: notify

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: opcode

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: parameter

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: preamble

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: preexisting

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: previously

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: property

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: recommend

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: reentrant

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: reference

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: resolution

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: sentinel

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: snapshot

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: subclass

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: suppress

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: symmetrically

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: synchronously

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: the

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: triggers

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: trivia

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: update

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: utilities

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: when

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: while

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: wrapping

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* add changeset

* Fix spelling in moved files

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Andrew Jakubowicz <ajakubowicz@google.com>
Co-authored-by: Justin Fagnani <justinfagnani@google.com>
  • Loading branch information
3 people committed Jan 25, 2023
1 parent 61ec3da commit 6fe882f
Show file tree
Hide file tree
Showing 60 changed files with 102 additions and 86 deletions.
6 changes: 3 additions & 3 deletions .changeset/changelog-lit.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const {
} = require('@changesets/get-github-info');

// Forked from: https://github.com/atlassian/changesets/blob/main/packages/changelog-github/src/index.ts
// Remove the "Thanks!" message, as it's almost always self-congratuatory to our team
// Remove the "Thanks!" message, as it's almost always self-congratulatory to our team
// TODO: add back "Thanks!" for external contributors

const repo = 'lit/lit';
Expand Down Expand Up @@ -39,11 +39,11 @@ const changelogFunctions = {
.filter((_) => _)
.join(', ')}]:`;

const updatedDepenenciesList = dependenciesUpdated.map(
const updatedDependenciesList = dependenciesUpdated.map(
(dependency) => ` - ${dependency.name}@${dependency.newVersion}`
);

return [changesetLink, ...updatedDepenenciesList].join('\n');
return [changesetLink, ...updatedDependenciesList].join('\n');
},
getReleaseLine: async (changeset, type, options) => {
let prFromSummary;
Expand Down
16 changes: 16 additions & 0 deletions .changeset/strange-brooms-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
"@lit-internal/benchmarks": patch
"@lit-labs/analyzer": patch
"@lit-labs/cli": patch
"@lit-labs/context": patch
"@lit-labs/eleventy-plugin-lit": patch
"@lit-labs/gen-wrapper-vue": patch
"@lit-labs/react": patch
"@lit-labs/router": patch
"@lit-labs/ssr": patch
"@lit-labs/task": patch
"@lit-labs/testing": patch
"@lit-labs/virtualizer": patch
---

Fix spelling identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling).
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
attributes:
label: Should this be an RFC?
description: |
Lit uses the [Lit RFC Process](https://github.com/lit/rfcs) to propose and discuss substantial chnages. Significant changes should not be opened as feature request issues here, but follow the RFC process at https://github.com/lit/rfcs.
Lit uses the [Lit RFC Process](https://github.com/lit/rfcs) to propose and discuss substantial changes. Significant changes should not be opened as feature request issues here, but follow the RFC process at https://github.com/lit/rfcs.
options:
- label: This is not a substantial change
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request]

jobs:
benchmarks:
# Don't run on forks. Benchmarks can't run on forks becuase secrets aren't
# Don't run on forks. Benchmarks can't run on forks because secrets aren't
# available, which are needed for posting result comments.
if: github.repository == 'lit/lit'

Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
- For efficiency, the `css` function now maintains a cache and will use a cached value if available when the same style text is requested.
- Fixed reflecting a property when it is set in a setter of another property that is called because its attribute changed ([#965](https://github.com/Polymer/lit-element/issues/965)).
- Fixed exceptions when parsing attributes from JSON ([#722](https://github.com/Polymer/lit-element/issues/722)).
- Fixed issue with combining `static get properties` on an undefined superclass with `@property` on a subclasss ([#890]https://github.com/Polymer/lit-element/issues/890));
- Fixed issue with combining `static get properties` on an undefined superclass with `@property` on a subclass ([#890]https://github.com/Polymer/lit-element/issues/890));

## `@lit/reactive-element` - 1.0.0

Expand Down Expand Up @@ -137,7 +137,7 @@
re-render to the tree. When called with `true`, any such directives'
`reconnected` callback will be called prior to its next `update`/`render`
callbacks. Note that `LitElement` will call this method by default on the
rendered part in its `connectedCallback` and `disconnetedCallback`.
rendered part in its `connectedCallback` and `disconnectedCallback`.
- Added the `static-html` module, a static `html` tag function, a `literal` tag function, and `unsafeStatic()`, which allows template authors to add strings to the
static structure of the template, before it's parsed as HTML. See [Static expressions](https://lit.dev/docs/templates/expressions/#static-expressions) for more details.
- Added `lit-html/directive-helpers.js` module with helpers for creating custom directives. See [Custom directives](https://lit.dev/docs/api/custom-directives/#clearPart) for more details.
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The Lit community is full of bright, thoughtful, helpful, supportive people - it's on all of us to keep it this way! Google and the Lit team want to help foster and support this, and we take any breaches of mutual respect very seriously. Below is the community code of conduct, which applies to our Github repos and organizations, mailing lists, Slack channels, and any other Lit-supported communication group.
The Lit community is full of bright, thoughtful, helpful, supportive people - it's on all of us to keep it this way! Google and the Lit team want to help foster and support this, and we take any breaches of mutual respect very seriously. Below is the community code of conduct, which applies to our GitHub repos and organizations, mailing lists, Slack channels, and any other Lit-supported communication group.

### Be excellent to each other.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ lit-html 1.x source is available on the [`lit-html-1.x`](https://github.com/lit/
- [`lit-starter-ts`](./packages/lit-starter-ts) ([template
repo](https://github.com/lit/lit-element-starter-ts)) - A starter repo for building reusable components using Lit in TypeScript.
- [`lit-starter-js`](./packages/lit-starter-js) ([template
repo](https://github.com/lit/lit-element-starter-js)) - A starter repo for building reusable components using Lit in Javascript.
repo](https://github.com/lit/lit-element-starter-js)) - A starter repo for building reusable components using Lit in JavaScript.
- Internal packages (not published to npm)
- [`tests`](./packages/tests) - Test infrastructure for the monorepo.
- [`benchmarks`](./packages/benchmarks) - Benchmarks for testing various libraries in the monorepo.
Expand Down
2 changes: 1 addition & 1 deletion packages/benchmarks/lit-html/repeat/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const defaults = {
from: 0,
// 'to' item index used in operations (add, move, swap)
to: 1000,
// When true, supported operations are mirrored symetrically on the other side
// When true, supported operations are mirrored symmetrically on the other side
// of the list
mirror: false,
// Number of times to loop, repeating the same operation on the list
Expand Down
4 changes: 2 additions & 2 deletions packages/labs/analyzer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

- [#2804](https://github.com/lit/lit/pull/2804) [`e0517ccf`](https://github.com/lit/lit/commit/e0517ccf79d983a8d6ec53969f29e130830fe3e8) - Read property options from decorated properties

- [#2896](https://github.com/lit/lit/pull/2896) [`3bd330f3`](https://github.com/lit/lit/commit/3bd330f3db4c2f618181b8602563db3ab879f33d) - Add utilties for getting LitElement declarations
- [#2896](https://github.com/lit/lit/pull/2896) [`3bd330f3`](https://github.com/lit/lit/commit/3bd330f3db4c2f618181b8602563db3ab879f33d) - Add utilities for getting LitElement declarations

- [#2812](https://github.com/lit/lit/pull/2812) [`93d671fe`](https://github.com/lit/lit/commit/93d671feab82688a79fc60ba22cf204fa4ca02ec) - Read events from class JSDoc @fires tags

Expand All @@ -60,7 +60,7 @@

- [#2796](https://github.com/lit/lit/pull/2796) [`a4253b83`](https://github.com/lit/lit/commit/a4253b8396bbfa28bce8cb1c86fd59959474d7dd) - Initial support for finding LitElement declarations

- [#2798](https://github.com/lit/lit/pull/2798) [`a95740dc`](https://github.com/lit/lit/commit/a95740dc27d06ab24828b993e84452cd306feecb) - Refactor LitElement-specific utilties into separate module
- [#2798](https://github.com/lit/lit/pull/2798) [`a95740dc`](https://github.com/lit/lit/commit/a95740dc27d06ab24828b993e84452cd306feecb) - Refactor LitElement-specific utilities into separate module

- [#2789](https://github.com/lit/lit/pull/2789) [`07212750`](https://github.com/lit/lit/commit/072127503d3dc40fe7ab8add93bebde933b6bd8b) - Add minimal class declaration gathering

Expand Down
2 changes: 1 addition & 1 deletion packages/labs/analyzer/src/lib/analyze-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const createPackageAnalyzer = (
) => {
// This logic accepts either a path to folder containing a tsconfig.json
// directly inside it or a path to a specific tsconfig file. If no tsconfig
// file is found, we fallback to creating a Javascript program.
// file is found, we fallback to creating a JavaScript program.
const isDirectory = ts.sys.directoryExists(packagePath);
const configFileName = isDirectory
? path.join(packagePath, 'tsconfig.json')
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/analyzer/src/lib/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class Package extends PackageInfo {

/**
* Returns a list of modules in this package containing LitElement
* declarations, along with the filtered list of LitElementDeclarartions.
* declarations, along with the filtered list of LitElementDeclarations.
*/
getLitElementModules() {
const modules: {module: Module; declarations: LitElementDeclaration[]}[] =
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/cli/src/test/help_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ test('we install a referenced command with permission', async ({
cli.addCommand({...fooCommandReference, installFrom: '../foo-package'});
await cli.run();
assert.snapshot(console.errorStream.text, '');
// The npm install happend.
// The npm install happened.
assert.match(console.outputStream.text, 'added 1 package');
// After installation, we were able to resolve the command.
assert.match(
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/cli/src/test/uvu-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const TIMEOUT = IN_CI ? 60_000 : 30_000;
/**
* A safer wrapper around uvu.suite.
*
* Adds a timeout so that the the test doesn't hang forever, and so that it
* Adds a timeout so that the test doesn't hang forever, and so that it
* can't be garbage collected.
*
* Automatically calls `run` as well.
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/context/src/test/context-request_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SimpleContextProvider extends LitElement {
}

class SimpleContextConsumer extends LitElement {
// a one-time property fullfilled by context
// a one-time property fulfilled by context
@consume({context: simpleContext})
@property({type: Number})
public onceValue = 0;
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/eleventy-plugin-lit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ ${reset}`
)
).module.namespace.render as typeof contextifiedRender;
// TOOD(aomarks) We could also directly synthesize an html TemplateResult
// instead of doing so via the the unsafeHTML directive. The directive is
// instead of doing so via the unsafeHTML directive. The directive is
// performing some extra validation that doesn't really apply to us.
contextifiedUnsafeHTML = (
await loader.importModule(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {javascript, kabobToOnEvent} from '@lit-labs/gen-utils/lib/str-utils.js';

/**
* Generates a Vue wrapper component as a Vue single file component. This
* approach relies on the Vue compiler to generate a Javascript property types
* approach relies on the Vue compiler to generate a JavaScript property types
* object for Vue runtime type checking from the Typescript property types.
*/
export const wrapperModuleTemplateSFC = (
Expand Down
4 changes: 2 additions & 2 deletions packages/labs/react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

- [#3072](https://github.com/lit/lit/pull/3072) [`94722633`](https://github.com/lit/lit/commit/947226339746d5795a8ded3d19d51d3d6fdf7b0e) - Avoid nested component props type declarations. Incrementally define what types are needed rather than nesting.

- [#3067](https://github.com/lit/lit/pull/3067) [`f3e3cddf`](https://github.com/lit/lit/commit/f3e3cddf5e03602558c92306ed4fc0234767ac39) - Fixed an error that occurs when when compiling TS. The error occurs when createComponent() is not provided an event map causing instance properties to be confused with event handlers.
- [#3067](https://github.com/lit/lit/pull/3067) [`f3e3cddf`](https://github.com/lit/lit/commit/f3e3cddf5e03602558c92306ed4fc0234767ac39) - Fixed an error that occurs when compiling TS. The error occurs when createComponent() is not provided an event map causing instance properties to be confused with event handlers.

- [#3111](https://github.com/lit/lit/pull/3111) [`6158482c`](https://github.com/lit/lit/commit/6158482c4123d74c29eb1ba2307c5aa2d059c041) - Removed the unexposed and unnecessary `StringValued` type used to correlate property names with event listener names.

Expand Down Expand Up @@ -140,7 +140,7 @@ Changes below were based on the [Keep a Changelog](http://keepachangelog.com/) f

### Added

- Added `useControler()` hook for creating React hooks from Reactive Controllers ([#1532](https://github.com/Polymer/lit-html/pulls/1532)).
- Added `useController()` hook for creating React hooks from Reactive Controllers ([#1532](https://github.com/Polymer/lit-html/pulls/1532)).

## [1.0.0-pre.2] - 2021-03-31

Expand Down
2 changes: 1 addition & 1 deletion packages/labs/react/src/use-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const useController = <C extends ReactiveController>(
// created with useMemo().
// TODO (justinfagnani): since this controller are mutable, this may cause
// issues such as "shearing" with React concurrent mode. The solution there
// will likely be to shapshot the controller state with something like
// will likely be to snapshot the controller state with something like
// `useMutableSource`:
// https://github.com/reactjs/rfcs/blob/master/text/0147-use-mutable-source.md
// We can address this when React's concurrent mode is closer to shipping.
Expand Down
4 changes: 2 additions & 2 deletions packages/labs/router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ html`<main>${this.routes.outlet()}</main>`;

A route can define an `enter()` callback that lets it do work before rendering and optionally reject that route as a match.

`enter()` can be used to load and wait for neccessary component definitions:
`enter()` can be used to load and wait for necessary component definitions:

```ts
{
Expand Down Expand Up @@ -250,7 +250,7 @@ In this example, the page can handle URLs `/foo`, `/child/foo` and `/child/bar`.

This client-side router is intended to be able to integrate with server-side routing, both configuration-based routers and convention-based routers like file-based routers.

Current ideas for integration include a fallback route handler (instaled by the app) that delegates to a server API call that returns additional route configuration dynamically. The minimal API needed in the client router are:
Current ideas for integration include a fallback route handler (installed by the app) that delegates to a server API call that returns additional route configuration dynamically. The minimal API needed in the client router are:

1. The ability to dynamically add routes
2. Fallback route handlers.
2 changes: 1 addition & 1 deletion packages/labs/router/src/test/router_test_code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class Test1 extends LitElement {
await this._router.goto('/' + path);

// Tell the router to cancel the original navigation to make it
// re-entrant safe. It'll be better if we can detect re-entrant calls
// reentrant safe. It'll be better if we can detect reentrant calls
// to goto() and do this automatically.
return false;
},
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/ssr/src/demo/global/app-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function renderAppWithInitialData() {

// This module runs in the app context with the client-side code, but is a
// server-only module. It doesn't use lit-html so that it can render the HTML
// shell in unbalanced fragments. By yielding the HTML preamable immediately
// shell in unbalanced fragments. By yielding the HTML preamble immediately
// with no lit-html template preparation or rendering needed, we minimize TTFB,
// And can get the browser to start prefetch as soon as possible.
export function* renderApp(data: typeof initialData) {
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/ssr/src/demo/vm-modules/app-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function renderAppWithInitialData() {

// This module runs in the app context with the client-side code, but is a
// server-only module. It doesn't use lit-html so that it can render the HTML
// shell in unbalanced fragments. By yielding the HTML preamable immediately
// shell in unbalanced fragments. By yielding the HTML preamble immediately
// with no lit-html template preparation or rendering needed, we minimize TTFB,
// And can get the browser to start prefetch as soon as possible.
export function* renderApp(data: typeof initialData) {
Expand Down
4 changes: 2 additions & 2 deletions packages/labs/ssr/src/lib/module-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export interface Options {
* (https://nodejs.org/api/vm.html).
*
* Most of the hooks implement fairly standard web-compatible module loading:
* - An import specifier resolver that uses Node module resoution
* - An import specifier resolver that uses Node module resolution
* - A linker that loads dependencies from the local filesystem
* - A module cache keyed by resolved URL
* - import.meta.url support
Expand All @@ -163,7 +163,7 @@ export class ModuleLoader {
* We want to be able to invalidate a module and the transitive closure
* of its importers so that we can update the graph.
*
* The keys of the map are useful for enumering static imported modules
* The keys of the map are useful for enumerating static imported modules
* after an entrypoint is loaded.
*/
readonly cache = new Map<string, ModuleRecord>();
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/ssr/src/lib/reflected-attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* List of attributes and which elements they apply is sourced from
* https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
*
* Commented elements were emperically found to not reflect from an associated
* Commented elements were empirically found to not reflect from an associated
* property.
*/
// prettier-ignore
Expand Down
6 changes: 3 additions & 3 deletions packages/labs/ssr/src/lib/render-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ type CustomElementClosedOp = {

/**
* Operation to possibly emit the `<!--lit-node-->` marker; the operation
* always emits if there were attribtue parts, and may emit if the node
* always emits if there were attribute parts, and may emit if the node
* was a custom element and it needed `defer-hydration` because it was
* rendered in the shadow root of another custom element host; we don't
* know the latter at opcode generation time, and so that test is done at
Expand Down Expand Up @@ -315,7 +315,7 @@ const getTemplateOpcodes = (result: TemplateResult) => {
/**
* Records the given string to the output, either by appending to the current
* opcode (if already `text`) or by creating a new `text` opcode (if the
* previous opocde was not `text)
* previous opcode was not `text)
*/
const flush = (value: string) => {
const op = getLast(ops);
Expand Down Expand Up @@ -510,7 +510,7 @@ export type RenderInfo = {
customElementHostStack: Array<ElementRenderer | undefined>;

/**
* An optional callback to notifiy when a custom element has been rendered.
* An optional callback to notify when a custom element has been rendered.
*
* This allows servers to know what specific tags were rendered for a given
* template, even in the case of conditional templates.
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/ssr/src/lib/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type {RenderResult} from './render-result.js';
*
* @param value Value to render
* @param renderInfo Optional render context object that should be passed
* to any re-entrant calls to `render`, e.g. from a `renderShadow` callback
* to any reentrant calls to `render`, e.g. from a `renderShadow` callback
* on an ElementRenderer.
*/
export function* render(
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/ssr/src/test/integration/tests/basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ interface ClickableInput extends HTMLInputElement {

const throwIfRunOnServer = () => {
if (!(globalThis instanceof window.constructor)) {
throw new Error('Upate should not be run on the server');
throw new Error('Update should not be run on the server');
}
};

Expand Down
2 changes: 1 addition & 1 deletion packages/labs/task/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Changes below were based on the [Keep a Changelog](http://keepachangelog.com/) f

### Added

- Added an `initialState` sentinal value that task functions can return to reset the task state to INITIAL.
- Added an `initialState` sentinel value that task functions can return to reset the task state to INITIAL.

<!-- ### Removed -->
<!-- ### Fixed -->
Expand Down

0 comments on commit 6fe882f

Please sign in to comment.