@appsemble/utils 0.36.2-test.6 → 0.36.3-test.6
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 +3 -3
- package/constants/patterns.d.ts +4 -0
- package/constants/patterns.js +4 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#  Appsemble Utilities
|
|
2
2
|
|
|
3
3
|
> Internal utility functions used across multiple Appsemble projects.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/utils)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.36.3-test.6)
|
|
7
7
|
[](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.
|
|
29
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.36.3-test.6/LICENSE.md) ©
|
|
30
30
|
[Appsemble](https://appsemble.com)
|
package/constants/patterns.d.ts
CHANGED
|
@@ -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;
|
package/constants/patterns.js
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "0.36.3-test.6",
|
|
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.
|
|
43
|
-
"@appsemble/types": "0.36.
|
|
42
|
+
"@appsemble/lang-sdk": "0.36.3-test.6",
|
|
43
|
+
"@appsemble/types": "0.36.3-test.6",
|
|
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": ">=
|
|
58
|
+
"node": ">=24"
|
|
59
59
|
}
|
|
60
60
|
}
|