LayerZero-Labs / devtools

LayerZero Developer Utilities
https://docs.layerzero.network/
97 stars 157 forks source link

🗞️ Solana: Add OmniCounter Example [1/N] #872

Open St0rmBr3w opened 2 months ago

St0rmBr3w commented 2 months ago

In this PR

Added: A Solana OmniCounter example.

Current Issues:

socket-security[bot] commented 2 months ago

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

Package New capabilities Transitives Size Publisher
npm/@babel/core@7.25.2 environment, filesystem, unsafe Transitive: network, shell +40 11.3 MB nicolo-ribaudo
npm/@changesets/cli@2.27.7 environment, filesystem, shell Transitive: eval, unsafe +103 15.1 MB changesets-release-bot
npm/@layerzerolabs/devtools-cli@0.0.5 None 0 2.56 MB layerzero-bot
npm/@layerzerolabs/devtools-solana@0.1.7 environment Transitive: eval +68 3.23 MB layerzero-bot
npm/@layerzerolabs/eslint-config-next@2.3.40 Transitive: environment, filesystem, network, shell, unsafe +184 43.3 MB layerzero-bot
npm/@layerzerolabs/lz-definitions@2.3.40 None +1 703 kB layerzero-bot
npm/@layerzerolabs/lz-evm-messagelib-v2@2.3.40 Transitive: environment, eval, filesystem, network +194 23.8 MB layerzero-bot
npm/@layerzerolabs/lz-evm-oapp-v1@2.3.40 None +1 983 kB layerzero-bot
npm/@layerzerolabs/lz-evm-protocol-v2@2.3.40 Transitive: environment, eval, filesystem, network +144 5.04 MB layerzero-bot
npm/@layerzerolabs/lz-evm-v1-0.7@2.3.40 Transitive: environment, eval, filesystem, network +144 4.8 MB layerzero-bot
npm/@layerzerolabs/lz-solana-sdk-v2@2.3.40 Transitive: environment, eval, filesystem, shell +117 17.2 MB layerzero-bot
npm/@layerzerolabs/lz-v2-utilities@2.3.40 Transitive: network +39 2.55 MB layerzero-bot
npm/@layerzerolabs/oapp-evm@0.0.3 None 0 5.37 MB layerzero-bot
npm/@layerzerolabs/oapp-evm@0.0.4 Transitive: network +2 5.49 MB layerzero-bot
npm/@layerzerolabs/oft-evm@0.0.10 None 0 451 kB layerzero-bot
npm/@layerzerolabs/omnicounter-devtools-evm@3.0.1 None 0 12.8 kB layerzero-bot
npm/@layerzerolabs/omnicounter-devtools@1.0.2 None 0 6.79 kB layerzero-bot
npm/@layerzerolabs/onft-evm@0.0.7 None 0 400 kB layerzero-bot
npm/@layerzerolabs/prettier-config-next@2.3.40 Transitive: environment, filesystem +32 726 kB layerzero-bot
npm/@layerzerolabs/protocol-devtools-solana@1.0.6 Transitive: eval +68 3.34 MB layerzero-bot
npm/@layerzerolabs/solhint-config@2.3.40 None 0 7.01 kB layerzero-bot
npm/@layerzerolabs/test-devtools-evm-foundry@0.2.12 None +1 1.34 MB layerzero-bot
npm/@layerzerolabs/test-devtools-evm-hardhat@0.2.6 None 0 179 kB layerzero-bot
npm/@layerzerolabs/test-devtools-solana@0.0.3 None 0 27.8 kB layerzero-bot
npm/@layerzerolabs/test-devtools@0.2.9 None +2 1.15 MB layerzero-bot
npm/@layerzerolabs/toolbox-foundry@0.1.9 None 0 861 kB layerzero-bot
npm/@layerzerolabs/toolbox-hardhat@0.3.7 environment Transitive: eval, filesystem, network, shell, unsafe +594 404 MB layerzero-bot
npm/@layerzerolabs/tsup-config-next@2.3.40 Transitive: environment, eval, filesystem, network, shell, unsafe +9 6.74 MB layerzero-bot
npm/@layerzerolabs/typescript-config-next@2.3.40 None 0 6 kB layerzero-bot
npm/@layerzerolabs/ua-devtools-solana@1.0.5 Transitive: eval +68 3.25 MB layerzero-bot
npm/@nomicfoundation/hardhat-ethers@3.0.8 Transitive: environment, filesystem, network +62 38.8 MB kanej
npm/@openzeppelin/contracts-upgradeable@4.9.6 None 0 2.11 MB amxx
npm/@openzeppelin/contracts@4.9.6 None 0 2.02 MB frangio
npm/@solana/web3.js@1.95.3 network Transitive: environment, filesystem, shell +42 16.3 MB lorisleiva
npm/@swc/core@1.7.23 environment, filesystem, shell +14 443 MB kdy1
npm/@types/chai@4.3.19 None 0 82.2 kB types
npm/@types/mocha@10.0.7 None 0 95.9 kB types
npm/@types/react@17.0.80 None +3 1.43 MB types
npm/@types/which@3.0.4 None 0 6.97 kB types
npm/@typescript-eslint/eslint-plugin@7.18.0 Transitive: environment, filesystem +38 7.75 MB jameshenry
npm/@typescript-eslint/parser@7.18.0 Transitive: environment, filesystem +32 2.9 MB jameshenry
npm/eslint-plugin-import@2.30.0 environment, filesystem, unsafe Transitive: eval +92 5.83 MB ljharb
npm/eslint-plugin-jest-extended@2.0.3 filesystem Transitive: environment, network +184 9.31 MB mattphillips
npm/eslint-plugin-prettier@5.2.1 Transitive: environment +4 160 kB jounqin
npm/eslint-plugin-promise@6.6.0 None 0 72.5 kB eslint-community-bot
npm/eslint-plugin-react-hooks@4.6.2 environment 0 118 kB react-bot
npm/eslint-plugin-react@7.35.1 filesystem Transitive: environment, eval +323 17.7 MB ljharb
npm/eslint-plugin-turbo@1.13.4 environment, eval, filesystem, shell +1 490 kB turbobot
npm/fast-check@3.22.0 None 0 1.3 MB ndubien
npm/hardhat@2.22.10 environment, filesystem, network, shell Transitive: eval, unsafe +578 182 MB kanej
npm/lint-staged@15.2.10 Transitive: environment, filesystem, shell +50 2.04 MB okonet
npm/mocha@10.7.3 environment, eval, filesystem Transitive: network +138 6.53 MB voxpelli
npm/prettier-plugin-solidity@1.4.1 Transitive: unsafe +1 7.2 MB janther
npm/prettier@3.3.3 environment, filesystem, unsafe 0 7.7 MB prettier-bot
npm/rimraf@5.0.10 environment, filesystem Transitive: shell +22 1.83 MB isaacs
npm/sinon@17.0.2 Transitive: environment, eval +8 7.19 MB fatso83
npm/solhint@4.5.4 filesystem Transitive: environment, eval, network, shell, unsafe +187 41.5 MB diego.bale.arg
npm/tiged@2.12.7 environment, filesystem, network, shell +31 913 kB nake89
npm/ts-mocha@10.0.0 environment Transitive: filesystem, unsafe +9 1.13 MB piotrwitek
npm/tsup@8.0.2 environment, eval, filesystem Transitive: shell, unsafe +938 300 MB egoist
npm/tsup@8.2.4 eval, filesystem Transitive: environment, network, shell, unsafe +121 249 MB egoist
npm/zx@8.1.5 environment, filesystem, network, shell, unsafe +4 3.18 MB google-wombot

