Skip to content
Snippets Groups Projects
Commit 60406a74 authored by Neuber, Eugen Ramon's avatar Neuber, Eugen Ramon :speech_balloon:
Browse files

Upgrade Lit-Element and Lit-HTML

Versions: Lit-Element to 2.4.0 and Lit-HTML to 1.3.0
parent 1233d59d
No related branches found
No related tags found
No related merge requests found
Pipeline #16401 passed
Showing
with 28 additions and 24 deletions
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
"@dbp-toolkit/person-profile": "^0.1.3", "@dbp-toolkit/person-profile": "^0.1.3",
"@open-wc/scoped-elements": "^1.3.2", "@open-wc/scoped-elements": "^1.3.2",
"i18next": "^19.8.4", "i18next": "^19.8.4",
"lit-element": "^2.3.1", "lit-element": "^2.4.0",
"lit-html": "^1.1.1", "lit-html": "^1.3.0",
"universal-router": "^9.0.1" "universal-router": "^9.0.1"
}, },
"scripts": { "scripts": {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
"@dbp-toolkit/common": "^0.1.4", "@dbp-toolkit/common": "^0.1.4",
"@open-wc/scoped-elements": "^1.3.2", "@open-wc/scoped-elements": "^1.3.2",
"event-target-shim": "^6.0.0", "event-target-shim": "^6.0.0",
"lit-element": "^2.3.1" "lit-element": "^2.4.0"
}, },
"scripts": { "scripts": {
"clean": "rm dist/*", "clean": "rm dist/*",
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
"@dbp-toolkit/common": "^0.1.4", "@dbp-toolkit/common": "^0.1.4",
"@open-wc/scoped-elements": "^1.3.2", "@open-wc/scoped-elements": "^1.3.2",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"lit-element": "^2.3.1", "lit-element": "^2.4.0",
"select2": "^4.0.10" "select2": "^4.0.10"
}, },
"scripts": { "scripts": {
......
...@@ -39,6 +39,6 @@ ...@@ -39,6 +39,6 @@
"@open-wc/scoped-elements": "^1.3.2", "@open-wc/scoped-elements": "^1.3.2",
"@sentry/browser": "^5.27.4", "@sentry/browser": "^5.27.4",
"i18next": "^19.8.4", "i18next": "^19.8.4",
"lit-element": "^2.3.1" "lit-element": "^2.4.0"
} }
} }
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
"i18next": "^19.8.4", "i18next": "^19.8.4",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"jszip": "^3.2.2", "jszip": "^3.2.2",
"lit-element": "^2.3.1", "lit-element": "^2.4.0",
"lit-html": "^1.1.1" "lit-html": "^1.3.0"
}, },
"scripts": { "scripts": {
"clean": "rm -r dist/*", "clean": "rm -r dist/*",
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
"i18next": "^19.8.4", "i18next": "^19.8.4",
"jszip": "^3.5.0", "jszip": "^3.5.0",
"lit-element": "^2.1.0", "lit-element": "^2.1.0",
"lit-html": "^1.1.1", "lit-html": "^1.3.0",
"material-design-icons-svg": "^3.0.0", "material-design-icons-svg": "^3.0.0",
"tabulator-tables": "^4.8.4", "tabulator-tables": "^4.8.4",
"webdav": "^3.6.1" "webdav": "^3.6.1"
......
...@@ -312,6 +312,10 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) { ...@@ -312,6 +312,10 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) {
console.error("Loading of " + file.name + " failed: " + e.message); console.error("Loading of " + file.name + " failed: " + e.message);
}); });
// no suitable files found
if (filesToHandle.length === 0) {
throw new Error('ZIP file does not contain any files of ' + this.allowedMimeTypes);
}
return filesToHandle; return filesToHandle;
} }
......
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
"@dbp-toolkit/common": "^0.1.4", "@dbp-toolkit/common": "^0.1.4",
"@open-wc/scoped-elements": "^1.3.2", "@open-wc/scoped-elements": "^1.3.2",
"i18next": "^19.8.4", "i18next": "^19.8.4",
"lit-element": "^2.3.1", "lit-element": "^2.4.0",
"lit-html": "^1.1.1", "lit-html": "^1.3.0",
"material-design-icons-svg": "^3.0.0" "material-design-icons-svg": "^3.0.0"
}, },
"scripts": { "scripts": {
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
"dependencies": { "dependencies": {
"@dbp-toolkit/common": "^0.1.4", "@dbp-toolkit/common": "^0.1.4",
"@open-wc/scoped-elements": "^1.3.2", "@open-wc/scoped-elements": "^1.3.2",
"lit-element": "^2.3.1" "lit-element": "^2.4.0"
}, },
"scripts": { "scripts": {
"clean": "rm dist/*", "clean": "rm dist/*",
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
"@dbp-toolkit/auth": "^0.1.6", "@dbp-toolkit/auth": "^0.1.6",
"@dbp-toolkit/common": "^0.1.4", "@dbp-toolkit/common": "^0.1.4",
"@open-wc/scoped-elements": "^1.3.2", "@open-wc/scoped-elements": "^1.3.2",
"lit-element": "^2.3.1" "lit-element": "^2.4.0"
}, },
"scripts": { "scripts": {
"clean": "rm dist/*", "clean": "rm dist/*",
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
"dependencies": { "dependencies": {
"@dbp-toolkit/common": "^0.1.4", "@dbp-toolkit/common": "^0.1.4",
"@open-wc/scoped-elements": "^1.3.2", "@open-wc/scoped-elements": "^1.3.2",
"lit-element": "^2.3.1" "lit-element": "^2.4.0"
}, },
"scripts": { "scripts": {
"clean": "rm dist/*", "clean": "rm dist/*",
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
"@dbp-toolkit/person-select": "^0.1.3", "@dbp-toolkit/person-select": "^0.1.3",
"@open-wc/scoped-elements": "^1.3.2", "@open-wc/scoped-elements": "^1.3.2",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"lit-element": "^2.3.1" "lit-element": "^2.4.0"
}, },
"scripts": { "scripts": {
"clean": "rm dist/*", "clean": "rm dist/*",
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
"@dbp-toolkit/common": "^0.1.4", "@dbp-toolkit/common": "^0.1.4",
"@open-wc/scoped-elements": "^1.3.2", "@open-wc/scoped-elements": "^1.3.2",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"lit-element": "^2.3.1", "lit-element": "^2.4.0",
"select2": "^4.0.10" "select2": "^4.0.10"
}, },
"scripts": { "scripts": {
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
"@dbp-toolkit/auth": "^0.1.6", "@dbp-toolkit/auth": "^0.1.6",
"@dbp-toolkit/common": "^0.1.4", "@dbp-toolkit/common": "^0.1.4",
"@open-wc/scoped-elements": "^1.1.1", "@open-wc/scoped-elements": "^1.1.1",
"lit-element": "^2.3.1" "lit-element": "^2.4.0"
}, },
"scripts": { "scripts": {
"clean": "rm dist/*", "clean": "rm dist/*",
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
"@dbp-toolkit/common": "^0.1.4", "@dbp-toolkit/common": "^0.1.4",
"@open-wc/scoped-elements": "^1.3.3", "@open-wc/scoped-elements": "^1.3.3",
"async-mutex": "^0.2.4", "async-mutex": "^0.2.4",
"lit-element": "^2.3.1", "lit-element": "^2.4.0",
"qr-scanner": "^1.2.0" "qr-scanner": "^1.2.0"
}, },
"scripts": { "scripts": {
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
"dependencies": { "dependencies": {
"@dbp-toolkit/common": "^0.1.4", "@dbp-toolkit/common": "^0.1.4",
"@open-wc/scoped-elements": "^1.3.3", "@open-wc/scoped-elements": "^1.3.3",
"lit-element": "^2.3.1" "lit-element": "^2.4.0"
}, },
"scripts": { "scripts": {
"clean": "rm dist/*", "clean": "rm dist/*",
......
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
"highlight.js": "^10.1.2", "highlight.js": "^10.1.2",
"i18next": "^19.5.1", "i18next": "^19.5.1",
"jszip": "^3.5.0", "jszip": "^3.5.0",
"lit-element": "^2.3.1", "lit-element": "^2.4.0",
"lit-html": "^1.2.1", "lit-html": "^1.3.0",
"pdfjs-dist": "^2.4.456", "pdfjs-dist": "^2.4.456",
"tabulator-tables": "^4.7.0", "tabulator-tables": "^4.7.0",
"universal-router": "^9.0.1", "universal-router": "^9.0.1",
......
...@@ -3849,14 +3849,14 @@ lit-analyzer@1.2.1: ...@@ -3849,14 +3849,14 @@ lit-analyzer@1.2.1:
vscode-html-languageservice "3.1.0" vscode-html-languageservice "3.1.0"
web-component-analyzer "~1.1.1" web-component-analyzer "~1.1.1"
lit-element@^2.1.0, lit-element@^2.3.1: lit-element@^2.1.0, lit-element@^2.4.0:
version "2.4.0" version "2.4.0"
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.4.0.tgz#b22607a037a8fc08f5a80736dddf7f3f5d401452" resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.4.0.tgz#b22607a037a8fc08f5a80736dddf7f3f5d401452"
integrity sha512-pBGLglxyhq/Prk2H91nA0KByq/hx/wssJBQFiYqXhGDvEnY31PRGYf1RglVzyLeRysu0IHm2K0P196uLLWmwFg== integrity sha512-pBGLglxyhq/Prk2H91nA0KByq/hx/wssJBQFiYqXhGDvEnY31PRGYf1RglVzyLeRysu0IHm2K0P196uLLWmwFg==
dependencies: dependencies:
lit-html "^1.1.1" lit-html "^1.1.1"
lit-html@^1.0.0, lit-html@^1.1.1, lit-html@^1.2.1: lit-html@^1.0.0, lit-html@^1.1.1, lit-html@^1.3.0:
version "1.3.0" version "1.3.0"
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.3.0.tgz#c80f3cc5793a6dea6c07172be90a70ab20e56034" resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.3.0.tgz#c80f3cc5793a6dea6c07172be90a70ab20e56034"
integrity sha512-0Q1bwmaFH9O14vycPHw8C/IeHMk/uSDldVLIefu/kfbTBGIc44KGH6A8p1bDfxUfHdc8q6Ct7kQklWoHgr4t1Q== integrity sha512-0Q1bwmaFH9O14vycPHw8C/IeHMk/uSDldVLIefu/kfbTBGIc44KGH6A8p1bDfxUfHdc8q6Ct7kQklWoHgr4t1Q==
......
...@@ -4574,14 +4574,14 @@ lit-analyzer@1.2.1: ...@@ -4574,14 +4574,14 @@ lit-analyzer@1.2.1:
vscode-html-languageservice "3.1.0" vscode-html-languageservice "3.1.0"
web-component-analyzer "~1.1.1" web-component-analyzer "~1.1.1"
lit-element@^2.1.0, lit-element@^2.3.1: lit-element@^2.1.0, lit-element@^2.4.0:
version "2.4.0" version "2.4.0"
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.4.0.tgz#b22607a037a8fc08f5a80736dddf7f3f5d401452" resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.4.0.tgz#b22607a037a8fc08f5a80736dddf7f3f5d401452"
integrity sha512-pBGLglxyhq/Prk2H91nA0KByq/hx/wssJBQFiYqXhGDvEnY31PRGYf1RglVzyLeRysu0IHm2K0P196uLLWmwFg== integrity sha512-pBGLglxyhq/Prk2H91nA0KByq/hx/wssJBQFiYqXhGDvEnY31PRGYf1RglVzyLeRysu0IHm2K0P196uLLWmwFg==
dependencies: dependencies:
lit-html "^1.1.1" lit-html "^1.1.1"
lit-html@^1.0.0, lit-html@^1.1.1: lit-html@^1.0.0, lit-html@^1.1.1, lit-html@^1.3.0:
version "1.3.0" version "1.3.0"
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.3.0.tgz#c80f3cc5793a6dea6c07172be90a70ab20e56034" resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.3.0.tgz#c80f3cc5793a6dea6c07172be90a70ab20e56034"
integrity sha512-0Q1bwmaFH9O14vycPHw8C/IeHMk/uSDldVLIefu/kfbTBGIc44KGH6A8p1bDfxUfHdc8q6Ct7kQklWoHgr4t1Q== integrity sha512-0Q1bwmaFH9O14vycPHw8C/IeHMk/uSDldVLIefu/kfbTBGIc44KGH6A8p1bDfxUfHdc8q6Ct7kQklWoHgr4t1Q==
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment