diff --git a/package.json b/package.json index 4787d17f..4bcd3b5d 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "@navikt/ds-css": "^6.13.0", "@navikt/ds-icons": "^3.4.3", "@navikt/ds-react": "^6.13.0", - "@navikt/nav-dekoratoren-moduler": "^2.1.6", + "@navikt/nav-dekoratoren-moduler": "^3.1.1", "@navikt/next-api-proxy": "3.4.2", "@navikt/oasis": "^3.3.0", "@ungap/structured-clone": "^1.2.0", diff --git a/yarn.lock b/yarn.lock index 8af0636a..9686317d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1212,17 +1212,15 @@ __metadata: languageName: node linkType: hard -"@navikt/nav-dekoratoren-moduler@npm:^2.1.6": - version: 2.1.6 - resolution: "@navikt/nav-dekoratoren-moduler@npm:2.1.6::__archiveUrl=https%3A%2F%2Fnpm.pkg.github.com%2Fdownload%2F%40navikt%2Fnav-dekoratoren-moduler%2F2.1.6%2F049e1daeecff43519e41e387f21fd7e3634c2bd3" - dependencies: - csp-header: "npm:^5.1.0" - html-react-parser: "npm:^3.0.16" - node-cache: "npm:^5.1.2" +"@navikt/nav-dekoratoren-moduler@npm:^3.1.1": + version: 3.1.1 + resolution: "@navikt/nav-dekoratoren-moduler@npm:3.1.1::__archiveUrl=https%3A%2F%2Fnpm.pkg.github.com%2Fdownload%2F%40navikt%2Fnav-dekoratoren-moduler%2F3.1.1%2Fb630f2cd32677c2fb0ab67655ee559951bd3d3d4" peerDependencies: + csp-header: ">=5.x" + html-react-parser: ">=5.x" jsdom: ">=16.x" - react: 17.x || 18.x - checksum: 10c0/c64502ad3eb90ec66b7de777dbda207d9f043d035ce4b3defe0be98ee83b280318c3e2ba3a4772ff03c55ddc0d9f3ebf18f06d2b0d4b802d9343e7ed235789ad + react: ">=17.x" + checksum: 10c0/34b97fd31c1fdf51d797853f64a54dae8bab4edb4d329b4f2dd0f245a03efe16a605f83dfddf9817e05ff3b14f18f6d0e7f2f4ceb1be91325af485f2ec539d3b languageName: node linkType: hard @@ -2151,7 +2149,7 @@ __metadata: "@navikt/ds-css": "npm:^6.13.0" "@navikt/ds-icons": "npm:^3.4.3" "@navikt/ds-react": "npm:^6.13.0" - "@navikt/nav-dekoratoren-moduler": "npm:^2.1.6" + "@navikt/nav-dekoratoren-moduler": "npm:^3.1.1" "@navikt/next-api-proxy": "npm:3.4.2" "@navikt/oasis": "npm:^3.3.0" "@playwright/test": "npm:^1.45.0" @@ -3074,13 +3072,6 @@ __metadata: languageName: node linkType: hard -"csp-header@npm:^5.1.0": - version: 5.2.1 - resolution: "csp-header@npm:5.2.1" - checksum: 10c0/e36f882e4b667f290735c5e8efc3d7d9f85309b7cb79057cbe98b7b389124e711723bd9fce742dcb702cad0da85819052460b1cfaa956f10d4b5070b68fe3c4f - languageName: node - linkType: hard - "css.escape@npm:^1.5.1": version: 1.5.1 resolution: "css.escape@npm:1.5.1" @@ -3328,24 +3319,6 @@ __metadata: languageName: node linkType: hard -"dom-serializer@npm:^2.0.0": - version: 2.0.0 - resolution: "dom-serializer@npm:2.0.0" - dependencies: - domelementtype: "npm:^2.3.0" - domhandler: "npm:^5.0.2" - entities: "npm:^4.2.0" - checksum: 10c0/d5ae2b7110ca3746b3643d3ef60ef823f5f078667baf530cec096433f1627ec4b6fa8c072f09d079d7cda915fd2c7bc1b7b935681e9b09e591e1e15f4040b8e2 - languageName: node - linkType: hard - -"domelementtype@npm:^2.3.0": - version: 2.3.0 - resolution: "domelementtype@npm:2.3.0" - checksum: 10c0/686f5a9ef0fff078c1412c05db73a0dce096190036f33e400a07e2a4518e9f56b1e324f5c576a0a747ef0e75b5d985c040b0d51945ce780c0dd3c625a18cd8c9 - languageName: node - linkType: hard - "domexception@npm:^4.0.0": version: 4.0.0 resolution: "domexception@npm:4.0.0" @@ -3355,26 +3328,6 @@ __metadata: languageName: node linkType: hard -"domhandler@npm:5.0.3, domhandler@npm:^5.0.2, domhandler@npm:^5.0.3": - version: 5.0.3 - resolution: "domhandler@npm:5.0.3" - dependencies: - domelementtype: "npm:^2.3.0" - checksum: 10c0/bba1e5932b3e196ad6862286d76adc89a0dbf0c773e5ced1eb01f9af930c50093a084eff14b8de5ea60b895c56a04d5de8bbc4930c5543d029091916770b2d2a - languageName: node - linkType: hard - -"domutils@npm:^3.0.1": - version: 3.1.0 - resolution: "domutils@npm:3.1.0" - dependencies: - dom-serializer: "npm:^2.0.0" - domelementtype: "npm:^2.3.0" - domhandler: "npm:^5.0.3" - checksum: 10c0/342d64cf4d07b8a0573fb51e0a6312a88fb520c7fefd751870bf72fa5fc0f2e0cb9a3958a573610b1d608c6e2a69b8e9b4b40f0bfb8f87a71bce4f180cca1887 - languageName: node - linkType: hard - "dreamopt@npm:~0.8.0": version: 0.8.0 resolution: "dreamopt@npm:0.8.0" @@ -3446,7 +3399,7 @@ __metadata: languageName: node linkType: hard -"entities@npm:^4.2.0, entities@npm:^4.4.0, entities@npm:^4.5.0": +"entities@npm:^4.5.0": version: 4.5.0 resolution: "entities@npm:4.5.0" checksum: 10c0/5b039739f7621f5d1ad996715e53d964035f75ad3b9a4d38c6b3804bb226e282ffeae2443624d8fdd9c47d8e926ae9ac009c54671243f0c3294c26af7cc85250 @@ -4409,16 +4362,6 @@ __metadata: languageName: node linkType: hard -"html-dom-parser@npm:3.1.7": - version: 3.1.7 - resolution: "html-dom-parser@npm:3.1.7" - dependencies: - domhandler: "npm:5.0.3" - htmlparser2: "npm:8.0.2" - checksum: 10c0/81c9a8160fc318db01b61530c81593a23a4a2f63b552526770342f1144544c91718d09f8cc4e96d4b3195ac7903ccce2934ff082a64938c98a71f782c6c5f41f - languageName: node - linkType: hard - "html-encoding-sniffer@npm:^3.0.0": version: 3.0.0 resolution: "html-encoding-sniffer@npm:3.0.0" @@ -4435,32 +4378,6 @@ __metadata: languageName: node linkType: hard -"html-react-parser@npm:^3.0.16": - version: 3.0.16 - resolution: "html-react-parser@npm:3.0.16" - dependencies: - domhandler: "npm:5.0.3" - html-dom-parser: "npm:3.1.7" - react-property: "npm:2.0.0" - style-to-js: "npm:1.1.3" - peerDependencies: - react: 0.14 || 15 || 16 || 17 || 18 - checksum: 10c0/41121fe981ca9971e62424bd90a082a9c169405f27a390adc2c29f072c3e5b82cbfbcdd944ae2966382ffc156b710f9e17a7b68cbd8c9bbd85f3f004c6689970 - languageName: node - linkType: hard - -"htmlparser2@npm:8.0.2": - version: 8.0.2 - resolution: "htmlparser2@npm:8.0.2" - dependencies: - domelementtype: "npm:^2.3.0" - domhandler: "npm:^5.0.3" - domutils: "npm:^3.0.1" - entities: "npm:^4.4.0" - checksum: 10c0/609cca85886d0bf2c9a5db8c6926a89f3764596877492e2caa7a25a789af4065bc6ee2cdc81807fe6b1d03a87bf8a373b5a754528a4cc05146b713c20575aab4 - languageName: node - linkType: hard - "http-cache-semantics@npm:^4.1.1": version: 4.1.1 resolution: "http-cache-semantics@npm:4.1.1" @@ -4610,13 +4527,6 @@ __metadata: languageName: node linkType: hard -"inline-style-parser@npm:0.1.1": - version: 0.1.1 - resolution: "inline-style-parser@npm:0.1.1" - checksum: 10c0/08832a533f51a1e17619f2eabf2f5ec5e956d6dcba1896351285c65df022c9420de61d73256e1dca8015a52abf96cc84ddc3b73b898b22de6589d3962b5e501b - languageName: node - linkType: hard - "internal-slot@npm:^1.0.7": version: 1.0.7 resolution: "internal-slot@npm:1.0.7" @@ -7162,13 +7072,6 @@ __metadata: languageName: node linkType: hard -"react-property@npm:2.0.0": - version: 2.0.0 - resolution: "react-property@npm:2.0.0" - checksum: 10c0/d783292999b8bcfc45c457ab00d60faed66a15ada2cd8a9e00db8573b04a7102e81f38fec724a052698b4d2a305e3bbaf49913fc733035674496b1eb40174d55 - languageName: node - linkType: hard - "react@npm:^18.3.1": version: 18.3.1 resolution: "react@npm:18.3.1" @@ -7852,24 +7755,6 @@ __metadata: languageName: node linkType: hard -"style-to-js@npm:1.1.3": - version: 1.1.3 - resolution: "style-to-js@npm:1.1.3" - dependencies: - style-to-object: "npm:0.4.1" - checksum: 10c0/e445bab2494328dda68af10086c0dd1a8caf2679ae72eec7e29b181d9d533a6d9f4642f75d785c0d30ae2232f7fcdb159840db4d39688276b210e7b9337e2504 - languageName: node - linkType: hard - -"style-to-object@npm:0.4.1": - version: 0.4.1 - resolution: "style-to-object@npm:0.4.1" - dependencies: - inline-style-parser: "npm:0.1.1" - checksum: 10c0/bde789dab148ec01032d75ea3a7d9294aa8dac369e9ef44f9a8f504df565f806b5a2c7226e3355f09a7e5d127684c65a0b7a7ade08780e0f893299e945d1464e - languageName: node - linkType: hard - "styled-jsx@npm:5.1.1": version: 5.1.1 resolution: "styled-jsx@npm:5.1.1"