Skip to content

Commit 47cc31a

Browse files
authored
Update dependencies; bump minimum node version to v18 (#156)
1 parent a6a9446 commit 47cc31a

File tree

6 files changed

+1998
-1628
lines changed

6 files changed

+1998
-1628
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 18
2020
- name: install
2121
run: npm ci || npm install
2222
- name: XO
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v3
2929
- uses: actions/setup-node@v3
3030
with:
31-
node-version: 16
31+
node-version: 18
3232
- name: install
3333
run: npm ci || npm install
3434
- name: build

demo/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import {defineConfig} from 'vite';
22
import {svelte} from '@sveltejs/vite-plugin-svelte';
33

44
export default defineConfig({
5-
base: '',
5+
root: 'demo',
66
plugins: [svelte()],
77
});

index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ const getCleanGistPathname = (url: URL | HTMLAnchorElement | Location = location
728728
return gist === 'gist' ? parts.join('/') : undefined;
729729
};
730730

731-
export interface RepositoryInfo {
731+
export type RepositoryInfo = {
732732
owner: string;
733733
name: string;
734734

@@ -740,7 +740,7 @@ export interface RepositoryInfo {
740740
@example '/user/repo/' -> ''
741741
@example '/settings/token/' -> undefined */
742742
path: string;
743-
}
743+
};
744744

745745
const getRepo = (url?: URL | HTMLAnchorElement | Location | string): RepositoryInfo | undefined => {
746746
if (!url) {

0 commit comments

Comments
 (0)