diff --git a/package-lock.json b/package-lock.json index 13b6c3944..04e7d85b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "nav-frontend-hjelpetekst-style": "^2.1.1", "nav-frontend-ikoner-assets": "^2.0.10", "nav-frontend-ikonknapper": "^1.0.9", - "nav-frontend-js-utils": "^1.0.9", + "nav-frontend-js-utils": "^1.0.20", "nav-frontend-knapper": "^2.1.1", "nav-frontend-knapper-style": "^1.1.1", "nav-frontend-lenkepanel": "^1.1.1", @@ -5770,11 +5770,16 @@ "integrity": "sha512-X3Y4nN1E6hyXan4feu2KpHIAsQkq03yjJ81aSb6OF2wJZL5JHYIak8e++jIyAXn2y5U2nhUrLWhJM3wVj44hvg==" }, "node_modules/nav-frontend-js-utils": { - "version": "1.0.17", - "resolved": "https://registry.npmjs.org/nav-frontend-js-utils/-/nav-frontend-js-utils-1.0.17.tgz", - "integrity": "sha512-iP4N25iuPi9uJO6UQUsTQq/D09kgSeEysNz+VqiUdXveJ+U8iAO/ik/tMUO5nIcZt117BvxB5URD4wAV1FkdFg==", + "version": "1.0.20", + "resolved": "https://registry.npmjs.org/nav-frontend-js-utils/-/nav-frontend-js-utils-1.0.20.tgz", + "integrity": "sha512-rCEbgtLmk/95TJeke3Njgm0lBJuBa0N8p8h5Oqhxjov529UjTT2Vx4XJzjQd7/ApgeCkdc5DB9GW5jGTEFoYTA==", "dependencies": { "lodash.throttle": "^4.1.1" + }, + "peerDependencies": { + "lodash.throttle": "^4.1.1", + "prop-types": "^15.5.10", + "react": "^16.8.0 || ^17.0.0" } }, "node_modules/nav-frontend-knapper": { diff --git a/package.json b/package.json index 003eb6b12..3ffdb289a 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "nav-frontend-hjelpetekst-style": "^2.1.1", "nav-frontend-ikoner-assets": "^2.0.10", "nav-frontend-ikonknapper": "^1.0.9", - "nav-frontend-js-utils": "^1.0.9", + "nav-frontend-js-utils": "^1.0.20", "nav-frontend-knapper": "^2.1.1", "nav-frontend-knapper-style": "^1.1.1", "nav-frontend-lenkepanel": "^1.1.1",