wingbot 3.67.11 → 3.67.12
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.
|
@@ -15,7 +15,7 @@ jobs:
|
|
|
15
15
|
|
|
16
16
|
strategy:
|
|
17
17
|
matrix:
|
|
18
|
-
node-version: [
|
|
18
|
+
node-version: [16.x]
|
|
19
19
|
|
|
20
20
|
steps:
|
|
21
21
|
|
|
@@ -33,7 +33,7 @@ jobs:
|
|
|
33
33
|
|
|
34
34
|
- name: Test
|
|
35
35
|
run: npm run test
|
|
36
|
-
|
|
36
|
+
|
|
37
37
|
- name: Rewrite gatsby confing inside smoothdoc
|
|
38
38
|
run: cp documentation/smooth-doc-gatsby-config.js documentation/node_modules/smooth-doc/gatsby-config.js
|
|
39
39
|
|
|
@@ -42,7 +42,7 @@ jobs:
|
|
|
42
42
|
|
|
43
43
|
- name: Build documentation website with gatsby
|
|
44
44
|
run: cd documentation && npm run build
|
|
45
|
-
|
|
45
|
+
|
|
46
46
|
- name: Deploy documentation to github pages
|
|
47
47
|
uses: JamesIves/github-pages-deploy-action@v4
|
|
48
48
|
with:
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const PHONE_REGEX = /((00|\+)[\s-]?[0-9]{1,4}[\s-]?)?([0-9]{3,4}[\s-]?([0-9]{2,3}[\s-]?[0-9]{2}[\s-]?[0-9]{2,3}|[0-9]{3,4}[\s-]?[0-9]{3,4}))(?=(\s|$|[,!.?\-:]))/;
|
|
7
|
-
const EMAIL_REGEX = /(?<=(\s
|
|
7
|
+
const EMAIL_REGEX = /(?<=(\s|^|:|,|;|-|\+))[a-zA-Z0-9!#$%&'*+\-=?^_`{|}~"][^@:\s]*@[^.@\s]+\.[^@\s,:+;+-]+/;
|
|
8
8
|
|
|
9
9
|
module.exports = {
|
|
10
10
|
PHONE_REGEX,
|