solid-panes 3.6.1 → 3.6.2-43aaa74a

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 (41) hide show
  1. package/coverage/clover.xml +152 -0
  2. package/coverage/coverage-final.json +6 -0
  3. package/coverage/lcov-report/base.css +224 -0
  4. package/coverage/lcov-report/block-navigation.js +87 -0
  5. package/coverage/lcov-report/favicon.png +0 -0
  6. package/coverage/lcov-report/index.html +131 -0
  7. package/coverage/lcov-report/outline/index.html +161 -0
  8. package/coverage/lcov-report/outline/outlineIcons.js.html +565 -0
  9. package/coverage/lcov-report/outline/propertyViews.ts.html +196 -0
  10. package/coverage/lcov-report/outline/viewAsImage.ts.html +121 -0
  11. package/coverage/lcov-report/outline/viewAsMbox.ts.html +127 -0
  12. package/coverage/lcov-report/prettify.css +1 -0
  13. package/coverage/lcov-report/prettify.js +2 -0
  14. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  15. package/coverage/lcov-report/sorter.js +196 -0
  16. package/coverage/lcov-report/trustedApplications/index.html +116 -0
  17. package/coverage/lcov-report/trustedApplications/trustedApplications.utils.ts.html +238 -0
  18. package/coverage/lcov.info +202 -0
  19. package/lib/dataContentPane.js +1 -0
  20. package/lib/dataContentPane.js.map +1 -1
  21. package/lib/dokieli/dokieliPane.js +21 -8
  22. package/lib/dokieli/dokieliPane.js.map +1 -1
  23. package/lib/humanReadablePane.js +12 -14
  24. package/lib/humanReadablePane.js.map +1 -1
  25. package/lib/trustedApplications/trustedApplications.utils.js +1 -1
  26. package/lib/trustedApplications/trustedApplications.utils.js.map +1 -1
  27. package/lib/versionInfo.js +20 -20
  28. package/lib/versionInfo.js.map +1 -1
  29. package/package.json +30 -30
  30. package/src/dashboard/languages/get-language-names.sh +0 -0
  31. package/src/dataContentPane.js +2 -1
  32. package/src/dokieli/dokieliPane.js +23 -9
  33. package/src/humanReadablePane.js +11 -10
  34. package/src/trustedApplications/trustedApplications.utils.ts +1 -1
  35. package/src/versionInfo.ts +20 -20
  36. package/timestamp.sh +0 -0
  37. package/.babelrc +0 -16
  38. package/.eslintignore +0 -3
  39. package/.eslintrc +0 -26
  40. package/.github/workflows/ci.yml +0 -82
  41. package/.nvmrc +0 -1
@@ -5,35 +5,35 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = exports["default"] = {
8
- buildTime: "2024-11-22T21:37:03Z",
9
- commit: "112e11763714ff32a6e8446a02d60de1460e7a09",
8
+ buildTime: "2025-02-05T10:17:42Z",
9
+ commit: "43aaa74acbb156ad5d288bdb206fc0ce99ff02ce",
10
10
  npmInfo: {
11
- 'solid-panes': '3.6.1',
11
+ 'solid-panes': '3.6.2',
12
12
  npm: '8.19.4',
13
- node: '20.18.0',
14
- acorn: '8.12.1',
15
- ada: '2.9.0',
16
- ares: '1.33.1',
13
+ node: '18.20.6',
14
+ acorn: '8.13.0',
15
+ ada: '2.8.0',
16
+ ares: '1.29.0',
17
17
  base64: '0.5.2',
18
18
  brotli: '1.1.0',
19
- cjs_module_lexer: '1.4.1',
20
- cldr: '45.0',
21
- icu: '75.1',
22
- llhttp: '8.1.2',
23
- modules: '115',
19
+ cjs_module_lexer: '1.2.2',
20
+ cldr: '44.1',
21
+ icu: '74.2',
22
+ llhttp: '6.1.1',
23
+ modules: '108',
24
24
  napi: '9',
25
25
  nghttp2: '1.61.0',
26
26
  nghttp3: '0.7.0',
27
- ngtcp2: '1.1.0',
28
- openssl: '3.0.13+quic',
29
- simdutf: '5.5.0',
27
+ ngtcp2: '1.3.0',
28
+ openssl: '3.0.15+quic',
29
+ simdutf: '5.6.0',
30
30
  tz: '2024a',
31
- undici: '6.19.8',
31
+ undici: '5.28.5',
32
32
  unicode: '15.1',
33
- uv: '1.46.0',
34
- uvwasi: '0.0.21',
35
- v8: '11.3.244.8-node.23',
36
- zlib: '1.3.0.1-motley-71660e1'
33
+ uv: '1.44.2',
34
+ uvwasi: '0.0.19',
35
+ v8: '10.2.154.26-node.37',
36
+ zlib: '1.3.0.1-motley'
37
37
  }
38
38
  };
39
39
  //# sourceMappingURL=versionInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"versionInfo.js","names":["buildTime","commit","npmInfo","npm","node","acorn","ada","ares","base64","brotli","cjs_module_lexer","cldr","icu","llhttp","modules","napi","nghttp2","nghttp3","ngtcp2","openssl","simdutf","tz","undici","unicode","uv","uvwasi","v8","zlib"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export default {\nbuildTime: \"2024-11-22T21:37:03Z\",\ncommit: \"112e11763714ff32a6e8446a02d60de1460e7a09\",\nnpmInfo:\n{\n 'solid-panes': '3.6.1',\n npm: '8.19.4',\n node: '20.18.0',\n acorn: '8.12.1',\n ada: '2.9.0',\n ares: '1.33.1',\n base64: '0.5.2',\n brotli: '1.1.0',\n cjs_module_lexer: '1.4.1',\n cldr: '45.0',\n icu: '75.1',\n llhttp: '8.1.2',\n modules: '115',\n napi: '9',\n nghttp2: '1.61.0',\n nghttp3: '0.7.0',\n ngtcp2: '1.1.0',\n openssl: '3.0.13+quic',\n simdutf: '5.5.0',\n tz: '2024a',\n undici: '6.19.8',\n unicode: '15.1',\n uv: '1.46.0',\n uvwasi: '0.0.21',\n v8: '11.3.244.8-node.23',\n zlib: '1.3.0.1-motley-71660e1'\n}\n};\n"],"mappings":";;;;;;oCAAe;EACfA,SAAS,EAAE,sBAAsB;EACjCC,MAAM,EAAE,0CAA0C;EAClDC,OAAO,EACP;IACE,aAAa,EAAE,OAAO;IACtBC,GAAG,EAAE,QAAQ;IACbC,IAAI,EAAE,SAAS;IACfC,KAAK,EAAE,QAAQ;IACfC,GAAG,EAAE,OAAO;IACZC,IAAI,EAAE,QAAQ;IACdC,MAAM,EAAE,OAAO;IACfC,MAAM,EAAE,OAAO;IACfC,gBAAgB,EAAE,OAAO;IACzBC,IAAI,EAAE,MAAM;IACZC,GAAG,EAAE,MAAM;IACXC,MAAM,EAAE,OAAO;IACfC,OAAO,EAAE,KAAK;IACdC,IAAI,EAAE,GAAG;IACTC,OAAO,EAAE,QAAQ;IACjBC,OAAO,EAAE,OAAO;IAChBC,MAAM,EAAE,OAAO;IACfC,OAAO,EAAE,aAAa;IACtBC,OAAO,EAAE,OAAO;IAChBC,EAAE,EAAE,OAAO;IACXC,MAAM,EAAE,QAAQ;IAChBC,OAAO,EAAE,MAAM;IACfC,EAAE,EAAE,QAAQ;IACZC,MAAM,EAAE,QAAQ;IAChBC,EAAE,EAAE,oBAAoB;IACxBC,IAAI,EAAE;EACR;AACA,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"versionInfo.js","names":["buildTime","commit","npmInfo","npm","node","acorn","ada","ares","base64","brotli","cjs_module_lexer","cldr","icu","llhttp","modules","napi","nghttp2","nghttp3","ngtcp2","openssl","simdutf","tz","undici","unicode","uv","uvwasi","v8","zlib"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export default {\nbuildTime: \"2025-02-05T10:17:42Z\",\ncommit: \"43aaa74acbb156ad5d288bdb206fc0ce99ff02ce\",\nnpmInfo:\n{\n 'solid-panes': '3.6.2',\n npm: '8.19.4',\n node: '18.20.6',\n acorn: '8.13.0',\n ada: '2.8.0',\n ares: '1.29.0',\n base64: '0.5.2',\n brotli: '1.1.0',\n cjs_module_lexer: '1.2.2',\n cldr: '44.1',\n icu: '74.2',\n llhttp: '6.1.1',\n modules: '108',\n napi: '9',\n nghttp2: '1.61.0',\n nghttp3: '0.7.0',\n ngtcp2: '1.3.0',\n openssl: '3.0.15+quic',\n simdutf: '5.6.0',\n tz: '2024a',\n undici: '5.28.5',\n unicode: '15.1',\n uv: '1.44.2',\n uvwasi: '0.0.19',\n v8: '10.2.154.26-node.37',\n zlib: '1.3.0.1-motley'\n}\n};\n"],"mappings":";;;;;;oCAAe;EACfA,SAAS,EAAE,sBAAsB;EACjCC,MAAM,EAAE,0CAA0C;EAClDC,OAAO,EACP;IACE,aAAa,EAAE,OAAO;IACtBC,GAAG,EAAE,QAAQ;IACbC,IAAI,EAAE,SAAS;IACfC,KAAK,EAAE,QAAQ;IACfC,GAAG,EAAE,OAAO;IACZC,IAAI,EAAE,QAAQ;IACdC,MAAM,EAAE,OAAO;IACfC,MAAM,EAAE,OAAO;IACfC,gBAAgB,EAAE,OAAO;IACzBC,IAAI,EAAE,MAAM;IACZC,GAAG,EAAE,MAAM;IACXC,MAAM,EAAE,OAAO;IACfC,OAAO,EAAE,KAAK;IACdC,IAAI,EAAE,GAAG;IACTC,OAAO,EAAE,QAAQ;IACjBC,OAAO,EAAE,OAAO;IAChBC,MAAM,EAAE,OAAO;IACfC,OAAO,EAAE,aAAa;IACtBC,OAAO,EAAE,OAAO;IAChBC,EAAE,EAAE,OAAO;IACXC,MAAM,EAAE,QAAQ;IAChBC,OAAO,EAAE,MAAM;IACfC,EAAE,EAAE,QAAQ;IACZC,MAAM,EAAE,QAAQ;IAChBC,EAAE,EAAE,qBAAqB;IACzBC,IAAI,EAAE;EACR;AACA,CAAC","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid-panes",
3
- "version": "3.6.1",
3
+ "version": "3.6.2-43aaa74a",
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",
@@ -17,7 +17,7 @@
17
17
  "lint-fix": "eslint 'src/**/*.js' 'src/**/*.ts' --fix",
18
18
  "test": "npm run lint && jest src/**/*test*",
19
19
  "test-watch": "npm run lint && jest --onlyChanged --watch",
20
- "prepublishOnly": "npm test && npm run build",
20
+ "ignore:prepublishOnly": "npm test && npm run build",
21
21
  "postversion": "git push origin main --follow-tags",
22
22
  "start": "npm install && npm run build-version && npx webpack serve --open"
23
23
  },
@@ -46,49 +46,49 @@
46
46
  "homepage": "https://github.com/solidos/solid-panes",
47
47
  "dependencies": {
48
48
  "@solid/better-simple-slideshow": "^0.1.0",
49
- "@types/jest": "^29.5.12",
50
- "activitystreams-pane": "^0.6.13",
51
- "chat-pane": "^2.4.26",
52
- "contacts-pane": "^2.6.12",
53
- "dompurify": "^3.0.11",
54
- "folder-pane": "^2.4.27",
55
- "issue-pane": "^2.4.19",
49
+ "@types/jest": "^29.5.14",
50
+ "activitystreams-pane": "^0.6.14",
51
+ "chat-pane": "^2.4.27",
52
+ "contacts-pane": "^2.6.13",
53
+ "dompurify": "^3.2.4",
54
+ "folder-pane": "^2.4.28",
55
+ "issue-pane": "^2.4.20",
56
56
  "marked": "^11.2.0",
57
- "meeting-pane": "^2.4.19",
57
+ "meeting-pane": "^2.4.20",
58
58
  "mime-types": "^2.1.35",
59
- "profile-pane": "^1.1.1",
60
- "rdflib": "^2.2.34",
61
- "solid-namespace": "^0.5.3",
62
- "solid-ui": "^2.5.0",
63
- "source-pane": "^2.2.27"
59
+ "profile-pane": "^1.1.2",
60
+ "rdflib": "^2.2.36",
61
+ "solid-namespace": "^0.5.4",
62
+ "solid-ui": "^2.5.1",
63
+ "source-pane": "^2.2.28"
64
64
  },
