Skip to content

Commit af056c3

Browse files
authored
Update dependencies (#402)
* update project node to 20.19.2 * updated prod dep and rearanged * updated typescript * updated babel * updated jest * updated types * updated webpack * updated react and others * updated some testing dep * fixed test!
1 parent 0230eeb commit af056c3

File tree

11 files changed

+3517
-2722
lines changed

11 files changed

+3517
-2722
lines changed

.eslintignore

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

package-lock.json

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

package.json

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "solid-panes",
3-
"version": "3.6.3",
3+
"version": "3.7.0",
44
"description": "Solid-compatible Panes: applets and views for the mashlib and databrowser",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -46,52 +46,53 @@
4646
"homepage": "https://github.com/solidos/solid-panes",
4747
"dependencies": {
4848
"@solid/better-simple-slideshow": "^0.1.0",
49-
"@types/jest": "^29.5.14",
5049
"activitystreams-pane": "^0.6.14",
51-
"chat-pane": "^2.4.27",
52-
"contacts-pane": "^2.6.13",
53-
"dompurify": "^3.2.4",
54-
"eslint": "^9.20.1",
55-
"folder-pane": "^2.4.28",
56-
"issue-pane": "^2.4.20",
57-
"marked": "^11.2.0",
58-
"meeting-pane": "^2.4.20",
59-
"mime-types": "^2.1.35",
50+
"chat-pane": "^2.5.0",
51+
"contacts-pane": "^2.7.0",
52+
"folder-pane": "^2.5.0",
53+
"issue-pane": "^2.6.0",
54+
"marked": "^16.1.2",
55+
"meeting-pane": "^2.5.0",
56+
"mime-types": "^3.0.1",
6057
"profile-pane": "^1.1.2",
61-
"rdflib": "^2.2.36",
58+
"rdflib": "^2.2.37",
6259
"solid-namespace": "^0.5.4",
63-
"solid-ui": "^2.5.1",
64-
"source-pane": "^2.2.28"
60+
"solid-ui": "^2.6.0",
61+
"source-pane": "^2.3.0"
6562
},
6663
"devDependencies": {
67-
"@babel/cli": "^7.26.4",
68-
"@babel/core": "^7.26.7",
69-
"@babel/preset-env": "^7.26.7",
70-
"@babel/preset-typescript": "^7.26.0",
71-
"@testing-library/dom": "^9.3.4",
72-
"@testing-library/jest-dom": "^6.6.3",
64+
"@babel/cli": "^7.28.0",
65+
"@babel/core": "^7.28.0",
66+
"@babel/preset-env": "^7.28.0",
67+
"@babel/preset-typescript": "^7.27.1",
68+
"@testing-library/dom": "^10.4.1",
69+
"@testing-library/jest-dom": "^6.6.4",
70+
"@types/jest": "^30.0.0",
7371
"@types/webpack-env": "^1.18.8",
74-
"@typescript-eslint/eslint-plugin": "^8.24.0",
75-
"@typescript-eslint/parser": "^8.24.0",
76-
"babel-loader": "^9.2.1",
72+
"@typescript-eslint/eslint-plugin": "^8.39.0",
73+
"@typescript-eslint/parser": "^8.39.0",
74+
"@webpack-cli/serve": "^3.0.1",
75+
"babel-loader": "^10.0.0",
7776
"babel-plugin-inline-import": "^3.0.0",
7877
"buffer": "^6.0.3",
79-
"globals": "^15.15.0",
78+
"dompurify": "^3.2.6",
79+
"eslint": "^9.33.0",
80+
"globals": "^16.3.0",
8081
"html-webpack-plugin": "^5.6.3",
81-
"husky": "^8.0.3",
82-
"jest": "^29.7.0",
83-
"jest-environment-jsdom": "^29.7.0",
82+
"husky": "^9.1.7",
83+
"jest": "^30.0.5",
84+
"jest-environment-jsdom": "^30.0.5",
8485
"jest-fetch-mock": "^3.0.3",
85-
"lint-staged": "^15.4.3",
86-
"node-polyfill-webpack-plugin": "^2.0.1",
86+
"lint-staged": "^16.1.5",
87+
"node-polyfill-webpack-plugin": "^4.1.0",
8788
"path-browserify": "^1.0.1",
88-
"react": "^18.3.1",
89-
"react-dom": "^18.3.1",
90-
"ts-jest": "^29.2.5",
91-
"typescript": "^5.7.3",
92-
"webpack": "^5.97.1",
93-
"webpack-cli": "^5.1.4",
94-
"webpack-dev-server": "^4.15.2"
89+
"react": "^19.1.1",
90+
"react-dom": "^19.1.1",
91+
"ts-jest": "^29.4.1",
92+
"typescript": "^5.9.2",
93+
"webpack": "^5.101.0",
94+
"webpack-cli": "^6.0.1",
95+
"webpack-dev-server": "^5.2.2"
9596
},
9697
"husky": {
9798
"hooks": {

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/trustedApplications/__snapshots__/trustedApplications.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`getStatementsToAdd should return all required statements to add the given permissions for a given origin 1`] = `
44
[

0 commit comments

Comments
 (0)