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

[Snyk] Upgrade change-case from 4.1.2 to 5.4.4 #5

Open
wants to merge 1 commit into
base: celestia-develop
Choose a base branch
from

Conversation

OKEAMAH
Copy link
Member

@OKEAMAH OKEAMAH commented Aug 18, 2024

snyk-top-banner

Snyk has created this PR to upgrade change-case from 4.1.2 to 5.4.4.

ℹ️ 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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 13 versions ahead of your current version.

  • The recommended version was released on 4 months ago.

Release notes
Package name: change-case
  • 5.4.4 - 2024-04-03

    Fixed

    Full Changelog: https://github.com/blakeembrey/change-case/compare/change-case@5.4.3...change-case@5.4.4

  • 5.4.3 - 2024-02-14

    Fixed

    • Fixes options used recursively in change-case/keys - previously options were ignored after the first level #334 by @ Quicksaver
  • 5.4.2 - 2024-01-14
  • 5.4.1 - 2024-01-10

    Fixed

    • Remove lookbehind from regex for older browser support (6512635)
  • 5.4.0 - 2024-01-08

    Added

    • Added a split option to the change-case transform functions to allow for customization on how words are extracted from input

    Changed

    • The package exports are now default instead of import to fix some tooling that doesn't work properly with import
    • The exported split utility no longer accepts a second options argument
  • 5.3.0 - 2023-12-06

    Added

    • New suffixCharacters option to retain characters during case conversion. Useful for retaining something like the _ in type_. Closes #322.
  • 5.2.0 - 2023-11-17

    Added

    • Add delimiter option for customizing join character in any change case method
    • Add mergeAmbiguousCharacters for camel and pascal case to avoid prefixing _ before numbers
  • 5.1.2 - 2023-10-20
  • 5.1.1 - 2023-10-20

    change-case@5.1.1

  • 5.1.0 - 2023-10-18
  • 5.0.2 - 2023-10-03
  • 5.0.1 - 2023-09-30
  • 5.0.0 - 2023-09-30
  • 4.1.2 - 2020-12-02
from change-case GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade change-case from 4.1.2 to 5.4.4.

See this package in npm:
change-case

See this project in Snyk:
https://app.snyk.io/org/okeamah/project/bdd41e51-2385-4405-9002-17c519481e94?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@metamask/test-dapp@8.1.0 None 0 4.46 MB gudahtt
npm/@playwright/test@1.40.1 Transitive: environment, eval, filesystem, network, shell, unsafe +2 10.1 MB dgozman-ms
npm/@synthetixio/synpress@3.7.2-beta.9 environment, filesystem Transitive: eval, network, shell, unsafe +941 132 MB drptbl
npm/dotenv@16.3.1 environment, filesystem 0 71.6 kB motdotla
npm/prom-client@15.0.0 filesystem, network, unsafe +3 3.7 MB simenb
npm/serve@14.2.1 Transitive: environment, eval, filesystem, network, shell, unsafe +89 4.43 MB vercel-release-bot
npm/typescript@5.3.3 None 0 32 MB typescript-bot
npm/viem@1.20.0 network Transitive: environment +9 10.2 MB jmoxey

🚮 Removed packages: npm/@babel/eslint-parser@7.23.10, npm/@changesets/changelog-github@0.4.8, npm/@changesets/cli@2.27.1, npm/@eth-optimism/contracts-periphery@1.0.8, npm/@eth-optimism/contracts@0.6.0, npm/@ethereumjs/rlp@5.0.2, npm/@ethersproject/abi@5.7.0, npm/@ethersproject/abstract-provider@5.7.0, npm/@ethersproject/abstract-signer@5.7.0, npm/@ethersproject/address@5.7.0, npm/@ethersproject/bignumber@5.7.0, npm/@ethersproject/bytes@5.7.0, npm/@ethersproject/constants@5.7.0, npm/@ethersproject/contracts@5.7.0, npm/@ethersproject/keccak256@5.7.0, npm/@ethersproject/properties@5.7.0, npm/@ethersproject/rlp@5.7.0, npm/@ethersproject/transactions@5.7.0, npm/@ethersproject/web@5.7.1, npm/@nomiclabs/hardhat-ethers@2.2.3, npm/@nomiclabs/hardhat-waffle@2.0.1, npm/@nomiclabs/hardhat-waffle@2.0.6, npm/@sentry/node@7.99.0, npm/@swc/core@1.4.13, npm/@testing-library/jest-dom@6.4.2, npm/@testing-library/react-hooks@8.0.1, npm/@testing-library/react@14.2.1, npm/@types/chai-as-promised@7.1.8, npm/@types/chai@4.3.11, npm/@types/change-case@2.3.1, npm/@types/dateformat@5.0.0, npm/@types/glob@8.1.0, npm/@types/mocha@10.0.6, npm/@types/morgan@1.9.9, npm/@types/node@20.11.17, npm/@types/pino-multi-stream@5.1.6, npm/@types/pino@7.0.5, npm/@types/semver@7.5.7, npm/@typescript-eslint/eslint-plugin@6.21.0, npm/@typescript-eslint/parser@6.21.0, npm/@vitest/coverage-istanbul@1.2.2, npm/@wagmi/cli@2.1.4, npm/@wagmi/core@2.6.3, npm/abitype@1.0.2, npm/bcfg@0.2.1, npm/body-parser@1.20.2, npm/chai-as-promised@7.1.1, npm/chai@4.3.10, npm/change-case@4.1.2, npm/dateformat@4.5.1, npm/depcheck@1.4.7, npm/doctoc@2.2.1, npm/dotenv@16.4.5, npm/envalid@8.0.0, npm/eslint-config-prettier@9.1.0, npm/eslint-config-standard@16.0.3, npm/eslint-plugin-import@2.29.1, npm/eslint-plugin-jsdoc@48.0.6

View full report↗︎

Copy link

🚨 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
Install scripts npm/core-js@2.6.12
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
🚫
Install scripts npm/cypress@12.17.3
  • Install script: postinstall
  • Source: node index.js --exec install
🚫
Install scripts npm/core-js@3.34.0
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
🚫

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

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/core-js@2.6.12
  • @SocketSecurity ignore npm/cypress@12.17.3
  • @SocketSecurity ignore npm/core-js@3.34.0

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.

Postfixing characters
2 participants