Skip to content

Commit

Permalink
fix/correct phoneNumber regExp (#54)
Browse files Browse the repository at this point in the history
* fix: correct phoneNumber regExp

* chore: bump Version
  • Loading branch information
Siolto committed Mar 6, 2024
1 parent 657d043 commit a357a1d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/content/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nmshd/content",
"version": "2.8.9",
"version": "2.8.10",
"description": "The content library defines data structures that can be transmitted using the transport library.",
"homepage": "https://enmeshed.eu",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export abstract class AbstractPhoneNumber extends AbstractString {
return super.valueHints.copyWith({
min: 3,
max: 100,
pattern: "/^[d+-x#*()/[] ]{3,100}$/"
pattern: "^[\\d+\\-x#*()/[\\] ]{3,100}$"
});
}

Expand Down
4 changes: 2 additions & 2 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nmshd/runtime",
"version": "4.3.3",
"version": "4.3.4",
"description": "The enmeshed client runtime.",
"homepage": "https://enmeshed.eu",
"repository": {
Expand Down Expand Up @@ -66,7 +66,7 @@
"@js-soft/ts-serval": "2.0.10",
"@js-soft/ts-utils": "^2.3.3",
"@nmshd/consumption": "3.9.5",
"@nmshd/content": "2.8.9",
"@nmshd/content": "2.8.10",
"@nmshd/crypto": "2.0.6",
"@nmshd/transport": "2.3.4",
"ajv": "^8.12.0",
Expand Down

0 comments on commit a357a1d

Please sign in to comment.