diff --git a/package-lock.json b/package-lock.json index b0f146fb4..d6b8e610d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,7 +53,7 @@ "nav-frontend-lenker-style": "^1.1.1", "nav-frontend-lukknapp": "^1.1.1", "nav-frontend-lukknapp-style": "^1.1.1", - "nav-frontend-modal": "^1.1.2", + "nav-frontend-modal": "^2.0.2", "nav-frontend-modal-style": "^1.1.1", "nav-frontend-paneler": "^2.1.1", "nav-frontend-paneler-style": "^1.1.1", @@ -2143,7 +2143,6 @@ "version": "3.16.3", "resolved": "https://registry.npmjs.org/@types/react-modal/-/react-modal-3.16.3.tgz", "integrity": "sha512-xXuGavyEGaFQDgBv4UVm8/ZsG+qxeQ7f77yNrW3n+1J6XAstUy5rYHeIHPh1KzsGc6IkCIdu6lQ2xWzu1jBTLg==", - "dev": true, "dependencies": { "@types/react": "*" } @@ -5765,9 +5764,18 @@ "integrity": "sha512-oXLLBTd9iIgVKWtlI+lCbcwbvTf1Vca0RXYYDLT6Nwi/v0lBXLrdYG4UUYLtq2WwBmhYaaPwir48UE12XR6lSA==" }, "node_modules/nav-frontend-modal": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/nav-frontend-modal/-/nav-frontend-modal-1.1.2.tgz", - "integrity": "sha512-VklH7btMVWu+CyCkaT93SXyeCniIPqF9ua0CCz3eytn+yT0SeTicW8sEQaOC4hxBfR/yxh0NW3cpABGoAgo/XA==" + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/nav-frontend-modal/-/nav-frontend-modal-2.0.2.tgz", + "integrity": "sha512-Ajm2OdNyS/JAjgK9xas0vNOUQ6iUudy6Fhx4w/RmMJY2TSGB23FKTL8+cgi/Th+PbeUkPvZDbDyB0nQf7db5Ug==", + "peerDependencies": { + "@types/react-modal": "^3.1.2", + "classnames": "^2.2.5", + "nav-frontend-lukknapp": "^2.0.0", + "nav-frontend-modal-style": "^2.0.0", + "prop-types": "^15.5.10", + "react": "^16.8.0 || ^17.0.0", + "react-modal": "^2.2.4 || ^3.3.1" + } }, "node_modules/nav-frontend-modal-style": { "version": "1.1.1", diff --git a/package.json b/package.json index 68b085c87..221a17563 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "nav-frontend-lenker-style": "^1.1.1", "nav-frontend-lukknapp": "^1.1.1", "nav-frontend-lukknapp-style": "^1.1.1", - "nav-frontend-modal": "^1.1.2", + "nav-frontend-modal": "^2.0.2", "nav-frontend-modal-style": "^1.1.1", "nav-frontend-paneler": "^2.1.1", "nav-frontend-paneler-style": "^1.1.1",