Skip to content

Commit

Permalink
chore: Update dependencies + fix node v18 bugs (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmilton authored Apr 24, 2022
1 parent 269a005 commit 8141ff8
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 56 deletions.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test-e2e": "node -r tsm test/e2e/index.ts"
},
"dependencies": {
"@ekscss/framework": "^0.0.39",
"@ekscss/framework": "^0.0.40",
"fuse.js": "^6.5.3",
"remarkable": "^2.0.1",
"stage1": "^0.3.0"
Expand All @@ -32,13 +32,13 @@
"@maxmilton/stylelint-config": "0.0.10",
"@types/csso": "5.0.0",
"@types/jsdom": "16.2.14",
"@types/node": "17.0.25",
"@types/node": "17.0.26",
"@types/remarkable": "2.0.3",
"@typescript-eslint/eslint-plugin": "5.20.0",
"@typescript-eslint/parser": "5.20.0",
"c8": "7.11.2",
"csso": "5.0.3",
"ekscss": "0.0.12",
"ekscss": "0.0.13",
"esbuild": "0.14.38",
"esbuild-minify-templates": "0.8.0",
"esbuild-plugin-ekscss": "0.0.10",
Expand All @@ -63,6 +63,11 @@
"typescript": "4.6.3",
"uvu": "0.5.3"
},
"pnpm": {
"overrides": {
"source-map": "~0.8.0-beta.0"
}
},
"prettier": {
"arrowParens": "always",
"endOfLine": "lf",
Expand Down
126 changes: 74 additions & 52 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export function Router(): RouterComponent {

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

window.onhashchange = handleHashChange;
window.addEventListener('hashchange', handleHashChange);
// load initial route
handleHashChange();

Expand Down

0 comments on commit 8141ff8

Please sign in to comment.