From 759c096cd608d9cf86b7271ee9f694ebe9743249 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2019 17:17:43 +0000 Subject: [PATCH 1/4] Bump eslint-utils from 1.3.1 to 1.4.2 Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. - [Release notes](https://github.com/mysticatea/eslint-utils/releases) - [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2) Signed-off-by: dependabot[bot] --- package-lock.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index f460085..d9ae21e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2668,10 +2668,13 @@ } }, "eslint-utils": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.3.1.tgz", - "integrity": "sha512-Z7YjnIldX+2XMcjr7ZkgEsOj/bREONV60qYeB/bjMAqqqZ4zxKyWX+BOUkdmRmA9riiIPVvo5x86m5elviOk0Q==", - "dev": true + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz", + "integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^1.0.0" + } }, "eslint-visitor-keys": { "version": "1.0.0", From 6aec7a28f9c94dee3c1563fc22c99c5c29bd4ba1 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 12 Sep 2019 10:25:58 +0100 Subject: [PATCH 2/4] types(ts): add window declaration --- index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.d.ts b/index.d.ts index 0eb974b..c73ef69 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2,3 +2,9 @@ export default class TaskListsElement extends HTMLElement { disabled: boolean sortable: boolean } + +declare global { + interface Window { + TaskListsElement: TaskListsElement + } +} From 9f519621559c4c072f2b0b9e331f9ee1b0ff1ff5 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 12 Sep 2019 10:42:15 +0100 Subject: [PATCH 3/4] types(ts): fix window declaration type --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index c73ef69..1e950d5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -5,6 +5,6 @@ export default class TaskListsElement extends HTMLElement { declare global { interface Window { - TaskListsElement: TaskListsElement + TaskListsElement: typeof TaskListsElement } } From f3238406bb97cd33e93fe2cc01434bd85f828526 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 12 Sep 2019 11:38:44 +0100 Subject: [PATCH 4/4] 1.0.5 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index d9ae21e..9583962 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@github/task-lists-element", - "version": "1.0.4", + "version": "1.0.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3437227..d7cff40 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@github/task-lists-element", - "version": "1.0.4", + "version": "1.0.5", "description": "Drag and drop task list items.", "repository": "github/task-lists-element", "main": "dist/index.umd.js",