@contentful/app-scripts 2.5.9 → 2.5.10
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/utils.js +2 -2
- package/package.json +4 -4
package/lib/utils.js
CHANGED
|
@@ -35,10 +35,10 @@ const isValidNetwork = (address) => {
|
|
|
35
35
|
'(?:' + // Start of the non-capturing group for domain names
|
|
36
36
|
'(?:\\*\\.)' + // Matches wildcard domains like *.example.com
|
|
37
37
|
'(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)' + // Matches a single subdomain
|
|
38
|
-
'[a-zA-Z]{2,
|
|
38
|
+
'[a-zA-Z]{2,63}' + // Matches the top-level domain (TLD). Upper bound of 63 follows RFC 1035 §2.3.4, which defines the maximum length of a single DNS label. ICANN began delegating long gTLDs (e.g. .hosting, .international) from 2012 onwards, making the previous limit of 6 too restrictive.
|
|
39
39
|
'|' + // OR
|
|
40
40
|
'(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+' + // Matches standard domains with one or more subdomains
|
|
41
|
-
'[a-zA-Z]{2,
|
|
41
|
+
'[a-zA-Z]{2,63}' + // Matches the top-level domain (TLD). Upper bound of 63 follows RFC 1035 §2.3.4, which defines the maximum length of a single DNS label. ICANN began delegating long gTLDs (e.g. .hosting, .international) from 2012 onwards, making the previous limit of 6 too restrictive.
|
|
42
42
|
')|' + // End of the non-capturing group for domain names, OR
|
|
43
43
|
'(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}' + // Matches the first three octets of an IPv4 address
|
|
44
44
|
'(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|' + // Matches the last octet of an IPv4 address
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/app-scripts",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.10",
|
|
4
4
|
"description": "A collection of scripts for building Contentful Apps",
|
|
5
5
|
"author": "Contentful GmbH",
|
|
6
6
|
"license": "MIT",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"chalk": "4.1.2",
|
|
57
57
|
"commander": "12.1.0",
|
|
58
58
|
"contentful-management": "^11.48.1",
|
|
59
|
-
"dotenv": "17.
|
|
59
|
+
"dotenv": "17.3.1",
|
|
60
60
|
"esbuild": "^0.27.0",
|
|
61
61
|
"ignore": "7.0.5",
|
|
62
62
|
"inquirer": "8.2.7",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@types/analytics-node": "3.1.14",
|
|
74
74
|
"@types/chai": "4.3.16",
|
|
75
75
|
"@types/inquirer": "8.2.1",
|
|
76
|
-
"@types/lodash": "4.17.
|
|
76
|
+
"@types/lodash": "4.17.24",
|
|
77
77
|
"@types/mocha": "10.0.10",
|
|
78
78
|
"@types/node": "^22.13.10",
|
|
79
79
|
"@types/proxyquire": "1.3.31",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"chai": "4.5.0",
|
|
82
82
|
"mocha": "11.7.5",
|
|
83
83
|
"proxyquire": "2.1.3",
|
|
84
|
-
"rimraf": "
|
|
84
|
+
"rimraf": "6.1.3",
|
|
85
85
|
"sinon": "21.0.1",
|
|
86
86
|
"ts-mocha": "11.1.0",
|
|
87
87
|
"ts-node": "10.9.2"
|