diff --git a/package-lock.json b/package-lock.json index 5a4f30bc..e7145610 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@kth/appinsights": "^0.4.0", "@kth/kth-node-passport-oidc": "^5.2.0", "@kth/kth-node-web-common": "^9.3.1", - "@kth/kth-reactstrap": "^0.4.78", + "@kth/kth-reactstrap": "^1.0.2", "@kth/log": "^4.0.7", "@kth/monitor": "^4.3.1", "@kth/server": "^4.1.0", @@ -3086,31 +3086,18 @@ } }, "node_modules/@kth/kth-reactstrap": { - "version": "0.4.81", - "resolved": "https://registry.npmjs.org/@kth/kth-reactstrap/-/kth-reactstrap-0.4.81.tgz", - "integrity": "sha512-n1Xk9VKoCsciGnECBqlU5F611h1ZOfbAxZU0Kl0P7C6SwXNEW31/r18K4D7vTFgmSXlfT62x2SCr1mGCSBL0jQ==", - "license": "MIT", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@kth/kth-reactstrap/-/kth-reactstrap-1.0.2.tgz", + "integrity": "sha512-eXVEEEaroW+IKd/PLPqnAYFGcLPWl5R+HmS/spOzaDDk6DOlyaRqW3M60bSJECGZVhyTwkFPBvebQU64k7g+yQ==", "dependencies": { - "kth-style": "^9.1.2", + "@kth/style": "^1.0.0", + "html-react-parser": "^5.1.12", + "kth-style": "^10.3.3", "prop-types": "^15.8.1", "react-icons": "^5.2.1", "reactstrap": "^9.2.2" } }, - "node_modules/@kth/kth-reactstrap/node_modules/kth-style": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/kth-style/-/kth-style-9.1.2.tgz", - "integrity": "sha512-lPYyenB9UJeoJghbzUW+tdhnSu/WFhO5Fcj82DPH3FO3AtdOHZz1WC29xn8/FER8PgpAuBngbSy3XPP9RfXMMw==", - "license": "MIT", - "dependencies": { - "bootstrap": "^5.3.3", - "jquery": "^3.6.0", - "tether": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@kth/log": { "version": "4.0.7", "resolved": "https://registry.npmjs.org/@kth/log/-/log-4.0.7.tgz", @@ -4164,14 +4151,14 @@ "version": "15.7.13", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.13.tgz", "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@types/react": { "version": "18.3.12", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.12.tgz", "integrity": "sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/prop-types": "*", @@ -9038,6 +9025,15 @@ "node": ">= 0.4" } }, + "node_modules/html-dom-parser": { + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/html-dom-parser/-/html-dom-parser-5.0.10.tgz", + "integrity": "sha512-GwArYL3V3V8yU/mLKoFF7HlLBv80BZ2Ey1BzfVNRpAci0cEKhFHI/Qh8o8oyt3qlAMLlK250wsxLdYX4viedvg==", + "dependencies": { + "domhandler": "5.0.3", + "htmlparser2": "9.1.0" + } + }, "node_modules/html-encoding-sniffer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", @@ -9084,6 +9080,26 @@ "dev": true, "license": "MIT" }, + "node_modules/html-react-parser": { + "version": "5.1.18", + "resolved": "https://registry.npmjs.org/html-react-parser/-/html-react-parser-5.1.18.tgz", + "integrity": "sha512-65BwC0zzrdeW96jB2FRr5f1ovBhRMpLPJNvwkY5kA8Ay5xdL9t/RH2/uUTM7p+cl5iM88i6dDk4LXtfMnRmaJQ==", + "dependencies": { + "domhandler": "5.0.3", + "html-dom-parser": "5.0.10", + "react-property": "2.0.2", + "style-to-js": "1.1.16" + }, + "peerDependencies": { + "@types/react": "0.14 || 15 || 16 || 17 || 18", + "react": "0.14 || 15 || 16 || 17 || 18" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/htmlparser2": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-9.1.0.tgz", @@ -9355,6 +9371,11 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "license": "ISC" }, + "node_modules/inline-style-parser": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.4.tgz", + "integrity": "sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==" + }, "node_modules/internal-slot": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", @@ -14196,6 +14217,11 @@ "react-dom": "^16.8.0 || ^17 || ^18" } }, + "node_modules/react-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/react-property/-/react-property-2.0.2.tgz", + "integrity": "sha512-+PbtI3VuDV0l6CleQMsx2gtK0JZbZKbpdu5ynr+lbsuvtmgbNcS3VM0tuY2QjFNOcWxvXeHjDpy42RO+4U2rug==" + }, "node_modules/react-router": { "version": "6.28.0", "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.28.0.tgz", @@ -15641,6 +15667,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/style-to-js": { + "version": "1.1.16", + "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.16.tgz", + "integrity": "sha512-/Q6ld50hKYPH3d/r6nr117TZkHR0w0kGGIVfpG9N6D8NymRPM9RqCUv4pRpJ62E5DqOYx2AFpbZMyCPnjQCnOw==", + "dependencies": { + "style-to-object": "1.0.8" + } + }, + "node_modules/style-to-object": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.8.tgz", + "integrity": "sha512-xT47I/Eo0rwJmaXC4oilDGDWLohVhR6o/xAQcPQN8q6QBuZVL8qMYL85kLmST5cPjAorwvqIA4qXTRQoYHaL6g==", + "dependencies": { + "inline-style-parser": "0.2.4" + } + }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", diff --git a/package.json b/package.json index fa8caf24..51455cdb 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@kth/appinsights": "^0.4.0", "@kth/kth-node-passport-oidc": "^5.2.0", "@kth/kth-node-web-common": "^9.3.1", - "@kth/kth-reactstrap": "^0.4.78", + "@kth/kth-reactstrap": "^1.0.2", "@kth/log": "^4.0.7", "@kth/monitor": "^4.3.1", "@kth/server": "^4.1.0",