Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

[Snyk] Upgrade fast-json-patch from 2.1.0 to 2.2.1 #10

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

@labshare-svc labshare-svc deleted the snyk-upgrade-70f8a682ed7cf3a4fc1a29147e59b596 branch August 30, 2022 06:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants