Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

6,127 changes: 3,462 additions & 2,665 deletions package-lock.json

Large diffs are not rendered by default.

73 changes: 37 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-panes",
"version": "3.6.3",
"version": "3.7.0",
"description": "Solid-compatible Panes: applets and views for the mashlib and databrowser",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -46,52 +46,53 @@
"homepage": "https://github.com/solidos/solid-panes",
"dependencies": {
"@solid/better-simple-slideshow": "^0.1.0",
"@types/jest": "^29.5.14",
"activitystreams-pane": "^0.6.14",
"chat-pane": "^2.4.27",
"contacts-pane": "^2.6.13",
"dompurify": "^3.2.4",
"eslint": "^9.20.1",
"folder-pane": "^2.4.28",
"issue-pane": "^2.4.20",
"marked": "^11.2.0",
"meeting-pane": "^2.4.20",
"mime-types": "^2.1.35",
"chat-pane": "^2.5.0",
"contacts-pane": "^2.7.0",
"folder-pane": "^2.5.0",
"issue-pane": "^2.6.0",
"marked": "^16.1.2",
"meeting-pane": "^2.5.0",
"mime-types": "^3.0.1",
"profile-pane": "^1.1.2",
"rdflib": "^2.2.36",
"rdflib": "^2.2.37",
"solid-namespace": "^0.5.4",
"solid-ui": "^2.5.1",
"source-pane": "^2.2.28"
"solid-ui": "^2.6.0",
"source-pane": "^2.3.0"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.7",
"@babel/preset-env": "^7.26.7",
"@babel/preset-typescript": "^7.26.0",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.6.3",
"@babel/cli": "^7.28.0",
"@babel/core": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@babel/preset-typescript": "^7.27.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.6.4",
"@types/jest": "^30.0.0",
"@types/webpack-env": "^1.18.8",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@typescript-eslint/parser": "^8.24.0",
"babel-loader": "^9.2.1",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"@webpack-cli/serve": "^3.0.1",
"babel-loader": "^10.0.0",
"babel-plugin-inline-import": "^3.0.0",
"buffer": "^6.0.3",
"globals": "^15.15.0",
"dompurify": "^3.2.6",
"eslint": "^9.33.0",
"globals": "^16.3.0",
"html-webpack-plugin": "^5.6.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"husky": "^9.1.7",
"jest": "^30.0.5",
"jest-environment-jsdom": "^30.0.5",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "^15.4.3",
"node-polyfill-webpack-plugin": "^2.0.1",
"lint-staged": "^16.1.5",
"node-polyfill-webpack-plugin": "^4.1.0",
"path-browserify": "^1.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"ts-jest": "^29.2.5",
"typescript": "^5.7.3",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.2"
"react": "^19.1.1",
"react-dom": "^19.1.1",
"ts-jest": "^29.4.1",
"typescript": "^5.9.2",
"webpack": "^5.101.0",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.2"
},
"husky": {
"hooks": {
Expand Down
2 changes: 1 addition & 1 deletion src/attach/attachPane.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
const subjects = []
for (u in uriHash) {
// @@ TODO: Write away the need for exception on next line
// eslint-disable-next-line no-prototype-builtins
if (uriHash.hasOwnProperty(u)) {
x = kb.sym(u)
if (sortBy) {
Expand Down Expand Up @@ -488,7 +488,7 @@
)
try {
div.insertBefore(thisForm, mintBox.nextSibling) // Sigh no insertAfter
} catch (e) {

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'e' is defined but never used

Check warning on line 491 in src/attach/attachPane.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'e' is defined but never used
div.appendChild(thisForm)
}
// var newObject = thisForm.AJAR_subject
Expand Down
2 changes: 1 addition & 1 deletion src/outline/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
obj,
view,
deleteNode,
statement

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'statement' is defined but never used. Allowed unused args must match /^_/u

Check warning on line 170 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'statement' is defined but never used. Allowed unused args must match /^_/u
) {
const td = dom.createElement('td')
td.setAttribute(
Expand Down Expand Up @@ -449,7 +449,7 @@
subject: book,
icon: UI.icons.iconBase + 'noun_15695.svg'
}))
} catch (err) {

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (22.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'err' is defined but never used

Check warning on line 452 in src/outline/manager.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'err' is defined but never used
console.error('oops in globalAppTabs AddressBook')
}
return []
Expand Down Expand Up @@ -1627,7 +1627,7 @@
}
case 39: // right
// @@ TODO: Write away the need for exception on next line
// eslint-disable-next-line no-case-declarations
const obj = UI.utils.getAbout(kb, selectedTd)
if (obj) {
walk = this.walk
Expand Down
12 changes: 6 additions & 6 deletions src/outline/userInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ export function UserInput (outline) {

UI.log.debug('removed')
outline.walk('up')
// eslint-disable-next-line prefer-const
removedTr = selectedTd.parentNode
// afterTr = removedTr.nextSibling
function removefromview () {
Expand Down Expand Up @@ -1986,14 +1986,14 @@ export function UserInput (outline) {
inputText = extraInformation.inputText
/* The labeller functionality code ahs been lost or dropped -- reinstate this? */
// @@ TODO: Write away the need for exception on next line
// eslint-disable-next-line no-case-declarations
const predicates = outline.labeller.searchAdv(
inputText,
undefined,
'predicate'
)
// @@ TODO: Write away the need for exception on next line
// eslint-disable-next-line no-case-declarations
let results = [] // @@ fixme
for (let i = 0; i < predicates.length; i++) {
const tempQuery = {}
Expand All @@ -2009,7 +2009,7 @@ export function UserInput (outline) {
}

// @@ TODO: Write away the need for exception on next line
// eslint-disable-next-line no-case-declarations
let entries = results[0]
if (entries.length === 0) {
console.log('cm length 0\n') // hq
Expand Down Expand Up @@ -2176,9 +2176,9 @@ export function UserInput (outline) {
const tr = selectedTd.parentNode
let stat
let isInverse
// eslint-disable-next-line prefer-const
stat = tr.AJAR_statement
// eslint-disable-next-line prefer-const
isInverse = tr.AJAR_inverse

const reqTerm = type === 'object' ? stat.object : stat.predicate
Expand Down
2 changes: 1 addition & 1 deletion src/test-import-export/edit-importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// import UI from 'solid-ui'
// import solidUi, { SolidUi } from 'solid-ui'
// @@ TODO: Write away the need for exception on next line
// eslint-disable-next-line camelcase

const thisPane = { foo: 'bar' }
export default thisPane
Expand Down
4 changes: 2 additions & 2 deletions src/transaction/pane.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ export default {

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

for (const uri in total) {
// @@ TODO: Write away the need for exception on next line
// eslint-disable-next-line no-prototype-builtins
if (total.hasOwnProperty(uri)) {
types.push(uri)
grandTotal += total[uri]
Expand Down
4 changes: 2 additions & 2 deletions src/transaction/period.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export default {
for (const y in xURIs) {
// For each thing which can be inferred to be a transaction
// @@ TODO: Write away the need for exception on next line
// eslint-disable-next-line no-prototype-builtins
if (xURIs.hasOwnProperty(y)) {
z = kb.sym(y)
const tt = kb.each(z, ns.rdf('type')) // What EXPLICIT definitions
Expand Down Expand Up @@ -301,7 +301,7 @@ export default {
const cats = kb.findSubClassesNT(ns.qu('Transaction'))
for (const cat in cats) {
// @@ TODO: Write away the need for exception on next line
// eslint-disable-next-line no-prototype-builtins
if (cats.hasOwnProperty(cat)) {
if (cat.slice(1, -1).split('#')[1] === catTail) {
return kb.sym(cat.slice(1, -1))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`getStatementsToAdd should return all required statements to add the given permissions for a given origin 1`] = `
[
Expand Down
8 changes: 4 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
interface SolidAuthorization {
// eslint-disable-next-line camelcase
access_token: string
// eslint-disable-next-line camelcase
client_id: string
// eslint-disable-next-line camelcase
id_token: string
}

interface SolidClaim {
// eslint-disable-next-line camelcase
at_hash: string
aud: string
azp: string
Expand Down
Loading