Skip to content

Commit ac3bb5d

Browse files
committed
Update dependencies
1 parent 42ba79e commit ac3bb5d

7 files changed

Lines changed: 3659 additions & 879 deletions

File tree

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "boilerplate-card",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "Lovelace boilerplate-card",
55
"keywords": [
66
"home-assistant",
@@ -16,36 +16,36 @@
1616
"license": "MIT",
1717
"dependencies": {
1818
"custom-card-helpers": "^1.7.2",
19-
"home-assistant-js-websocket": "^4.5.0",
19+
"home-assistant-js-websocket": "^5.11.1",
2020
"lit": "^2.0.0-rc.2"
2121
},
2222
"devDependencies": {
2323
"@babel/core": "^7.15.0",
2424
"@babel/plugin-proposal-class-properties": "^7.14.5",
2525
"@babel/plugin-proposal-decorators": "^7.14.5",
2626
"@rollup/plugin-json": "^4.1.0",
27-
"@typescript-eslint/eslint-plugin": "^2.34.0",
28-
"@typescript-eslint/parser": "^2.34.0",
29-
"eslint": "^6.8.0",
27+
"@typescript-eslint/eslint-plugin": "^4.33.0",
28+
"@typescript-eslint/parser": "^4.33.0",
29+
"eslint": "^7.32.0",
3030
"eslint-config-airbnb-base": "^14.2.1",
31-
"eslint-config-prettier": "^6.15.0",
31+
"eslint-config-prettier": "^8.3.0",
3232
"eslint-plugin-import": "^2.24.0",
33-
"eslint-plugin-prettier": "^3.4.0",
34-
"prettier": "^1.19.1",
35-
"rollup": "^1.32.1",
33+
"eslint-plugin-prettier": "^4.0.0",
34+
"prettier": "^2.4.1",
35+
"rollup": "^2.58.0",
3636
"rollup-plugin-babel": "^4.4.0",
3737
"rollup-plugin-commonjs": "^10.1.0",
3838
"rollup-plugin-node-resolve": "^5.2.0",
3939
"rollup-plugin-serve": "^1.1.0",
40-
"rollup-plugin-terser": "^5.3.1",
41-
"rollup-plugin-typescript2": "^0.24.3",
40+
"rollup-plugin-terser": "^7.0.2",
41+
"rollup-plugin-typescript2": "^0.30.0",
4242
"rollup-plugin-uglify": "^6.0.4",
43-
"typescript": "^3.9.10"
43+
"typescript": "^4.4.3"
4444
},
4545
"scripts": {
4646
"start": "rollup -c rollup.config.dev.js --watch",
4747
"build": "npm run lint && npm run rollup",
4848
"lint": "eslint src/*.ts",
4949
"rollup": "rollup -c"
5050
}
51-
}
51+
}

src/action-handler-directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { AttributePart, directive, Directive, DirectiveParameters } from 'lit/di
44
import { ActionHandlerDetail, ActionHandlerOptions } from 'custom-card-helpers/dist/types';
55
import { fireEvent } from 'custom-card-helpers';
66

7-
const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
7+
const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0;
88

99
interface ActionHandler extends HTMLElement {
1010
holdTime: number;

src/boilerplate-card.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class BoilerplateCard extends LitElement {
4848
return document.createElement('boilerplate-card-editor');
4949
}
5050

51-
public static getStubConfig(): object {
51+
public static getStubConfig(): Record<string, unknown> {
5252
return {};
5353
}
5454

src/const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const CARD_VERSION = '1.4.0';
1+
export const CARD_VERSION = '1.4.1';

src/editor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
2-
/* eslint-disable @typescript-eslint/camelcase */
32
import { LitElement, html, TemplateResult, css, CSSResultGroup } from 'lit';
43
import { HomeAssistant, fireEvent, LovelaceCardEditor, ActionConfig } from 'custom-card-helpers';
54

0 commit comments

Comments
 (0)