@jsenv/lighthouse-impact 4.1.3 → 4.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/lighthouse-impact",
3
- "version": "4.1.3",
3
+ "version": "4.1.5",
4
4
  "description": "Package description",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -37,9 +37,9 @@
37
37
  "dependencies": {
38
38
  "@jsenv/abort": "4.3.0",
39
39
  "@jsenv/dynamic-import-worker": "1.2.1",
40
- "@jsenv/filesystem": "4.6.6",
41
- "@jsenv/github-pull-request-impact": "1.7.5",
40
+ "@jsenv/filesystem": "4.10.2",
41
+ "@jsenv/github-pull-request-impact": "1.7.7",
42
42
  "@jsenv/log": "3.5.2",
43
- "lighthouse": "12.1.0"
43
+ "lighthouse": "12.2.0"
44
44
  }
45
45
  }
@@ -126,12 +126,8 @@ const createGistBody = (
126
126
  };
127
127
  };
128
128
 
129
- const beforeMergeGistIdRegex = new RegExp(
130
- "<!-- before_merge_gist_id=([a-zA-Z0-9_]+) -->",
131
- );
132
- const afterMergeGistIdRegex = new RegExp(
133
- "<!-- after_merge_gist_id=([a-zA-Z0-9_]+) -->",
134
- );
129
+ const beforeMergeGistIdRegex = /<!-- before_merge_gist_id=([a-zA-Z0-9_]+) -->/;
130
+ const afterMergeGistIdRegex = /<!-- after_merge_gist_id=([a-zA-Z0-9_]+) -->/;
135
131
 
136
132
  const gistIdsFromComment = (comment) => {
137
133
  const beforeMergeGistIdMatch = comment.body.match(beforeMergeGistIdRegex);