Skip to content

Commit 8141ff8

Browse files
authored
chore: Update dependencies + fix node v18 bugs (#380)
1 parent 269a005 commit 8141ff8

File tree

3 files changed

+83
-56
lines changed

3 files changed

+83
-56
lines changed

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"test-e2e": "node -r tsm test/e2e/index.ts"
2424
},
2525
"dependencies": {
26-
"@ekscss/framework": "^0.0.39",
26+
"@ekscss/framework": "^0.0.40",
2727
"fuse.js": "^6.5.3",
2828
"remarkable": "^2.0.1",
2929
"stage1": "^0.3.0"
@@ -32,13 +32,13 @@
3232
"@maxmilton/stylelint-config": "0.0.10",
3333
"@types/csso": "5.0.0",
3434
"@types/jsdom": "16.2.14",
35-
"@types/node": "17.0.25",
35+
"@types/node": "17.0.26",
3636
"@types/remarkable": "2.0.3",
3737
"@typescript-eslint/eslint-plugin": "5.20.0",
3838
"@typescript-eslint/parser": "5.20.0",
3939
"c8": "7.11.2",
4040
"csso": "5.0.3",
41-
"ekscss": "0.0.12",
41+
"ekscss": "0.0.13",
4242
"esbuild": "0.14.38",
4343
"esbuild-minify-templates": "0.8.0",
4444
"esbuild-plugin-ekscss": "0.0.10",
@@ -63,6 +63,11 @@
6363
"typescript": "4.6.3",
6464
"uvu": "0.5.3"
6565
},
66+
"pnpm": {
67+
"overrides": {
68+
"source-map": "~0.8.0-beta.0"
69+
}
70+
},
6671
"prettier": {
6772
"arrowParens": "always",
6873
"endOfLine": "lf",

pnpm-lock.yaml

Lines changed: 74 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export function Router(): RouterComponent {
285285

286286
const handleHashChange = () => loadRoute(window.location.hash.slice(1));
287287

288-
window.onhashchange = handleHashChange;
288+
window.addEventListener('hashchange', handleHashChange);
289289
// load initial route
290290
handleHashChange();
291291

0 commit comments

Comments
 (0)