[Snyk] Fix for 4 vulnerabilities #211
Annotations
6 errors and 6 warnings
middleware/contextualizers/webhooks.js#L14
TypeError: Cannot read property 'miscVersionName' of undefined
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/webhooks.js:14:69)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:346:12)
at next (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:280:10)
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/rest.js:16:52)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
|
middleware/contextualizers/webhooks.js#L14
TypeError: Cannot read property 'miscVersionName' of undefined
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/webhooks.js:14:69)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:346:12)
at next (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:280:10)
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/rest.js:16:52)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
|
internal/process/task_queues.js#L95
Error: Custom message:
/en/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps did not redirect to /en/enterprise/2.18/user/developers/apps/scopes-for-oauth-apps
expect(received).toBe(expected) // Object.is equality
Expected: 301
Received: 404
at /home/runner/work/docs/docs/tests/routing/developer-site-redirects.js:106:79
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
|
middleware/contextualizers/webhooks.js#L14
TypeError: Cannot read property 'miscVersionName' of undefined
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/webhooks.js:14:69)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:346:12)
at next (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:280:10)
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/rest.js:16:52)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
|
internal/process/task_queues.js#L95
Error: Caught error after test environment was torn down
Custom message:
/en/enterprise/2.18/v3/activity/event_types did not redirect to /en/enterprise/2.18/user/developers/webhooks-and-events/github-event-types
expect(received).toBe(expected) // Object.is equality
Expected: 301
Received: 404
at /home/runner/work/docs/docs/tests/routing/developer-site-redirects.js:122:79
at processTicksAndRejections (internal/process/task_queues.js:95:5)
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
This job failed
Loading