🚮 Removed packages: npm/@babel/core@7.23.9), npm/@changesets/cli@2.27.1), npm/@layerzerolabs/eslint-config-next@2.3.39), npm/@layerzerolabs/lz-definitions@2.3.39), npm/@layerzerolabs/lz-evm-messagelib-v2@2.3.39), npm/@layerzerolabs/lz-evm-oapp-v1@2.3.39), npm/@layerzerolabs/lz-evm-protocol-v2@2.3.39), npm/@layerzerolabs/lz-evm-sdk-v1@2.3.39), npm/@layerzerolabs/lz-evm-sdk-v2@2.3.39), npm/@layerzerolabs/lz-solana-sdk-v2@2.3.39), npm/@layerzerolabs/lz-v2-utilities@2.3.39), npm/@layerzerolabs/prettier-config-next@2.3.39), npm/@layerzerolabs/solhint-config@2.3.39), npm/@nomicfoundation/hardhat-ethers@3.0.5), npm/@openzeppelin/contracts-upgradeable@4.9.5), npm/@openzeppelin/contracts@4.9.5), npm/@rushstack/eslint-patch@1.7.0), npm/@solana/web3.js@1.95.2), npm/@swc/core@1.4.0), npm/@types/chai@4.3.11), npm/@types/mocha@10.0.6), npm/@types/react@17.0.75), npm/@types/which@3.0.3), npm/@typescript-eslint/eslint-plugin@7.7.1), npm/@typescript-eslint/parser@7.7.1), npm/chai@4.4.1), npm/dotenv@16.4.1), npm/eslint-plugin-import@2.29.1), npm/eslint-plugin-jest-extended@2.0.0), npm/eslint-plugin-prettier@5.1.3), npm/eslint-plugin-promise@6.1.1), npm/eslint-plugin-react-hooks@4.6.0), npm/eslint-plugin-react@7.33.2), npm/eslint-plugin-turbo@1.12.3), npm/fast-check@3.15.1), npm/fp-ts@2.16.2), npm/hardhat-deploy@0.12.1), npm/hardhat-deploy@0.12.2), npm/hardhat@2.22.3), npm/lint-staged@15.2.2), npm/logform@2.6.0), npm/mocha@10.2.0), npm/prettier-plugin-solidity@1.3.1), npm/prettier@3.2.5), npm/rimraf@5.0.9), npm/sinon@17.0.1), npm/solhint@4.1.1), npm/tiged@2.12.6), npm/tslib@2.6.2), npm/tsup@8.0.1), npm/winston@3.11.0), npm/zod@3.22.4)

View full report↗︎

socket-security[bot] commented 2 months ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Protestware/Troll package npm/es5-ext@0.10.64
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
⚠︎

View full report↗︎

Next steps

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package may come along with functionality unrelated to its primary purpose.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/es5-ext@0.10.64
janjakubnanista commented 1 day ago

@St0rmBr3w do you still want this merged? Could you update and resolve conflicts?