Skip to content

devDeps: typescript@~5.3.3->~5.6.3 - #381

Merged
legobeat merged 2 commits into
MetaMask:mainfrom
legobeat:devdeps-typescript
Oct 18, 2024
Merged

devDeps: typescript@~5.3.3->~5.6.3#381
legobeat merged 2 commits into
MetaMask:mainfrom
legobeat:devdeps-typescript

Conversation

@legobeat

@legobeatlegobeat commented Oct 18, 2024

Copy link
Copy Markdown
Contributor
  • devDeps: typescript@~5.3.3->~5.6.3
  • fix: validate param jsonRpcStreamName

Fix reference to missing src/readable-stream.d.ts.

https://github.com/MetaMask/snaps/actions/runs/11377787197/job/31652511752?pr=2817#step:5:9
MetaMask/snaps#2817

@socket-security

socket-securityBot commented Oct 18, 2024

Copy link
Copy Markdown

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

PackageNew capabilitiesTransitivesSizePublisher
npm/typescript@5.6.3None022.4 MBtypescript-bot

🚮 Removed packages:npm/typescript@5.3.3

View full report↗︎

@legobeat
legobeat marked this pull request as ready for review October 18, 2024 06:02
@legobeat
legobeat requested a review from a teamOctober 18, 2024 06:02
@legobeat
legobeat requested a review from a teamOctober 18, 2024 06:05
@legobeat
legobeat merged commit f935414 into MetaMask:mainOct 18, 2024
Gudahtt added a commit that referenced this pull request Nov 27, 2024
The `MetaMaskInpageProvider` type was mistakenly typed to require the
`jsonRpcStreamName` as a constructor parameter, despite the author
clearly intending this to be optional. This type error was fixed.
This type error motivated a different bug, which is that validation for
`jsonRpcStreamName` was added to `initializeInapgeProvider` in #381,
constituting an undocumented breaking change (currently blocking us
from updating this package in `metamask-extension`). This validation
has been removed now that it's no longer needed.
Fixes#389
Gudahtt added a commit that referenced this pull request Nov 27, 2024
* fix: Allow optional `jsonRpcStreamName` for inpage provider
The `MetaMaskInpageProvider` type was mistakenly typed to require the
`jsonRpcStreamName` as a constructor parameter, despite the author
clearly intending this to be optional. This type error was fixed.
This type error motivated a different bug, which is that validation for
`jsonRpcStreamName` was added to `initializeInapgeProvider` in #381,
constituting an undocumented breaking change (currently blocking us
from updating this package in `metamask-extension`). This validation
has been removed now that it's no longer needed.
Fixes#389
* Update test coverage
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@legobeat@mikesposito