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

Bump the npm_and_yarn group across 1 directory with 2 updates #7

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 18, 2024

Bumps the npm_and_yarn group with 2 updates in the / directory: ws and viem.

Updates ws from 8.17.0 to 8.17.1

Release notes

Sourced from ws's releases.

8.17.1

Bug fixes

  • Fixed a DoS vulnerability (#2231).

A request with a number of headers exceeding the[server.maxHeadersCount][] threshold could be used to crash a ws server.

const http = require('http');
const WebSocket = require('ws');
const wss = new WebSocket.Server({ port: 0 }, function () {
const chars = "!#$%&'*+-.0123456789abcdefghijklmnopqrstuvwxyz^_`|~".split('');
const headers = {};
let count = 0;
for (let i = 0; i < chars.length; i++) {
if (count === 2000) break;
for (let j = 0; j &lt; chars.length; j++) {
  const key = chars[i] + chars[j];
  headers[key] = 'x';
if (++count === 2000) break;
}

}
headers.Connection = 'Upgrade';
headers.Upgrade = 'websocket';
headers['Sec-WebSocket-Key'] = 'dGhlIHNhbXBsZSBub25jZQ==';
headers['Sec-WebSocket-Version'] = '13';
const request = http.request({
headers: headers,
host: '127.0.0.1',
port: wss.address().port
});
request.end();
});

The vulnerability was reported by Ryan LaPointe in websockets/ws#2230.

In vulnerable versions of ws, the issue can be mitigated in the following ways:

  1. Reduce the maximum allowed length of the request headers using the [--max-http-header-size=size][] and/or the [maxHeaderSize][] options so that no more headers than the server.maxHeadersCount limit can be sent.

... (truncated)

Commits
  • 3c56601 [dist] 8.17.1
  • e55e510 [security] Fix crash when the Upgrade header cannot be read (#2231)
  • 6a00029 [test] Increase code coverage
  • ddfe4a8 [perf] Reduce the amount of crypto.randomFillSync() calls
  • See full diff in compare view

Updates viem from 2.13.1 to 2.15.1

Release notes

Sourced from viem's releases.

viem@2.15.1

Patch Changes

viem@2.15.0

Minor Changes

Patch Changes

viem@2.14.2

Patch Changes

viem@2.14.1

Patch Changes

viem@2.14.0

Minor Changes

viem@2.13.10

Patch Changes

viem@2.13.9

Patch Changes

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the npm_and_yarn group with 2 updates in the / directory: [ws](https://github.com/websockets/ws) and [viem](https://github.com/wevm/viem).


Updates `ws` from 8.17.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.17.0...8.17.1)

Updates `viem` from 2.13.1 to 2.15.1
- [Release notes](https://github.com/wevm/viem/releases)
- [Commits](https://github.com/wevm/viem/compare/viem@2.13.1...viem@2.15.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: viem
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 18, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 9, 2024

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/npm_and_yarn-2b31c51dc1 branch July 9, 2024 19:11
jurajpiar pushed a commit that referenced this pull request Oct 24, 2024
* DAO-545 Added alert component to use whenever we're creating a proposal. (#85)

* DAO-545 Added alert component to use whenever we're creating a proposal.

* Linted

* change buttons behavior

* Changed default asset to RIF. Fixed Alert dismiss on the close icon.

* Removed @todo

---------

Co-authored-by: Rodrigo Santana Gonçalves <rodrigo.santana@iovlabs.org>

* Update package.json

* DAO-555 Added voting power at snapshot. (#87)

* change insufficient voting power message (#90)

* DAO-559: Invalid USD conversion for RIF and stRIF (#89)

* do not show usd price when is not possible to get it

* format currency

* format usd decimals

* format small numbers

* handle scientific notation

* DAO-547: Fix invalid proposals (#91)

* validate decimal places while user inputs the amount

* minimum amount of 1 rif

* fix NaN validation

* calculate amount usd conversion

* format treaury fiat amount

* fix build

* fix InputNumber props error

* Added a new linting step to grab linting issues before merging. (#92)

* PROPOSALS_OPTIMIZATION - Will now load proposals from cache in-memory (server) (#93)

* PROPOSALS_OPTIMIZATION - Fixed caching (#94)

* DAO-560 Added Footer in MainContainer.tsx (#96)

* DAO-608 Add proposal to queue (#98)

* DAO-588 Updated footer Brand to RootstockCollective (#97)

* DAO-611: Update contract addresses (#99)

* update addresses

* change to RBTC

* rename some contracts constants

* fix e2e

* DAO-590 Changed confirm button by Continue on Step Allowance (#100)

* DAO-557: The number of decimals displayed should be the same across the dApp (#95)

* treasury page

* proposal page

* user page

* rename some input components

* move form textarea and label

* use input number on stake modal

* format proposal votes

* fix build

* fix proposal form validation

* DAO-555 We will now check the balance at snapshot to make sure that t… (#102)

* DAO-555 We will now check the balance at snapshot to make sure that the user can vote.

* Typofix

* Removed followers button from communities (#103)

* Will not go to new page when clicking community (#104)

* Actions will show proper values. (#105)

* Modified proposal create to use RIF (#106)

* Added missing validation for casting vote (#107)

* We will now have the Execute button. (#108)

* DAO-597: Implement loading spinner (#101)

* add loading spinner component

* add loading to protected content

* add loading button

* add alert message for canceling transaction

* loading request allowance

* add loading to confirm staking button

* add loading to unstaking button

* pending claiming nft

* fix build

* DAO-557: Fix number of decimals displayed (#109)

* adjust decimals

* put loading spinner to vote and queue buttons

* handle user cancel queuing proposal

* fix voting power (#110)

* feat: useCommunity hook for querying NFT view functions

* fix: remove unused import

* Bump the npm_and_yarn group across 1 directory with 3 updates (#83)

Bumps the npm_and_yarn group with 2 updates in the / directory: [ws](https://github.com/websockets/ws) and [wagmi](https://github.com/wevm/wagmi/tree/HEAD/packages/react).


Updates `ws` from 6.2.3 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@6.2.3...8.17.1)

Updates `wagmi` from 2.10.10 to 2.12.1
- [Release notes](https://github.com/wevm/wagmi/releases)
- [Changelog](https://github.com/wevm/wagmi/blob/main/packages/react/CHANGELOG.md)
- [Commits](https://github.com/wevm/wagmi/commits/wagmi@2.12.1/packages/react)

Updates `fast-xml-parser` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](NaturalIntelligence/fast-xml-parser@v4.4.0...v4.4.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: wagmi
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: fast-xml-parser
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the npm_and_yarn group across 1 directory with 2 updates (#113)

Bumps the npm_and_yarn group with 2 updates in the / directory: [axios](https://github.com/axios/axios) and [elliptic](https://github.com/indutny/elliptic).


Updates `axios` from 1.7.2 to 1.7.4
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.7.2...v1.7.4)

Updates `elliptic` from 6.5.5 to 6.5.7
- [Commits](indutny/elliptic@v6.5.5...v6.5.7)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: elliptic
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: NFT address in .env

* Dao 627 (#114)

* DAO-627 Added new method to transfer erc20 tokens from new treasury

* If tokenAddress is the zero address, then use the normal transfer method.

* Added an enhancement that shows how many blocks are left until a proposal is closed. (#115)

* DAO-638 Removed container class and added margin-right to main container. (#118)

* DAO-585 Added MetricsSection.tsx in the treasury page. Fixed proposals error. (#117)

* fix: will show Execute button only when the proposal is queued. (#119)

fix: will show vote on chain only when the proposal is active.
fix: will show put on queue when the proposal is successful.
fix: removed Publish button on the second step.
fix: proposals will be truncated 20 characters.
fix: removed duplicated/not needed css

* DAO-621: Implement Alert Messages (#116)

* create alert context provider

* add pending message for staking

* show message for changing staking status

* clear message on route change

* create TxStatusMessage component

* check for unstaking tx

* fix toFixed isNaN

* fix build

* match design alert

* remove unused files

* add alert messages for queuing

* fix build

* handle queue errors

* DAO-637: fix alerts (#122)

* DAO-633: Fix User page (#121)

* disable stake and unstake button if don't have enough balance

* user page changes

* add font sora as default

* adjust community header size

* DAO-627 fix: will change validation when the token selected is RBTC (… (#123)

* DAO-627 fix: will change validation when the token selected is RBTC (zero address)

* fix: updated validation message.
feat: added RBTC icon.

* fix: moved rbtc to a separated file.

* fix: will disable button when put on queue is loading (#124)

* CopyButton component (#125)

* feat: copy button component

* fix(CopyButton): fix min width

* refactor(CopyButton): simplify the component

* refactor(CopyButton): use children instead of label

* refactor(CopyButton): rename vars

* fix: updated margin right to be 16px for the main container (#126)

* DAO-632: fix Wallet not connected (#120)

* modal changes

* add icon

* change to normal paragraph

* DAO-634 fix: added icons that match the design. (#127)

fix: added startIconClasses to button so that we can modify the classes of the container that has the icons.
fix: added margin top of 4rem per design requirements between buttons and useful links.

* fix treasury amount (#128)

* DAO-614 fix: fixed overflow.
feat: added NFT details.
fix: added new endpoint to fetch nftinfo
fix: hidden website links for now

* New proposal should be listed at the top (#131)

* chore: change Early Adopters community description and layout (#132)

* fix: added RBTC minimum amount (#133)

* fix: fixed sidemenu size - the padding was reducing the size. (#134)

* Upgrade next and fix warning for images (#137)

* build: update package-lock

* fix: check if user is already connected - if true then redirect him t… (#135)

* fix: check if user is already connected - if true then redirect him to /user else do nothing

* fix: modified to Redirecting

* Fix Invalid message when rejecting a voting operation (#138)

* DAO-636: fix modals (#129)

* font-family

* skip allowance step if has enough amount allowed

* fix max steps checking

* adjust custom staking footer

* prevent calling onGoNext twice

* make cancel and requet allowance buttons in the same row

* wait for pendind allowance request

* adjust paddings

* show message when allowance fails

* fix allowance tx status checking

* adjust last staking step

* unset dismissed when change txHash

* fix build

* let the user know he has enough allowance to stake

* fix: will check every 5s if the user has enough threshold to vote. Will also check if the user has voted (#140)

* fix: added Staked to STRIF (#141)

* style: fix lint

* chore: update regtest env config

* build: update .env.testnet.local

* fix: set RIF wallet services with absolute path and change rewrites to use pathname

* fix: remove url import

* fix: invalid URL when linting and running e2e tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Francis Rodriguez <39339295+Freshenext@users.noreply.github.com>
Co-authored-by: Rodrigo Santana Gonçalves <rodrigo.santana@iovlabs.org>
Co-authored-by: Jesse Clark <hello@developerjesse.com>
Co-authored-by: Alex <shenshin@me.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Francis Rodriguez <francisngg@gmail.com>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant