Skip to content

Commit cbeddc7

Browse files
committed
2.0.0
1 parent 09ef3d1 commit cbeddc7

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-patch-queue",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"homepage": "https://github.com/Palindrom/JSON-Patch-queue",
55
"description": "Queue for Versioned JSON-Patch - makes sure that your JSON Patches (RFC6902) gets applied in correct order",
66
"authors": [

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
export class JSONPatchQueueSynchronous {
22
/**
33
* JSON Patch Queue for synchronous operations, and asynchronous networking.
4+
* version: 2.0.0
45
* @param {JSON-Pointer} versionPath JSON-Pointers to version numbers
56
* @param {function} apply apply(JSONobj, JSONPatchSequence) function to apply JSONPatch to object.
67
* @param {Boolean} [purist] If set to true adds test operation before replace.
7-
* @version: 1.0.0
88
*/
99
constructor(versionPath: String, apply: Function, purist: Boolean);
1010
public version: Number;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-patch-queue",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "Queue for Versioned JSON-Patch - makes sure that your JSON Patches (RFC6902) gets applied in correct order",
55
"main": "./src/index.js",
66
"scripts": {

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* version: 2.0.0
3+
*/
14
var queue = require("./json-patch-queue");
25
var sync = require("./json-patch-queue-synchronous");
36

src/json-patch-queue-synchronous.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
22
* JSON Patch Queue for synchronous operations, and asynchronous networking.
3+
* version: 2.0.0
34
* @param {JSON-Pointer} versionPath JSON-Pointers to version numbers
45
* @param {function} apply apply(JSONobj, JSONPatchSequence) function to apply JSONPatch to object.
56
* @param {Boolean} [purist] If set to true adds test operation before replace.
6-
* @version: 1.0.0
77
*/
88
var JSONPatchQueueSynchronous = function(versionPath, apply, purist){
99
/**

src/json-patch-queue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
22
* JSON Patch Queue for asynchronous operations, and asynchronous networking.
3+
* version: 2.0.0
34
* @param {Array<JSON-Pointer>} versionPaths JSON-Pointers to version numbers [local, remote]
45
* @param {function} apply apply(JSONobj, JSONPatchSequence) function to apply JSONPatch to object.
56
* @param {Boolean} [purist] If set to true adds test operation before replace.
6-
* @version: 1.0.0
77
*/
88
var JSONPatchQueue = function(versionPaths, apply, purist){
99
/**

0 commit comments

Comments
 (0)