Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"date-fns": "^4.1.0",
"jsonwebtoken": "^9.0.2",
"jwt-decode": "^4.0.0",
"markdown-it": "^13.0.2",
"markdown-it": "14.1.1",
"markdown-to-jsx": "^7.7.10",
"next": "^15.5.11",
"next": "15.5.18",
"next-client-cookies": "^2.1.0",
"nhs-notify-backend-client": "^0.0.1",
"nhs-notify-web-template-management-utils": "^0.0.1",
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/utils/markdownit/block-rules/heading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
// Disable lint rule in patched file as I want to stick to the original source code as much as possible
/* eslint-disable unicorn/prefer-code-point */

import { isSpace } from 'markdown-it/lib/common/utils';
import type StateBlock from 'markdown-it/lib/rules_block/state_block';
function isSpace(code: number) {
return code === 0x20 || code === 0x09;
}

export function headingNoSpaces(
state: StateBlock,
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/utils/markdownit/block-rules/hr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
// Disable lint rule in patched file as I want to stick to the original source code as much as possible
/* eslint-disable unicorn/prefer-code-point, unicorn/number-literal-case, unicorn/new-for-builtins */

import { isSpace } from 'markdown-it/lib/common/utils';
import type StateBlock from 'markdown-it/lib/rules_block/state_block';
function isSpace(code: number) {
return code === 0x20 || code === 0x09;
}

// Horizontal rule

Expand Down
2 changes: 1 addition & 1 deletion lambdas/backend-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"axios": "^1.13.5",
"axios": "1.15.2",
"axios-retry": "^4.5.0",
"libphonenumber-js": "^1.12.41",
"punycode": "^2.3.1",
Expand Down
Loading