Skip to content

Commit be225c8

Browse files
committed
updated prod dep and rearanged
1 parent 7584c9e commit be225c8

10 files changed

Lines changed: 230 additions & 56 deletions

File tree

.eslintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

package-lock.json

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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,11 @@
5050
"activitystreams-pane": "^0.6.14",
5151
"chat-pane": "^2.4.27",
5252
"contacts-pane": "^2.6.13",
53-
"dompurify": "^3.2.4",
54-
"eslint": "^9.20.1",
5553
"folder-pane": "^2.4.28",
5654
"issue-pane": "^2.4.20",
57-
"marked": "^11.2.0",
55+
"marked": "^16.1.2",
5856
"meeting-pane": "^2.4.20",
59-
"mime-types": "^2.1.35",
57+
"mime-types": "^3.0.1",
6058
"profile-pane": "^1.1.2",
6159
"rdflib": "^2.2.36",
6260
"solid-namespace": "^0.5.4",
@@ -76,6 +74,8 @@
7674
"babel-loader": "^9.2.1",
7775
"babel-plugin-inline-import": "^3.0.0",
7876
"buffer": "^6.0.3",
77+
"dompurify": "^3.2.6",
78+
"eslint": "^9.33.0",
7979
"globals": "^15.15.0",
8080
"html-webpack-plugin": "^5.6.3",
8181
"husky": "^8.0.3",

src/attach/attachPane.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default {
117117
const subjects = []
118118
for (u in uriHash) {
119119
// @@ TODO: Write away the need for exception on next line
120-
// eslint-disable-next-line no-prototype-builtins
120+
121121
if (uriHash.hasOwnProperty(u)) {
122122
x = kb.sym(u)
123123
if (sortBy) {

src/outline/manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ export default function (context) {
16271627
}
16281628
case 39: // right
16291629
// @@ TODO: Write away the need for exception on next line
1630-
// eslint-disable-next-line no-case-declarations
1630+
16311631
const obj = UI.utils.getAbout(kb, selectedTd)
16321632
if (obj) {
16331633
walk = this.walk

src/outline/userInput.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ export function UserInput (outline) {
763763

764764
UI.log.debug('removed')
765765
outline.walk('up')
766-
// eslint-disable-next-line prefer-const
766+
767767
removedTr = selectedTd.parentNode
768768
// afterTr = removedTr.nextSibling
769769
function removefromview () {
@@ -1986,14 +1986,14 @@ export function UserInput (outline) {
19861986
inputText = extraInformation.inputText
19871987
/* The labeller functionality code ahs been lost or dropped -- reinstate this? */
19881988
// @@ TODO: Write away the need for exception on next line
1989-
// eslint-disable-next-line no-case-declarations
1989+
19901990
const predicates = outline.labeller.searchAdv(
19911991
inputText,
19921992
undefined,
19931993
'predicate'
19941994
)
19951995
// @@ TODO: Write away the need for exception on next line
1996-
// eslint-disable-next-line no-case-declarations
1996+
19971997
let results = [] // @@ fixme
19981998
for (let i = 0; i < predicates.length; i++) {
19991999
const tempQuery = {}
@@ -2009,7 +2009,7 @@ export function UserInput (outline) {
20092009
}
20102010

20112011
// @@ TODO: Write away the need for exception on next line
2012-
// eslint-disable-next-line no-case-declarations
2012+
20132013
let entries = results[0]
20142014
if (entries.length === 0) {
20152015
console.log('cm length 0\n') // hq
@@ -2176,9 +2176,9 @@ export function UserInput (outline) {
21762176
const tr = selectedTd.parentNode
21772177
let stat
21782178
let isInverse
2179-
// eslint-disable-next-line prefer-const
2179+
21802180
stat = tr.AJAR_statement
2181-
// eslint-disable-next-line prefer-const
2181+
21822182
isInverse = tr.AJAR_inverse
21832183

21842184
const reqTerm = type === 'object' ? stat.object : stat.predicate

src/test-import-export/edit-importer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// import UI from 'solid-ui'
1414
// import solidUi, { SolidUi } from 'solid-ui'
1515
// @@ TODO: Write away the need for exception on next line
16-
// eslint-disable-next-line camelcase
16+
1717

1818
const thisPane = { foo: 'bar' }
1919
export default thisPane

src/transaction/pane.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ export default {
541541

542542
for (const y in yearCategoryTotal) {
543543
// @@ TODO: Write away the need for exception on next line
544-
// eslint-disable-next-line no-prototype-builtins
544+
545545
if (yearCategoryTotal.hasOwnProperty(y)) {
546546
years.push(y)
547547
}
@@ -567,7 +567,7 @@ export default {
567567

568568
for (const uri in total) {
569569
// @@ TODO: Write away the need for exception on next line
570-
// eslint-disable-next-line no-prototype-builtins
570+
571571
if (total.hasOwnProperty(uri)) {
572572
types.push(uri)
573573
grandTotal += total[uri]

src/transaction/period.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ export default {
251251
for (const y in xURIs) {
252252
// For each thing which can be inferred to be a transaction
253253
// @@ TODO: Write away the need for exception on next line
254-
// eslint-disable-next-line no-prototype-builtins
254+
255255
if (xURIs.hasOwnProperty(y)) {
256256
z = kb.sym(y)
257257
const tt = kb.each(z, ns.rdf('type')) // What EXPLICIT definitions
@@ -301,7 +301,7 @@ export default {
301301
const cats = kb.findSubClassesNT(ns.qu('Transaction'))
302302
for (const cat in cats) {
303303
// @@ TODO: Write away the need for exception on next line
304-
// eslint-disable-next-line no-prototype-builtins
304+
305305
if (cats.hasOwnProperty(cat)) {
306306
if (cat.slice(1, -1).split('#')[1] === catTail) {
307307
return kb.sym(cat.slice(1, -1))

src/types.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
interface SolidAuthorization {
2-
// eslint-disable-next-line camelcase
2+
33
access_token: string
4-
// eslint-disable-next-line camelcase
4+
55
client_id: string
6-
// eslint-disable-next-line camelcase
6+
77
id_token: string
88
}
99

1010
interface SolidClaim {
11-
// eslint-disable-next-line camelcase
11+
1212
at_hash: string
1313
aud: string
1414
azp: string

0 commit comments

Comments
 (0)