[Snyk] Upgrade: , axios, gauge, web3 #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade multiple dependencies.
👯 The following dependencies are linked and will therefore be updated together.ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
@polkadot/api
from 10.11.2 to 10.13.1 | 8 versions ahead of your current version | 5 months ago
on 2024-04-16
axios
from 1.6.5 to 1.7.5 | 12 versions ahead of your current version | 23 days ago
on 2024-08-23
gauge
from 5.0.1 to 5.0.2 | 1 version ahead of your current version | 4 months ago
on 2024-05-04
web3
from 4.3.0 to 4.12.1 | 170 versions ahead of your current version | 23 days ago
on 2024-08-23
Issues fixed by the recommended upgrade:
SNYK-JS-AXIOS-7361793
SNYK-JS-WEB3UTILS-6229337
SNYK-JS-WS-7266574
SNYK-JS-FOLLOWREDIRECTS-6444610
Release notes
Package name: @polkadot/api
-
10.13.1 - 2024-04-16
- Update CI actions and setup_node to v4
- Update substrate metadata to latest
- Support ParachainHost runtime api v6, 7, 8, 9, 10
- Resolve correct module for council derive
- Update westend types-known for 1010000
- Update kusama types-known for 1001003
-
10.12.6 - 2024-04-03
- chore: fix typos in error (Thanks to https://github.com/xiaoxianBoy)
- Upgrade westend types-known for 1009000
- Add
- V14 Update substrate latest metadata
- V15 Update substrate latest metadata
- Bump yarn to 4.1.1
- Add
- Add Updated Runtime Defintions
- ValidateStatement
- MMRApi
- mmr_root
- mmr_leaf_count
- Core v5
- GenesisBuilder
- MixnetApi
-
10.12.5 - 2024-04-02
- chore: fix typos in error (Thanks to https://github.com/xiaoxianBoy)
- Upgrade westend types-known for 1009000
- Add
- V14 Update substrate latest metadata
- V15 Update substrate latest metadata
- Bump yarn to 4.1.1
- Add
- Add Updated Runtime Defintions
- ValidateStatement
- MMRApi
- mmr_root
- mmr_leaf_count
- Core v5
- GenesisBuilder
- MixnetApi
-
10.12.4 - 2024-03-19
- Fix add muln(2) to signingInfo Derive (Thanks to https://github.com/pepoviola)
-
10.12.3 - 2024-03-18
- Bump @ substrate/connect to 0.8.8 (Thanks to https://github.com/kratico)
- Fix optional chaining operator in toHuman (Thanks to https://github.com/Imod7)
- Fix check if minimumPeriod is zero (Thanks to https://github.com/pepoviola)
- Fix api.derive.staking.eraExposure for compatibility
- Fix invalid Lookup assignment on augmentation and update polkadot and kusama metadata
- Update polkadot runtime upgrade per block
- Update kusama runtime upgrade per block
- Update westend runtime upgrade per block
-
10.12.2 - 2024-03-11
- fix cache key (rpc-provider) (Thanks to https://github.com/ermalkaleci)
- Update to latest Substrate metadata
-
10.12.1 - 2024-03-04
- Ink! V5 Support (Thanks to https://github.com/peetzweg)
-
10.11.3 - 2024-02-27
- Fix sorting of
- Fix BEEFY compact signed commitment in versioned finality proofs (Thanks to https://github.com/mfornos)
- Update @ substrate/connect (Thanks to https://github.com/kratico)
- Bump dev w/ packageDetect adjustments
- Update copyright year
- Bump nock, and dev deps
- Allow
- Bump yarn
-
10.11.2 - 2023-12-18
- Add
- Adjust types for
- Support
- Update to latest Substrate metadata
from @polkadot/api GitHub release notesChanges:
NOTE: Because of a broken CI build for 10.12.5 -> 10.12.6 is a replacement
Contributed:
Changes:
disableAsciioption for toHuman, and toPrimitiveassetIdgetter field to to necessary ExtrinsicPayloadsContributed:
Changes:
disableAsciioption for toHuman, and toPrimitiveassetIdgetter field to to necessary ExtrinsicPayloadsContributed:
Contributed:
Changes:
Contributed:
Changes:
Contributed:
Contributed:
Optionvalues and error on duplicates from BTreeSet/BTreeMap (Thanks to https://github.com/Neopallium)Changes:
cacheCapacityoption for theWsProviderContributed:
chainIsEthereumkey toRegistryinterface (Thanks to https://github.com/fgamundi)ChargeAssetTxPayment(Thanks to https://github.com/bee344)Changes:
[8a;32]types in known keysPackage name: axios
-
1.7.5 - 2024-08-23
- adapter: fix undefined reference to hasBrowserEnv (#6572) (7004707)
- core: add the missed implementation of AxiosError#status property; (#6573) (6700a8a)
- core: fix
- fetch: fix credentials handling in Cloudflare workers (#6533) (550d885)
Dmitriy Mozgovoy
Antonin Bas
Hans Otto Wirtz
-
1.7.4 - 2024-08-13
- sec: CVE-2024-39338 (#6539) (#6543) (6b6b605)
- sec: disregard protocol-relative URL to remediate SSRF (#6539) (07a661a)
Lev Pachmanov
Đỗ Trọng Hải
-
1.7.3 - 2024-08-01
- adapter: fix progress event emitting; (#6518) (e3c76fc)
- fetch: fix withCredentials request config (#6505) (85d4d0e)
- xhr: return original config on errors from XHR adapter (#6515) (8966ee7)
Dmitriy Mozgovoy
Valerii Sidorenko
prianYu
-
1.7.2 - 2024-05-21
- fetch: enhance fetch API detection; (#6413) (4f79aef)
Dmitriy Mozgovoy
-
1.7.1 - 2024-05-20
- fetch: fixed ReferenceError issue when TextEncoder is not available in the environment; (#6410) (733f15f)
Dmitriy Mozgovoy
-
1.7.0 - 2024-05-19
- adapter: add fetch adapter; (#6371) (a3ff99b)
- core/axios: handle un-writable error stack (#6362) (81e0455)
Dmitriy Mozgovoy
Jay
Alexandre ABRIOUX
-
1.7.0-beta.2 - 2024-05-19
- fetch: capitalize HTTP method names; (#6395) (ad3174a)
- fetch: fix & optimize progress capturing for cases when the request data has a nullish value or zero data length (#6400) (95a3e8e)
- fetch: fix headers getting from a stream response; (#6401) (870e0a7)
Dmitriy Mozgovoy
-
1.7.0-beta.1 - 2024-05-07
- core/axios: handle un-writable error stack (#6362) (81e0455)
- fetch: fix cases when ReadableStream or Response.body are not available; (#6377) (d1d359d)
- fetch: treat fetch-related TypeError as an AxiosError.ERR_NETWORK error; (#6380) (bb5f9a5)
Alexandre ABRIOUX
Dmitriy Mozgovoy
-
1.7.0-beta.0 - 2024-04-28
- adapter: add fetch adapter; (#6371) (a3ff99b)
Dmitriy Mozgovoy
Jay
-
1.6.8 - 2024-03-15
-
1.6.7 - 2024-01-25
-
1.6.6 - 2024-01-24
-
1.6.5 - 2024-01-05
from axios GitHub release notesRelease notes:
Bug Fixes
ReferenceError: navigator is not definedfor custom environments; (#6567) (fed1a4b)Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Features
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Install
Release notes:
Features
Contributors to this release
Install
Package name: gauge
-
5.0.2 - 2024-05-04
-
5.0.1 - 2023-04-26
from gauge GitHub release notes5.0.2 (2024-05-04)
Bug Fixes
d772b3b#239 linting: no-unused-vars (@ lukekarrys)Chores
c8aec3d#239 bump @ npmcli/template-oss to 4.22.0 (@ lukekarrys)54421e8#239 postinstall for dependabot template-oss PR (@ lukekarrys)ba82947#238 bump @ npmcli/template-oss from 4.21.3 to 4.21.4 (@ dependabot[bot])5.0.1 (2023-04-26)
Dependencies
88057a0#199 bump signal-exit from 3.0.7 to 4.0.1 (#199)Package name: web3
Hot fix
[4.12.1]
Fixed
web3-eth-accounts
TransactionFactory.registerTransactionTypeif there is a version mistatch betweenweb3-ethandweb3-eth-accountsand fix nextjs problem. (#7216)What's Changed
[4.12.0]
Fixed
web3-core
setConfig()fix forsetMaxListenerWarningThresholdfix (#5079)web3-eth-accounts
TransactionFactory.registerTransactionTypenot working, if there is a version mistatch betweenweb3-ethandweb3-eth-accountsby savingextraTxTypesatglobals. (#7197)Added
web3-eth-accounts
signMessageWithPrivateKey(#7174)web3-eth-contract
populateTransactionto thecontract.deploy(...)properties. (#7197)web3-providers-http
statusCodeof response in ResponseError,statusCodeis optional property in ResponseError.web3-rpc-providers
HttpProviderOptions | SocketOptionsinWeb3ExternalProviderandQuickNodeProviderfor provider configsweb3-errors
statusCodeproperty of response in ResponseError.Changed
web3-eth-contract
contract.deploy(...)are structured with a newly created class namedDeployerMethodClass. (#7197)abiparameter, atdataInputEncodeMethodHelperandgetSendTxParams. (#7197)What's Changed
New Contributors
[4.11.1]
Fixed
web3-errors
Eip838ExecutionErrorconstructor (#6905)web3-eth
getTransactionReceiptto not be casted asTransactionReceiptto give proper return type (#7159)web3
What's Changed
New Contributors
Full Changelog: v4.11.0...v4.11.1
[4.11.0]
Fixed
web3-eth-abi
web3-utils
_sendPendingRequestswill catch unhandled errors from_sendToSocket(#6968)web3-eth
Changed
web3-eth-accounts
web3-providers-ws
web3-rpc-providers
Promise<ResultType>toPromise<JsonRpcResponseWithResult<ResultType>>(#7102)Added
web3-eth-contract
populateTransactionwas added to contract methods (#7124)setTransactionMiddlewareandgetTransactionMiddlewarefor automatically passing tosentTransactionfordeployandsendfunctions (#7138)web3-rpc-providers
web3
web3.eth.Contractwill get transaction middleware and use it, ifweb3.ethhas transaction middleware. (#7138)[4.10.0]
Added
web3
web3-core
web3-eth
sendTransactioninrpc_method_wrappersaccepts optional param ofTransactionMiddleware(#7088)setTransactionMiddlewareandgetTransactionMiddlewarefor automatically passing tosentTransaction(#7088)web3-eth-ens
getTextnow supports first param AddressgetNamehas optional second param checkInterfaceSupportweb3-types
resultas optionalneveranderroras optionalnever in typeJsonRpcNotification` (#7091)JsonRpcNotficationas a union type inJsonRpcResponse(#7091)web3-rpc-providers
Fixed
web3-eth-ens
getNamereverse resolutionWhat's Changed