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 fast-json-patch from 2.1.0 to 2.2.1 #103

Closed

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade fast-json-patch from 2.1.0 to 2.2.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 2 versions ahead of your current version.
  • The recommended version was released 8 months ago, on 2019-08-09.
Release notes
Package name: fast-json-patch
  • 2.2.1 - 2019-08-09

    This patch release fixes a regression introduced in 2.2.0, namely: the default import using ES6 with Webpack/Babel stopped working (#233).

    This version fixes the problem by adding an explicit default import.

  • 2.2.0 - 2019-08-01

    New feature:

    • Ability to generate test operations for original values in the first object, also known as "invertible" operations. Search fro the word invertible in README.md for details about usage (PR #228, PR #226).

    Code quality:

    • Replace deep-equal with fast-deep-equal (PR #227)
    • Remove traces for support for legacy browsers which were broken since v2.0.7 (PR #229)
    • Fix testing framework
  • 2.1.0 - 2019-04-01
    • applyOperation and applyReducer now accept an optional index parameter. This param is used to create more elaborate error messages when invalid operations occur in your patches, #221.

    • Error messages are now nicely-formatted, they look like:

    	The specified index MUST NOT be greater than the number of elements in the array
        name: OPERATION_VALUE_OUT_OF_BOUNDS
        index: 1
        operation: {
          "op": "add",
          "path": "/root/1",
          "value": "val"
        }
        tree: {
          "root": []
        }"
    
    • By default, prototype injection is not allowed and throws an error. If you want to pollute a prototype, you'll need to pass a flag banPrototypeModifications = false to all applyX functions. #219.
    • Bad behaviour when you replace an object with an array is now fixed. See #205.
from fast-json-patch GitHub release notes
Commit messages
Package name: fast-json-patch

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

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@sklose sklose closed this May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants