@jsenv/test 1.7.3 → 1.7.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/dist/jsenv_test.js
CHANGED
|
@@ -4861,7 +4861,7 @@ const githubAnnotationFromError = (
|
|
|
4861
4861
|
title: `Error while executing ${executionInfo.fileRelativeUrl} on ${executionInfo.runtimeName}@${executionInfo.runtimeVersion}`,
|
|
4862
4862
|
};
|
|
4863
4863
|
const exception = asException(error, { rootDirectoryUrl });
|
|
4864
|
-
if (typeof exception.site.line === "number") {
|
|
4864
|
+
if (exception.site && typeof exception.site.line === "number") {
|
|
4865
4865
|
annotation.path = urlToRelativeUrl(exception.site.url, rootDirectoryUrl);
|
|
4866
4866
|
annotation.start_line = exception.site.line;
|
|
4867
4867
|
annotation.end_line = exception.site.line;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/test",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@jsenv/abort": "4.2.4",
|
|
37
|
-
"@jsenv/ast": "5.
|
|
37
|
+
"@jsenv/ast": "5.2.0",
|
|
38
38
|
"@jsenv/filesystem": "4.3.2",
|
|
39
39
|
"@jsenv/log": "3.4.1",
|
|
40
|
-
"@jsenv/plugin-supervisor": "1.3.
|
|
40
|
+
"@jsenv/plugin-supervisor": "1.3.6",
|
|
41
41
|
"@jsenv/urls": "2.2.1",
|
|
42
42
|
"@jsenv/url-meta": "8.1.0",
|
|
43
43
|
"@jsenv/utils": "2.0.1",
|
|
44
|
-
"@jsenv/github-check-run": "0.1.
|
|
44
|
+
"@jsenv/github-check-run": "0.1.2",
|
|
45
45
|
"v8-to-istanbul": "9.1.3",
|
|
46
46
|
"istanbul-lib-coverage": "3.2.0",
|
|
47
47
|
"istanbul-lib-instrument": "6.0.1",
|
|
@@ -12,7 +12,7 @@ export const githubAnnotationFromError = (
|
|
|
12
12
|
title: `Error while executing ${executionInfo.fileRelativeUrl} on ${executionInfo.runtimeName}@${executionInfo.runtimeVersion}`,
|
|
13
13
|
};
|
|
14
14
|
const exception = asException(error, { rootDirectoryUrl });
|
|
15
|
-
if (typeof exception.site.line === "number") {
|
|
15
|
+
if (exception.site && typeof exception.site.line === "number") {
|
|
16
16
|
annotation.path = urlToRelativeUrl(exception.site.url, rootDirectoryUrl);
|
|
17
17
|
annotation.start_line = exception.site.line;
|
|
18
18
|
annotation.end_line = exception.site.line;
|