@scaleway/regex 5.2.0 → 5.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`be2d1a8`](https://github.com/scaleway/scaleway-lib/commit/be2d1a82fc21f3c04fddfcf2217c8ccc5e2e492e) Thanks [@Lawndlwd](https://github.com/Lawndlwd)! - Add new regex underscore uppercase
8
+
3
9
  ## 5.2.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export declare const alphanumDashDotsOrEmpty: RegExp;
9
9
  export declare const alphanumDashDotsSpaces: RegExp;
10
10
  export declare const alphanumDashLowercase: RegExp;
11
11
  export declare const alphanumDashSpaces: RegExp;
12
+ export declare const alphaUpperUnderscore: RegExp;
12
13
  export declare const alphanumDashOrEmpty: RegExp;
13
14
  export declare const alphanumDashUnderscoreDots: RegExp;
14
15
  export declare const alphanumDashUnderscore: RegExp;
package/dist/index.js CHANGED
@@ -9,6 +9,7 @@ const alphanumDashDotsOrEmpty = /^$|^[a-zA-Z0-9-.]*$/;
9
9
  const alphanumDashDotsSpaces = /^[a-zA-Z0-9-.\s]*$/;
10
10
  const alphanumDashLowercase = /^[a-z0-9-]+$/;
11
11
  const alphanumDashSpaces = /^[a-zA-Z0-9-\s]*$/;
12
+ const alphaUpperUnderscore = /^[A-Z_]+$/;
12
13
  const alphanumDashOrEmpty = /^$|^[a-zA-Z0-9-]*$/;
13
14
  const alphanumDashUnderscoreDots = /^[a-zA-Z0-9-._]*$/;
14
15
  const alphanumDashUnderscore = /^[a-zA-Z0-9-_]*$/;
@@ -71,6 +72,7 @@ export {
71
72
  alpha,
72
73
  alphaDashes,
73
74
  alphaLowercase,
75
+ alphaUpperUnderscore,
74
76
  alphanum,
75
77
  alphanumDash,
76
78
  alphanumDashDots,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/regex",
3
- "version": "5.2.0",
3
+ "version": "5.2.1",
4
4
  "description": "A small utility to use regex",
5
5
  "type": "module",
6
6
  "engines": {