@scaleway/regex 5.7.0 → 5.8.0
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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @scaleway/regex@5.
|
|
2
|
+
> @scaleway/regex@5.8.0 prebuild /home/runner/work/scaleway-lib/scaleway-lib/packages/regex
|
|
3
3
|
> shx rm -rf dist
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @scaleway/regex@5.
|
|
6
|
+
> @scaleway/regex@5.8.0 build /home/runner/work/scaleway-lib/scaleway-lib/packages/regex
|
|
7
7
|
> vite build --config vite.config.ts && pnpm run type:generate
|
|
8
8
|
|
|
9
9
|
[36mvite v7.3.1 [32mbuilding client environment for production...[36m[39m
|
|
@@ -11,10 +11,10 @@ transforming...
|
|
|
11
11
|
[32m✓[39m 1 modules transformed.
|
|
12
12
|
rendering chunks...
|
|
13
13
|
computing gzip size...
|
|
14
|
-
[2mdist/[22m[36mindex.js [39m[1m[2m5.
|
|
15
|
-
[2mdist/[22m[36mindex.js [39m[1m[2m5.
|
|
16
|
-
[32m✓ built in
|
|
14
|
+
[2mdist/[22m[36mindex.js [39m[1m[2m5.22 kB[22m[1m[22m[2m │ gzip: 1.59 kB[22m
|
|
15
|
+
[2mdist/[22m[36mindex.js [39m[1m[2m5.22 kB[22m[1m[22m[2m │ gzip: 1.59 kB[22m
|
|
16
|
+
[32m✓ built in 257ms[39m
|
|
17
17
|
|
|
18
|
-
> @scaleway/regex@5.
|
|
18
|
+
> @scaleway/regex@5.8.0 type:generate /home/runner/work/scaleway-lib/scaleway-lib/packages/regex
|
|
19
19
|
> tsc --declaration -p tsconfig.build.json
|
|
20
20
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 5.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#2975](https://github.com/scaleway/scaleway-lib/pull/2975) [`7f38853`](https://github.com/scaleway/scaleway-lib/commit/7f38853ffee6111a70e679452245dfe5369e2480) Thanks [@johnnydoubt](https://github.com/johnnydoubt)! - feat: add alphanumDashSegment regex for serverlessdb and datawarehouse resource names
|
|
8
|
+
|
|
3
9
|
## 5.7.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const alphanumDashDots: RegExp;
|
|
|
8
8
|
export declare const alphanumDashDotsOrEmpty: RegExp;
|
|
9
9
|
export declare const alphanumDashDotsSpaces: RegExp;
|
|
10
10
|
export declare const alphanumDashLowercase: RegExp;
|
|
11
|
+
export declare const alphanumDashSegment: RegExp;
|
|
11
12
|
export declare const alphanumDashSpaces: RegExp;
|
|
12
13
|
export declare const alphaUpperUnderscore: RegExp;
|
|
13
14
|
export declare const alphanumDashOrEmpty: RegExp;
|
package/dist/index.js
CHANGED
|
@@ -8,6 +8,7 @@ const alphanumDashDots = /^[a-zA-Z0-9-.]*$/;
|
|
|
8
8
|
const alphanumDashDotsOrEmpty = /^$|^[a-zA-Z0-9-.]*$/;
|
|
9
9
|
const alphanumDashDotsSpaces = /^[a-zA-Z0-9-.\s]*$/;
|
|
10
10
|
const alphanumDashLowercase = /^[a-z0-9-]+$/;
|
|
11
|
+
const alphanumDashSegment = /^[A-Za-z](?:[A-Za-z0-9-]*[A-Za-z0-9])?$/;
|
|
11
12
|
const alphanumDashSpaces = /^[a-zA-Z0-9-\s]*$/;
|
|
12
13
|
const alphaUpperUnderscore = /^[A-Z_]+$/;
|
|
13
14
|
const alphanumDashOrEmpty = /^$|^[a-zA-Z0-9-]*$/;
|
|
@@ -86,6 +87,7 @@ export {
|
|
|
86
87
|
alphanumDashDotsSpaces,
|
|
87
88
|
alphanumDashLowercase,
|
|
88
89
|
alphanumDashOrEmpty,
|
|
90
|
+
alphanumDashSegment,
|
|
89
91
|
alphanumDashSpaces,
|
|
90
92
|
alphanumDashUnderscore,
|
|
91
93
|
alphanumDashUnderscoreDollar,
|