Skip to content

Remove axios from the notAllowed list, as it is used by multiple services.#99

Merged
jpolavar merged 2 commits intomainfrom
remove-axios-not-allowed
Apr 6, 2026
Merged

Remove axios from the notAllowed list, as it is used by multiple services.#99
jpolavar merged 2 commits intomainfrom
remove-axios-not-allowed

Conversation

@jpolavar
Copy link
Copy Markdown
Contributor

@jpolavar jpolavar commented Apr 2, 2026

Closes #98

@jpolavar jpolavar requested a review from adcreare April 2, 2026 20:58
@jpolavar jpolavar self-assigned this Apr 2, 2026
@jpolavar jpolavar added the PATCH label Apr 2, 2026
Copilot AI review requested due to automatic review settings April 2, 2026 20:58
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the check-imports action configuration to stop blocking axios, aligning the “not allowed” package list with current usage across services (Issue #98).

Changes:

  • Remove axios from the notAllowed package list.
  • Update the corresponding unit test to no longer expect axios to be blocked.
  • Bump package version to 4.0.2 and update package-lock.json.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
src/check-imports/packages-not-allowed.ts Removes the axios block entry from the not-allowed list.
src/check-imports/packages-not-allowed.spec.ts Removes the test asserting axios is fully blocked.
package.json Bumps package version to 4.0.2.
package-lock.json Updates lockfile version fields and dependency metadata; removes some package entries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

Coverage after merging remove-axios-not-allowed into main will be

95.93%▾ -0.10%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src/check-imports
   package-lock-file-util.spec.ts100%100%100%100%
   package-lock-file-util.ts100%100%100%100%
   packages-not-allowed.spec.ts83.33%100%66.67%83.33%13–15
   packages-not-allowed.ts100%100%100%100%
src/check-label
   check-label-compare-match-semver.spec.ts100%100%100%100%
   check-label.spec.ts100%100%100%100%
   check-label.ts95.08%90%100%95.96%68–70, 78–80
src/check-pr-reviews
   check-pr-reviews.spec.ts100%100%100%100%
   check-pr-reviews.ts50.65%40%100%50.70%22–37, 41–59, 68–70
src/coverage-reporter
   html.spec.ts100%100%100%100%
   html.ts100%100%100%100%
   lcov.spec.ts100%100%100%100%
   lcov.ts93.56%90.91%80%94.29%121–131, 138
   tabulate.spec.ts100%100%100%100%
   tabulate.ts99.61%98.04%100%100%179
   util.spec.ts100%100%100%100%
   util.ts100%100%100%100%
src/github-api
   index-context.spec.ts100%100%100%100%
   index-publish-comment.spec.ts100%100%100%100%
   index-reviews.spec.ts100%100%100%100%
   index.spec.ts100%100%100%100%
   index.ts82.58%69.35%100%84.48%57, 66, 73–77, 94–99, 104–107, 122–124, 142–145, 175–180, 200–209, 229–232, 237–240, 258–261, 266–269, 280–283, 294–296, 304–306, 308–311, 333–335
src/prepare-beta
   package.spec.ts100%100%100%100%
   package.ts94.12%75%100%95.56%23–25
src/publish-beta
   files.spec.ts100%100%100%100%
   files.ts94.03%92.31%100%94%36–39
   package.spec.ts100%100%100%100%
   package.ts95.38%85.71%100%96.36%23–25
   publish.spec.ts100%100%100%100%
   publish.ts85.37%100%50%86.11%32–36
   validate-name-and-resource-length.spec.ts100%100%100%100%
   validate-name-and-resource-length.ts89.13%100%71.43%88.07%35–40, 103–109
src/validate-npm-package
   validate-npm-package.spec.ts91.45%72.22%100%94.25%21–22, 35–36, 50–51, 65–66, 81–82
   validate-npm-package.ts95.80%85.71%100%96.77%56, 111–115

@jpolavar jpolavar requested review from lukebrdn and removed request for adcreare April 6, 2026 15:16
@jpolavar jpolavar merged commit 9611f53 into main Apr 6, 2026
6 checks passed
@jpolavar jpolavar deleted the remove-axios-not-allowed branch April 6, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove axios from the notAllowed list, as it is used by multiple services.

3 participants