Skip to content

Commit 9d411fa

Browse files
authored
Merge pull request #627 from SolidOS/newFace-1
update
2 parents ad0c401 + c989b61 commit 9d411fa

File tree

8 files changed

+22
-59
lines changed

8 files changed

+22
-59
lines changed

eslint.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default [
1111
'**/*.md',
1212
'**/*.json',
1313
'docs/**',
14+
'Documentation/**',
1415
'node_modules/**',
1516
'coverage/**',
1617
'dist/**',
@@ -64,6 +65,7 @@ export default [
6465
'@typescript-eslint/no-unused-vars': ['warn', {
6566
argsIgnorePattern: '^_',
6667
varsIgnorePattern: '^_',
68+
caughtErrorsIgnorePattern: '^_',
6769
}],
6870
// '@typescript-eslint/no-explicit-any': 'warn', - codebase not ready for this
6971
},

package-lock.json

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

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,12 @@
6969
"@noble/hashes": "^1.8.0",
7070
"escape-html": "^1.0.3",
7171
"mime-types": "^3.0.1",
72-
"pane-registry": "^2.5.1-ee1545f",
72+
"pane-registry": "^2.5.1-928f05a",
73+
"rdflib": "^2.3.0",
74+
"solid-logic": "^3.1.1-aa7c1ee",
7375
"solid-namespace": "^0.5.4",
7476
"uuid": "^11.1.0"
7577
},
76-
"peerDependencies": {
77-
"rdflib": "^2.3.0",
78-
"solid-logic": "3.1.1-3343cc7"
79-
},
8078
"devDependencies": {
8179
"@babel/cli": "^7.28.3",
8280
"@babel/core": "^7.28.3",
@@ -116,11 +114,9 @@
116114
"jsdom": "^26.1.0",
117115
"neostandard": "^0.12.2",
118116
"nock": "^13.5.6",
119-
"rdflib": "^2.3.0",
120117
"react": "^17.0.2",
121118
"react-dom": "^17.0.2",
122119
"react-is": "^17.0.2",
123-
"solid-logic": "^3.1.1-3343cc7",
124120
"storybook": "^7.6.20",
125121
"terser-webpack-plugin": "^5.3.14",
126122
"typedoc": "^0.28.9",

src/chat/keys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export async function getPublicKey (webId: NamedNode) {
3030
await store.fetcher.load(publicKeyDoc) // url.href)
3131
const key = store.any(webId, ns.solid('publicKey'))
3232
return key?.value // as NamedNode
33-
} catch (err) {
33+
} catch (_err) {
3434
return undefined
3535
}
3636
}

src/login/login.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ export function loginStatusBox (
636636
me = null
637637
try {
638638
alert(message)
639-
} catch (e) {
639+
} catch (_e) {
640640
window.alert(message)
641641
}
642642
box.refresh()
@@ -716,7 +716,7 @@ authSession.events.on('logout', async () => {
716716
await fetch(openidConfiguration.end_session_endpoint, { credentials: 'include' })
717717
}
718718
}
719-
} catch (err) {
719+
} catch (_err) {
720720
// Do nothing
721721
}
722722
}

src/utils/headerFooterHelpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function getPodOwner (pod: NamedNode, store: LiveStore): Promise<Na
4444
if (podOwner) {
4545
try {
4646
await store.fetcher.load((podOwner as NamedNode).doc())
47-
} catch (err) {
47+
} catch (_err) {
4848
console.warn('Unable to load profile of pod owner ' + podOwner)
4949
return null
5050
}
@@ -59,7 +59,7 @@ export async function getPodOwner (pod: NamedNode, store: LiveStore): Promise<Na
5959
try {
6060
// @ts-ignore LiveStore always has fetcher
6161
await store.fetcher.load(guess)
62-
} catch (err) {
62+
} catch (_err) {
6363
console.error('Ooops. Guessed wrong pod owner webid {$guess} : can\'t load it.')
6464
return null
6565
}

0 commit comments

Comments
 (0)