Skip to content

fix: globalThis with CSP compatibility #238

fix: globalThis with CSP compatibility

fix: globalThis with CSP compatibility #238

Re-run triggered July 26, 2023 20:32
Status Failure
Total duration 3m 13s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 5 warnings
test (16): packages/istanbul-lib-instrument/test/util/verifier.js#L29
Replace `return·typeof·globalThis·===·'object'·?·globalThis·:` with `··return·typeof·globalThis·===·'object'⏎········?·globalThis`
test (16): packages/istanbul-lib-instrument/test/util/verifier.js#L29
'globalThis' is not defined
test (16): packages/istanbul-lib-instrument/test/util/verifier.js#L30
Replace `·typeof·window·===·'object'·?·window·:` with `·····:·typeof·window·===·'object'⏎········?·window`
test (16): packages/istanbul-lib-instrument/test/util/verifier.js#L31
Replace `·typeof·self·===·'object'·?·self·:⏎·······` with `···:·typeof·self·===·'object'⏎········?·self⏎········:`
test (16)
Process completed with exit code 1.
test (10): packages/istanbul-lib-instrument/test/util/verifier.js#L29
Replace `return·typeof·globalThis·===·'object'·?·globalThis·:` with `··return·typeof·globalThis·===·'object'⏎········?·globalThis`
test (10): packages/istanbul-lib-instrument/test/util/verifier.js#L29
'globalThis' is not defined
test (10): packages/istanbul-lib-instrument/test/util/verifier.js#L30
Replace `·typeof·window·===·'object'·?·window·:` with `·····:·typeof·window·===·'object'⏎········?·window`
test (10): packages/istanbul-lib-instrument/test/util/verifier.js#L31
Replace `·typeof·self·===·'object'·?·self·:⏎·······` with `···:·typeof·self·===·'object'⏎········?·self⏎········:`
test (10)
The operation was canceled.
test (12): packages/istanbul-lib-instrument/test/util/verifier.js#L29
Replace `return·typeof·globalThis·===·'object'·?·globalThis·:` with `··return·typeof·globalThis·===·'object'⏎········?·globalThis`
test (12): packages/istanbul-lib-instrument/test/util/verifier.js#L29
'globalThis' is not defined
test (12): packages/istanbul-lib-instrument/test/util/verifier.js#L30
Replace `·typeof·window·===·'object'·?·window·:` with `·····:·typeof·window·===·'object'⏎········?·window`
test (12): packages/istanbul-lib-instrument/test/util/verifier.js#L31
Replace `·typeof·self·===·'object'·?·self·:⏎·······` with `···:·typeof·self·===·'object'⏎········?·self⏎········:`
test (12)
The operation was canceled.
test (14): packages/istanbul-lib-instrument/test/util/verifier.js#L29
Replace `return·typeof·globalThis·===·'object'·?·globalThis·:` with `··return·typeof·globalThis·===·'object'⏎········?·globalThis`
test (14): packages/istanbul-lib-instrument/test/util/verifier.js#L29
'globalThis' is not defined
test (14): packages/istanbul-lib-instrument/test/util/verifier.js#L30
Replace `·typeof·window·===·'object'·?·window·:` with `·····:·typeof·window·===·'object'⏎········?·window`
test (14): packages/istanbul-lib-instrument/test/util/verifier.js#L31
Replace `·typeof·self·===·'object'·?·self·:⏎·······` with `···:·typeof·self·===·'object'⏎········?·self⏎········:`
test (14)
The operation was canceled.
windows: packages/istanbul-lib-instrument/test/util/verifier.js#L29
Replace `return·typeof·globalThis·===·'object'·?·globalThis·:` with `··return·typeof·globalThis·===·'object'⏎········?·globalThis`
windows: packages/istanbul-lib-instrument/test/util/verifier.js#L29
'globalThis' is not defined
windows: packages/istanbul-lib-instrument/test/util/verifier.js#L30
Replace `·typeof·window·===·'object'·?·window·:` with `·····:·typeof·window·===·'object'⏎········?·window`
windows: packages/istanbul-lib-instrument/test/util/verifier.js#L31
Replace `·typeof·self·===·'object'·?·self·:⏎·······` with `···:·typeof·self·===·'object'⏎········?·self⏎········:`
windows
Process completed with exit code 1.
test (16)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (10)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (12)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (14)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
windows
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/