solid-panes 3.6.3-92923e59 → 3.6.3-9f4ce8a4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/coverage/clover.xml +2 -2
  2. package/coverage/lcov-report/block-navigation.js +1 -1
  3. package/coverage/lcov-report/index.html +1 -1
  4. package/coverage/lcov-report/outline/index.html +1 -1
  5. package/coverage/lcov-report/outline/outlineIcons.js.html +1 -1
  6. package/coverage/lcov-report/outline/propertyViews.ts.html +1 -1
  7. package/coverage/lcov-report/outline/viewAsImage.ts.html +1 -1
  8. package/coverage/lcov-report/outline/viewAsMbox.ts.html +1 -1
  9. package/coverage/lcov-report/sorter.js +21 -7
  10. package/coverage/lcov-report/trustedApplications/index.html +1 -1
  11. package/coverage/lcov-report/trustedApplications/trustedApplications.utils.ts.html +1 -1
  12. package/lib/attach/attachPane.js +1 -1
  13. package/lib/attach/attachPane.js.map +1 -1
  14. package/lib/dashboard/dashboardPane.js +2 -2
  15. package/lib/dashboard/dashboardPane.js.map +1 -1
  16. package/lib/mainPage/header.js +5 -8
  17. package/lib/mainPage/header.js.map +1 -1
  18. package/lib/outline/manager.js +5 -6
  19. package/lib/outline/manager.js.map +1 -1
  20. package/lib/outline/userInput.js +6 -3
  21. package/lib/outline/userInput.js.map +1 -1
  22. package/lib/test-import-export/edit-importer.js +1 -0
  23. package/lib/test-import-export/edit-importer.js.map +1 -1
  24. package/lib/transaction/pane.js +2 -2
  25. package/lib/transaction/pane.js.map +1 -1
  26. package/lib/transaction/period.js +2 -2
  27. package/lib/transaction/period.js.map +1 -1
  28. package/lib/types.js.map +1 -1
  29. package/lib/versionInfo.d.ts +2 -1
  30. package/lib/versionInfo.d.ts.map +1 -1
  31. package/lib/versionInfo.js +28 -27
  32. package/lib/versionInfo.js.map +1 -1
  33. package/package.json +13 -13
  34. package/src/attach/attachPane.js +1 -1
  35. package/src/dashboard/dashboardPane.ts +2 -2
  36. package/src/outline/manager.js +2 -2
  37. package/src/outline/userInput.js +6 -6
  38. package/src/test-import-export/edit-importer.js +1 -1
  39. package/src/transaction/pane.js +2 -2
  40. package/src/transaction/period.js +2 -2
  41. package/src/types.ts +4 -4
  42. package/src/versionInfo.ts +30 -30
  43. package/timestamp.sh +10 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid-panes",
3
- "version": "3.6.3-92923e59",
3
+ "version": "3.6.3-9f4ce8a4",
4
4
  "description": "Solid-compatible Panes: applets and views for the mashlib and databrowser",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -50,11 +50,13 @@
50
50
  "activitystreams-pane": "^0.6.14",
51
51
  "chat-pane": "^2.4.27",
52
52
  "contacts-pane": "^2.6.13",
53
+ "dompurify": "^3.2.4",
54
+ "eslint": "^9.20.1",
53
55
  "folder-pane": "^2.4.28",
54
56
  "issue-pane": "^2.4.20",
55
- "marked": "^16.1.2",
57
+ "marked": "^11.2.0",
56
58
  "meeting-pane": "^2.4.20",
57
- "mime-types": "^3.0.1",
59
+ "mime-types": "^2.1.35",
58
60
  "profile-pane": "^1.1.2",
59
61
  "rdflib": "^2.2.36",
60
62
  "solid-namespace": "^0.5.4",
@@ -62,20 +64,18 @@
62
64
  "source-pane": "^2.2.28"
63
65
  },
64
66
  "devDependencies": {
65
- "@babel/cli": "^7.28.0",
66
- "@babel/core": "^7.28.0",
67
- "@babel/preset-env": "^7.28.0",
68
- "@babel/preset-typescript": "^7.27.1",
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",
69
71
  "@testing-library/dom": "^9.3.4",
70
72
  "@testing-library/jest-dom": "^6.6.3",
71
73
  "@types/webpack-env": "^1.18.8",
72
- "@typescript-eslint/eslint-plugin": "^8.39.0",
73
- "@typescript-eslint/parser": "^8.39.0",
74
- "babel-loader": "^10.0.0",
74
+ "@typescript-eslint/eslint-plugin": "^8.24.0",
75
+ "@typescript-eslint/parser": "^8.24.0",
76
+ "babel-loader": "^9.2.1",
75
77
  "babel-plugin-inline-import": "^3.0.0",
76
78
  "buffer": "^6.0.3",
77
- "dompurify": "^3.2.6",
78
- "eslint": "^9.33.0",
79
79
  "globals": "^15.15.0",
80
80
  "html-webpack-plugin": "^5.6.3",
81
81
  "husky": "^8.0.3",
@@ -88,7 +88,7 @@
88
88
  "react": "^18.3.1",
89
89
  "react-dom": "^18.3.1",
90
90
  "ts-jest": "^29.2.5",
91
- "typescript": "^5.9.2",
91
+ "typescript": "^5.7.3",
92
92
  "webpack": "^5.97.1",
93
93
  "webpack-cli": "^5.1.4",
94
94
  "webpack-dev-server": "^4.15.2"
@@ -117,7 +117,7 @@ export default {
117
117
  const subjects = []
118
118
  for (u in uriHash) {
119
119
  // @@ TODO: Write away the need for exception on next line
120
-
120
+ // eslint-disable-next-line no-prototype-builtins
121
121
  if (uriHash.hasOwnProperty(u)) {
122
122
  x = kb.sym(u)
123
123
  if (sortBy) {
@@ -28,11 +28,11 @@ export const dashboardPane: PaneDefinition = {
28
28
  )
29
29
  }
30
30
 
31
- authSession.onLogin(() => {
31
+ authSession.events.on("login", () => {
32
32
  // console.log('On Login')
33
33
  runBuildPage()
34
34
  })
35
- authSession.onSessionRestore(() => {
35
+ authSession.events.on("sessionRestore", () => {
36
36
  // console.log('On Session Restore')
37
37
  runBuildPage()
38
38
  })
@@ -490,7 +490,7 @@ export default function (context) {
490
490
  })
491
491
 
492
492
  // close the dashboard if user log out
493
- authSession.onLogout(closeDashboard)
493
+ authSession.events.on("logout", closeDashboard)
494
494
 
495
495
  // finally - switch to showing dashboard
496
496
  outlineContainer.style.display = 'none'
@@ -1627,7 +1627,7 @@ export default function (context) {
1627
1627
  }
1628
1628
  case 39: // right
1629
1629
  // @@ TODO: Write away the need for exception on next line
1630
-
1630
+ // eslint-disable-next-line no-case-declarations
1631
1631
  const obj = UI.utils.getAbout(kb, selectedTd)
1632
1632
  if (obj) {
1633
1633
  walk = this.walk
@@ -763,7 +763,7 @@ export function UserInput (outline) {
763
763
 
764
764
  UI.log.debug('removed')
765
765
  outline.walk('up')
766
-
766
+ // eslint-disable-next-line prefer-const
767
767
  removedTr = selectedTd.parentNode
768
768
  // afterTr = removedTr.nextSibling
769
769
  function removefromview () {
@@ -1986,14 +1986,14 @@ export function UserInput (outline) {
1986
1986
  inputText = extraInformation.inputText
1987
1987
  /* The labeller functionality code ahs been lost or dropped -- reinstate this? */
1988
1988
  // @@ TODO: Write away the need for exception on next line
1989
-
1989
+ // eslint-disable-next-line no-case-declarations
1990
1990
  const predicates = outline.labeller.searchAdv(
1991
1991
  inputText,
1992
1992
  undefined,
1993
1993
  'predicate'
1994
1994
  )
1995
1995
  // @@ TODO: Write away the need for exception on next line
1996
-
1996
+ // eslint-disable-next-line no-case-declarations
1997
1997
  let results = [] // @@ fixme
1998
1998
  for (let i = 0; i < predicates.length; i++) {
1999
1999
  const tempQuery = {}
@@ -2009,7 +2009,7 @@ export function UserInput (outline) {
2009
2009
  }
2010
2010
 
2011
2011
  // @@ TODO: Write away the need for exception on next line
2012
-
2012
+ // eslint-disable-next-line no-case-declarations
2013
2013
  let entries = results[0]
2014
2014
  if (entries.length === 0) {
2015
2015
  console.log('cm length 0\n') // hq
@@ -2176,9 +2176,9 @@ export function UserInput (outline) {
2176
2176
  const tr = selectedTd.parentNode
2177
2177
  let stat
2178
2178
  let isInverse
2179
-
2179
+ // eslint-disable-next-line prefer-const
2180
2180
  stat = tr.AJAR_statement
2181
-
2181
+ // eslint-disable-next-line prefer-const
2182
2182
  isInverse = tr.AJAR_inverse
2183
2183
 
2184
2184
  const reqTerm = type === 'object' ? stat.object : stat.predicate
@@ -13,7 +13,7 @@
13
13
  // import UI from 'solid-ui'
14
14
  // import solidUi, { SolidUi } from 'solid-ui'
15
15
  // @@ TODO: Write away the need for exception on next line
16
-
16
+ // eslint-disable-next-line camelcase
17
17
 
18
18
  const thisPane = { foo: 'bar' }
19
19
  export default thisPane
@@ -541,7 +541,7 @@ export default {
541
541
 
542
542
  for (const y in yearCategoryTotal) {
543
543
  // @@ TODO: Write away the need for exception on next line
544
-
544
+ // eslint-disable-next-line no-prototype-builtins
545
545
  if (yearCategoryTotal.hasOwnProperty(y)) {
546
546
  years.push(y)
547
547
  }
@@ -567,7 +567,7 @@ export default {
567
567
 
568
568
  for (const uri in total) {
569
569
  // @@ TODO: Write away the need for exception on next line
570
-
570
+ // eslint-disable-next-line no-prototype-builtins
571
571
  if (total.hasOwnProperty(uri)) {
572
572
  types.push(uri)
573
573
  grandTotal += total[uri]
@@ -251,7 +251,7 @@ export default {
251
251
  for (const y in xURIs) {
252
252
  // For each thing which can be inferred to be a transaction
253
253
  // @@ TODO: Write away the need for exception on next line
254
-
254
+ // eslint-disable-next-line no-prototype-builtins
255
255
  if (xURIs.hasOwnProperty(y)) {
256
256
  z = kb.sym(y)
257
257
  const tt = kb.each(z, ns.rdf('type')) // What EXPLICIT definitions
@@ -301,7 +301,7 @@ export default {
301
301
  const cats = kb.findSubClassesNT(ns.qu('Transaction'))
302
302
  for (const cat in cats) {
303
303
  // @@ TODO: Write away the need for exception on next line
304
-
304
+ // eslint-disable-next-line no-prototype-builtins
305
305
  if (cats.hasOwnProperty(cat)) {
306
306
  if (cat.slice(1, -1).split('#')[1] === catTail) {
307
307
  return kb.sym(cat.slice(1, -1))
package/src/types.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  interface SolidAuthorization {
2
-
2
+ // eslint-disable-next-line camelcase
3
3
  access_token: string
4
-
4
+ // eslint-disable-next-line camelcase
5
5
  client_id: string
6
-
6
+ // eslint-disable-next-line camelcase
7
7
  id_token: string
8
8
  }
9
9
 
10
10
  interface SolidClaim {
11
-
11
+ // eslint-disable-next-line camelcase
12
12
  at_hash: string
13
13
  aud: string
14
14
  azp: string
@@ -1,32 +1,32 @@
1
1
  export default {
2
- buildTime: "2025-08-11T15:08:31Z",
3
- commit: "92923e5922cd1175ef106633a1cc219569d1ad86",
4
- npmInfo:
5
- {
6
- 'solid-panes': '3.6.3',
7
- npm: '8.19.4',
8
- node: '20.19.4',
9
- acorn: '8.14.0',
10
- ada: '2.9.2',
11
- ares: '1.34.5',
12
- brotli: '1.1.0',
13
- cjs_module_lexer: '1.4.1',
14
- cldr: '47.0',
15
- icu: '77.1',
16
- llhttp: '9.2.1',
17
- modules: '115',
18
- napi: '9',
19
- nghttp2: '1.61.0',
20
- nghttp3: '0.7.0',
21
- ngtcp2: '1.1.0',
22
- openssl: '3.0.15+quic',
23
- simdutf: '6.4.2',
24
- tz: '2025b',
25
- undici: '6.21.2',
26
- unicode: '16.0',
27
- uv: '1.46.0',
28
- uvwasi: '0.0.21',
29
- v8: '11.3.244.8-node.29',
30
- zlib: '1.3.0.1-motley-82a5fec'
31
- }
2
+ buildTime: "2025-08-26T14:25:26Z",
3
+ commit: "9f4ce8a4120187e210aa1a8a9d3f938774277b26",
4
+ npmInfo: {
5
+ "'solid-panes'": "'3.6.3',",
6
+ "npm": "'8.19.4',",
7
+ "node": "'20.19.4',",
8
+ "acorn": "'8.14.0',",
9
+ "ada": "'2.9.2',",
10
+ "ares": "'1.34.5',",
11
+ "brotli": "'1.1.0',",
12
+ "cjs_module_lexer": "'1.4.1',",
13
+ "cldr": "'47.0',",
14
+ "icu": "'77.1',",
15
+ "llhttp": "'9.2.1',",
16
+ "modules": "'115',",
17
+ "napi": "'9',",
18
+ "nghttp2": "'1.61.0',",
19
+ "nghttp3": "'0.7.0',",
20
+ "ngtcp2": "'1.1.0',",
21
+ "openssl": "'3.0.15+quic',",
22
+ "simdutf": "'6.4.2',",
23
+ "tz": "'2025b',",
24
+ "undici": "'6.21.2',",
25
+ "unicode": "'16.0',",
26
+ "uv": "'1.46.0',",
27
+ "uvwasi": "'0.0.21',",
28
+ "v8": "'11.3.244.8-node.29',",
29
+ "zlib": "'1.3.0.1-motley-82a5fec'",
30
+ "}": "}",
31
+ }
32
32
  };
package/timestamp.sh CHANGED
@@ -1,7 +1,13 @@
1
- # Timestamp a git/npm project in node JS
1
+ #!/bin/bash
2
+
2
3
  echo "export default {"
3
4
  date -u '+buildTime: "%Y-%m-%dT%H:%M:%SZ",'
4
5
  git log | grep commit | head -1 | sed -e 's/ /: "/' | sed -e 's/$/",/'
5
- echo npmInfo:
6
- npm version
7
- echo "};"
6
+ echo " npmInfo: {"
7
+ npm version | sed 's/\x1b\[[0-9;:]*[mG]//g' | grep -v '^{' | while read line; do
8
+ key=$(echo "$line" | cut -d ':' -f 1 | tr -d ' ')
9
+ value=$(echo "$line" | cut -d ':' -f 2- | tr -d ' ')
10
+ echo " \"${key}\": \"${value}\","
11
+ done
12
+ echo " }"
13
+ echo "};"