Skip to content

feat: add x-origin property #188

feat: add x-origin property

feat: add x-origin property #188

Triggered via pull request February 19, 2024 10:42
Status Failure
Total duration 50s
Artifacts

if-nodejs-pr-testing.yml

on: pull_request
Matrix: test-nodejs-pr
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 9 warnings
Test NodeJS PR - ubuntu-latest: src/util.ts#L76
'addXOrigins' was used before it was defined
Test NodeJS PR - ubuntu-latest: src/util.ts#L125
'inlineAsyncapiDocumentURI' is never reassigned. Use 'const' instead
Test NodeJS PR - ubuntu-latest: src/util.ts#L126
'inlineAsyncapiDocumentPath' is never reassigned. Use 'const' instead
Test NodeJS PR - ubuntu-latest: src/util.ts#L127
'inlineAsyncapiDocumentPointer' is never reassigned. Use 'const' instead
Test NodeJS PR - ubuntu-latest: src/util.ts#L134
Expected indentation of 14 spaces but found 16
Test NodeJS PR - ubuntu-latest: src/util.ts#L135
Expected indentation of 12 spaces but found 14
Test NodeJS PR - ubuntu-latest: src/v3/parser.ts#L3
'merge' is defined but never used
Test NodeJS PR - ubuntu-latest: src/v3/parser.ts#L26
'crawlChannelPropertiesForRefs' is defined but never used
Test NodeJS PR - ubuntu-latest: src/v3/parser.ts#L37
'resolveExternalRefs' is defined but never used
Test NodeJS PR - ubuntu-latest: src/v3/parser.ts#L63
'resolveExternalRefsForOperation' is defined but never used
Test NodeJS PR - macos-latest
The operation was canceled.
Test NodeJS PR - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test NodeJS PR - ubuntu-latest: src/util.ts#L110
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed
Test NodeJS PR - ubuntu-latest: src/util.ts#L134
Found fs.readFileSync with non literal argument at index 0
Test NodeJS PR - ubuntu-latest: src/util.ts#L138
Generic Object Injection Sink
Test NodeJS PR - ubuntu-latest: src/v3/parser.ts#L3
'merge' is defined but never used
Test NodeJS PR - ubuntu-latest: src/v3/parser.ts#L26
'crawlChannelPropertiesForRefs' is defined but never used
Test NodeJS PR - ubuntu-latest: src/v3/parser.ts#L37
'resolveExternalRefs' is defined but never used
Test NodeJS PR - ubuntu-latest: src/v3/parser.ts#L63
'resolveExternalRefsForOperation' is defined but never used
Test NodeJS PR - macos-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.