Skip to content

[Snyk] Upgrade @solidity-parser/parser from 0.13.2 to 0.18.0 #16

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

satoshinakamoto007
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @solidity-parser/parser from 0.13.2 to 0.18.0.

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


  • The recommended version is 16 versions ahead of your current version.
  • The recommended version was released 4 months ago, on 2024-01-17.

The recommended version fixes:

Severity Issue PriorityScore (*) Exploit Maturity
Improper Input Validation
SNYK-JS-FOLLOWREDIRECTS-6141137
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Prototype Pollution
SNYK-JS-AJV-584908
472/1000
Why? Proof of Concept exploit, CVSS 7.3
No Known Exploit
Regular Expression Denial of Service (ReDoS)
SNYK-JS-ANSIREGEX-1583908
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Regular Expression Denial of Service (ReDoS)
SNYK-JS-AXIOS-1579269
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Prototype Poisoning
SNYK-JS-QS-3153490
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Regular Expression Denial of Service (ReDoS)
SNYK-JS-TMPL-1583443
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Prototype Pollution
SNYK-JS-JSONSCHEMA-1920922
472/1000
Why? Proof of Concept exploit, CVSS 7.3
No Known Exploit
Denial of Service (DoS)
SNYK-JS-DECODEURICOMPONENT-3149970
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Information Exposure
SNYK-JS-FOLLOWREDIRECTS-6444610
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Prototype Pollution
SNYK-JS-MINIMIST-559764
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Denial of Service (DoS)
SNYK-JS-NWSAPI-2841516
472/1000
Why? Proof of Concept exploit, CVSS 7.3
No Known Exploit
Regular Expression Denial of Service (ReDoS)
SNYK-JS-PROMPTS-1729737
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Reverse Tabnabbing
SNYK-JS-ISTANBULREPORTS-2328088
472/1000
Why? Proof of Concept exploit, CVSS 7.3
No Known Exploit
Prototype Pollution
SNYK-JS-JSON5-3182856
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Regular Expression Denial of Service (ReDoS)
SNYK-JS-MINIMATCH-3050818
472/1000
Why? Proof of Concept exploit, CVSS 7.3
No Known Exploit
Information Exposure
SNYK-JS-FOLLOWREDIRECTS-2332181
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Regular Expression Denial of Service (ReDoS)
SNYK-JS-WORDWRAP-3149973
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Prototype Pollution
SNYK-JS-MINIMIST-2429795
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Validation Bypass
SNYK-JS-KINDOF-537849
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Prototype Pollution
SNYK-JS-MINIMIST-2429795
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Incomplete List of Disallowed Inputs
SNYK-JS-BABELTRAVERSE-5962462
472/1000
Why? Proof of Concept exploit, CVSS 7.3
Proof of Concept
Information Exposure
SNYK-JS-FOLLOWREDIRECTS-2396346
472/1000
Why? Proof of Concept exploit, CVSS 7.3
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Release notes
Package name: @solidity-parser/parser
  • 0.18.0 - 2024-01-17

    This version adds 2 new features.

    • Parser function now has an option to return comments as part of the parsed result. (#105)
    • We now export umd instead of iife format for browser compatibility. (#106)
  • 0.17.0 - 2023-12-21

    This version changes the associativity of the exponentiation and ternary operators. In most cases this shouldn't affect anyone, but it's technically a breaking change.

    • Using the official typescript target for antlr4. (#103)
    • Exponentiation is now right associative. a ** (b ** c) (#99)
    • Conditional expression is now right associative. a ? (b ? c : d) : (e ? f : g) (#99)
  • 0.16.2 - 2023-11-08

    This version adds support for top-level event definitions, a feature introduced in solc v0.8.22.

  • 0.16.1 - 2023-07-12

    This version fixes a bug where variables named global couldn't be parsed (thanks @ arjun-io!)

  • 0.16.0 - 2023-02-27

    This version adds support for user-defined operators.

    The UsingForDeclaration node now has a new operators property. This is an array with the same length as the functions array. Each item is either a string or null: if an operator is defined, then the string is the operator; if an operator is not defined, the item is null.

    For example, using { add as +, sub } for Fixed18 global will result in this node:

    {
      "type": "UsingForDeclaration",
      "isGlobal": true,
      "typeName": {
        "type": "UserDefinedTypeName",
        "namePath": "Fixed18"
      },
      "libraryName": null,
      "functions": ["add", "sub"],
      "operators": ["+", null]
    }
  • 0.15.0 - 2023-02-01

    This release adds support for named parameters in mapping types, introduced in solc 0.8.18.

  • 0.14.5 - 2022-10-25

    This release:

    • Fixes assembly assignment to multiple variables (thanks @ potomak!)
    • Adds support for boolean literals in assembly (thanks @ tim-becker!)
  • 0.14.4 - 2022-10-25

    Add support for using address as a property.

  • 0.14.3 - 2022-07-11

    0.14.3

  • 0.14.2 - 2022-06-16
  • 0.14.2-beta.1 - 2022-05-20
  • 0.14.2-beta.0 - 2022-05-20
  • 0.14.1 - 2022-02-10
  • 0.14.0 - 2021-10-19

    This release adds support for user defined value types. Thanks to @ 0xbribe for the initial work on this!

  • 0.13.3-rc.1 - 2021-06-02
  • 0.13.3-rc.0 - 2021-06-02
  • 0.13.2 - 2021-05-29
from @solidity-parser/parser GitHub release notes
Commit messages
Package name: @solidity-parser/parser

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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.

2 participants