@plentymarkets/shop-api 0.95.0 → 0.95.1
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/lib/index.cjs.js +1 -1
- package/lib/index.es.js +1 -1
- package/package.json +2 -2
package/lib/index.cjs.js
CHANGED
@@ -4725,7 +4725,7 @@ const validateEmail = (email) => {
|
|
4725
4725
|
const maxLocalPartLength = 64;
|
4726
4726
|
if (email.length > maxEmailLength)
|
4727
4727
|
return false;
|
4728
|
-
const emailPattern = /^[a-zA-Z0-9](?:[a-zA-Z0-9
|
4728
|
+
const emailPattern = /^[a-zA-Z0-9](?:[a-zA-Z0-9.\-]{0,62}[a-zA-Z0-9])?@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
4729
4729
|
const [localPart] = email.split('@');
|
4730
4730
|
if (localPart.length > maxLocalPartLength)
|
4731
4731
|
return false;
|
package/lib/index.es.js
CHANGED
@@ -4721,7 +4721,7 @@ const validateEmail = (email) => {
|
|
4721
4721
|
const maxLocalPartLength = 64;
|
4722
4722
|
if (email.length > maxEmailLength)
|
4723
4723
|
return false;
|
4724
|
-
const emailPattern = /^[a-zA-Z0-9](?:[a-zA-Z0-9
|
4724
|
+
const emailPattern = /^[a-zA-Z0-9](?:[a-zA-Z0-9.\-]{0,62}[a-zA-Z0-9])?@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
4725
4725
|
const [localPart] = email.split('@');
|
4726
4726
|
if (localPart.length > maxLocalPartLength)
|
4727
4727
|
return false;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@plentymarkets/shop-api",
|
3
|
-
"version": "0.95.
|
3
|
+
"version": "0.95.1",
|
4
4
|
"sideEffects": false,
|
5
5
|
"private": false,
|
6
6
|
"publishConfig": {
|
@@ -45,5 +45,5 @@
|
|
45
45
|
"lib/**/*",
|
46
46
|
"server/**/*"
|
47
47
|
],
|
48
|
-
"gitHead": "
|
48
|
+
"gitHead": "732e36fa0293b677af38f2a4acf10dde222cc1d7"
|
49
49
|
}
|