Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow disabling remote extend with giget: false #181

Merged
merged 6 commits into from
Sep 3, 2024

Conversation

web-dev-sam
Copy link
Contributor

resolves #180

When loading in user configs we don't always want to import remote non-trusted code in code-based config files (.js, .ts, ...). This PR adds the option to disable remote extending while still supporting extensions of local config files.

@web-dev-sam
Copy link
Contributor Author

@pi0 Hey, I don't want to annoy you if you're busy. I would be really happy if you could give a quick feedback on this and if or how it could be merged. There is also another PR open for a while, just a quick comment would let us know that it has been seen and if it has a chance of being merged. This is a really valuable package and thank you for maintaining it with many other packages 🫡.

@pi0 pi0 changed the title Adding options to skip/ignore remote config when extending feat: allow disabling remote extend with giget Aug 14, 2024
Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

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

Thanks!

@pi0 pi0 changed the title feat: allow disabling remote extend with giget feat: allow disabling remote extend with giget: false Sep 3, 2024
@pi0 pi0 merged commit 771fcce into unjs:main Sep 3, 2024
3 checks passed
Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.75%. Comparing base (42d9697) to head (820dbf9).
Report is 66 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #181      +/-   ##
==========================================
- Coverage   76.92%   71.75%   -5.17%     
==========================================
  Files           7        8       +1     
  Lines         806      616     -190     
  Branches       80      105      +25     
==========================================
- Hits          620      442     -178     
+ Misses        184      172      -12     
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

Allow disabling extending from remote sources with giget.
2 participants