Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade tape-run from 6.0.1 to 11.0.0 #1199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.


Unchanged files with check annotations Beta

for (const { timeZone, expected } of cases) {
process.env.TZ = timeZone;
const date = new Date().toLocaleString('en-US', { timeZoneName: 'long' });
assert.match(date, expected);

Check failure on line 36 in test/parallel/test-datetime-change-notify.js

GitHub Actions / test-linux

--- stderr --- node:assert:1033 throw err; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Irish/. Input: '1/11/2024, 9:59:15 AM Greenwich Mean Time' at Object.<anonymous> (/home/runner/work/alisco-node/alisco-node/test/parallel/test-datetime-change-notify.js:36:10) at Module._compile (node:internal/modules/cjs/loader:1095:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:816:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) at node:internal/main/run_main_module:17:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: '1/11/2024, 9:59:15 AM Greenwich Mean Time', expected: /Irish/, operator: 'match' } Command: out/Release/node /home/runner/work/alisco-node/alisco-node/test/parallel/test-datetime-change-notify.js

Check failure on line 36 in test/parallel/test-datetime-change-notify.js

GitHub Actions / test-macOS

--- stderr --- node:assert:1033 throw err; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Irish/. Input: '1/11/2024, 10:16:28 AM Greenwich Mean Time' at Object.<anonymous> (/Users/runner/work/alisco-node/alisco-node/test/parallel/test-datetime-change-notify.js:36:10) at Module._compile (node:internal/modules/cjs/loader:1095:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:816:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) at node:internal/main/run_main_module:17:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: '1/11/2024, 10:16:28 AM Greenwich Mean Time', expected: /Irish/, operator: 'match' } Command: out/Release/node /Users/runner/work/alisco-node/alisco-node/test/parallel/test-datetime-change-notify.js
}
'use strict';

Check failure on line 1 in test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js

GitHub Actions / test-linux

--- stderr --- node:assert:171 throw err; ^ AssertionError [ERR_ASSERTION]: function should not have been called at /home/runner/work/alisco-node/alisco-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:1530:34) at TLSSocket.emit (node:events:394:28) at TLSSocket._finishInit (node:_tls_wrap:944:8) at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12) { code: 'CERT_HAS_EXPIRED' } at ClientRequest.mustNotCall (/home/runner/work/alisco-node/alisco-node/test/common/index.js:470:12) at ClientRequest.emit (node:events:394:28) at TLSSocket.socketErrorListener (node:_http_client:448:9) at TLSSocket.emit (node:events:394:28) at emitErrorNT (node:internal/streams/destroy:194:8) at emitErrorCloseNT (node:internal/streams/destroy:159:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Command: out/Release/node /home/runner/work/alisco-node/alisco-node/test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js

Check failure on line 1 in test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js

GitHub Actions / test-macOS

--- stderr --- node:assert:171 throw err; ^ AssertionError [ERR_ASSERTION]: function should not have been called at /Users/runner/work/alisco-node/alisco-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:1530:34) at TLSSocket.emit (node:events:394:28) at TLSSocket._finishInit (node:_tls_wrap:944:8) at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12) { code: 'CERT_HAS_EXPIRED' } at ClientRequest.mustNotCall (/Users/runner/work/alisco-node/alisco-node/test/common/index.js:470:12) at ClientRequest.emit (node:events:394:28) at TLSSocket.socketErrorListener (node:_http_client:448:9) at TLSSocket.emit (node:events:394:28) at emitErrorNT (node:internal/streams/destroy:194:8) at emitErrorCloseNT (node:internal/streams/destroy:159:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Command: out/Release/node /Users/runner/work/alisco-node/alisco-node/test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js
const common = require('../common');
const fixtures = require('../common/fixtures');
}
}
assert.throws(

Check failure on line 58 in test/parallel/test-module-loading-error.js

GitHub Actions / test-macOS

--- stderr --- node:assert:762 throw err; ^ AssertionError [ERR_ASSERTION]: The validation function is expected to return "true". Received false Caught error: Error: dlopen(/Users/runner/work/alisco-node/alisco-node/test/fixtures/module-loading-error.node, 0x0001): tried: '/Users/runner/work/alisco-node/alisco-node/test/fixtures/module-loading-error.node' (not a mach-o file) at Object.<anonymous> (/Users/runner/work/alisco-node/alisco-node/test/parallel/test-module-loading-error.js:58:8) at Module._compile (node:internal/modules/cjs/loader:1095:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:816:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) at node:internal/main/run_main_module:17:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: Error: dlopen(/Users/runner/work/alisco-node/alisco-node/test/fixtures/module-loading-error.node, 0x0001): tried: '/Users/runner/work/alisco-node/alisco-node/test/fixtures/module-loading-error.node' (not a mach-o file) at Object.Module._extensions..node (node:internal/modules/cjs/loader:1154:18) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:816:12) at Module.require (node:internal/modules/cjs/loader:999:19) at require (node:internal/modules/cjs/helpers:93:18) at /Users/runner/work/alisco-node/alisco-node/test/parallel/test-module-loading-error.js:59:11 at getActual (node:assert:769:5) at Function.throws (node:assert:915:24) at Object.<anonymous> (/Users/runner/work/alisco-node/alisco-node/test/parallel/test-module-loading-error.js:58:8) at Module._compile (node:internal/modules/cjs/loader:1095:14) { code: 'ERR_DLOPEN_FAILED' }, expected: [Function (anonymous)], operator: 'throws' } Command: out/Release/node /Users/runner/work/alisco-node/alisco-node/test/parallel/test-module-loading-error.js
() => { require('../fixtures/module-loading-error.node'); },
(e) => {
if (localeOk && !errorMessages.some((msg) => e.message.includes(msg)))