Skip to content

Deprecated dependencies#264

Merged
purplecabbage merged 9 commits intomasterfrom
_deprecated_dependencies
Jun 21, 2022
Merged

Deprecated dependencies#264
purplecabbage merged 9 commits intomasterfrom
_deprecated_dependencies

Conversation

@florind-ens
Copy link
Copy Markdown
Contributor

@florind-ens florind-ens commented Feb 9, 2022

Description

A few of the dependencies have been deprecated.
Replaced them && fixed unit test + eslint errors.

  • Deprecated:
    • require.requireActual: jest.requireActual
    • oclif/plugin-help can be found in @oclif/core
    • cli-ux deprecated, use @oclif/core instead.

Related Issue

Motivation and Context

To keep the repo up to date.
Currently, the master branch has:
35 moderate severity vulnerabilities
A list of deprecated dependencies.

How Has This Been Tested?

unit tests

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • [] My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 9, 2022

Codecov Report

Merging #264 (cf4cb8c) into master (869506a) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #264   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           65        65           
  Lines         1698      1730   +32     
  Branches       322       367   +45     
=========================================
+ Hits          1698      1730   +32     
Impacted Files Coverage Δ
src/RuntimeBaseCommand.js 100.00% <100.00%> (ø)
src/commands/runtime/action/create.js 100.00% <100.00%> (ø)
src/commands/runtime/action/delete.js 100.00% <100.00%> (ø)
src/commands/runtime/action/get.js 100.00% <100.00%> (ø)
src/commands/runtime/action/index.js 100.00% <100.00%> (ø)
src/commands/runtime/action/invoke.js 100.00% <100.00%> (ø)
src/commands/runtime/action/list.js 100.00% <100.00%> (ø)
src/commands/runtime/activation/get.js 100.00% <100.00%> (ø)
src/commands/runtime/activation/index.js 100.00% <100.00%> (ø)
src/commands/runtime/activation/list.js 100.00% <100.00%> (ø)
... and 66 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 869506a...cf4cb8c. Read the comment docs.

Copy link
Copy Markdown
Member

@shazron shazron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the code, lightly tested it, LGTM. The only thing to fix is the node-16 build

@florind-ens florind-ens requested a review from shazron February 10, 2022 09:35
@purplecabbage purplecabbage merged commit d239f87 into master Jun 21, 2022
@purplecabbage purplecabbage deleted the _deprecated_dependencies branch June 21, 2022 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants