Skip to content

Conversation

@sayinthen
Copy link

snyk-top-banner

Snyk has created this PR to upgrade jsonpointer from 5.0.0 to 5.0.1.

ℹ️ 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 1 version ahead of your current version.

  • The recommended version was released on 2 years ago.

Release notes
Package name: jsonpointer
  • 5.0.1 - 2022-07-13

    Changelog

    • Fix incorrect typings for compile get/set methods (#58, thanks to @ haakemon)
    • Fix null values throwing exception when traversing over while getting (#50, thanks to @ reckter)
    • Fix tests for null and undefined assertions (a5706e8)
  • 5.0.0 - 2021-10-31

    5.0.0 (2021-10-31)

    Bug Fixes

    • Fix prototype pollution (#51)

      • The original, non-mutated objects are now returned if any of the keys __proto__, constructor or prototype are used in a json pointer.
      // returns the unmodified input {}
      jsonpointer.set({}, '/foo/__proto__/boo', 'polluted')
      • When passing non-string arrays to a .set operation, an error is thrown:
      // throws `new Error('Invalid JSON pointer. Must be of type string or number.')`
      jsonpointer.set({}, [['__proto__'], ['__proto__'], 'boo'], 'polluted')
from jsonpointer GitHub release notes

Important

  • 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 jsonpointer from 5.0.0 to 5.0.1.

See this package in npm:
jsonpointer

See this project in Snyk:
https://app.snyk.io/org/sayinthen/project/381d3ea4-1b9c-45f8-8a2e-dd0a46dac963?utm_source=github&utm_medium=referral&page=upgrade-pr
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.

3 participants