Skip to content

chore(deps-dev): bump prettier-plugin-solidity from 1.0.0 to 2.0.0-beta.2#393

Open
dependabot[bot] wants to merge 1 commit intoQA-Testfrom
dependabot/npm_and_yarn/QA-Test/prettier-plugin-solidity-2.0.0-beta.2
Open

chore(deps-dev): bump prettier-plugin-solidity from 1.0.0 to 2.0.0-beta.2#393
dependabot[bot] wants to merge 1 commit intoQA-Testfrom
dependabot/npm_and_yarn/QA-Test/prettier-plugin-solidity-2.0.0-beta.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 3, 2025

Bumps prettier-plugin-solidity from 1.0.0 to 2.0.0-beta.2.

Release notes

Sourced from prettier-plugin-solidity's releases.

v2.0.0-beta.2

Moving closer to a release candidate, this pre-release adds the following features:

2.0.0-beta.1

This year we have been working hard on adopting Nomic Foundation's Slang as our new parser.

This allowed us to update our architecture, address issues that the ANTLR parser was blocking, have more control in the rendering of comments, and officially move our codebase to typescript.

While in beta, we will still serve the solidity-parse parser, but the plugin will now log a deprecation warning recommending using the slang-solidity parser.

To start using the new parser just replace solidity-parse with slang-solidity in the .prettierrc file.

{
  "plugins": ["prettier-plugin-solidity"],
  "overrides": [
    {
      "files": "*.sol",
      "options": {
        "parser": "slang-solidity",
        "printWidth": 80,
        "tabWidth": 4,
        "useTabs": false,
        "singleQuote": false,
        "bracketSpacing": false,
        "compiler": "0.8.26",
      }
    }
  ]
}

If a compiler version is specified, this will be used to parse all the contracts in your project. By default the compiler version will be the latest Solidity version supported by @nomicfoundation/slang. The final 2.0.0 release will infer the Solidity version from the pragma statements in each contract.

A wasm build of the @nomicfoundation/slang package is not included in this beta release. This means the beta release can currently be used in node projects and build pipelines where Rust is supported.

We are working with Nomic Foundation to include a wasm build in the final 2.0.0 release to support browser based IDEs like Remix.

import prettier from 'prettier';
import solidityPlugin from 'prettier-plugin-solidity';
async function format(code) {
return await prettier.format(code, {
parser: 'slang-solidity',
compiler: '0.8.26',
plugins: [solidityPlugin],
</tr></table>

... (truncated)

Commits
  • 921b501 bump version (#1048)
  • 44a48ea Infer version (#1047)
  • 3551102 Slang 0.17.0 (#1043)
  • e5d506d Merge remote-tracking branch 'origin/main' into v2
  • 0fded41 Merge pull request #1032 from prettier-solidity/slang
  • 22edc8e Comments running closer to prettier for edge cases
  • d3f7141 add comments for new line decision at the end of SourceUnit
  • 9703ff8 Use explicit names for antlr and slang parsers, printers, etc.
  • e7ad30d Clear line when printing warnings
  • f213b18 Since Slang is under active development we better fix the version we are usin...
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 3, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 3, 2025

Labels

The following labels could not be found: npm. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

Scorecard details
PackageVersionScoreDetails
npm/@nomicfoundation/slang 0.17.0 UnknownUnknown
npm/@nomicfoundation/slang-darwin-arm64 0.17.0 UnknownUnknown
npm/@nomicfoundation/slang-darwin-x64 0.17.0 UnknownUnknown
npm/@nomicfoundation/slang-linux-arm64-gnu 0.17.0 UnknownUnknown
npm/@nomicfoundation/slang-linux-arm64-musl 0.17.0 UnknownUnknown
npm/@nomicfoundation/slang-linux-x64-gnu 0.17.0 UnknownUnknown
npm/@nomicfoundation/slang-linux-x64-musl 0.17.0 UnknownUnknown
npm/@nomicfoundation/slang-win32-arm64-msvc 0.17.0 UnknownUnknown
npm/@nomicfoundation/slang-win32-ia32-msvc 0.17.0 UnknownUnknown
npm/@nomicfoundation/slang-win32-x64-msvc 0.17.0 UnknownUnknown
npm/@solidity-parser/parser 0.18.0 🟢 4.6
Details
CheckScoreReason
Code-Review🟢 4Found 5/11 approved changesets -- score normalized to 4
Maintained🟢 1012 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Binary-Artifacts🟢 10no binaries found in the repo
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Vulnerabilities🟢 82 existing vulnerabilities detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/prettier-plugin-solidity 2.0.0-beta.2 🟢 5.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1030 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Security-Policy⚠️ 0security policy file not detected
Binary-Artifacts🟢 10no binaries found in the repo
License🟢 10license file detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Signed-Releases⚠️ -1no releases found
Fuzzing⚠️ 0project is not fuzzed
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Vulnerabilities🟢 91 existing vulnerabilities detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/semver 7.7.3 🟢 7.1
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Security-Policy🟢 10security policy file detected
Maintained🟢 1010 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Binary-Artifacts🟢 10no binaries found in the repo
Vulnerabilities🟢 100 existing vulnerabilities detected
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ -1no releases found
Fuzzing⚠️ 0project is not fuzzed
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
SAST🟢 8SAST tool detected but not run on all commits

Scanned Files

  • package-lock.json

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/QA-Test/prettier-plugin-solidity-2.0.0-beta.2 branch from a94d303 to dc4cfa1 Compare December 15, 2025 23:29
@dependabot dependabot bot requested a review from a team as a code owner December 15, 2025 23:29
Bumps [prettier-plugin-solidity](https://github.com/prettier-solidity/prettier-plugin-solidity) from 1.0.0 to 2.0.0-beta.2.
- [Release notes](https://github.com/prettier-solidity/prettier-plugin-solidity/releases)
- [Commits](prettier-solidity/prettier-plugin-solidity@v1.0.0...v2.0.0-beta.2)

---
updated-dependencies:
- dependency-name: prettier-plugin-solidity
  dependency-version: 2.0.0-beta.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/QA-Test/prettier-plugin-solidity-2.0.0-beta.2 branch from dc4cfa1 to f7ba9ad Compare December 16, 2025 18:41
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.

0 participants