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

Update fast-json-patch to the latest version 🚀 #89

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

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Jun 16, 2017

Version 2.0.0 of fast-json-patch just got published.

Dependency fast-json-patch
Current Version 1.2.2
Type dependency

The version 2.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of fast-json-patch.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Commits

The new version differs by 13 commits.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

greenkeeper bot added a commit that referenced this pull request Jun 16, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 16, 2017

Version 2.0.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 16, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 16, 2017

Version 2.0.2 just got published.

Update to this version instead 🚀

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 28, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 28, 2017

Version 2.0.3 just got published.

Update to this version instead 🚀

Commits

The new version differs by 7 commits.

  • 02187fb 2.0.3
  • 4350146 Add build script and build on version update
  • 63d6487 Merge PR #185 (allow prototype-less objects)
  • 67567b9 Look up Object.prototype.hasOwnProperty once and wrap call in helper function
  • 95c011a Update dist files
  • 05eedac Use Object.prototype.hasOwnProperty instead of obj.hasOwnProperty to allow plain objects without Object prototype (cf. ESLint rule no-prototype-builtins)
  • 35dfe5d Add failing test case for plain objects without Object prototype

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 21, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 21, 2017

Version 2.0.4 just got published.

Update to this version instead 🚀

Commits

The new version differs by 5 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 29, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 29, 2017

Version 2.0.5 just got published.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 20, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 20, 2017

Version 2.0.6 just got published.

Update to this version instead 🚀

Release Notes Minor fixes
  • Ignore tsconfig.json when publishing to NPM 5236d81, thanks @LinusU!
  • add param mutateDocument in function applyPatch that defaults to true. If you set it to false, your object will be cloned before applying any operations. 688be37, thanks @chochihim!
Commits

The new version differs by 8 commits.

  • 3706889 2.0.6
  • ef9820b 🔀 #194 (Ignore tsconfig.json when publishing to NPM)
  • 5236d81 Ignore tsconfig.json when publishing to npm
  • 8cb1c0e Merge #193 (add mutateDocument param to applyPatch)
  • 435090d build dist
  • 4e116b5 adding test for mutateDocument = false in applyPatch
  • 688be37 add param mutateDocument in function applyPatch
  • f7e15da Restore banchmarks in travis

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 30, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 30, 2018

Version 2.0.7 just got published.

Update to this version instead 🚀

Release Notes Use Map and WeakMap to remove leaks and enhance performance

Performance improvements:

add op: 117% faster
remove op: 109% faster
replace: 112% faster
test: 131%
geneate: 110% faster

IE support is still 10/10.

See #208 & #212

Commits

The new version differs by 6 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 1, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 1, 2019

Update to this version instead 🚀

Release Notes for Enhancements and bug fixes
  • 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.
Commits

The new version differs by 33 commits.

  • 476caa8 2.1.0
  • 56975ef Merge pull request #224 from Starcounter-Jack/fix-readme-ie8
  • 4dd2ece Make tests public in SauceLabs
  • 5b156f7 Merge branch 'master' into fix-readme-ie8
  • 4eab9ca Merge pull request #221 from ianvonholt/master
  • 0887799 Drop string interpolation use to support IE in tests
  • 0b4a1e1 Test error message formatting
  • d61f271 Add tested browsers matrix to README
  • 8db1342 Enable sauce connect in Travis config
  • be7f040 Add JS reporter and report to SauceLabs correctly
  • 934b603 Add FF, Safari and Chrome to tests
  • 8d87bea Text in browsers
  • 9ea1a18 Document the new index parameter in applyOperation and applyReducer
  • ee8e499 Format error messages nicely and test for op index logging
  • 1878ff4 Merge branch 'ianvonholt-fix' into master

There are 33 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 1, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 1, 2019

Update to this version instead 🚀

Release Notes for Generate invertible test operations

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
Commits

The new version differs by 31 commits.

  • 39f187e 2.2.0
  • 14b27e0 fresh build
  • 8e59102 Ability to generate test operations for original values in the f… (#228)
  • fe85212 for all tests that check invertible=true, also check invertible=false
  • 996c967 Merge pull request #229 from Starcounter-Jack/no-ie8
  • 43e72dd fix removal of "change" event listener
  • 0250c05 remove remaining traces of support for IE8
  • c6e963f change Sauce tests to local because we have run out of minutes
  • 1498c09 change the API for generating test operations
  • f078a4b Merge branch 'master' into generate-test-ops
  • bbd3002 close Selenium tunnel gracefully
  • 3412230 change way the Selenium runner receives Jasmine status
  • 8f7868c reduce the verbosity of the HTTP server
  • 8451a38 fix connection to SauceLabs from Travis
  • c36aa87 fix tests with Sauce Labs

There are 31 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 9, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 9, 2019

Update to this version instead 🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants