diff --git a/package-lock.json b/package-lock.json index 8581eef79..d3af9f27e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -688,9 +688,9 @@ } }, "node_modules/@lit-labs/task": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@lit-labs/task/-/task-1.1.2.tgz", - "integrity": "sha512-wR6FpzaAwRMcMx/kfH0qmmOVv78gEzz4sXGYt2QBW4EkL6sAd0rC3VgwxnIAa4sWIk4z78k+gJxt6g8uPnaHKQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@lit-labs/task/-/task-3.0.2.tgz", + "integrity": "sha512-X6d+KWZR3q1ZrXs/auM5PbZcW3B5RlpU4gqk/upstwTZM6JN19P6o9Qgo+qjovIDsUZsYnlGQqtdPBwPrKzLUA==", "dependencies": { "@lit/reactive-element": "^1.1.0" } @@ -9143,7 +9143,7 @@ "dependencies": { "@lit-labs/motion": "^1.0.1", "@lit-labs/react": "^1.0.8", - "@lit-labs/task": "^1.0.0", + "@lit-labs/task": "^3.0.2", "@lit/localize": "^0.10.0", "@material/mwc-button": "^0.27.0", "@material/mwc-checkbox": "^0.27.0", @@ -9887,9 +9887,9 @@ "integrity": "sha512-92uQ5ARf7UXYrzaFcAX3T2rTvaS9Z1//ukV+DqjACM4c8s0ZBQd7ayJU5Dh2AFLD/Ayuyz4uMmxQec8q3U4Ong==" }, "@lit-labs/task": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@lit-labs/task/-/task-1.1.2.tgz", - "integrity": "sha512-wR6FpzaAwRMcMx/kfH0qmmOVv78gEzz4sXGYt2QBW4EkL6sAd0rC3VgwxnIAa4sWIk4z78k+gJxt6g8uPnaHKQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@lit-labs/task/-/task-3.0.2.tgz", + "integrity": "sha512-X6d+KWZR3q1ZrXs/auM5PbZcW3B5RlpU4gqk/upstwTZM6JN19P6o9Qgo+qjovIDsUZsYnlGQqtdPBwPrKzLUA==", "requires": { "@lit/reactive-element": "^1.1.0" } @@ -14365,7 +14365,7 @@ "@lit-labs/react": "^1.0.8", "@lit-labs/ssr": "^3.1.2", "@lit-labs/ssr-client": "^1.1.1", - "@lit-labs/task": "^1.0.0", + "@lit-labs/task": "^3.0.2", "@lit/localize": "^0.10.0", "@material/mwc-button": "^0.27.0", "@material/mwc-checkbox": "^0.27.0", diff --git a/packages/lit-dev-content/package.json b/packages/lit-dev-content/package.json index 61ac11fad..0e3f7c177 100644 --- a/packages/lit-dev-content/package.json +++ b/packages/lit-dev-content/package.json @@ -196,7 +196,7 @@ "dependencies": { "@lit-labs/motion": "^1.0.1", "@lit-labs/react": "^1.0.8", - "@lit-labs/task": "^1.0.0", + "@lit-labs/task": "^3.0.2", "@lit/localize": "^0.10.0", "@material/mwc-button": "^0.27.0", "@material/mwc-checkbox": "^0.27.0", diff --git a/packages/lit-dev-content/samples/v2-docs/controllers/names/names-controller.ts b/packages/lit-dev-content/samples/v2-docs/controllers/names/names-controller.ts index 59061c868..b849ce705 100644 --- a/packages/lit-dev-content/samples/v2-docs/controllers/names/names-controller.ts +++ b/packages/lit-dev-content/samples/v2-docs/controllers/names/names-controller.ts @@ -6,7 +6,7 @@ export class NamesController { host: ReactiveControllerHost; value?: string[]; readonly kinds = Names.kinds; - private task!: Task; + private task!: Task<[Names.Kind], Names.Result>; private _kind: Names.Kind = ''; constructor(host: ReactiveControllerHost) { diff --git a/packages/lit-dev-content/samples/v3-docs/controllers/names/names-controller.ts b/packages/lit-dev-content/samples/v3-docs/controllers/names/names-controller.ts index 59061c868..b849ce705 100644 --- a/packages/lit-dev-content/samples/v3-docs/controllers/names/names-controller.ts +++ b/packages/lit-dev-content/samples/v3-docs/controllers/names/names-controller.ts @@ -6,7 +6,7 @@ export class NamesController { host: ReactiveControllerHost; value?: string[]; readonly kinds = Names.kinds; - private task!: Task; + private task!: Task<[Names.Kind], Names.Result>; private _kind: Names.Kind = ''; constructor(host: ReactiveControllerHost) {