@appsemble/utils 0.36.2-test.6 → 0.36.3-test.5

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/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.36.2-test.6/config/assets/logo.svg) Appsemble Utilities
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.36.3-test.5/config/assets/logo.svg) Appsemble Utilities
2
2
 
3
3
  > Internal utility functions used across multiple Appsemble projects.
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@appsemble/utils)](https://www.npmjs.com/package/@appsemble/utils)
6
- [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.36.2-test.6/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.36.2-test.6)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.36.3-test.5/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.36.3-test.5)
7
7
  [![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
8
8
 
9
9
  ## Table of Contents
@@ -26,5 +26,5 @@ not guaranteed.
26
26
 
27
27
  ## License
28
28
 
29
- [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.36.2-test.6/LICENSE.md) ©
29
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.36.3-test.5/LICENSE.md) ©
30
30
  [Appsemble](https://appsemble.com)
@@ -39,3 +39,7 @@ export declare const jwtPattern: RegExp;
39
39
  * A pattern which matches an ISO 8601 datetime string.
40
40
  */
41
41
  export declare const ISODateTimePattern: RegExp;
42
+ /**
43
+ * A pattern which matches a standardized email format
44
+ */
45
+ export declare const emailPattern: RegExp;
@@ -39,4 +39,8 @@ export const jwtPattern = /^[\w-]+(?:\.[\w-]+){2}$/;
39
39
  * A pattern which matches an ISO 8601 datetime string.
40
40
  */
41
41
  export const ISODateTimePattern = /\d{4}(.\d{2}){2}(\s|T)(\d{2}.){2}\d{2}/;
42
+ /**
43
+ * A pattern which matches a standardized email format
44
+ */
45
+ export const emailPattern = /^[^@]+@[^@]+\.[^@]+$/;
42
46
  //# sourceMappingURL=patterns.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/utils",
3
- "version": "0.36.2-test.6",
3
+ "version": "0.36.3-test.5",
4
4
  "description": "Utility functions used in Appsemble internally",
5
5
  "keywords": [
6
6
  "app",
@@ -39,8 +39,8 @@
39
39
  "test": "vitest"
40
40
  },
41
41
  "dependencies": {
42
- "@appsemble/lang-sdk": "0.36.2-test.6",
43
- "@appsemble/types": "0.36.2-test.6",
42
+ "@appsemble/lang-sdk": "0.36.3-test.5",
43
+ "@appsemble/types": "0.36.3-test.5",
44
44
  "@fortawesome/fontawesome-common-types": "^6.0.0",
45
45
  "axios": "^1.0.0",
46
46
  "langmap": "^0.0.16",
@@ -55,6 +55,6 @@
55
55
  "vitest": "2.1.9"
56
56
  },
57
57
  "engines": {
58
- "node": ">=20"
58
+ "node": ">=24"
59
59
  }
60
60
  }