Skip to content

Commit

Permalink
0.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
alshakero committed Aug 30, 2018
1 parent 5e1f3bf commit 3993ac4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion dist/jsonpatcherproxy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JSONPatcherProxy version: 0.0.9 */
/*! JSONPatcherProxy version: 0.0.10 */
var JSONPatcherProxy =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
Expand Down Expand Up @@ -209,6 +209,9 @@ const JSONPatcherProxy = (function() {
} else {
if (Array.isArray(target) && !Number.isInteger(+key.toString())) {
/* array props (as opposed to indices) don't emit any patches, to avoid needless `length` patches */
if(key != 'length') {
console.warn('JSONPatcherProxy noticed a non-integer prop was set for an array. This will not emit a patch');
}
return Reflect.set(target, key, newValue);
}
operation.op = 'add';
Expand Down
4 changes: 2 additions & 2 deletions dist/jsonpatcherproxy.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsonpatcherproxy",
"version": "0.0.9",
"version": "0.0.10",
"description": "Lean and mean Javascript implementation of the JSON-Patch standard (RFC 6902). Update JSON documents using delta patches.",
"main": "src/jsonpatcherproxy.js",
"typings": "index.d.ts",
Expand Down

0 comments on commit 3993ac4

Please sign in to comment.