Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

fix dependencies with vulnerabilities #285

Merged
merged 1 commit into from
Oct 19, 2020
Merged

Conversation

pedronaveszup
Copy link
Contributor

- What I did
Fixed ts-jest dependency

- How I did it
Updated ts-jest lib version

- How to verify it
Run yarn audit to verify that ts-jest has vulnerability.

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ yargs-parser                                                 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=13.1.2 <14.0.0 || >=15.0.1 <16.0.0 || >=18.1.2             │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ ts-jest                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ ts-jest > yargs-parser                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/1500                        │
└───────────────┴──────────────────────────────────────────────────────────────┘

run this branch and check that vulnerability has been fixed
- Description for the changelog

@github-actions
Copy link
Contributor

Code coverage

Filename Statements Branches Functions Lines
src/logger/index.ts 79.17% 70% 90% 81.82%
src/beagle-view/navigator/index.ts 97.2% 93.65% 100% 100%
src/error/BeagleNavigationError.ts 100% 100% 100% 100%
src/error/BeagleError.ts 100% 100% 100% 100%
src/beagle-view/render/expression.ts 98.99% 97.33% 100% 100%
src/operation/index.ts 100% 100% 100% 100%
src/operation/array.ts 100% 100% 100% 100%
src/operation/logic.ts 100% 100% 100% 100%
src/operation/number.ts 100% 100% 100% 100%
src/operation/other.ts 100% 100% 100% 100%
src/operation/string.ts 100% 100% 100% 100%
src/utils/automaton.ts 100% 100% 100% 100%
src/error/BeagleNotFoundError.ts 100% 100% 100% 100%
src/error/BeagleParseError.ts 100% 100% 100% 100%
src/beagle-view/render/context.ts 100% 100% 100% 100%
src/action/set-context.ts 100% 85.71% 100% 100%
src/beagle-tree/index.ts 100% 100% 100% 100%
src/beagle-tree/iteration.ts 97.14% 91.67% 87.5% 100%
src/beagle-tree/manipulation.ts 90.91% 71.43% 100% 100%
src/beagle-tree/reading.ts 97.62% 95.83% 100% 100%
src/action/index.ts 100% 100% 100% 100%
src/action/add-children.ts 100% 90.91% 100% 100%
src/action/send-request.ts 100% 92.31% 100% 100%
src/error/BeagleNetworkError.ts 100% 100% 100% 100%
src/action/alert.ts 100% 100% 100% 100%
src/action/confirm.ts 100% 100% 100% 100%
src/action/submit-form.ts 25% 0% 0% 25%
src/action/condition.ts 100% 100% 100% 100%
src/action/navigation/index.ts 100% 66.67% 100% 100%
src/utils/url.ts 100% 100% 100% 100%
src/utils/string.ts 100% 100% 100% 100%
src/utils/object.ts 100% 66.67% 100% 100%
src/beagle-view/render/action.ts 100% 100% 100% 100%
src/service/beagle-service/index.ts 100% 100% 100% 100%
src/beagle-view/index.ts 90.32% 69.23% 89.29% 91.67%
src/beagle-view/render/index.ts 95.59% 86.67% 100% 96.77%
src/beagle-view/render/component.ts 100% 100% 100% 100%
src/beagle-view/render/navigation.ts 97.06% 96% 100% 100%
src/beagle-view/render/styling.ts 94.66% 90.36% 100% 99.14%
src/beagle-view/render/type-checker.ts 100% 100% 100% 100%
src/service/beagle-service/configuration.ts 100% 100% 100% 100%
src/metadata/parser.ts 94.44% 87.5% 100% 100%
src/legacy/middlewares.ts 100% 100% 100% 100%
src/service/beagle-service/services.ts 100% 100% 100% 100%
src/service/network/remote-cache/index.ts 100% 100% 100% 100%
src/service/network/default-headers/index.ts 100% 100% 100% 100%
src/service/network/url-builder/index.ts 100% 100% 100% 100%
src/service/network/view-client/index.ts 97.92% 94.37% 100% 97.73%
src/error/BeagleCacheError.ts 100% 100% 100% 100%
src/error/BeagleExpiredCacheError.ts 100% 100% 100% 100%
src/service/global-context/index.ts 100% 91.67% 100% 100%
src/service/view-content-manager/index.ts 100% 100% 100% 100%
src/metadata/decorator.ts 100% 100% 100% 100%
src/legacy/beagle-context.ts 100% 100% 100% 100%
src/index.ts 100% 100% 100% 100%

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants