Skip to content

chore(deps): bump#1343

Merged
kanadgupta merged 3 commits intonextfrom
kanad-2025-09-08/bump-deps
Sep 8, 2025
Merged

chore(deps): bump#1343
kanadgupta merged 3 commits intonextfrom
kanad-2025-09-08/bump-deps

Conversation

@kanadgupta
Copy link
Contributor

🧰 Changes

before:

Package               Current   Wanted   Latest  Location                           Depended by
@biomejs/biome          2.1.4    2.2.3    2.2.3  node_modules/@biomejs/biome        rdme
@oclif/core             4.5.2    4.5.3    4.5.3  node_modules/@oclif/core           rdme
@readme/oas-examples    6.1.4    6.1.4    7.0.0  node_modules/@readme/oas-examples  rdme
@readme/standards       1.4.0    1.7.0    2.1.1  node_modules/@readme/standards     rdme
@types/semver           7.7.0    7.7.1    7.7.1  node_modules/@types/semver         rdme
@types/validator      13.15.2  13.15.3  13.15.3  node_modules/@types/validator      rdme
chalk                   5.4.1    5.6.2    5.6.2  node_modules/chalk                 rdme
knip                   5.62.0   5.63.1   5.63.1  node_modules/knip                  rdme
nock                   14.0.8  14.0.10  14.0.10  node_modules/nock                  rdme
oas                    28.0.0   28.1.0   28.1.0  node_modules/oas                   rdme
oas-normalize          15.0.0   15.0.1   15.0.1  node_modules/oas-normalize         rdme
oclif                  4.22.5  4.22.18  4.22.18  node_modules/oclif                 rdme
rollup                 4.46.2   4.50.1   4.50.1  node_modules/rollup                rdme
tsx                    4.20.3   4.20.5   4.20.5  node_modules/tsx                   rdme
undici                 5.29.0   5.29.0   7.15.0  node_modules/undici                rdme

after:

Package  Current  Wanted  Latest  Location             Depended by
undici    5.29.0  5.29.0  7.15.0  node_modules/undici  rdme

also resolves an issue from chalk/chalk#656

@kanadgupta kanadgupta added the dependencies Pull requests that update a dependency file label Sep 8, 2025
@kanadgupta kanadgupta changed the title Kanad 2025 09 08/bump deps chore(deps): bump Sep 8, 2025
project?: string;
} {
const apiKey = (() => {
switch (true) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

these switch(true) statements were pretty clunky and unreadable and biome didn't like 'em so i opted to simplify them.

const val = opts[flag];
// obfuscate the key in a GitHub secret
if (flag === 'key') return `--key=$\{{ secrets.${GITHUB_SECRET_NAME} }}`;
if (flag === 'key') return `--key=\${{ secrets.${GITHUB_SECRET_NAME} }}`;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

biome was flagging this as an unnecessary escape character but i don't think that's true, but this harmless little tweak silenced the error 🤷🏽

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm actually surprised the former works, but I verified that both do

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah i think the updated escape sequencing is technically a bit better

let unsortedFiles = await findPages.call(this, pathInput);

let transformedByHooks = false;
let transformedByHooks: boolean = false;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

for some reason TS thinks this was false without this type instantiation, which caused biome to flag an if-statement further down below. not sure who to blame here (TS or biome), but this fixed it 🤷🏽

Image

async function main() {
const { execute } = await import('@oclif/core');
await execute({ development: true, dir: import.meta.url }).then(msg => {
// biome-ignore lint/nursery/noUnnecessaryConditions: this is a false positive, biome is clowning for this
Copy link
Contributor Author

Choose a reason for hiding this comment

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

there are a handful of false positives with this lint/nursery/noUnnecessaryConditions rule that started cropping up. i decided to individually ignore them since i imagine biome will fix these quirks over time and we can remove these ignore statements once that happens.

Copy link
Member

Choose a reason for hiding this comment

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

I ended up turning this rule off in our shared config because it's so buggy but I haven't shipped a release of that yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cool, i'll leave these as is for now until we do that

@kanadgupta kanadgupta added the needs-backport-to-v9 PRs that need to backported to the 9.x channel label Sep 8, 2025
@kanadgupta kanadgupta marked this pull request as ready for review September 8, 2025 16:51
@kanadgupta kanadgupta merged commit e5a8574 into next Sep 8, 2025
9 of 10 checks passed
@kanadgupta kanadgupta deleted the kanad-2025-09-08/bump-deps branch September 8, 2025 16:55
@kanadgupta
Copy link
Contributor Author

🎉 This PR is included in version 10.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file needs-backport-to-v9 PRs that need to backported to the 9.x channel released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants