sourcegraph / javascript-typescript-langserver

JavaScript and TypeScript code intelligence through the Language Server Protocol
https://sourcegraph.com
Apache License 2.0
792 stars 72 forks source link

fix(deps): update dependency fast-json-patch to ^2.2.1 #588

Open renovate[bot] opened 5 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update New value References Sourcegraph
fast-json-patch dependencies minor ^2.2.1 source code search for "fast-json-patch"

Release Notes

Starcounter-Jack/JSON-Patch ### [`v2.2.1`](https://togithub.com/Starcounter-Jack/JSON-Patch/releases/v2.2.1) [Compare Source](https://togithub.com/Starcounter-Jack/JSON-Patch/compare/v2.2.0...v2.2.1) This patch release fixes a regression introduced in 2.2.0, namely: the default import using ES6 with Webpack/Babel stopped working ([#​233](https://togithub.com/Starcounter-Jack/JSON-Patch/issues/233)). This version fixes the problem by adding an explicit default import. ### [`v2.2.0`](https://togithub.com/Starcounter-Jack/JSON-Patch/releases/v2.2.0) [Compare Source](https://togithub.com/Starcounter-Jack/JSON-Patch/compare/v2.1.0...v2.2.0) 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](https://togithub.com/Starcounter-Jack/JSON-Patch/issues/228), PR [#​226](https://togithub.com/Starcounter-Jack/JSON-Patch/issues/226)). Code quality: - Replace `deep-equal` with `fast-deep-equal` (PR [#​227](https://togithub.com/Starcounter-Jack/JSON-Patch/issues/227)) - Remove traces for support for legacy browsers which were broken since [v2.0.7](https://togithub.com/Starcounter-Jack/JSON-Patch/releases/tag/v2.0.7) (PR [#​229](https://togithub.com/Starcounter-Jack/JSON-Patch/issues/229)) - Fix testing framework ### [`v2.1.0`](https://togithub.com/Starcounter-Jack/JSON-Patch/releases/v2.1.0) [Compare Source](https://togithub.com/Starcounter-Jack/JSON-Patch/compare/v2.0.7...v2.1.0) - `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](https://togithub.com/Starcounter-Jack/JSON-Patch/pull/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](https://togithub.com/Starcounter-Jack/JSON-Patch/pull/219). - Bad behaviour when you replace an object with an array is now fixed. See [#​205](https://togithub.com/Starcounter-Jack/JSON-Patch/pull/205). ### [`v2.0.7`](https://togithub.com/Starcounter-Jack/JSON-Patch/releases/v2.0.7) [Compare Source](https://togithub.com/Starcounter-Jack/JSON-Patch/compare/v2.0.6...v2.0.7) Performance improvements: ```js add op: 117% faster remove op: 109% faster replace: 112% faster test: 131% geneate: 110% faster ``` IE11 support is still 10/10. IE versions lower than 11 are not supported anymore. See [#​208](https://togithub.com/Starcounter-Jack/JSON-Patch/issues/208) & [#​212](https://togithub.com/Starcounter-Jack/JSON-Patch/pull/212) ### [`v2.0.6`](https://togithub.com/Starcounter-Jack/JSON-Patch/releases/v2.0.6) [Compare Source](https://togithub.com/Starcounter-Jack/JSON-Patch/compare/v2.0.5...v2.0.6) - Ignore `tsconfig.json` when publishing to NPM [`5236d81`](https://togithub.com/Starcounter-Jack/JSON-Patch/commit/5236d81e647c037b9007f7c90fcd5b58377e2b90), thanks [@​LinusU](https://togithub.com/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`](https://togithub.com/Starcounter-Jack/JSON-Patch/commit/688be37248597d30b8e9a6125a18262f9a58b5d2), thanks [@​chochihim](https://togithub.com/chochihim)! ### [`v2.0.5`](https://togithub.com/Starcounter-Jack/JSON-Patch/releases/v2.0.5) [Compare Source](https://togithub.com/Starcounter-Jack/JSON-Patch/compare/v2.0.4...v2.0.5) Earlier, setting array props wasn't possible: ```js var obj = []; jsonpatch.applyPatch(obj, [{op: 'add', path: '/prop', value: 'arrayProp'}]) console.log(obj.prop); // --> undefined ``` Now it is. ### [`v2.0.4`](https://togithub.com/Starcounter-Jack/JSON-Patch/releases/v2.0.4) [Compare Source](https://togithub.com/Starcounter-Jack/JSON-Patch/compare/v2.0.3...v2.0.4) - Validate on `applyPatch` when validation is enabled (fix [#​186](https://togithub.com/Starcounter-Jack/JSON-Patch/issues/186)) ### [`v2.0.3`](https://togithub.com/Starcounter-Jack/JSON-Patch/releases/v2.0.3) [Compare Source](https://togithub.com/Starcounter-Jack/JSON-Patch/compare/v2.0.2...v2.0.3) - Fix [#​184](https://togithub.com/Starcounter-Jack/JSON-Patch/issues/184) thanks [@​sgoll](https://togithub.com/sgoll)! - Add build command to avoid needing to install `webpack` and `tsc` globally.

Renovate configuration

:date: Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

codecov-io commented 5 years ago

Codecov Report

Merging #588 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #588   +/-   ##
=======================================
  Coverage   83.09%   83.09%           
=======================================
  Files          15       15           
  Lines        2058     2058           
  Branches      489      423   -66     
=======================================
  Hits         1710     1710           
  Misses        346      346           
  Partials        2        2

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 48bfc53...4abf45e. Read the comment docs.