From e4b82f74c93e8718b18120d79f6127939cbaef89 Mon Sep 17 00:00:00 2001 From: timea-solid <4144203+timea-solid@users.noreply.github.com> Date: Thu, 18 Sep 2025 22:13:56 +0200 Subject: [PATCH 1/8] new babel config --- .babelrc | 9 --------- babel.config.js | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 .babelrc create mode 100644 babel.config.js diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 1a1e5f84..00000000 --- a/.babelrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "presets": [ - "@babel/preset-env", - "@babel/preset-typescript" - ], - "plugins": [ - "@babel/plugin-transform-runtime" - ] -} diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 00000000..177b3073 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,9 @@ +export default { + presets: [ + ['@babel/preset-env', { targets: { node: 'current' } }], + '@babel/preset-typescript', + ], + plugins: [ + '@babel/plugin-transform-runtime' + ] +} From 4b0ea57a1e0e0806c3143a4a21198aa6cc538022 Mon Sep 17 00:00:00 2001 From: timea-solid <4144203+timea-solid@users.noreply.github.com> Date: Thu, 18 Sep 2025 22:14:25 +0200 Subject: [PATCH 2/8] removed unused files --- .browserslistrc | 2 - local-webpack.config.js | 116 ---------------------------------------- 2 files changed, 118 deletions(-) delete mode 100644 .browserslistrc delete mode 100644 local-webpack.config.js diff --git a/.browserslistrc b/.browserslistrc deleted file mode 100644 index 9d587dc1..00000000 --- a/.browserslistrc +++ /dev/null @@ -1,2 +0,0 @@ -node 6 -> 0.5% diff --git a/local-webpack.config.js b/local-webpack.config.js deleted file mode 100644 index 115b19a6..00000000 --- a/local-webpack.config.js +++ /dev/null @@ -1,116 +0,0 @@ -const path = require('path') -const webpack = require('webpack') -const HtmlWebpackPlugin = require('html-webpack-plugin') -const MiniCssExtractPlugin = require('mini-css-extract-plugin') -const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); - - -module.exports = (env, args) => { - const production = args.mode === 'production'; - return { - mode: args.mode || 'development', - entry: [ - './src/index.ts' - ], - target: 'web', - output: { - path: path.join(__dirname, '/dist/'), - publicPath: '/', - filename: production ? 'mashlib.min.js' : 'mashlib.js', - library: 'Mashlib', - libraryTarget: 'umd' - }, - resolve: { - extensions: ['.js', '.ts'], - alias: { - 'rdflib': '/devel/github.com/linkeddata/rdflib.js', - 'solid-ui': '/devel/github.com/solidos/solid-ui/', - 'solid-panes': '/devel/github.com/solidos/solid-panes/' - '// chat-pane': '../../solidos/chat-pane' - } - }, - module: { - rules: [ - { - test: /\.(mjs|js|ts)$/, - exclude: /(bower_components)/, - use: { - loader: 'babel-loader', - options: { - compact: false - } - } - }, - { - test: /^.*\/solid-panes\/.*\.js$/, - loader: 'babel-loader', - options: { - compact: false - } - }, - { - test: /\.scss$/, - use: [ - { - loader: MiniCssExtractPlugin.loader, - options: { - hmr: process.env.NODE_ENV === 'development', - }, - }, - 'css-loader', - 'sass-loader' - ], - }, - { - test: /\.css$/, - use: [ - { - loader: MiniCssExtractPlugin.loader, - options: { - hmr: process.env.NODE_ENV === 'development', - }, - }, - 'css-loader' - ], - }, - { - test: /\.(eot|ttf|woff2?)$/i, - loader: 'file-loader' - }, - { - test: /\.(png|jpg|gif|svg)$/i, - use: [ - { - loader: 'url-loader', - options: { - limit: 8192, - }, - }, - ], - }, - ] - }, - - plugins: [ - new webpack.DefinePlugin({ 'global.IS_BROWSER': true }), - new HtmlWebpackPlugin({ - title: 'Solid Data Browser', - template: './src/index.html' - }), - new MiniCssExtractPlugin({}), - new ForkTsCheckerWebpackPlugin(), - - ], - - externals: { - 'fs': 'null', - 'node-fetch': 'fetch', - 'isomorphic-fetch': 'fetch', - 'xmldom': 'window', - 'text-encoding': 'TextEncoder', - 'whatwg-url': 'window', - '@trust/webcrypto': 'crypto' - }, - devtool: 'source-map' - } -} From 9c8757e741dc29c37fccc70ec2ba65b883b0aa42 Mon Sep 17 00:00:00 2001 From: timea-solid <4144203+timea-solid@users.noreply.github.com> Date: Thu, 18 Sep 2025 22:15:17 +0200 Subject: [PATCH 3/8] new lint, tsc and webpack config --- eslint.config.mjs | 78 ++++++++++++++++++++++++++++-------------- tsconfig.json | 20 ++++++----- webpack.config.js | 87 +++++++++++++++++++++++++++++++---------------- 3 files changed, 120 insertions(+), 65 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 13e2709a..8b63084e 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,34 +1,60 @@ -import typescriptEslint from "@typescript-eslint/eslint-plugin"; -import globals from "globals"; -import tsParser from "@typescript-eslint/parser"; +import tseslintPlugin from '@typescript-eslint/eslint-plugin' +import globals from 'globals' +import tsParser from '@typescript-eslint/parser' -export default [{ - ignores: ["**/dist"], -}, { - plugins: { - "@typescript-eslint": typescriptEslint, +export default [ + { + ignores: [ + 'node_modules/**', + 'dist/**', + ], }, + { + files: ['src/**/*.js', 'src/**/*.cjs', 'src/**/*.mjs'], - languageOptions: { + languageOptions: { globals: { ...globals.browser, ...globals.node, - Atomics: "readonly", - SharedArrayBuffer: "readonly", + Atomics: 'readonly', + SharedArrayBuffer: 'readonly', + } + }, + rules: { + semi: ['error', 'never'], + quotes: ['error', 'single'], + 'no-console': 'error', + 'no-unused-vars': 'error', + 'no-undef': 'error' }, - - parser: tsParser, - }, - files: ["src/**/*.ts"], - rules: { - "no-unused-vars": ["warn", { - argsIgnorePattern: "^_", - varsIgnorePattern: "^_", - }], - - "@typescript-eslint/no-unused-vars": ["warn", { - argsIgnorePattern: "^_", - varsIgnorePattern: "^_", - }], }, -}]; \ No newline at end of file + { + files: ["src/**/*.ts"], + plugins: { + "@typescript-eslint": tseslintPlugin, + }, + languageOptions: { + globals: { + ...globals.browser, + ...globals.node, + Atomics: "readonly", + SharedArrayBuffer: "readonly", + }, + parser: tsParser, + parserOptions: { + project: ['./tsconfig.json'] + }, + }, + + rules: { + semi: ['error', 'never'], + quotes: ['error', 'single'], + 'no-console': 'warn', + 'no-unused-vars': 'off', + "@typescript-eslint/no-unused-vars": ["warn", { + argsIgnorePattern: "^_", + varsIgnorePattern: "^_", + }], + }, + } +] diff --git a/tsconfig.json b/tsconfig.json index a7a75f94..1a1cd784 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { /* Basic Options */ - "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ - "lib": ["dom", "es2015"], /* Specify library files to be included in the compilation. */ + "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ + "module": "ESNext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "lib": ["dom", "es2015", "es2019"], /* Specify library files to be included in the compilation. */ + "moduleResolution": "node", /* Use Node.js-style module resolution for Webpack compatibility. */ + "allowSyntheticDefaultImports": true, // Often helps with ESM interop // "allowJs": true, /* Allow javascript files to be compiled. */ // "checkJs": true, /* Report errors in .js files. */ // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ @@ -25,12 +27,12 @@ /* Strict Type-Checking Options */ "strict": true, /* Enable all strict type-checking options. */ "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ - // "strictNullChecks": true, /* Enable strict null checks. */ - // "strictFunctionTypes": true, /* Enable strict checking of function types. */ - // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ - // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ - // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ - // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ + "strictNullChecks": true /* Enable strict null checks. */, + "strictFunctionTypes": true /* Enable strict checking of function types. */, + "strictBindCallApply": true /* Enable strict 'bind', 'call', and 'apply' methods on functions. */, + "strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */, + "noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */, + "alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */, /* Additional Checks */ // "noUnusedLocals": true, /* Report errors on unused locals. */ diff --git a/webpack.config.js b/webpack.config.js index d465f50a..8a228162 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,32 +1,36 @@ -const path = require('path') -const webpack = require('webpack') -const HtmlWebpackPlugin = require('html-webpack-plugin') -const MiniCssExtractPlugin = require('mini-css-extract-plugin') -const CopyPlugin = require('copy-webpack-plugin') -const NodePolyfillPlugin = require("node-polyfill-webpack-plugin"); +import path from 'path' +import webpack from 'webpack' +import HtmlWebpackPlugin from 'html-webpack-plugin' +import MiniCssExtractPlugin from 'mini-css-extract-plugin' +import CopyPlugin from 'copy-webpack-plugin' +import NodePolyfillPlugin from 'node-polyfill-webpack-plugin' +import TerserPlugin from 'terser-webpack-plugin' -module.exports = (env, args) => { - const production = args.mode === 'production'; - return { - mode: args.mode || 'development', +const externalsBase = { + 'fs': 'null', + 'node-fetch': 'fetch', + 'isomorphic-fetch': 'fetch', + '@xmldom/xmldom': 'window', + 'text-encoding': 'TextEncoder', + 'whatwg-url': 'window', + '@trust/webcrypto': 'crypto' +} + +const common = { entry: [ './src/index.ts' ], target: 'web', output: { - path: path.join(__dirname, '/dist/'), + path: path.resolve(process.cwd(), 'dist'), publicPath: '/', - filename: production ? 'mashlib.min.js' : 'mashlib.js', - library: 'Mashlib', - libraryTarget: 'umd' + library: { + name: 'Mashlib', + type: 'umd' + }, }, resolve: { extensions: ['.js', '.ts'], - alias: production ? {} : { - 'rdflib': path.resolve('./node_modules/rdflib'), - 'solid-panes': path.resolve('./node_modules/solid-panes'), - 'solid-logic': path.resolve('./node_modules/solid-logic') - } }, module: { rules: [ @@ -34,7 +38,6 @@ module.exports = (env, args) => { test: /\.ttl$/, // Target text files type: 'asset/source', // Load the file's content as a string }, - { test: /\.(mjs|js|ts)$/, exclude: /(node_modules|bower_components)/, @@ -72,7 +75,6 @@ module.exports = (env, args) => { }, ] }, - plugins: [ new webpack.DefinePlugin({ 'global.IS_BROWSER': true }), new HtmlWebpackPlugin({ @@ -90,16 +92,41 @@ module.exports = (env, args) => { ] }) ], - externals: { - 'fs': 'null', - 'node-fetch': 'fetch', - 'isomorphic-fetch': 'fetch', - 'xmldom': 'window', - 'text-encoding': 'TextEncoder', - 'whatwg-url': 'window', - '@trust/webcrypto': 'crypto' - }, devtool: 'source-map', performance: { hints: false } +} + +// UMD Minified, rdflib bundled +const minified = { + ...common, + mode: 'production', + output: { + ...common.output, + filename: 'mashlib.min.js' + }, + externals: externalsBase, + optimization: { + minimize: true, + minimizer: [new TerserPlugin({ extractComments: false })] } } + +// UMD Unminified, rdflib bundled +const unminified = { + ...common, + mode: 'production', + output: { + ...common.output, + filename: 'mashlib.js' + }, + externals: externalsBase, + optimization: { + minimize: false + } +} + +export default [ + minified, + unminified +] + From d376eb19fcd12d6adfdfa66691322533b4316eba Mon Sep 17 00:00:00 2001 From: timea-solid <4144203+timea-solid@users.noreply.github.com> Date: Thu, 18 Sep 2025 22:15:45 +0200 Subject: [PATCH 4/8] reordered scripts and updated --- package-lock.json | 28 +++++++++++----------------- package.json | 25 +++++++++++++------------ 2 files changed, 24 insertions(+), 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index f634af50..b222cb86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "1.11.0", "license": "MIT", "dependencies": { + "lint-staged": "^16.1.6", "rdflib": "^2.2.37", "solid-logic": "^3.0.9", "solid-panes": "^3.7.2" @@ -31,9 +32,9 @@ "globals": "^16.3.0", "html-webpack-plugin": "^5.6.3", "husky": "^9.1.7", - "lint-staged": "^16.1.5", "mini-css-extract-plugin": "^2.9.4", "node-polyfill-webpack-plugin": "^4.1.0", + "terser-webpack-plugin": "^5.3.14", "typescript": "^5.9.2", "url-loader": "^4.1.1", "webpack": "^5.101.0", @@ -3512,9 +3513,9 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.8.5", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.5.tgz", - "integrity": "sha512-TiU4qUT9jdCuh4aVOG7H1QozyeI2sZRqoRPdqBIaslfNt4WUSanRBueAwl2x5jt4rXBMim3lIN2x6yT8PDi24Q==", + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.6.tgz", + "integrity": "sha512-wrH5NNqren/QMtKUEEJf7z86YjfqW/2uw3IL3/xpqZUC95SSVIFXYQeeGjL6FT/X68IROu6RMehZQS5foy2BXw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -4229,7 +4230,6 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-5.1.0.tgz", "integrity": "sha512-7JDGG+4Zp0CsknDCedl0DYdaeOhc46QNpXi3NLQblkZpXXgA6LncLDUUyvrjSvZeF3VRQa+KiMGomazQrC1V8g==", - "dev": true, "license": "MIT", "dependencies": { "slice-ansi": "^7.1.0", @@ -5139,9 +5139,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.221", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.221.tgz", - "integrity": "sha512-/1hFJ39wkW01ogqSyYoA4goOXOtMRy6B+yvA1u42nnsEGtHzIzmk93aPISumVQeblj47JUHLC9coCjUxb1EvtQ==", + "version": "1.5.222", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.222.tgz", + "integrity": "sha512-gA7psSwSwQRE60CEoLz6JBCQPIxNeuzB2nL8vE03GK/OHxlvykbLyeiumQy1iH5C2f3YbRAZpGCMT12a/9ih9w==", "dev": true, "license": "ISC" }, @@ -7159,9 +7159,9 @@ } }, "node_modules/is-network-error": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.2.0.tgz", - "integrity": "sha512-32jdpRpJo8SeL7zOuBJbMLz/VTw9mDpTvcKzzR8DkXWsJbbE60gdiX8YOd0UAV6b8Skt+CMytzfgVVIRFidn0Q==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.3.0.tgz", + "integrity": "sha512-6oIwpsgRfnDiyEDLMay/GqCl3HoAtH5+RUKW29gYkL0QA+ipzpDLA16yQs7/RHCSu+BwgbJaOUqa4A99qNVQVw==", "dev": true, "license": "MIT", "engines": { @@ -7748,7 +7748,6 @@ "version": "16.1.6", "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.1.6.tgz", "integrity": "sha512-U4kuulU3CKIytlkLlaHcGgKscNfJPNTiDF2avIUGFCv7K95/DCYQ7Ra62ydeRWmgQGg9zJYw2dzdbztwJlqrow==", - "dev": true, "license": "MIT", "dependencies": { "chalk": "^5.6.0", @@ -7776,7 +7775,6 @@ "version": "5.6.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", - "dev": true, "license": "MIT", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" @@ -7789,7 +7787,6 @@ "version": "14.0.1", "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.1.tgz", "integrity": "sha512-2JkV3gUZUVrbNA+1sjBOYLsMZ5cEEl8GTFP2a4AVz5hvasAMCQ1D2l2le/cX+pV4N6ZU17zjUahLpIXRrnWL8A==", - "dev": true, "license": "MIT", "engines": { "node": ">=20" @@ -7799,7 +7796,6 @@ "version": "9.0.4", "resolved": "https://registry.npmjs.org/listr2/-/listr2-9.0.4.tgz", "integrity": "sha512-1wd/kpAdKRLwv7/3OKC8zZ5U8e/fajCfWMxacUvB79S5nLrYGPtUI/8chMQhn3LQjsRVErTb9i1ECAwW0ZIHnQ==", - "dev": true, "license": "MIT", "dependencies": { "cli-truncate": "^5.0.0", @@ -8300,7 +8296,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/nano-spawn/-/nano-spawn-1.0.3.tgz", "integrity": "sha512-jtpsQDetTnvS2Ts1fiRdci5rx0VYws5jGyC+4IYOTnIQ/wwdf6JdomlHBwqC3bJYOvaKu0C2GSZ1A60anrYpaA==", - "dev": true, "license": "MIT", "engines": { "node": ">=20.17" @@ -10786,7 +10781,6 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.1.0.tgz", "integrity": "sha512-Kxl3KJGb/gxkaUMOjRsQ8IrXiGW75O4E3RPjFIINOVH8AMl2SQ/yWdTzWwF3FevIX9LcMAjJW+GRwAlAbTSXdg==", - "dev": true, "license": "MIT", "dependencies": { "get-east-asian-width": "^1.3.0", diff --git a/package.json b/package.json index af72c539..ca948d66 100644 --- a/package.json +++ b/package.json @@ -2,22 +2,22 @@ "name": "mashlib", "version": "1.11.0", "description": "Data mashup library", - "main": "./index.js", + "main": "dist/mashlib.js", "files": [ - "index.js", - "dist" + "dist/", + "README.md", + "LICENSE" ], "scripts": { - "build": "npm run clean && npm run build-version && npm run build-dev && npm run build-dist", - "build-dev": "webpack --progress", - "build-dist": "webpack --progress --mode=production", + "clean": "rm -rf dist ./src/versionInfo.ts", + "build": "npm run clean && npm run build-version && npm run build-dist && npm run postbuild-js", "build-version": "./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix", + "build-dist": "webpack --progress", + "postbuild-js": "rm -f dist/versionInfo.d.ts dist/versionInfo.d.ts.map", + "lint": "eslint", + "test": "echo no jest tests", "watch": "npm run build-version && webpack --watch", - "clean": "rm -rf dist", - "lint": "eslint 'src/**/*.ts'", - "lint-fix": "eslint 'src/**/*.ts' --fix", - "test": "npm run lint", - "prepublishOnly": "npm test && npm run build && npm run bundlesize", + "prepublishOnly": "npm run lint && npm run build && npm run bundlesize", "bundlesize": "bundlesize", "postpublish": "git push origin main --follow-tags", "startStaticOS": "webpack serve --config webpack.config.js --open /browse-test.html" @@ -46,6 +46,7 @@ }, "homepage": "https://github.com/solidos/mashlib", "dependencies": { + "lint-staged": "^16.1.6", "rdflib": "^2.2.37", "solid-logic": "^3.0.9", "solid-panes": "^3.7.2" @@ -68,9 +69,9 @@ "globals": "^16.3.0", "html-webpack-plugin": "^5.6.3", "husky": "^9.1.7", - "lint-staged": "^16.1.5", "mini-css-extract-plugin": "^2.9.4", "node-polyfill-webpack-plugin": "^4.1.0", + "terser-webpack-plugin": "^5.3.14", "typescript": "^5.9.2", "url-loader": "^4.1.1", "webpack": "^5.101.0", From f9cc2704667ea2c31a24eb938510747f454498f5 Mon Sep 17 00:00:00 2001 From: timea-solid <4144203+timea-solid@users.noreply.github.com> Date: Thu, 18 Sep 2025 22:16:21 +0200 Subject: [PATCH 5/8] drop node18 --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 241c461d..08fbe1ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,6 @@ jobs: strategy: matrix: node-version: - - 18.x - 20.x - 22.x steps: From c4cbdbdacca9f0ee8c02db17221eceaf10e83d56 Mon Sep 17 00:00:00 2001 From: timea-solid <4144203+timea-solid@users.noreply.github.com> Date: Mon, 3 Nov 2025 21:46:02 +0100 Subject: [PATCH 6/8] better config, typecheck --- package-lock.json | 53 ++++++++++++++++++++++++------------- package.json | 9 ++++--- src/index.ts | 4 +-- src/styles/mashlib-style.js | 14 ---------- src/styles/mashlib-style.ts | 17 ++++++++++++ tsconfig.json | 12 ++++++--- 6 files changed, 68 insertions(+), 41 deletions(-) delete mode 100644 src/styles/mashlib-style.js create mode 100644 src/styles/mashlib-style.ts diff --git a/package-lock.json b/package-lock.json index 4e43db51..ff24218f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,6 @@ "version": "1.11.1", "license": "MIT", "dependencies": { - "lint-staged": "^16.2.0", "rdflib": "^2.2.37", "solid-logic": "^3.1.1", "solid-panes": "^3.7.3" @@ -32,6 +31,7 @@ "globals": "^16.3.0", "html-webpack-plugin": "^5.6.3", "husky": "^9.1.7", + "lint-staged": "^16.2.6", "mini-css-extract-plugin": "^2.9.4", "node-polyfill-webpack-plugin": "^4.1.0", "terser-webpack-plugin": "^5.3.14", @@ -103,6 +103,7 @@ "integrity": "sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/generator": "^7.28.3", @@ -2660,6 +2661,7 @@ "integrity": "sha512-EHrrEsyhOhxYt8MTg4zTF+DJMuNBzWwgvvOYNj/zm1vnaD/IC5zCXFehZv94Piqa2cRFfXrTFxIvO95L7Qc/cw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.44.1", "@typescript-eslint/types": "8.44.1", @@ -3167,6 +3169,7 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -3220,6 +3223,7 @@ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -3819,6 +3823,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "baseline-browser-mapping": "^2.8.3", "caniuse-lite": "^1.0.30001741", @@ -4220,9 +4225,9 @@ } }, "node_modules/cli-truncate": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-5.1.0.tgz", - "integrity": "sha512-7JDGG+4Zp0CsknDCedl0DYdaeOhc46QNpXi3NLQblkZpXXgA6LncLDUUyvrjSvZeF3VRQa+KiMGomazQrC1V8g==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-5.1.1.tgz", + "integrity": "sha512-SroPvNHxUnk+vIW/dOSfNqdy1sPEFkrTk6TUtqLCnBlo3N7TNYYkzzN7uSD6+jVjrdO4+p8nH7JzH6cIvUem6A==", "license": "MIT", "dependencies": { "slice-ansi": "^7.1.0", @@ -5324,6 +5329,7 @@ "integrity": "sha512-hB4FIzXovouYzwzECDcUkJ4OcfOEkXTv2zRY6B9bkwjx/cprAq0uvm1nl7zvQ0/TsUk0zQiN4uPfJpB9m+rPMQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -7584,6 +7590,7 @@ "resolved": "https://registry.npmjs.org/ky/-/ky-0.33.3.tgz", "integrity": "sha512-CasD9OCEQSFIam2U8efFK81Yeg8vNMTBUqtMOHlrcWQHqUX3HeCl9Dr31u4toV7emlH8Mymk5+9p0lL6mKb/Xw==", "license": "MIT", + "peer": true, "engines": { "node": ">=14.16" }, @@ -7660,15 +7667,15 @@ } }, "node_modules/lint-staged": { - "version": "16.2.3", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.2.3.tgz", - "integrity": "sha512-1OnJEESB9zZqsp61XHH2fvpS1es3hRCxMplF/AJUDa8Ho8VrscYDIuxGrj3m8KPXbcWZ8fT9XTMUhEQmOVKpKw==", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.2.6.tgz", + "integrity": "sha512-s1gphtDbV4bmW1eylXpVMk2u7is7YsrLl8hzrtvC70h4ByhcMLZFY01Fx05ZUDNuv1H8HO4E+e2zgejV1jVwNw==", "license": "MIT", "dependencies": { "commander": "^14.0.1", - "listr2": "^9.0.4", + "listr2": "^9.0.5", "micromatch": "^4.0.8", - "nano-spawn": "^1.0.3", + "nano-spawn": "^2.0.0", "pidtree": "^0.6.0", "string-argv": "^0.3.2", "yaml": "^2.8.1" @@ -7693,9 +7700,9 @@ } }, "node_modules/listr2": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-9.0.4.tgz", - "integrity": "sha512-1wd/kpAdKRLwv7/3OKC8zZ5U8e/fajCfWMxacUvB79S5nLrYGPtUI/8chMQhn3LQjsRVErTb9i1ECAwW0ZIHnQ==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-9.0.5.tgz", + "integrity": "sha512-ME4Fb83LgEgwNw96RKNvKV4VTLuXfoKudAmm2lP8Kk87KaMK0/Xrx/aAkMWmT8mDb+3MlFDspfbCs7adjRxA2g==", "license": "MIT", "dependencies": { "cli-truncate": "^5.0.0", @@ -8180,9 +8187,9 @@ } }, "node_modules/nano-spawn": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/nano-spawn/-/nano-spawn-1.0.3.tgz", - "integrity": "sha512-jtpsQDetTnvS2Ts1fiRdci5rx0VYws5jGyC+4IYOTnIQ/wwdf6JdomlHBwqC3bJYOvaKu0C2GSZ1A60anrYpaA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/nano-spawn/-/nano-spawn-2.0.0.tgz", + "integrity": "sha512-tacvGzUY5o2D8CBh2rrwxyNojUsZNU2zjNTzKQrkgGJQTbGAfArVWXSKMBokBeeg6C7OLRGUEyoFlYbfeWQIqw==", "license": "MIT", "engines": { "node": ">=20.17" @@ -8923,6 +8930,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -9273,6 +9281,7 @@ "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", "license": "MIT", + "peer": true, "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" @@ -9799,6 +9808,7 @@ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -10766,6 +10776,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -10851,7 +10862,8 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "dev": true, - "license": "0BSD" + "license": "0BSD", + "peer": true }, "node_modules/tty-browserify": { "version": "0.0.1", @@ -10944,6 +10956,7 @@ "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", "dev": true, "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -11278,6 +11291,7 @@ "integrity": "sha512-7b0dTKR3Ed//AD/6kkx/o7duS8H3f1a4w3BYpIriX4BzIhjkn4teo05cptsxvLesHFKK5KObnadmCHBwGc+51A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.8", @@ -11327,6 +11341,7 @@ "integrity": "sha512-MfwFQ6SfwinsUVi0rNJm7rHZ31GyTcpVE5pgVA3hwFRb7COD4TzjUUwhGWKfO50+xdc2MQPuEBBJoqIMGt3JDw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@discoveryjs/json-ext": "^0.6.1", "@webpack-cli/configtest": "^3.0.1", @@ -11660,9 +11675,9 @@ } }, "node_modules/wrap-ansi/node_modules/emoji-regex": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.5.0.tgz", - "integrity": "sha512-lb49vf1Xzfx080OKA0o6l8DQQpV+6Vg95zyCJX9VB/BqKYlhG7N4wgROUUHRA+ZPUefLnteQOad7z1kT2bV7bg==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", "license": "MIT" }, "node_modules/wrap-ansi/node_modules/string-width": { diff --git a/package.json b/package.json index e08bc765..9bc02d53 100644 --- a/package.json +++ b/package.json @@ -11,15 +11,18 @@ "scripts": { "clean": "rm -rf dist ./src/versionInfo.ts", "build": "npm run clean && npm run build-version && npm run build-dist && npm run postbuild-js", - "build-version": "./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix", + "build-version": "./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix", "build-dist": "webpack --progress", "postbuild-js": "rm -f dist/versionInfo.d.ts dist/versionInfo.d.ts.map", "lint": "eslint", + "lint-fix": "eslint --fix", + "typecheck": "tsc --noEmit", "test": "echo no jest tests", - "watch": "npm run build-version && webpack --watch", "prepublishOnly": "npm run lint && npm run build && npm run bundlesize", "bundlesize": "bundlesize", + "preversion": "npm run lint && npm run typecheck && npm test", "postpublish": "git push origin main --follow-tags", + "watch": "npm run build-version && webpack --watch", "startStaticOS": "webpack serve --config webpack.config.js --open /browse-test.html" }, "repository": { @@ -46,7 +49,6 @@ }, "homepage": "https://github.com/solidos/mashlib", "dependencies": { - "lint-staged": "^16.2.0", "rdflib": "^2.2.37", "solid-logic": "^3.1.1", "solid-panes": "^3.7.3" @@ -69,6 +71,7 @@ "globals": "^16.3.0", "html-webpack-plugin": "^5.6.3", "husky": "^9.1.7", + "lint-staged": "^16.2.6", "mini-css-extract-plugin": "^2.9.4", "node-polyfill-webpack-plugin": "^4.1.0", "terser-webpack-plugin": "^5.3.14", diff --git a/src/index.ts b/src/index.ts index 305ba376..ab1a0a82 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,7 +2,7 @@ import * as $rdf from 'rdflib' import * as panes from 'solid-panes' import { authn, solidLogicSingleton } from 'solid-logic' import versionInfo from './versionInfo' -import { mashStyle } from './styles/mashlib-style.js' +import { mashStyle } from './styles/mashlib-style' import './styles/mash.css' const global: any = window @@ -34,7 +34,7 @@ global.panes.runDataBrowser = function (uri?:string|$rdf.NamedNode|null) { } // Authenticate the user - authn.checkUser().then(function (_profile: $rdf.NamedNode | null) { + authn.checkUser().then(function (_profile) { const mainPage = panes.initMainPage(solidLogicSingleton.store, uri) return mainPage }) diff --git a/src/styles/mashlib-style.js b/src/styles/mashlib-style.js deleted file mode 100644 index 5ca0e04a..00000000 --- a/src/styles/mashlib-style.js +++ /dev/null @@ -1,14 +0,0 @@ - -export const mashStyle = { - - dbLayout: 'display: flex; flex-direction: column;', - - dbLayoutContent: 'flex: 1 0 auto;', - - dbLayoutHeader: 'flex-shrink: 0;', - dbLayoutFooter: 'flex-shrink: 0;' -} - -mashStyle.setStyle = function setStyle (ele, styleName) { - ele.style = mashStyle[styleName] -} diff --git a/src/styles/mashlib-style.ts b/src/styles/mashlib-style.ts new file mode 100644 index 00000000..264511f2 --- /dev/null +++ b/src/styles/mashlib-style.ts @@ -0,0 +1,17 @@ +export interface MashStyle { + dbLayout: string; + dbLayoutContent: string; + dbLayoutHeader: string; + dbLayoutFooter: string; + setStyle: (ele: HTMLElement, styleName: keyof Omit) => void; +} + +export const mashStyle: MashStyle = { + dbLayout: 'display: flex; flex-direction: column;', + dbLayoutContent: 'flex: 1 0 auto;', + dbLayoutHeader: 'flex-shrink: 0;', + dbLayoutFooter: 'flex-shrink: 0;', + setStyle: function setStyle(ele: HTMLElement, styleName: keyof Omit) { + ele.setAttribute('style', mashStyle[styleName]); + } +}; \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 1a1cd784..59c2f1bb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -45,10 +45,11 @@ // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ - "typeRoots": ["node_modules/@types", "./typings"], /* List of folders to include type definitions from. */ + "typeRoots": ["node_modules/@types", "typings"], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "skipLibCheck": true, /* Skip type checking of declaration files. */ // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ /* Source Map Options */ @@ -60,5 +61,10 @@ /* Experimental Options */ // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ - } + }, + "include": [ + "src/**/*", + "typings/**/*" + ], + "exclude": ["node_modules", "dist"] } From 95ec7b7f3772d7eeda14a805f3daf56fbd949308 Mon Sep 17 00:00:00 2001 From: timea-solid <4144203+timea-solid@users.noreply.github.com> Date: Mon, 3 Nov 2025 21:47:03 +0100 Subject: [PATCH 7/8] lint fix --- src/styles/mashlib-style.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/styles/mashlib-style.ts b/src/styles/mashlib-style.ts index 264511f2..b0ab56bd 100644 --- a/src/styles/mashlib-style.ts +++ b/src/styles/mashlib-style.ts @@ -12,6 +12,6 @@ export const mashStyle: MashStyle = { dbLayoutHeader: 'flex-shrink: 0;', dbLayoutFooter: 'flex-shrink: 0;', setStyle: function setStyle(ele: HTMLElement, styleName: keyof Omit) { - ele.setAttribute('style', mashStyle[styleName]); + ele.setAttribute('style', mashStyle[styleName]) } -}; \ No newline at end of file +} \ No newline at end of file From f49c554a3bfe9fe6895dd5980decfeeb5497f625 Mon Sep 17 00:00:00 2001 From: timea-solid <4144203+timea-solid@users.noreply.github.com> Date: Fri, 7 Nov 2025 16:11:33 +0100 Subject: [PATCH 8/8] updated dep and config, no more rdf export from solid-ui --- README.md | 16 +- package-lock.json | 776 +++++++++------------------------------- package.json | 25 +- src/index.ts | 10 +- static/browse-test.html | 13 +- static/browse.html | 13 +- test/index.html | 12 +- webpack.config.js | 125 +++++-- 8 files changed, 299 insertions(+), 691 deletions(-) diff --git a/README.md b/README.md index 0ac8a0f3..477f993c 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ You can see and try out a SolidOS Databrowser Webapp deployment at this is because `authn` itself moved to solid-logic. -* `setACLUserPublic`, `fetchACLRel` are not part of `solid-logic/src/acl/aclLogic.ts/` and are exported in [index.ts](https://github.com/solidos/solid-logic/blob/f606b31382a416ee6188930c3ca05cb4ae73cbda/src/index.ts#L12). +* `setACLUserPublic`, `fetchACLRel` are now part of `solid-logic/src/acl/aclLogic.ts/` and are exported in [index.ts](https://github.com/solidos/solid-logic/blob/f606b31382a416ee6188930c3ca05cb4ae73cbda/src/index.ts#L12). * `loadIndex`, `loadTypeIndexes`, `ensureTypeIndexes`, `registerInTypeIndex` and are exported in [index.ts](https://github.com/solidos/solid-logic/blob/f606b31382a416ee6188930c3ca05cb4ae73cbda/src/index.ts#L16). ## The databrowser hack: upgrading your browser diff --git a/package-lock.json b/package-lock.json index 2ef836c4..c0e0345e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,9 +9,10 @@ "version": "1.11.1", "license": "MIT", "dependencies": { - "rdflib": "^2.2.37", - "solid-logic": "^3.1.1", - "solid-panes": "^3.7.3" + "rdflib": "^2.3.0", + "solid-logic": "3.1.1-3343cc7", + "solid-panes": "3.7.3-edf20fec", + "solid-ui": "2.6.1-c6fc7fe" }, "devDependencies": { "@babel/cli": "^7.28.0", @@ -30,8 +31,6 @@ "file-loader": "^6.2.0", "globals": "^16.3.0", "html-webpack-plugin": "^5.6.3", - "husky": "^9.1.7", - "lint-staged": "^16.2.6", "mini-css-extract-plugin": "^2.9.4", "node-polyfill-webpack-plugin": "^4.1.0", "terser-webpack-plugin": "^5.3.14", @@ -3182,6 +3181,7 @@ "version": "8.15.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "dev": true, "license": "MIT", "peer": true, "bin": { @@ -3215,20 +3215,21 @@ } }, "node_modules/activitystreams-pane": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/activitystreams-pane/-/activitystreams-pane-0.7.1.tgz", - "integrity": "sha512-9lj+mTjSTCP0Ndzo9caJrezFz1uJIyV9f7ppmYGFbhEVrh9F6uRZJ4Hx5T2eFePx6+Ng0do6bqjFZ5Vx9H5WUQ==", + "version": "0.7.1-6c12dae0", + "resolved": "https://registry.npmjs.org/activitystreams-pane/-/activitystreams-pane-0.7.1-6c12dae0.tgz", + "integrity": "sha512-Y5ZPw64ahSIWC5wxAlGe/D+7X9eAeiG+KXWuBewvQx/0xCADUn16OpdPji5uMB3ji8t+7Hd9B9udesEoLA8TsQ==", "license": "MIT", "dependencies": { - "acorn": "^8.15.0", - "pane-registry": "^2.5.1", - "rdflib": "^2.2.37", + "pane-registry": "^2.5.1-ee1545f", "react": "^17.0.2", "react-dom": "^17.0.2", "react-jss": "^10.10.0", - "solid-logic": "^3.1.1", - "solid-ui": "^2.6.1", "timeago.js": "^4.0.2" + }, + "peerDependencies": { + "rdflib": "^2.3.0", + "solid-logic": "^3.1.1-3343cc7", + "solid-ui": "^2.6.1-c6fc7fe" } }, "node_modules/ajv": { @@ -3301,21 +3302,6 @@ "ajv": "^6.9.1" } }, - "node_modules/ansi-escapes": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.2.0.tgz", - "integrity": "sha512-g6LhBsl+GBPRWGWsBtutpzBYuIIdBkLEvad5C/va/74Db018+5TZiyA26cZJAr3Rft5lprVqOIPxf5Vid6tqAw==", - "license": "MIT", - "dependencies": { - "environment": "^1.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/ansi-html-community": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", @@ -3330,15 +3316,12 @@ } }, "node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "node": ">=8" } }, "node_modules/ansi-styles": { @@ -3523,9 +3506,9 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.8.24", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.24.tgz", - "integrity": "sha512-uUhTRDPXamakPyghwrUcjaGvvBqGrWvBHReoiULMIpOJVM9IYzQh83Xk2Onx5HlGI2o10NNCzcs9TG/S3TkwrQ==", + "version": "2.8.25", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.25.tgz", + "integrity": "sha512-2NovHVesVF5TXefsGX1yzx1xgr7+m9JQenvz6FQY3qd+YXkKkYiv+vTCc7OriP9mcDZpTC5mAOYN4ocd29+erA==", "dev": true, "license": "Apache-2.0", "bin": { @@ -3659,6 +3642,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, "license": "MIT", "dependencies": { "fill-range": "^7.1.1" @@ -4098,9 +4082,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001753", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001753.tgz", - "integrity": "sha512-Bj5H35MD/ebaOV4iDLqPEtiliTN29qkGtEHCwawWn4cYm+bPJM2NsaP30vtZcnERClMzp52J4+aw2UNbK4o+zw==", + "version": "1.0.30001754", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001754.tgz", + "integrity": "sha512-x6OeBXueoAceOmotzx3PO4Zpt4rzpeIFsSr6AAePTZxSkXiYDUmpypEl7e2+8NCd9bD7bXjqyef8CJYPC1jfxg==", "dev": true, "funding": [ { @@ -4142,15 +4126,14 @@ } }, "node_modules/chat-pane": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/chat-pane/-/chat-pane-2.5.1.tgz", - "integrity": "sha512-9I80JwDhuHzgx1ZJx+C0nE2MXVOktoZ/ROAUscNECm0fA9PAm65u9363mMnk7yLXiSnAyw9vjA81puc7v/0c7A==", + "version": "2.5.1-1110d9b4", + "resolved": "https://registry.npmjs.org/chat-pane/-/chat-pane-2.5.1-1110d9b4.tgz", + "integrity": "sha512-WpodUBpiMh8+Md1s3hmOQVkqEdVtuwVei854wb8taePmU3Stntc20qtatzbdmnKEKwPM7VBn31+5HWp0OavnUw==", "license": "MIT", - "dependencies": { - "lint-staged": "^16.2.0", - "rdflib": "^2.2.37", - "solid-logic": "^3.1.1", - "solid-ui": "^2.6.1" + "peerDependencies": { + "rdflib": "^2.3.0", + "solid-logic": "3.1.1-3343cc7", + "solid-ui": "2.6.1-c6fc7fe" } }, "node_modules/chokidar": { @@ -4223,37 +4206,6 @@ "node": ">= 10.0" } }, - "node_modules/cli-cursor": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", - "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", - "license": "MIT", - "dependencies": { - "restore-cursor": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-truncate": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-5.1.1.tgz", - "integrity": "sha512-SroPvNHxUnk+vIW/dOSfNqdy1sPEFkrTk6TUtqLCnBlo3N7TNYYkzzN7uSD6+jVjrdO4+p8nH7JzH6cIvUem6A==", - "license": "MIT", - "dependencies": { - "slice-ansi": "^7.1.0", - "string-width": "^8.0.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/cliui": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", @@ -4265,64 +4217,6 @@ "wrap-ansi": "^6.2.0" } }, - "node_modules/cliui/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/clone-deep": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", @@ -4360,6 +4254,7 @@ "version": "2.0.20", "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true, "license": "MIT" }, "node_modules/commander": { @@ -4452,13 +4347,17 @@ "license": "MIT" }, "node_modules/contacts-pane": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/contacts-pane/-/contacts-pane-2.7.1.tgz", - "integrity": "sha512-qFN1TzWz1Joppj+Ui/mQY1XZ8wuunbEpSuw1Vg19DTHCToY5/n2qfK/QUL3rK2GPy15gcn7VlLe1e97jKdZhnw==", + "version": "2.7.1-a03bb384", + "resolved": "https://registry.npmjs.org/contacts-pane/-/contacts-pane-2.7.1-a03bb384.tgz", + "integrity": "sha512-6vNIiU7Dih9++ouMCTkKApZI4qe5hgCdPtpFXUpRv0vBd+RuSj8amS2oZ3reOG5dtsrMUyGmtt7k5r9B59WnJw==", "license": "MIT", "dependencies": { - "lint-staged": "^16.2.0", - "solid-ui": "^2.6.1" + "mime-types": "^3.0.1" + }, + "peerDependencies": { + "rdflib": "^2.3.0", + "solid-logic": "3.1.1-3343cc7", + "solid-ui": "2.6.1-c6fc7fe" } }, "node_modules/content-disposition": { @@ -5154,9 +5053,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.245", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.245.tgz", - "integrity": "sha512-rdmGfW47ZhL/oWEJAY4qxRtdly2B98ooTJ0pdEI4jhVLZ6tNf8fPtov2wS1IRKwFJT92le3x4Knxiwzl7cPPpQ==", + "version": "1.5.248", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.248.tgz", + "integrity": "sha512-zsur2yunphlyAO4gIubdJEXCK6KOVvtpiuDfCIqbM9FjcnMYiyn0ICa3hWfPr0nc41zcLWobgy1iL7VvoOyA2Q==", "dev": true, "license": "ISC" }, @@ -5246,18 +5145,6 @@ "node": ">=4" } }, - "node_modules/environment": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", - "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/error-ex": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", @@ -5599,9 +5486,10 @@ } }, "node_modules/eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true, "license": "MIT" }, "node_modules/events": { @@ -5898,6 +5786,7 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" @@ -5991,14 +5880,13 @@ "license": "ISC" }, "node_modules/folder-pane": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/folder-pane/-/folder-pane-2.5.1.tgz", - "integrity": "sha512-5owUh3TioUgHfooOSlh+hpxzPHm3dOMtRdXMt9YIVDPdWF4ny8vk+N09CCU7TDL26QZLcYsRNUNDgcR7XcyAjg==", + "version": "2.5.1-544a7d63", + "resolved": "https://registry.npmjs.org/folder-pane/-/folder-pane-2.5.1-544a7d63.tgz", + "integrity": "sha512-76UXuzAIfn4BjcG6TjlZUALKGR3rqHVJI8cypZV2wzJGtyd+3Ub149E9wetvF3XNY+lZgY5WqLrPpxvUlq15Og==", "license": "MIT", - "dependencies": { - "lint-staged": "^16.2.0", - "solid-logic": "^3.1.1", - "solid-ui": "^2.6.1" + "peerDependencies": { + "solid-logic": "3.1.1-3343cc7", + "solid-ui": "^2.6.1-c6fc7fe" } }, "node_modules/follow-redirects": { @@ -6137,18 +6025,6 @@ "node": "6.* || 8.* || >= 10.*" } }, - "node_modules/get-east-asian-width": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz", - "integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/get-intrinsic": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", @@ -6662,13 +6538,6 @@ } } }, - "node_modules/http-proxy/node_modules/eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true, - "license": "MIT" - }, "node_modules/https-browserify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", @@ -6676,22 +6545,6 @@ "dev": true, "license": "MIT" }, - "node_modules/husky": { - "version": "9.1.7", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", - "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", - "dev": true, - "license": "MIT", - "bin": { - "husky": "bin.js" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" - } - }, "node_modules/hyperdyperid": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/hyperdyperid/-/hyperdyperid-1.2.0.tgz", @@ -6708,14 +6561,6 @@ "integrity": "sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==", "license": "BSD-3-Clause" }, - "node_modules/i": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/i/-/i-0.3.7.tgz", - "integrity": "sha512-FYz4wlXgkQwIPqhzC5TdNMLSE5+GS1IIDJZY/1ZiEPCT2S3COUVZeT5OW4BmW4r5LHLQuOosSwsvnroG9GR59Q==", - "engines": { - "node": ">=0.4" - } - }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -7037,18 +6882,12 @@ } }, "node_modules/is-fullwidth-code-point": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz", - "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "license": "MIT", - "dependencies": { - "get-east-asian-width": "^1.3.1" - }, "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, "node_modules/is-generator-function": { @@ -7143,6 +6982,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, "license": "MIT", "engines": { "node": ">=0.12.0" @@ -7260,13 +7100,17 @@ } }, "node_modules/issue-pane": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/issue-pane/-/issue-pane-2.6.1.tgz", - "integrity": "sha512-mTwGjnitI1tjTbHeoEqVPmRCy27HLfKGW8oo5AmhdTtUqhCBky+d4xfXgIkvySUG0CmpQbo0H9hMO4XDC6UpVQ==", + "version": "2.6.1-42ae3419", + "resolved": "https://registry.npmjs.org/issue-pane/-/issue-pane-2.6.1-42ae3419.tgz", + "integrity": "sha512-95/pXIVDDXADDhZNzrcRUJp8YrrGFe/QScTqX7jLRqZifBp1YSrIrFGWeTjgosVbTwAjWDiLUgktS2XUJQ51fg==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.3", - "solid-ui": "^2.6.1" + "@babel/runtime": "^7.28.3" + }, + "peerDependencies": { + "rdflib": "^2.3.0", + "solid-logic": "3.1.1-3343cc7", + "solid-ui": "2.6.1-c6fc7fe" } }, "node_modules/jest-worker": { @@ -7690,56 +7534,6 @@ "node": ">= 0.8.0" } }, - "node_modules/lint-staged": { - "version": "16.2.6", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.2.6.tgz", - "integrity": "sha512-s1gphtDbV4bmW1eylXpVMk2u7is7YsrLl8hzrtvC70h4ByhcMLZFY01Fx05ZUDNuv1H8HO4E+e2zgejV1jVwNw==", - "license": "MIT", - "dependencies": { - "commander": "^14.0.1", - "listr2": "^9.0.5", - "micromatch": "^4.0.8", - "nano-spawn": "^2.0.0", - "pidtree": "^0.6.0", - "string-argv": "^0.3.2", - "yaml": "^2.8.1" - }, - "bin": { - "lint-staged": "bin/lint-staged.js" - }, - "engines": { - "node": ">=20.17" - }, - "funding": { - "url": "https://opencollective.com/lint-staged" - } - }, - "node_modules/lint-staged/node_modules/commander": { - "version": "14.0.2", - "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.2.tgz", - "integrity": "sha512-TywoWNNRbhoD0BXs1P3ZEScW8W5iKrnbithIl0YH+uCmBd0QpPOA8yc82DS3BIE5Ma6FnBVUsJ7wVUDz4dvOWQ==", - "license": "MIT", - "engines": { - "node": ">=20" - } - }, - "node_modules/listr2": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-9.0.5.tgz", - "integrity": "sha512-ME4Fb83LgEgwNw96RKNvKV4VTLuXfoKudAmm2lP8Kk87KaMK0/Xrx/aAkMWmT8mDb+3MlFDspfbCs7adjRxA2g==", - "license": "MIT", - "dependencies": { - "cli-truncate": "^5.0.0", - "colorette": "^2.0.20", - "eventemitter3": "^5.0.1", - "log-update": "^6.1.0", - "rfdc": "^1.4.1", - "wrap-ansi": "^9.0.0" - }, - "engines": { - "node": ">=20.0.0" - } - }, "node_modules/lit-html": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.3.1.tgz", @@ -7815,25 +7609,6 @@ "dev": true, "license": "MIT" }, - "node_modules/log-update": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.1.0.tgz", - "integrity": "sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==", - "license": "MIT", - "dependencies": { - "ansi-escapes": "^7.0.0", - "cli-cursor": "^5.0.0", - "slice-ansi": "^7.1.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -7891,9 +7666,9 @@ } }, "node_modules/marked": { - "version": "16.4.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-16.4.1.tgz", - "integrity": "sha512-ntROs7RaN3EvWfy3EZi14H4YxmT6A5YvywfhO+0pm+cH/dnSQRmdAmoFIc3B9aiwTehyk7pESH4ofyBY+V5hZg==", + "version": "16.4.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-16.4.2.tgz", + "integrity": "sha512-TI3V8YYWvkVf3KJe1dRkpnjs68JUPyEa5vjKrp1XEEJUAOaQc+Qj+L1qWbPd0SJuAdQkFU0h73sXXqwDYxsiDA==", "license": "MIT", "bin": { "marked": "bin/marked.js" @@ -7935,12 +7710,14 @@ } }, "node_modules/meeting-pane": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/meeting-pane/-/meeting-pane-2.5.1.tgz", - "integrity": "sha512-iW6YOYicZued6nCEnUxAJvjvI+2WZTnzVPw2fPlPTzystpYBP1YiAe2yIaLgNZ93E1SSGj+eZZAYaIxvplYhoQ==", + "version": "2.5.1-ffc0ff92", + "resolved": "https://registry.npmjs.org/meeting-pane/-/meeting-pane-2.5.1-ffc0ff92.tgz", + "integrity": "sha512-dlol5TggBFmo8Ku+9logRHL49azVLBkOPQey0/d97FT6UPUsuMG+EpYrxSippOqh9PwrSSEKfoDE5JXYV7JzyA==", "license": "MIT", - "dependencies": { - "solid-ui": "^2.6.1" + "peerDependencies": { + "rdflib": "^2.3.0", + "solid-logic": "3.1.1-3343cc7", + "solid-ui": "^2.6.1-c6fc7fe" } }, "node_modules/memfs": { @@ -8003,6 +7780,7 @@ "version": "4.0.8", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, "license": "MIT", "dependencies": { "braces": "^3.0.3", @@ -8067,18 +7845,6 @@ "node": ">= 0.6" } }, - "node_modules/mimic-function": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", - "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/mini-css-extract-plugin": { "version": "2.9.4", "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.4.tgz", @@ -8214,18 +7980,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/nano-spawn": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/nano-spawn/-/nano-spawn-2.0.0.tgz", - "integrity": "sha512-tacvGzUY5o2D8CBh2rrwxyNojUsZNU2zjNTzKQrkgGJQTbGAfArVWXSKMBokBeeg6C7OLRGUEyoFlYbfeWQIqw==", - "license": "MIT", - "engines": { - "node": ">=20.17" - }, - "funding": { - "url": "https://github.com/sindresorhus/nano-spawn?sponsor=1" - } - }, "node_modules/nanoid": { "version": "3.3.11", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", @@ -8526,21 +8280,6 @@ "wrappy": "1" } }, - "node_modules/onetime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", - "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", - "license": "MIT", - "dependencies": { - "mimic-function": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/open": { "version": "10.2.0", "resolved": "https://registry.npmjs.org/open/-/open-10.2.0.tgz", @@ -8652,13 +8391,13 @@ "license": "(MIT AND Zlib)" }, "node_modules/pane-registry": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/pane-registry/-/pane-registry-2.5.1.tgz", - "integrity": "sha512-2tO5GAN7PV3IRPIomJnKqq1U/4WqrMt/goUiVWslscQOo8Ydf7IYg2vGK3K5SQJtcuTRH3KEgwRbSDfpsD4ygw==", + "version": "2.5.1-ee1545f", + "resolved": "https://registry.npmjs.org/pane-registry/-/pane-registry-2.5.1-ee1545f.tgz", + "integrity": "sha512-FFKB8fQsW5sCMGzbFcnW+B95DlYdPh3hdmL0nYSiPs7rnJS9KB6TsZa6nh2OMhjbqBKcoqfPuZNbHwFY4WTcEQ==", "license": "MIT", - "dependencies": { - "rdflib": "^2.2.37", - "solid-logic": "^3.1.1" + "peerDependencies": { + "rdflib": "^2.3.0", + "solid-logic": "3.1.1-3343cc7" } }, "node_modules/param-case": { @@ -8860,6 +8599,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, "license": "MIT", "engines": { "node": ">=8.6" @@ -8868,18 +8608,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/pidtree": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz", - "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", - "license": "MIT", - "bin": { - "pidtree": "bin/pidtree.js" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/pify": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", @@ -9090,17 +8818,20 @@ "license": "MIT" }, "node_modules/profile-pane": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/profile-pane/-/profile-pane-1.2.1.tgz", - "integrity": "sha512-32RTg2ySOueFGElOevHAct6ea7It0ymC+OoVk92lNO6dD1vV67phtTMHCeGahnf2wQ+JoKH+arqF+A5FwRZRaw==", + "version": "1.2.1-57c80dce", + "resolved": "https://registry.npmjs.org/profile-pane/-/profile-pane-1.2.1-57c80dce.tgz", + "integrity": "sha512-YIzR37IyjG/+PSdZUAKTkXHLXgowncyPDb5zEacUSwdQ5XspP1C4pyAgioHXKIBPX7zjnMPlvLdtJ5e26ZGaLA==", "license": "MIT", "dependencies": { "lit-html": "^3.2.1", - "pane-registry": "^2.5.0", + "pane-registry": "2.5.1-ee1545f", "qrcode": "^1.5.4", - "rdflib": "^2.2.37", - "solid-ui": "^2.6.1", "validate-color": "^2.2.4" + }, + "peerDependencies": { + "rdflib": "^2.3.0", + "solid-logic": "3.1.1-3343cc7", + "solid-ui": "^2.6.1-c6fc7fe" } }, "node_modules/prop-types": { @@ -9293,6 +9024,7 @@ "resolved": "https://registry.npmjs.org/rdflib/-/rdflib-2.3.0.tgz", "integrity": "sha512-Md241rzw8XgGZYfHaQi5SunvaxOVUgjCVTcY4DHZpAkrNPrk93DGoexo6RgulymiR1DkCHRi8C8+Ab+0QmpcYg==", "license": "MIT", + "peer": true, "dependencies": { "@babel/runtime": "^7.26.9", "@frogcat/ttl2jsonld": "^0.0.10", @@ -9489,29 +9221,6 @@ "strip-ansi": "^6.0.1" } }, - "node_modules/renderkid/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/renderkid/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -9598,22 +9307,6 @@ "node": ">=4" } }, - "node_modules/restore-cursor": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", - "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", - "license": "MIT", - "dependencies": { - "onetime": "^7.0.0", - "signal-exit": "^4.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/retry": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", @@ -9635,12 +9328,6 @@ "node": ">=0.10.0" } }, - "node_modules/rfdc": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", - "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", - "license": "MIT" - }, "node_modules/ripemd160": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.3.tgz", @@ -10275,18 +9962,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "license": "ISC", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/slash": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", @@ -10297,34 +9972,6 @@ "node": ">=6" } }, - "node_modules/slice-ansi": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.2.tgz", - "integrity": "sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "is-fullwidth-code-point": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/slice-ansi/node_modules/ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/sockjs": { "version": "0.3.24", "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.24.tgz", @@ -10348,15 +9995,17 @@ } }, "node_modules/solid-logic": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/solid-logic/-/solid-logic-3.1.1.tgz", - "integrity": "sha512-eG9t6LFDk3HXV1+gBUrEINXIcfZeNvKqbjkcNYBbC++YcgG7uJyGJrbYE5SGCyV5dV2KZiDTwX9e34UvONFUfQ==", + "version": "3.1.1-3343cc7", + "resolved": "https://registry.npmjs.org/solid-logic/-/solid-logic-3.1.1-3343cc7.tgz", + "integrity": "sha512-p4HQDNIBUfjNS35+XXQCxJqmoR/JpSwDpTRvedUZUn3tN1CBjju1ZtXv5KotiXtNhxfWv9/pCIm1EN7GtfDQyA==", "license": "MIT", + "peer": true, "dependencies": { "@inrupt/solid-client-authn-browser": "^3.1.0", - "lint-staged": "^16.1.5", - "rdflib": "^2.2.37", "solid-namespace": "^0.5.4" + }, + "peerDependencies": { + "rdflib": "^2.3.0" } }, "node_modules/solid-namespace": { @@ -10366,48 +10015,53 @@ "license": "MIT" }, "node_modules/solid-panes": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/solid-panes/-/solid-panes-3.7.3.tgz", - "integrity": "sha512-1ulcIgUgVdHM1RsounJV26L4G4kg3HAUkzs5o12xLmYZN8mmaTuZ25i2Flc3AxiHw3cWHEhuGf5uocbxafTqFg==", + "version": "3.7.3-edf20fec", + "resolved": "https://registry.npmjs.org/solid-panes/-/solid-panes-3.7.3-edf20fec.tgz", + "integrity": "sha512-jEcb6Qc6AK+S4IZCjUDs1Vm95sXcZUvgxCHXiieblKdAqgHmTryvU0WC12IKkbkQZs38mbvHbjcoPSvV0YTbAQ==", "license": "MIT", "dependencies": { "@solid/better-simple-slideshow": "^0.1.0", - "activitystreams-pane": "^0.7.1", - "chat-pane": "^2.5.1", - "contacts-pane": "^2.7.1", + "activitystreams-pane": "0.7.1-6c12dae0", + "chat-pane": "2.5.1-1110d9b4", + "contacts-pane": "2.7.1-a03bb384", "dompurify": "^3.2.6", - "folder-pane": "^2.5.1", - "issue-pane": "^2.6.1", - "lint-staged": "^16.2.0", + "folder-pane": "2.5.1-544a7d63", + "issue-pane": "2.6.1-42ae3419", "marked": "^16.1.2", - "meeting-pane": "^2.5.1", + "meeting-pane": "2.5.1-ffc0ff92", "mime-types": "^3.0.1", - "profile-pane": "^1.2.1", - "rdflib": "^2.2.37", + "pane-registry": "2.5.1-ee1545f", + "profile-pane": "1.2.1-57c80dce", "solid-namespace": "^0.5.4", - "solid-ui": "^2.6.1", - "source-pane": "^2.3.1" + "source-pane": "2.3.1-29f78e72" + }, + "peerDependencies": { + "rdflib": "^2.3.0", + "solid-logic": "3.1.1-3343cc7", + "solid-ui": "2.6.1-c6fc7fe" } }, "node_modules/solid-ui": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/solid-ui/-/solid-ui-2.6.1.tgz", - "integrity": "sha512-3AUaVHhzM0Xe3Fxcr1dL6qf1L5j9q75DbuTgeTtFGY9/EfGoOj8qQy5IvuqWgYK8BE1jy+oVB6ZuBY4JzVIsGw==", + "version": "2.6.1-c6fc7fe", + "resolved": "https://registry.npmjs.org/solid-ui/-/solid-ui-2.6.1-c6fc7fe.tgz", + "integrity": "sha512-kXO0ZL8SXpEjpuYCtPPuSFDA5aMoOi0l5GIhhWc1ALgW00O40AOW9A8t9rFUbgzNJWE4LQH1Q310ck3JRq1HWg==", "license": "MIT", + "peer": true, "dependencies": { "@noble/curves": "^1.9.6", - "acorn": "^8.15.0", + "@noble/hashes": "^1.8.0", "escape-html": "^1.0.3", - "i": "^0.3.7", "mime-types": "^3.0.1", - "pane-registry": "^2.5.1", - "rdflib": "^2.2.37", - "solid-logic": "^3.1.1", + "pane-registry": "^2.5.1-ee1545f", "solid-namespace": "^0.5.4", "uuid": "^11.1.0" }, "optionalDependencies": { "fsevents": "*" + }, + "peerDependencies": { + "rdflib": "^2.3.0", + "solid-logic": "3.1.1-3343cc7" } }, "node_modules/source-map": { @@ -10442,13 +10096,14 @@ } }, "node_modules/source-pane": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/source-pane/-/source-pane-2.3.1.tgz", - "integrity": "sha512-R93NREz9h33VZFJ5M9A/hVVUgu1vOaeAJ9CDEMkUfqmQaslRcyzo79JPmDEQDGeC1qfohTqRLpBJY0s5IfN6xw==", + "version": "2.3.1-29f78e72", + "resolved": "https://registry.npmjs.org/source-pane/-/source-pane-2.3.1-29f78e72.tgz", + "integrity": "sha512-RGBJVO/rut3M954caI7Pva+yFThi0M672rvAwsB2pRtW5/sPpxPrE0QLYCD7n90WsALkquZ0Qgp+TB+UQXYejQ==", "license": "MIT", - "dependencies": { - "lint-staged": "^16.2.0", - "solid-ui": "^2.6.1" + "peerDependencies": { + "rdflib": "^2.3.0", + "solid-logic": "^3.1.1-3343cc7", + "solid-ui": "2.6.1-c6fc7fe" } }, "node_modules/spdy": { @@ -10533,44 +10188,30 @@ "safe-buffer": "~5.2.0" } }, - "node_modules/string-argv": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", - "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", - "license": "MIT", - "engines": { - "node": ">=0.6.19" - } - }, "node_modules/string-width": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.1.0.tgz", - "integrity": "sha512-Kxl3KJGb/gxkaUMOjRsQ8IrXiGW75O4E3RPjFIINOVH8AMl2SQ/yWdTzWwF3FevIX9LcMAjJW+GRwAlAbTSXdg==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "license": "MIT", "dependencies": { - "get-east-asian-width": "^1.3.0", - "strip-ansi": "^7.1.0" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" }, "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, "node_modules/strip-ansi": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", - "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "license": "MIT", "dependencies": { - "ansi-regex": "^6.0.1" + "ansi-regex": "^5.0.1" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "node": ">=8" } }, "node_modules/strip-json-comments": { @@ -10636,9 +10277,9 @@ } }, "node_modules/terser": { - "version": "5.44.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.44.0.tgz", - "integrity": "sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==", + "version": "5.44.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.44.1.tgz", + "integrity": "sha512-t/R3R/n0MSwnnazuPpPNVO60LX0SKL45pyl9YlvxIdkH0Of7D5qM2EVe+yASRIlY5pZ73nclYJfNANGWPwFDZw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -10831,6 +10472,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, "license": "MIT", "dependencies": { "is-number": "^7.0.0" @@ -11674,55 +11316,17 @@ } }, "node_modules/wrap-ansi": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", - "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/emoji-regex": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", - "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", - "license": "MIT" - }, - "node_modules/wrap-ansi/node_modules/string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "license": "MIT", "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" }, "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, "node_modules/wrappy": { @@ -11793,18 +11397,6 @@ "dev": true, "license": "ISC" }, - "node_modules/yaml": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz", - "integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==", - "license": "ISC", - "bin": { - "yaml": "bin.mjs" - }, - "engines": { - "node": ">= 14.6" - } - }, "node_modules/yargs": { "version": "15.4.1", "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", @@ -11840,15 +11432,6 @@ "node": ">=6" } }, - "node_modules/yargs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/yargs/node_modules/find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -11862,15 +11445,6 @@ "node": ">=8" } }, - "node_modules/yargs/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/yargs/node_modules/locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -11910,32 +11484,6 @@ "node": ">=8" } }, - "node_modules/yargs/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", diff --git a/package.json b/package.json index 9bc02d53..fb301547 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "clean": "rm -rf dist ./src/versionInfo.ts", "build": "npm run clean && npm run build-version && npm run build-dist && npm run postbuild-js", "build-version": "./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix", - "build-dist": "webpack --progress", + "build-dist": "webpack --progress --mode=production", "postbuild-js": "rm -f dist/versionInfo.d.ts dist/versionInfo.d.ts.map", "lint": "eslint", "lint-fix": "eslint --fix", @@ -23,11 +23,11 @@ "preversion": "npm run lint && npm run typecheck && npm test", "postpublish": "git push origin main --follow-tags", "watch": "npm run build-version && webpack --watch", - "startStaticOS": "webpack serve --config webpack.config.js --open /browse-test.html" + "start": "npm run build-version && webpack serve --config webpack.config.js" }, "repository": { "type": "git", - "url": "https://github.com/solidos/mashlib" + "url": "git+https://github.com/solidos/mashlib.git" }, "keywords": [ "solid", @@ -49,9 +49,10 @@ }, "homepage": "https://github.com/solidos/mashlib", "dependencies": { - "rdflib": "^2.2.37", - "solid-logic": "^3.1.1", - "solid-panes": "^3.7.3" + "rdflib": "^2.3.0", + "solid-logic": "3.1.1-3343cc7", + "solid-panes": "3.7.3-edf20fec", + "solid-ui": "2.6.1-c6fc7fe" }, "devDependencies": { "@babel/cli": "^7.28.0", @@ -70,8 +71,6 @@ "file-loader": "^6.2.0", "globals": "^16.3.0", "html-webpack-plugin": "^5.6.3", - "husky": "^9.1.7", - "lint-staged": "^16.2.6", "mini-css-extract-plugin": "^2.9.4", "node-polyfill-webpack-plugin": "^4.1.0", "terser-webpack-plugin": "^5.3.14", @@ -81,16 +80,6 @@ "webpack-cli": "^6.0.1", "webpack-dev-server": "^5.2.2" }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, - "lint-staged": { - "src/**/*.ts": [ - "eslint" - ] - }, "bundlesize": [ { "path": "./dist/*.min.js", diff --git a/src/index.ts b/src/index.ts index ab1a0a82..d0d11afe 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import * as $rdf from 'rdflib' import * as panes from 'solid-panes' -import { authn, solidLogicSingleton } from 'solid-logic' +import { authn, solidLogicSingleton, authSession, store } from 'solid-logic' import versionInfo from './versionInfo' import { mashStyle } from './styles/mashlib-style' import './styles/mash.css' @@ -9,6 +9,12 @@ const global: any = window global.$rdf = $rdf global.panes = panes +global.SolidLogic = { + authn, + authSession, + store, + solidLogicSingleton +} global.mashlib = { versionInfo } @@ -34,7 +40,7 @@ global.panes.runDataBrowser = function (uri?:string|$rdf.NamedNode|null) { } // Authenticate the user - authn.checkUser().then(function (_profile) { + authn.checkUser().then(function (_profile: any) { const mainPage = panes.initMainPage(solidLogicSingleton.store, uri) return mainPage }) diff --git a/static/browse-test.html b/static/browse-test.html index 5843eb60..2ef6e111 100644 --- a/static/browse-test.html +++ b/static/browse-test.html @@ -6,10 +6,9 @@ diff --git a/webpack.config.js b/webpack.config.js index 8a228162..0613abe0 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -31,6 +31,17 @@ const common = { }, resolve: { extensions: ['.js', '.ts'], + alias: { + // Ensure consistent versions of core libraries + 'rdflib': path.resolve('./node_modules/rdflib'), + 'solid-logic': path.resolve('./node_modules/solid-logic'), + 'solid-ui': path.resolve('./node_modules/solid-ui'), + UI: path.resolve('./node_modules/solid-ui'), + // Handle $rdf alias used by solid-logic + '$rdf': path.resolve('./node_modules/rdflib'), + // Handle SolidLogic global reference in solid-ui + 'SolidLogic': path.resolve('./node_modules/solid-logic') + } }, module: { rules: [ @@ -92,41 +103,97 @@ const common = { ] }) ], + devServer: { + port: 8080, + open: '/browse-test.html', + hot: true, + historyApiFallback: true, + allowedHosts: 'all', + headers: { + 'Access-Control-Allow-Origin': '*', + 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, PATCH, OPTIONS', + 'Access-Control-Allow-Headers': 'X-Requested-With, content-type, Authorization', + 'Access-Control-Allow-Credentials': 'true' + }, + static: [ + { + directory: path.resolve(process.cwd(), 'static'), + publicPath: '/' + } + ] + }, devtool: 'source-map', performance: { hints: false } } -// UMD Minified, rdflib bundled -const minified = { - ...common, - mode: 'production', - output: { - ...common.output, - filename: 'mashlib.min.js' - }, - externals: externalsBase, - optimization: { - minimize: true, - minimizer: [new TerserPlugin({ extractComments: false })] +export default (env, args) => { + // Shared optimization configuration + const sharedOptimization = { + providedExports: true, + usedExports: true, + sideEffects: false, + // Ensure no externals for core libraries - bundle everything + removeEmptyChunks: true, + mergeDuplicateChunks: true } -} -// UMD Unminified, rdflib bundled -const unminified = { - ...common, - mode: 'production', - output: { - ...common.output, - filename: 'mashlib.js' - }, - externals: externalsBase, - optimization: { - minimize: false + // For dev server, return only unminified config + if (process.env.WEBPACK_SERVE || args.mode === 'development') { + return { + ...common, + mode: 'development', + output: { + ...common.output, + filename: 'mashlib.js' + }, + externals: externalsBase, + optimization: { + ...sharedOptimization, + minimize: false + } + } } -} -export default [ - minified, - unminified -] + // UMD Minified, everything bundled + const minified = { + ...common, + mode: args.mode || 'production', + output: { + ...common.output, + filename: 'mashlib.min.js' + }, + externals: externalsBase, + optimization: { + ...sharedOptimization, + minimize: true, + minimizer: [new TerserPlugin({ + extractComments: false, + terserOptions: { + compress: { + drop_console: true, + drop_debugger: true, + pure_funcs: ['console.log', 'console.debug'] + } + } + })] + } + } + + // UMD Unminified, everything bundled + const unminified = { + ...common, + mode: args.mode || 'production', + output: { + ...common.output, + filename: 'mashlib.js' + }, + externals: externalsBase, + optimization: { + ...sharedOptimization, + minimize: false + } + } + + return [minified, unminified] +}