[Snyk] Security upgrade eslint from 6.8.0 to 9.0.0 #1491
Annotations
3 errors and 2 warnings
Test:
test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js#L1
--- stderr ---
node:assert:170
throw err;
^
AssertionError [ERR_ASSERTION]: function should not have been called at /Users/runner/work/node/node/test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js:61
called with arguments: Error: certificate has expired
at TLSSocket.onConnectSecure (node:_tls_wrap:1531:34)
at TLSSocket.emit (node:events:527:28)
at TLSSocket._finishInit (node:_tls_wrap:945:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:726:12) {
code: 'CERT_HAS_EXPIRED'
}
at ClientRequest.mustNotCall (/Users/runner/work/node/node/test/common/index.js:489:12)
at ClientRequest.emit (node:events:527:28)
at TLSSocket.socketErrorListener (node:_http_client:442:9)
at TLSSocket.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:164:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: undefined,
operator: 'fail'
}
Node.js v18.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js
|
Test:
test/pummel/test-process-hrtime.js#L40
--- stderr ---
node:assert:399
throw err;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(diff[0] >= 1)
at Object.<anonymous> (/Users/runner/work/node/node/test/pummel/test-process-hrtime.js:40:1)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Node.js v18.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/test/pummel/test-process-hrtime.js
|
Test
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading