@pagopa/selfcare-common-frontend 1.34.101 → 1.34.102
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/CHANGELOG.md +9 -2
- package/build.info +2 -2
- package/lib/utils/utils.d.ts +1 -0
- package/lib/utils/utils.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,9 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
#### [v1.34.
|
|
7
|
+
#### [v1.34.102](https://github.com/pagopa/selfcare-common-frontend/compare/v1.35.0...v1.34.102)
|
|
8
8
|
|
|
9
|
+
- Add new util to check for pec email [`#336`](https://github.com/pagopa/selfcare-common-frontend/pull/336)
|
|
9
10
|
- reset type module [`#335`](https://github.com/pagopa/selfcare-common-frontend/pull/335)
|
|
10
11
|
- update to esm [`#334`](https://github.com/pagopa/selfcare-common-frontend/pull/334)
|
|
11
12
|
- improve build for lib [`#333`](https://github.com/pagopa/selfcare-common-frontend/pull/333)
|
|
@@ -159,10 +160,16 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
159
160
|
- Bump rimraf from 3.0.2 to 6.0.1 [`e6941b9`](https://github.com/pagopa/selfcare-common-frontend/commit/e6941b9e6b05c973d991e2470a851b5ca03926ce)
|
|
160
161
|
- Used a environment variable to manage correct links in the footer based to product and actual environment [`960e2fb`](https://github.com/pagopa/selfcare-common-frontend/commit/960e2fbaa8aa8f79061639b26dc1a27f28b8aae3)
|
|
161
162
|
|
|
162
|
-
#### [v1.35.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.
|
|
163
|
+
#### [v1.35.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.101...v1.35.0)
|
|
163
164
|
|
|
164
165
|
> 20 July 2023
|
|
165
166
|
|
|
167
|
+
#### [v1.34.101](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.100...v1.34.101)
|
|
168
|
+
|
|
169
|
+
> 24 March 2026
|
|
170
|
+
|
|
171
|
+
- reset type module [`#335`](https://github.com/pagopa/selfcare-common-frontend/pull/335)
|
|
172
|
+
|
|
166
173
|
#### [v1.34.100](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.99...v1.34.100)
|
|
167
174
|
|
|
168
175
|
> 19 March 2026
|
package/build.info
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
tags/v1.29.0~1^2
|
|
1
|
+
20260326.1 - selfcare-common-frontend.deploy(264210)
|
|
2
|
+
tags/v1.29.0~1^2 bd9419864f532f1ae0ee0f49b1c8ed4908a07f64
|
package/lib/utils/utils.d.ts
CHANGED
package/lib/utils/utils.js
CHANGED
|
@@ -128,3 +128,5 @@ export const specialCharacters = {
|
|
|
128
128
|
export const specialChar2NormalChar = (char) => specialCharacters[char] || char;
|
|
129
129
|
export const acceptedVowels = /[aeiouàèìòùáéíóúäëïöüâêîôûæœǝɐɑɒ]/gi;
|
|
130
130
|
export const acceptedConsonants = /[bcdfghjklmnpqrstvwxyzñçčšžǩßḃḍḫķḻḳṅṯẓẟẝƁƇƔƝƤƧƬƲƳƵʍʜʎɹɾʃʒʔɲ]/gi;
|
|
131
|
+
const PEC_PATTERNS = [/@pec\./i, /@postecert\./i, /@legalmail\./i];
|
|
132
|
+
export const isPecEmail = (email) => PEC_PATTERNS.some((pattern) => pattern.test(email));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pagopa/selfcare-common-frontend",
|
|
3
3
|
"description": "Shared React components for the pagopa selfcare project",
|
|
4
|
-
"version": "1.34.
|
|
4
|
+
"version": "1.34.102",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/pagopa/selfcare-common-frontend",
|
|
7
7
|
"author": "https://www.pagopa.gov.it",
|