65
65
  "devDependencies": {
66
- "@babel/cli": "^7.24.1",
67
- "@babel/core": "^7.24.3",
68
- "@babel/preset-env": "^7.24.3",
69
- "@babel/preset-typescript": "^7.24.1",
66
+ "@babel/cli": "^7.26.4",
67
+ "@babel/core": "^7.26.7",
68
+ "@babel/preset-env": "^7.26.7",
69
+ "@babel/preset-typescript": "^7.26.0",
70
70
  "@testing-library/dom": "^9.3.4",
71
- "@testing-library/jest-dom": "^6.4.2",
72
- "@types/webpack-env": "^1.18.4",
71
+ "@testing-library/jest-dom": "^6.6.3",
72
+ "@types/webpack-env": "^1.18.8",
73
73
  "@typescript-eslint/eslint-plugin": "^6.21.0",
74
74
  "@typescript-eslint/parser": "^6.21.0",
75
- "babel-loader": "^9.1.3",
75
+ "babel-loader": "^9.2.1",
76
76
  "babel-plugin-inline-import": "^3.0.0",
77
77
  "buffer": "^6.0.3",
78
- "eslint": "^8.57.0",
79
- "html-webpack-plugin": "^5.6.0",
78
+ "eslint": "^8.57.1",
79
+ "html-webpack-plugin": "^5.6.3",
80
80
  "husky": "^8.0.3",
81
81
  "jest": "^29.7.0",
82
82
  "jest-environment-jsdom": "^29.7.0",
83
83
  "jest-fetch-mock": "^3.0.3",
84
- "lint-staged": "^15.2.2",
84
+ "lint-staged": "^15.4.3",
85
85
  "node-polyfill-webpack-plugin": "^2.0.1",
86
86
  "path-browserify": "^1.0.1",
87
- "react": "^18.2.0",
88
- "react-dom": "^18.2.0",
89
- "ts-jest": "^29.1.2",
90
- "typescript": "^5.4.3",
91
- "webpack": "^5.91.0",
87
+ "react": "^18.3.1",
88
+ "react-dom": "^18.3.1",
89
+ "ts-jest": "^29.2.5",
90
+ "typescript": "^5.7.3",
91
+ "webpack": "^5.97.1",
92
92
  "webpack-cli": "^5.1.4",
93
93
  "webpack-dev-server": "^4.15.2"
94
94
  },
