@stackoverflow/stacks
Advanced tools
Comparing version 2.6.0 to 2.7.0
@@ -31,3 +31,3 @@ import * as Stacks from "../../stacks"; | ||
customEvent = new Event(RADIO_OFF_EVENT); | ||
} catch (ex) { | ||
} catch { | ||
// Internet Explorer | ||
@@ -34,0 +34,0 @@ customEvent = document.createEvent("Event"); |
@@ -140,3 +140,3 @@ import * as Stacks from "../../stacks"; | ||
thumbElement = document.createElement("img"); | ||
// eslint-disable-next-line @typescript-eslint/no-base-to-string | ||
thumbElement.src = file.data.toString(); | ||
@@ -143,0 +143,0 @@ thumbElement.alt = file.name; |
@@ -32,3 +32,3 @@ import * as Stimulus from "@hotwired/stimulus"; | ||
const application = new StacksApplication(element, schema); | ||
// eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
application.start(); | ||
@@ -68,5 +68,5 @@ return application; | ||
}); | ||
} catch (ex) { | ||
} catch { | ||
// Internet Explorer | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment | ||
event = document.createEvent("CustomEvent"); | ||
@@ -73,0 +73,0 @@ event.initCustomEvent(namespacedName, true, true, detail); |
@@ -0,0 +0,0 @@ import { html, fixture, expect } from "@open-wc/testing"; |
@@ -122,3 +122,3 @@ import { html, unsafeStatic } from "@open-wc/testing"; | ||
const attrString = Object.keys(attrs).map((key) => { | ||
return `${key}="${attrs[key]}"` || ""; | ||
return `${key}="${attrs[key]}"`; | ||
}); | ||
@@ -125,0 +125,0 @@ return attrString.join(" ") || ""; |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"files": [ | ||
@@ -48,6 +48,7 @@ "dist", | ||
"@11ty/eleventy": "^2.0.1", | ||
"@eslint/js": "^9.14.0", | ||
"@highlightjs/cdn-assets": "^11.10.0", | ||
"@open-wc/testing": "^4.0.0", | ||
"@rollup/plugin-commonjs": "^26.0.1", | ||
"@rollup/plugin-replace": "^5.0.7", | ||
"@rollup/plugin-replace": "^6.0.2", | ||
"@stackoverflow/stacks-editor": "^0.10.7", | ||
@@ -59,5 +60,3 @@ "@stackoverflow/stacks-icons": "^6.0.2", | ||
"@types/less": "^3.0.6", | ||
"@types/mocha": "^10.0.9", | ||
"@typescript-eslint/eslint-plugin": "^7.17.0", | ||
"@typescript-eslint/parser": "^7.18.0", | ||
"@types/mocha": "^10.0.10", | ||
"@web/dev-server-esbuild": "^1.0.2", | ||
@@ -70,3 +69,3 @@ "@web/dev-server-rollup": "^0.6.4", | ||
"colorjs.io": "^0.5.2", | ||
"concurrently": "^9.0.1", | ||
"concurrently": "^9.1.0", | ||
"css-loader": "^7.1.2", | ||
@@ -78,3 +77,3 @@ "cssbeautify": "^0.3.1", | ||
"eleventy-plugin-nesting-toc": "^1.3.0", | ||
"eslint": "^8.57.1", | ||
"eslint": "^9.16.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
@@ -91,3 +90,3 @@ "eslint-plugin-no-unsanitized": "^4.1.2", | ||
"rollup-plugin-postcss": "^4.0.2", | ||
"stylelint": "^16.10.0", | ||
"stylelint": "^16.12.0", | ||
"stylelint-config-recommended": "^14.0.1", | ||
@@ -97,5 +96,6 @@ "stylelint-config-standard": "^36.0.1", | ||
"ts-loader": "^9.5.1", | ||
"typescript": "^5.6.3", | ||
"vitest": "^2.1.3", | ||
"webpack": "^5.95.0", | ||
"typescript": "^5.7.2", | ||
"typescript-eslint": "^8.18.2", | ||
"vitest": "^2.1.6", | ||
"webpack": "^5.96.1", | ||
"webpack-cli": "^5.1.4", | ||
@@ -102,0 +102,0 @@ "webpack-merge": "^6.0.1" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1985575
35347