Commit 47ee2bb
chore(deps): bump glob to 13.0.6 (#307)
### Description
Bumps the direct `glob` dependency from `10.5.0` to `13.0.6` in the
three packages that declare it:
| Package | Before | After |
| -------------------------- | -------- | -------- |
| `@cdktn/hcl2cdk` | `10.5.0` | `13.0.6` |
| `@cdktn/provider-generator`| `10.5.0` | `13.0.6` |
| `cdktn-cli` | `10.5.0` | `13.0.6` |
**Why:** `glob@10.5.0` is deprecated on npm. Installing it prints:
> Old versions of glob are not supported, and contain widely publicized
security vulnerabilities, which have been fixed in the current version.
Please update.
The whole v9–v12 range carries this same deprecation notice; only v13
(the current major) is supported. Moving to `13.0.6` clears the warning
and puts us on the maintained line.
**No code changes required.** Every call site uses the synchronous,
string-returning form — `glob.sync(pattern, { cwd })` → `string[]` —
which is unchanged from v10 through v13.
**Node compatibility:** glob 13 requires `node: 18 || 20 || >=22`. The
repo targets Node 22 (`.nvmrc` → `22.22.3`), so this is satisfied.
### Checklist
- [ ] I have updated the PR title to match [CDKTN's style
guide](https://github.com/open-constructs/cdk-terrain/blob/main/CONTRIBUTING.md#pull-requests-1)
- [ ] I have run the linter on my code locally
- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the
[documentation](https://github.com/open-constructs/cdk-terrain-docs/tree/main/content)
if applicable
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works if applicable
- [ ] New and existing unit tests pass locally with my changes
Co-authored-by: Simon Heather <simon.heather@yulife.com>1 parent a960c5c commit 47ee2bb
4 files changed
Lines changed: 29 additions & 35 deletions
File tree
- packages
- @cdktn
- hcl2cdk
- provider-generator
- cdktn-cli
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments