@appsemble/utils 0.36.5-test.5 → 0.36.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.5-test.5/config/assets/logo.svg) Appsemble Utilities
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.36.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.5-test.5/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.36.5-test.5)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.36.5/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.36.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.5-test.5/LICENSE.md) ©
29
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.36.5/LICENSE.md) ©
30
30
  [Appsemble](https://appsemble.com)
@@ -27,6 +27,11 @@ This uses the same form as scoped npm packages. For example, \`@appsemble/form\`
27
27
  type: 'string',
28
28
  description: 'The long description of the block.',
29
29
  },
30
+ repositoryUrl: {
31
+ type: 'string',
32
+ format: 'uri',
33
+ description: 'A URL to the source code repository of the block.',
34
+ },
30
35
  icon: {
31
36
  type: 'string',
32
37
  format: 'binary',
@@ -29,7 +29,7 @@ export const pathItems = {
29
29
  },
30
30
  },
31
31
  },
32
- security: [{ webhook: [] }],
32
+ security: [{ webhook: [] }, { app: ['email', 'profile'] }, {}],
33
33
  },
34
34
  };
35
35
  //# sourceMappingURL=webhookName.js.map
@@ -13,7 +13,8 @@ export const semver = new RegExp(`^${partialSemver.source}$`);
13
13
  /**
14
14
  * A pattern for extracting a normalized string.
15
15
  */
16
- export const partialNormalized = /([\da-z](?:(?!.*--)[\da-z-]*[\da-z])?)/;
16
+ // eslint-disable-next-line unicorn/better-regex
17
+ export const partialNormalized = /([0-9a-z](?:(?!.*--)[-0-9a-z]*[0-9a-z])?)/;
17
18
  /**
18
19
  * A pattern for exactly matching a lower case hyphen separated string.
19
20
  */
@@ -26,7 +27,8 @@ export const domainPattern = new RegExp(`^(${partialNormalized.source}+\\.)+[a-z
26
27
  /**
27
28
  * A pattern to match a Google Analytics ID or an empty string.
28
29
  */
29
- export const googleAnalyticsIDPattern = /^(|UA-\d{4,10}-\d{1,4}|G-[\dA-Z]{4,})$/;
30
+ // eslint-disable-next-line unicorn/better-regex
31
+ export const googleAnalyticsIDPattern = /^(|UA-[0-9]{4,10}-[0-9]{1,4}|G-[0-9A-Z]{4,})$/;
30
32
  /**
31
33
  * A pattern which matches a UUID 4.
32
34
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/utils",
3
- "version": "0.36.5-test.5",
3
+ "version": "0.36.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.5-test.5",
43
- "@appsemble/types": "0.36.5-test.5",
42
+ "@appsemble/lang-sdk": "0.36.5",
43
+ "@appsemble/types": "0.36.5",
44
44
  "@fortawesome/fontawesome-common-types": "^6.0.0",
45
45
  "axios": "^1.0.0",
46
46
  "langmap": "^0.0.16",