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

refactor: upgrade dependencies #1818

Merged
merged 1 commit into from
Dec 11, 2024
Merged

refactor: upgrade dependencies #1818

merged 1 commit into from
Dec 11, 2024

Conversation

matyasf
Copy link
Collaborator

@matyasf matyasf commented Dec 9, 2024

Just smaller dependency updates and related minor fixes

@matyasf matyasf self-assigned this Dec 9, 2024
* Reads a package.json
* @param options {readPkgUp.NormalizeOptions}
* @returns {readPkgUp.NormalizedPackageJson}
*/
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

new version of TS complains about not able to infer types if this comment is not here

// eslint-disable-next-line no-console
console.log('Icon font generated:', result)
.then((_result) => {
//console.log('Icon font generated:', result)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is generating the 'icon created' spam on the beginning of npm run boorstrap I've turned this off since its generating like 5000 line of logs

Copy link

github-actions bot commented Dec 9, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://instructure.github.io/instructure-ui/pr-preview/pr-1818/
on branch gh-pages at 2024-12-11 13:50 UTC

Comment on lines +37 to 42
for (let x = 0; x < 500; x++) {
const id = uid('', 17)
results.add(id)
}
expect(results.size).toBe(5000)
expect(results.size).toBe(500)
})
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The original test was failing quite often simply because of probability, now generating 2 similar IDs and the test failing should happen much much less often

Closes: INSTUI-4218

The test was failing because it relied on a random probability which was happening too often
@matyasf matyasf merged commit c6cae87 into master Dec 11, 2024
8 checks passed
@matyasf matyasf deleted the upgrade_deps branch December 11, 2024 13:45
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.

3 participants