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

Update version of 'glob' dependency and remove '@types/glob' to resolve imports conflict #2858

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

mjeffryes
Copy link
Member

Pulum 1.108.0 and above introduced introduced a nodejs dependency on the arborist packaged witch imports a recent version of the "minimatch" package that exports TS types. We were importing an older version version of glob that does not provider TS types and using "@types/glob" for TS types which imports old types for minimatch.

Updating our dependency on glob to one that exports TS types (and thus does not need the stale @types/glob), resolves the issue.

Fixes #2857

@rquitales rquitales added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Mar 1, 2024
Copy link

github-actions bot commented Mar 1, 2024

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link

codecov bot commented Mar 1, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 25.46%. Comparing base (6579e48) to head (5f58564).

Files Patch % Lines
provider/pkg/gen/schema.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2858   +/-   ##
=======================================
  Coverage   25.46%   25.46%           
=======================================
  Files          48       48           
  Lines        7533     7532    -1     
=======================================
  Hits         1918     1918           
+ Misses       5457     5456    -1     
  Partials      158      158           

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

@mjeffryes mjeffryes enabled auto-merge (squash) March 1, 2024 23:55
@mjeffryes mjeffryes merged commit 652829a into master Mar 2, 2024
19 of 20 checks passed
@mjeffryes mjeffryes deleted the try-removing-types-glob branch March 2, 2024 00:20
@mjeffryes mjeffryes self-assigned this Mar 2, 2024
@boringuy
Copy link

boringuy commented Mar 4, 2024

I am hitting this exact same bug since last Friday, any chance to cut a release for this soon?

lumiere-bot bot added a commit to coolguy1771/home-ops that referenced this pull request Mar 7, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@pulumi/kubernetes](https://pulumi.com)
([source](https://togithub.com/pulumi/pulumi-kubernetes)) | dependencies
| minor | [`4.8.1` ->
`4.9.0`](https://renovatebot.com/diffs/npm/@pulumi%2fkubernetes/4.8.1/4.9.0)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>pulumi/pulumi-kubernetes (@&#8203;pulumi/kubernetes)</summary>

###
[`v4.9.0`](https://togithub.com/pulumi/pulumi-kubernetes/blob/HEAD/CHANGELOG.md#490-March-4-2024)

[Compare
Source](https://togithub.com/pulumi/pulumi-kubernetes/compare/v4.8.1...v4.9.0)

- Fix SSA ignoreChanges by enhancing field manager path comparisons
([pulumi/pulumi-kubernetes#2828)
- Update nodejs SDK dependencies
([pulumi/pulumi-kubernetes#2858,
[pulumi/pulumi-kubernetes#2861)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjcuMSIsInVwZGF0ZWRJblZlciI6IjM3LjIyNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workflow failure: build
3 participants