@govuk-one-login/frontend-ui 4.1.0 → 4.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/all.css +1 -1
- package/build/cjs/backend/lib/locals.d.ts +2 -2
- package/build/cjs/backend/lib/locals.d.ts.map +1 -1
- package/build/cjs/backend/utils/logger.d.ts +2 -2
- package/build/cjs/backend/utils/logger.d.ts.map +1 -1
- package/build/cjs/frontend/index.cjs +16 -0
- package/build/components/bases/mobile/mobile-base.njk +6 -1
- package/build/components/progress-button/_index.scss +4 -0
- package/build/esm/backend/lib/locals.d.ts +2 -2
- package/build/esm/backend/lib/locals.d.ts.map +1 -1
- package/build/esm/backend/utils/logger.d.ts +2 -2
- package/build/esm/backend/utils/logger.d.ts.map +1 -1
- package/build/esm/frontend/index.js +16 -0
- package/package.json +6 -6
package/build/all.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@media(max-width: 640px){.govuk-header__navigation-item{border-left:none !important}.govuk-template--rebranded .govuk-header__navigation-list{padding-bottom:0px !important}.govuk-header__navigation-item{padding-top:8px !important}}.frontendUi_header_signOut-item{padding:5px 0px 5px 30px;border-left:1px solid #b1b4b6;margin-left:auto}.frontendUi_header_signOut-item--rebrand{border-left:none;padding:5px 0px 5px 0px;margin-left:auto;font-weight:700 !important}.frontendUi_header__signOut{display:flex;flex-wrap:wrap}.frontendUi-header__content{margin-left:auto}.govuk-header__navigation--signOut{padding:15px 0 15px !important}.govuk-template--rebranded .govuk-header__navigation{padding:15px 0 15px !important}@media(max-width: 640px){.govuk-header__navigation--signOut{padding:18px 0 8px !important}.govuk-template--rebranded .govuk-header__navigation{padding:18px 0 8px !important}}.govuk-template--rebranded .govuk-header__navigation-item a{font-weight:700 !important}.govuk-template--rebranded .govuk-header__navigation-item{padding-top:5px !important}@media(min-width: 20em)and (max-width: 48.0525em){.govuk-template--rebranded .govuk-header__navigation-list{padding-bottom:0px}}@media(max-width: 323px){.govuk-header__logo{padding-right:5px}.frontendUi_header_signOut-item{padding-left:0px}}@media(max-width: 261px){.frontendUi-header__content{margin-left:unset}.govuk-template--rebranded .govuk-header__navigation{padding:0px 0 8px !important}.govuk-header__logotype{max-width:100%;max-height:auto}.govuk-template--rebranded .govuk-header__logo{padding-top:5% !important;padding-bottom:5% !important}}.govuk-tag{font-size:16px;font-weight:bold;line-height:1;display:inline-block;padding-top:5px;padding-right:8px;padding-bottom:4px;padding-left:8px;outline:2px solid rgba(0,0,0,0);outline-offset:-2px;color:#fff !important;background-color:#1d70b8 !important;letter-spacing:1px !important;text-decoration:none !important;text-transform:uppercase !important}@media(max-width: 256px){.govuk-phase-banner__content{display:block}}.language-select{margin:15px 0 15px 0}.language-select__list{margin-top:1em;text-align:right}.language-select__list-item{display:inline-block}.language-select__list-item:first-child::after{content:"";display:inline-block;position:relative;top:.1875em;height:1em;border-right:.09375em solid #000}.language-select__list-item a,.language-select__list-item [aria-current]{padding:.3125em}@media screen and (max-width: 641px){.language-select__list{float:none;text-align:left;padding-bottom:10px;border-bottom:1px solid #b1b4b6}}.spinner{width:80px;height:80px;border-radius:50%;border-width:12px;border-style:solid;border-color:#dee0e2;border-top-color:#005ea5;margin-bottom:15px}@media(forced-colors: active){.spinner{forced-color-adjust:none;border-top-color:rgba(0,0,0,0) !important}}@media not (prefers-reduced-motion){.spinner{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}}@media(prefers-reduced-motion){.spinner{transform:rotate(0.125turn)}}.spinner__finished{border-color:#005ea5;-webkit-animation:none;animation:none}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.centre{margin-left:auto;margin-right:auto;text-align:center;display:block}@media(max-width: 256px){.govuk-footer__crown{max-width:100%;max-height:auto}}.govuk-footer{padding-top:25px;padding-bottom:15px;border-top:1px solid #b1b4b6;color:#0b0c0c;background:#f3f2f1}.govuk-template--rebranded .govuk-footer{border-top:10px solid #1d70b8;background:#f4f8fb}.govuk-footer__copyright-logo::before{background:#6e777a}.govuk-template--rebranded .govuk-footer__copyright-logo::before{background:currentcolor}.govuk-button--progress{position:relative}.govuk-button--progress-loading{background-color:#505a5f !important;color:#fff !important;pointer-events:none !important;padding-left:40px !important}@keyframes rotate{from{transform:rotate(0)}to{transform:rotate(360deg)}}.govuk-button--progress-loading::before{content:"";border:3px solid hsla(0,0%,100%,.35);border-top:3px solid #fff;border-radius:50%;width:20px;height:20px;animation:rotate 1s infinite linear;position:absolute;top:12% !important;left:8px}@media(prefers-reduced-motion: reduce){.govuk-button--progress-loading{padding-left:10px !important}.govuk-button--progress-loading::before{display:none}}
|
|
1
|
+
@media(max-width: 640px){.govuk-header__navigation-item{border-left:none !important}.govuk-template--rebranded .govuk-header__navigation-list{padding-bottom:0px !important}.govuk-header__navigation-item{padding-top:8px !important}}.frontendUi_header_signOut-item{padding:5px 0px 5px 30px;border-left:1px solid #b1b4b6;margin-left:auto}.frontendUi_header_signOut-item--rebrand{border-left:none;padding:5px 0px 5px 0px;margin-left:auto;font-weight:700 !important}.frontendUi_header__signOut{display:flex;flex-wrap:wrap}.frontendUi-header__content{margin-left:auto}.govuk-header__navigation--signOut{padding:15px 0 15px !important}.govuk-template--rebranded .govuk-header__navigation{padding:15px 0 15px !important}@media(max-width: 640px){.govuk-header__navigation--signOut{padding:18px 0 8px !important}.govuk-template--rebranded .govuk-header__navigation{padding:18px 0 8px !important}}.govuk-template--rebranded .govuk-header__navigation-item a{font-weight:700 !important}.govuk-template--rebranded .govuk-header__navigation-item{padding-top:5px !important}@media(min-width: 20em)and (max-width: 48.0525em){.govuk-template--rebranded .govuk-header__navigation-list{padding-bottom:0px}}@media(max-width: 323px){.govuk-header__logo{padding-right:5px}.frontendUi_header_signOut-item{padding-left:0px}}@media(max-width: 261px){.frontendUi-header__content{margin-left:unset}.govuk-template--rebranded .govuk-header__navigation{padding:0px 0 8px !important}.govuk-header__logotype{max-width:100%;max-height:auto}.govuk-template--rebranded .govuk-header__logo{padding-top:5% !important;padding-bottom:5% !important}}.govuk-tag{font-size:16px;font-weight:bold;line-height:1;display:inline-block;padding-top:5px;padding-right:8px;padding-bottom:4px;padding-left:8px;outline:2px solid rgba(0,0,0,0);outline-offset:-2px;color:#fff !important;background-color:#1d70b8 !important;letter-spacing:1px !important;text-decoration:none !important;text-transform:uppercase !important}@media(max-width: 256px){.govuk-phase-banner__content{display:block}}.language-select{margin:15px 0 15px 0}.language-select__list{margin-top:1em;text-align:right}.language-select__list-item{display:inline-block}.language-select__list-item:first-child::after{content:"";display:inline-block;position:relative;top:.1875em;height:1em;border-right:.09375em solid #000}.language-select__list-item a,.language-select__list-item [aria-current]{padding:.3125em}@media screen and (max-width: 641px){.language-select__list{float:none;text-align:left;padding-bottom:10px;border-bottom:1px solid #b1b4b6}}.spinner{width:80px;height:80px;border-radius:50%;border-width:12px;border-style:solid;border-color:#dee0e2;border-top-color:#005ea5;margin-bottom:15px}@media(forced-colors: active){.spinner{forced-color-adjust:none;border-top-color:rgba(0,0,0,0) !important}}@media not (prefers-reduced-motion){.spinner{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}}@media(prefers-reduced-motion){.spinner{transform:rotate(0.125turn)}}.spinner__finished{border-color:#005ea5;-webkit-animation:none;animation:none}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.centre{margin-left:auto;margin-right:auto;text-align:center;display:block}@media(max-width: 256px){.govuk-footer__crown{max-width:100%;max-height:auto}}.govuk-footer{padding-top:25px;padding-bottom:15px;border-top:1px solid #b1b4b6;color:#0b0c0c;background:#f3f2f1}.govuk-template--rebranded .govuk-footer{border-top:10px solid #1d70b8;background:#f4f8fb}.govuk-footer__copyright-logo::before{background:#6e777a}.govuk-template--rebranded .govuk-footer__copyright-logo::before{background:currentcolor}.govuk-button--progress{position:relative}.govuk-button--progress-loading{background-color:#505a5f !important;color:#fff !important;pointer-events:none !important;padding-left:40px !important}@keyframes rotate{from{transform:rotate(0)}to{transform:rotate(360deg)}}.govuk-button--progress-loading::before{content:"";border:3px solid hsla(0,0%,100%,.35);border-top:3px solid #fff;border-radius:50%;width:20px;height:20px;animation:rotate 1s infinite linear;position:absolute;top:12% !important;left:8px}.govuk-progress-button--disabled{opacity:1 !important}@media(prefers-reduced-motion: reduce){.govuk-button--progress-loading{padding-left:10px !important}.govuk-button--progress-loading::before{display:none}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Request, Response
|
|
1
|
+
import { NextFunction, Request, Response } from "express";
|
|
2
2
|
import { CustomLogger } from "../utils/logger";
|
|
3
3
|
declare const getGTM: (req: Request, res: Response, next: NextFunction) => void;
|
|
4
4
|
declare const getAssetPath: (req: Request, res: Response, next: NextFunction) => void;
|
|
@@ -7,5 +7,5 @@ declare const getLanguageToggle: (req: Request & {
|
|
|
7
7
|
language: string;
|
|
8
8
|
};
|
|
9
9
|
}, res: Response, next: NextFunction, customLogger?: CustomLogger) => void;
|
|
10
|
-
export {
|
|
10
|
+
export { getAssetPath, getGTM, getLanguageToggle };
|
|
11
11
|
//# sourceMappingURL=locals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locals.d.ts","sourceRoot":"","sources":["../../../../src/lib/locals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"locals.d.ts","sourceRoot":"","sources":["../../../../src/lib/locals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,EAAE,YAAY,EAA8B,MAAM,iBAAiB,CAAC;AAE3E,QAAA,MAAM,MAAM,GAAI,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,KAAG,IA0BjE,CAAC;AAEF,QAAA,MAAM,YAAY,GAChB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,MAAM,YAAY,KACjB,IAGF,CAAC;AAEF,QAAA,MAAM,iBAAiB,GACrB,KAAK,OAAO,GAAG;IAAE,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,EAC7C,KAAK,QAAQ,EACb,MAAM,YAAY,EAClB,eAAe,YAAY,KAC1B,IAqBF,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Logger } from "pino";
|
|
2
2
|
export type CustomLogger = {
|
|
3
3
|
trace: (message: string) => void;
|
|
4
4
|
warn: (message: string) => void;
|
|
5
5
|
};
|
|
6
6
|
export declare const setCustomLogger: (customLogger: CustomLogger) => void;
|
|
7
|
-
export declare const getLogger: () =>
|
|
7
|
+
export declare const getLogger: () => Logger | CustomLogger;
|
|
8
8
|
export declare const resetLogger: () => void;
|
|
9
9
|
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../src/utils/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../src/utils/logger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAKnC,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,cAAc,YAAY,SAEzD,CAAC;AAEF,eAAO,MAAM,SAAS,QAAO,MAAM,GAAG,YAWrC,CAAC;AAEF,eAAO,MAAM,WAAW,YAEvB,CAAC"}
|
|
@@ -363,6 +363,14 @@ function handleProgressButtonClick(element, waitingText, longWaitingText, errorP
|
|
|
363
363
|
element.blur();
|
|
364
364
|
}
|
|
365
365
|
element.setAttribute('data-prevent-double-click', 'true');
|
|
366
|
+
if (element instanceof HTMLButtonElement || element instanceof HTMLInputElement) {
|
|
367
|
+
element.disabled = true;
|
|
368
|
+
}
|
|
369
|
+
else if (element.tagName.toLowerCase() === 'a') {
|
|
370
|
+
element.setAttribute('aria-disabled', 'true');
|
|
371
|
+
element.style.pointerEvents = 'none';
|
|
372
|
+
}
|
|
373
|
+
element.classList.add('govuk-progress-button--disabled');
|
|
366
374
|
var classes = element.className.split(' ');
|
|
367
375
|
if (classes.indexOf('govuk-button--progress-loading') === -1) {
|
|
368
376
|
classes.push('govuk-button--progress-loading');
|
|
@@ -400,6 +408,14 @@ function handleProgressButtonClick(element, waitingText, longWaitingText, errorP
|
|
|
400
408
|
classes.splice(loadingIndex, 1);
|
|
401
409
|
element.className = classes.join(' ');
|
|
402
410
|
}
|
|
411
|
+
if (element instanceof HTMLButtonElement || element instanceof HTMLInputElement) {
|
|
412
|
+
element.disabled = false;
|
|
413
|
+
}
|
|
414
|
+
else if (element.tagName.toLowerCase() === 'a') {
|
|
415
|
+
element.removeAttribute('aria-disabled');
|
|
416
|
+
element.style.pointerEvents = '';
|
|
417
|
+
}
|
|
418
|
+
element.classList.remove('govuk-progress-button--disabled');
|
|
403
419
|
element.setAttribute('data-prevent-double-click', 'false');
|
|
404
420
|
if (isInput && element instanceof HTMLInputElement) {
|
|
405
421
|
element.value = originalText;
|
|
@@ -138,7 +138,12 @@
|
|
|
138
138
|
{% endblock %}
|
|
139
139
|
|
|
140
140
|
{% block bodyEnd %}
|
|
141
|
-
<script type="
|
|
141
|
+
<script type="module" nonce='{{ scriptNonce }}' src="/public/scripts/govuk-frontend.min.js"></script>
|
|
142
|
+
<script type="module" nonce='{{ scriptNonce }}'>
|
|
143
|
+
import {initAll} from '/public/scripts/govuk-frontend.min.js'
|
|
144
|
+
initAll()
|
|
145
|
+
</script>
|
|
146
|
+
<script type="module" src="/public/scripts/application.js"></script>
|
|
142
147
|
<script type="text/javascript" src="/public/scripts/analytics.js" nonce='{{scriptNonce}}'></script>
|
|
143
148
|
<script type="text/javascript" nonce='{{scriptNonce}}'>
|
|
144
149
|
window.DI = window.DI || {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Request, Response
|
|
1
|
+
import { NextFunction, Request, Response } from "express";
|
|
2
2
|
import { CustomLogger } from "../utils/logger";
|
|
3
3
|
declare const getGTM: (req: Request, res: Response, next: NextFunction) => void;
|
|
4
4
|
declare const getAssetPath: (req: Request, res: Response, next: NextFunction) => void;
|
|
@@ -7,5 +7,5 @@ declare const getLanguageToggle: (req: Request & {
|
|
|
7
7
|
language: string;
|
|
8
8
|
};
|
|
9
9
|
}, res: Response, next: NextFunction, customLogger?: CustomLogger) => void;
|
|
10
|
-
export {
|
|
10
|
+
export { getAssetPath, getGTM, getLanguageToggle };
|
|
11
11
|
//# sourceMappingURL=locals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locals.d.ts","sourceRoot":"","sources":["../../../../src/lib/locals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"locals.d.ts","sourceRoot":"","sources":["../../../../src/lib/locals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,EAAE,YAAY,EAA8B,MAAM,iBAAiB,CAAC;AAE3E,QAAA,MAAM,MAAM,GAAI,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,KAAG,IA0BjE,CAAC;AAEF,QAAA,MAAM,YAAY,GAChB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,MAAM,YAAY,KACjB,IAGF,CAAC;AAEF,QAAA,MAAM,iBAAiB,GACrB,KAAK,OAAO,GAAG;IAAE,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,EAC7C,KAAK,QAAQ,EACb,MAAM,YAAY,EAClB,eAAe,YAAY,KAC1B,IAqBF,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Logger } from "pino";
|
|
2
2
|
export type CustomLogger = {
|
|
3
3
|
trace: (message: string) => void;
|
|
4
4
|
warn: (message: string) => void;
|
|
5
5
|
};
|
|
6
6
|
export declare const setCustomLogger: (customLogger: CustomLogger) => void;
|
|
7
|
-
export declare const getLogger: () =>
|
|
7
|
+
export declare const getLogger: () => Logger | CustomLogger;
|
|
8
8
|
export declare const resetLogger: () => void;
|
|
9
9
|
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../src/utils/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../src/utils/logger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAKnC,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,cAAc,YAAY,SAEzD,CAAC;AAEF,eAAO,MAAM,SAAS,QAAO,MAAM,GAAG,YAWrC,CAAC;AAEF,eAAO,MAAM,WAAW,YAEvB,CAAC"}
|
|
@@ -361,6 +361,14 @@ function handleProgressButtonClick(element, waitingText, longWaitingText, errorP
|
|
|
361
361
|
element.blur();
|
|
362
362
|
}
|
|
363
363
|
element.setAttribute('data-prevent-double-click', 'true');
|
|
364
|
+
if (element instanceof HTMLButtonElement || element instanceof HTMLInputElement) {
|
|
365
|
+
element.disabled = true;
|
|
366
|
+
}
|
|
367
|
+
else if (element.tagName.toLowerCase() === 'a') {
|
|
368
|
+
element.setAttribute('aria-disabled', 'true');
|
|
369
|
+
element.style.pointerEvents = 'none';
|
|
370
|
+
}
|
|
371
|
+
element.classList.add('govuk-progress-button--disabled');
|
|
364
372
|
var classes = element.className.split(' ');
|
|
365
373
|
if (classes.indexOf('govuk-button--progress-loading') === -1) {
|
|
366
374
|
classes.push('govuk-button--progress-loading');
|
|
@@ -398,6 +406,14 @@ function handleProgressButtonClick(element, waitingText, longWaitingText, errorP
|
|
|
398
406
|
classes.splice(loadingIndex, 1);
|
|
399
407
|
element.className = classes.join(' ');
|
|
400
408
|
}
|
|
409
|
+
if (element instanceof HTMLButtonElement || element instanceof HTMLInputElement) {
|
|
410
|
+
element.disabled = false;
|
|
411
|
+
}
|
|
412
|
+
else if (element.tagName.toLowerCase() === 'a') {
|
|
413
|
+
element.removeAttribute('aria-disabled');
|
|
414
|
+
element.style.pointerEvents = '';
|
|
415
|
+
}
|
|
416
|
+
element.classList.remove('govuk-progress-button--disabled');
|
|
401
417
|
element.setAttribute('data-prevent-double-click', 'false');
|
|
402
418
|
if (isInput && element instanceof HTMLInputElement) {
|
|
403
419
|
element.value = originalText;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govuk-one-login/frontend-ui",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "build/cjs/backend/index.cjs",
|
|
6
6
|
"module": "build/esm/backend/index.js",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"homepage": "https://github.com/govuk-one-login/govuk-one-login-frontend#readme",
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"js-yaml": "^4.1.0",
|
|
42
|
-
"pino": "
|
|
42
|
+
"pino": "^10.1.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
+
"@govuk-one-login/frontend-analytics": " ^3.0.1 || ^4.0.3",
|
|
45
46
|
"express": "^5.1.0 || >= 4.21.2",
|
|
46
|
-
"govuk-frontend": "^4.10.1 || ^5.0.0"
|
|
47
|
-
"@govuk-one-login/frontend-analytics": " ^3.0.1 || ^4.0.3"
|
|
47
|
+
"govuk-frontend": "^4.10.1 || ^5.0.0"
|
|
48
48
|
},
|
|
49
49
|
"exports": {
|
|
50
50
|
".": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"types": "./build/esm/backend/index.d.ts",
|
|
60
60
|
"optionalDependencies": {
|
|
61
|
-
"
|
|
62
|
-
"
|
|
61
|
+
"@govuk-one-login/frontend-analytics": "^4.0.5",
|
|
62
|
+
"hmpo-components": "^7.1.0"
|
|
63
63
|
}
|
|
64
64
|
}
|