File without changes
@@ -153,7 +153,7 @@ export const dataContentPane = {
153
153
  if (
154
154
  UI.utils.ancestor(newTable, 'TABLE') &&
155
155
  UI.utils.ancestor(newTable, 'TABLE').style.backgroundColor ===
156
- 'white'
156
+ 'white'
157
157
  ) {
158
158
  newTable.style.backgroundColor = '#eee'
159
159
  } else {
@@ -198,6 +198,7 @@ export const dataContentPane = {
198
198
  }
199
199
  for (let i = 0; i < roots.length; i++) {
200
200
  const tr = myDocument.createElement('tr')
201
+ tr.setAttribute('style', `background-color: ${i % 2 === 0 ? '#f0f0f0' : 'white'};`)
201
202
  rep.appendChild(tr)
202
203
  const subjectTD = myDocument.createElement('td')
203
204
  tr.appendChild(subjectTD)
@@ -90,7 +90,7 @@ export default {
90
90
  }
91
91
  newPaneOptions.newInstance = newInstance // Save for creation system
92
92
 
93
- console.log('New dokieli will make: ' + newInstance)
93
+ // console.log('New dokieli will make: ' + newInstance)
94
94
 
95
95
  let htmlContents = DOKIELI_TEMPLATE
96
96
  let filename = newInstance.uri.split('/').slice(-1)[0]
@@ -104,7 +104,7 @@ export default {
104
104
  '</article>',
105
105
  '<h1>' + encodedTitle + '</h1></article>'
106
106
  )
107
- console.log('@@ New HTML for Dok:' + htmlContents)
107
+ // console.log('@@ New HTML for Dok:' + htmlContents)
108
108
  return new Promise(function (resolve) {
109
109
  kb.fetcher
110
110
  .webOperation('PUT', newInstance.uri, {
@@ -119,7 +119,7 @@ export default {
119
119
  })
120
120
  .catch(function (err) {
121
121
  console.log(
122
- 'Error creating dokelili dok at ' +
122
+ 'Error creating dokieli doc at ' +
123
123
  newPaneOptions.newInstance +
124
124
  ': ' +
125
125
  err
@@ -137,8 +137,25 @@ export default {
137
137
  // @@ When we can, use CSP to turn off scripts within the iframe
138
138
  div.setAttribute('class', 'docView')
139
139
  const iframe = myDocument.createElement('IFRAME')
140
- iframe.setAttribute('src', subject.uri) // allow-same-origin
141
- iframe.setAttribute('class', 'doc')
140
+
141
+ // get with authenticated fetch
142
+ kb.fetcher._fetch(subject.uri)
143
+ .then(function(response) {
144
+ return response.blob()
145
+ })
146
+ .then(function(blob) {
147
+ const objectURL = URL.createObjectURL(blob)
148
+ iframe.setAttribute('src', objectURL) // w640 h480 //
149
+ iframe.setAttribute('type', blob.type)
150
+ iframe.setAttribute('class', 'doc')
151
+ return blob.text()
152
+ })
153
+ .then(function(blobText) {
154
+ const newLines = blobText.includes('<script src="https://dokie.li/scripts/dokieli.js">') ? -10 : 5
155
+ const lines = Math.min(30, blobText.split(/\n/).length + newLines)
156
+ iframe.setAttribute('style', `border: 1px solid; padding: 1em; height:${lines}em; width:800px; resize: both; overflow: auto;`)
157
+ })
158
+ .catch(err => { console.log(err) })
142
159
 
143
160
  const cts = kb.fetcher.getHeader(subject.doc(), 'content-type')
144
161
  const ct = cts ? cts[0] : null
@@ -156,10 +173,7 @@ export default {
156
173
 
157
174
  // iframe.setAttribute('sandbox', 'allow-same-origin allow-forms'); // allow-scripts ?? no documents should be static
158
175
 
159
- iframe.setAttribute('style', 'resize = both; height: 40em; width:40em;') // @@ improve guess
160
- // iframe.setAttribute('height', '480')
161
- // iframe.setAttribute('width', '640')
162
- const tr = myDocument.createElement('tr')
176
+ const tr = myDocument.createElement('tr')
163
177
  tr.appendChild(iframe)
164
178
  div.appendChild(tr)
165
179
  return div
@@ -6,7 +6,7 @@
6
6
  import { icons, ns } from 'solid-ui'
7
7
  import { Util } from 'rdflib'
8
8
  import { marked } from 'marked'
9
- import * as DOMPurify from 'dompurify'
9
+ import DOMPurify from 'dompurify';
10
10
 
11
11
  const humanReadablePane = {
12
12
  icon: icons.originalIconBase + 'tango/22-text-x-generic.png',
@@ -102,7 +102,7 @@ const humanReadablePane = {
102
102
 
103
103
  if (ct === 'text/markdown') {
104
104
  markdownHtml()
105
- } else if (ct !== 'text/html') {
105
+ } else {
106
106
  // get with authenticated fetch
107
107
  kb.fetcher._fetch(subject.uri)
108
108
  .then(function(response) {
@@ -110,15 +110,18 @@ const humanReadablePane = {
110
110
  })
111
111
  .then(function(blob) {
112
112
  const objectURL = URL.createObjectURL(blob)
113
- frame.setAttribute('src', objectURL) // w640 h480 //
113
+ frame.setAttribute('src', objectURL)
114
+ frame.setAttribute('type', blob.type)
114
115
  frame.setAttribute('class', 'doc')
115
- frame.setAttribute('style', `border: 1px solid; padding: 1em; height:120em; width:80em; resize: both; overflow: auto;`)
116
+ return blob.type.startsWith('text') ? blob.text() : ''
117
+ })
118
+ .then(function(blobText) {
119
+ const newLines = blobText.includes('<script src="https://dokie.li/scripts/dokieli.js">') ? -10 : 5
120
+ const lines = Math.min(30, blobText.split(/\n/).length + newLines)
121
+ frame.setAttribute('style', `border: 1px solid; padding: 1em; height:${lines}em; width:800px; resize: both; overflow: auto;`)
116
122
  })
117
- } else {
118
- frame.setAttribute('src', subject.uri) // allow-same-origin
119
- frame.setAttribute('class', 'doc')
120
- frame.setAttribute('style', 'resize = both; height:120em; width:80em;')
121
123
  }
124
+
122
125
  // @@ Note below - if we set ANY sandbox, then Chrome and Safari won't display it if it is PDF.
123
126
  // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
124
127
  // You can't have any sandbox and allow plugins.
@@ -127,8 +130,6 @@ const humanReadablePane = {
127
130
 
128
131
  // iframe.setAttribute('sandbox', 'allow-same-origin allow-forms'); // allow-scripts ?? no documents should be static
129
132
 
130
- // iframe.setAttribute('height', '480')
131
- // iframe.setAttribute('width', '640')
132
133
  const tr = myDocument.createElement('TR')
133
134
  tr.appendChild(frame)
134
135
  div.appendChild(tr)
@@ -36,7 +36,7 @@ export function getStatementsToAdd (
36
36
  person: NamedNode,
37
37
  ns: Namespaces
38
38
  ): any {
39
- const application = new BlankNode(`bn_${nodeName}`)
39
+ const application = new BlankNode(`bn_${nodeName}`) // NamedNode(`${person.doc().uri}#${nodeName}`)
40
40
  return [
41
41
  st(person, ns.acl('trustedApp'), application, person.doc()),
42
42
  st(application, ns.acl('origin'), origin, person.doc()),
@@ -1,33 +1,33 @@
1
1
  export default {
2
- buildTime: "2024-11-22T21:37:03Z",
3
- commit: "112e11763714ff32a6e8446a02d60de1460e7a09",
2
+ buildTime: "2025-02-05T10:17:42Z",
3
+ commit: "43aaa74acbb156ad5d288bdb206fc0ce99ff02ce",
4
4
  npmInfo:
5
5
  {
6
- 'solid-panes': '3.6.1',
6
+ 'solid-panes': '3.6.2',
7
7
  npm: '8.19.4',
8
- node: '20.18.0',
9
- acorn: '8.12.1',
10
- ada: '2.9.0',
11
- ares: '1.33.1',
8
+ node: '18.20.6',
9
+ acorn: '8.13.0',
10
+ ada: '2.8.0',
11
+ ares: '1.29.0',
12
12
  base64: '0.5.2',
13
13
  brotli: '1.1.0',
14
- cjs_module_lexer: '1.4.1',
15
- cldr: '45.0',
16
- icu: '75.1',
17
- llhttp: '8.1.2',
18
- modules: '115',
14
+ cjs_module_lexer: '1.2.2',
15
+ cldr: '44.1',
16
+ icu: '74.2',
17
+ llhttp: '6.1.1',
18
+ modules: '108',
19
19
  napi: '9',
20
20
  nghttp2: '1.61.0',
21
21
  nghttp3: '0.7.0',
22
- ngtcp2: '1.1.0',
23
- openssl: '3.0.13+quic',
24
- simdutf: '5.5.0',
22
+ ngtcp2: '1.3.0',
23
+ openssl: '3.0.15+quic',
24
+ simdutf: '5.6.0',
25
25
  tz: '2024a',
26
- undici: '6.19.8',
26
+ undici: '5.28.5',
27
27
  unicode: '15.1',
28
- uv: '1.46.0',
29
- uvwasi: '0.0.21',
30
- v8: '11.3.244.8-node.23',
31
- zlib: '1.3.0.1-motley-71660e1'
28
+ uv: '1.44.2',
29
+ uvwasi: '0.0.19',
30
+ v8: '10.2.154.26-node.37',
31
+ zlib: '1.3.0.1-motley'
32
32
  }
33
33
  };
package/timestamp.sh CHANGED
File without changes
package/.babelrc DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "presets": [
3
- "@babel/preset-env",
4
- "@babel/preset-typescript"
5
- ],
6
- "plugins": [
7
- [
8
- "babel-plugin-inline-import",
9
- {
10
- "extensions": [
11
- ".ttl"
12
- ]
13
- }
14
- ]
15
- ]
16
- }
package/.eslintignore DELETED
@@ -1,3 +0,0 @@
1
- dist
2
- lib
3
- typings/rdflib
package/.eslintrc DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "root": true,
3
- "env": {
4
- "browser": true,
5
- "es6": true,
6
- "node": true
7
- },
8
- "globals": {
9
- "Atomics": "readonly",
10
- "SharedArrayBuffer": "readonly"
11
- },
12
- "parser": "@typescript-eslint/parser",
13
- "plugins": [
14
- "@typescript-eslint"
15
- ],
16
- "rules": {
17
- "no-unused-vars": ["warn", {
18
- "argsIgnorePattern": "^_",
19
- "varsIgnorePattern": "^_"
20
- }],
21
- "@typescript-eslint/no-unused-vars": ["warn", {
22
- "argsIgnorePattern": "^_",
23
- "varsIgnorePattern": "^_"
24
- }]
25
- }
26
- }
@@ -1,82 +0,0 @@
1
- # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
-
4
- name: CI
5
-
6
- on:
7
- push:
8
- branches:
9
- - "**"
10
- pull_request:
11
- branches:
12
- - "**"
13
- workflow_dispatch:
14
-
15
- jobs:
16
- build:
17
-
18
- runs-on: ubuntu-latest
19
-
20
- strategy:
21
- matrix:
22
- node-version:
23
- - 16.x
24
- - 18.x
25
-
26
- steps:
27
- - uses: actions/checkout@v4
28
- - name: Use Node.js ${{ matrix.node-version }}
29
- uses: actions/setup-node@v4
30
- with:
31
- node-version: ${{ matrix.node-version }}
32
- - run: npm ci
33
- - run: npm run lint --if-present
34
- - run: npm test
35
- - run: npm run build --if-present
36
- - name: Save build
37
- if: matrix.node-version == '16.x'
38
- uses: actions/upload-artifact@v4
39
- with:
40
- name: build
41
- path: |
42
- .
43
- !node_modules
44
- retention-days: 1
45
-
46
- npm-publish-build:
47
- needs: build
48
- runs-on: ubuntu-latest
49
- steps:
50
- - uses: actions/download-artifact@v4
51
- with:
52
- name: build
53
- - uses: actions/setup-node@v4
54
- with:
55
- node-version: 16.x
56
- - uses: rlespinasse/github-slug-action@v3.x
57
- - name: Append commit hash to package version
58
- run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
59
- - name: Disable pre- and post-publish actions
60
- run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
61
- - uses: JS-DevTools/npm-publish@v1
62
- with:
63
- token: ${{ secrets.NPM_TOKEN }}
64
- tag: ${{ env.GITHUB_REF_SLUG }}
65
-
66
- npm-publish-latest:
67
- needs: build
68
- runs-on: ubuntu-latest
69
- if: github.ref == 'refs/heads/main'
70
- steps:
71
- - uses: actions/download-artifact@v4
72
- with:
73
- name: build
74
- - uses: actions/setup-node@v1
75
- with:
76
- node-version: 16.x
77
- - name: Disable pre- and post-publish actions
78
- run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
79
- - uses: JS-DevTools/npm-publish@v1
80
- with:
81
- token: ${{ secrets.NPM_TOKEN }}
82
- tag: latest
package/.nvmrc DELETED
@@ -1 +0,0 @@
1
- v18.19.0