[Snyk] Security upgrade express from 4.0.0 to 4.21.2 #7
Annotations
7 errors and 1 warning
Unit tests:
lib/modules/manager/npm/update/locked-dependency/index.spec.ts#L144
TypeError: Cannot read properties of undefined (reading 'package.json')
at Object.<anonymous> (lib/modules/manager/npm/update/locked-dependency/index.spec.ts:144:24)
|
Unit tests:
lib/modules/manager/npm/update/locked-dependency/index.spec.ts#L155
TypeError: Cannot read properties of undefined (reading 'package.json')
at Object.<anonymous> (lib/modules/manager/npm/update/locked-dependency/index.spec.ts:155:24)
|
Unit tests:
lib/modules/manager/npm/update/locked-dependency/index.spec.ts#L225
TypeError: Cannot read properties of undefined (reading 'package-lock.json')
at Object.<anonymous> (lib/modules/manager/npm/update/locked-dependency/index.spec.ts:225:48)
|
Unit tests:
lib/modules/manager/npm/update/locked-dependency/index.spec.ts#L204
*** Unused HTTP mocks ***
- GET https://registry.npmjs.org/serve-static
Requests done:
- GET https://registry.npmjs.org/mime [200]
- GET https://registry.npmjs.org/send [200]
- GET https://registry.npmjs.org/type-is [200]
---
Renovate testing strategy requires that every HTTP request
has a corresponding mock.
This error occurs because some of the created mocks are unused.
In most cases, you simply need to remove them.
at <test> (lib/modules/manager/npm/update/locked-dependency/index.spec.ts:204:9)
|
Unit tests:
lib/modules/manager/npm/update/locked-dependency/package-lock/dep-constraints.spec.ts#L38
expect(received).toEqual(expected) // deep equality
- Expected - 6
+ Received + 1
- Array [
- Object {
- "constraint": "4.0.0",
- "depType": "dependencies",
- },
- ]
+ Array []
at Object.<anonymous> (lib/modules/manager/npm/update/locked-dependency/package-lock/dep-constraints.spec.ts:38:9)
|
Unit tests:
lib/modules/manager/npm/update/locked-dependency/package-lock/dep-constraints.spec.ts#L65
expect(received).toEqual(expected) // deep equality
- Expected - 6
+ Received + 1
- Array [
- Object {
- "constraint": "4.0.0",
- "depType": "devDependencies",
- },
- ]
+ Array []
at Object.<anonymous> (lib/modules/manager/npm/update/locked-dependency/package-lock/dep-constraints.spec.ts:65:9)
|
Unit tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading