just-diff-apply
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -110,5 +110,6 @@ module.exports = { | ||
function prototypeCheck(prop) { | ||
if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') { | ||
// coercion is intentional to catch prop values like `['__proto__']` | ||
if (prop == '__proto__' || prop == 'constructor' || prop == 'prototype') { | ||
throw new Error('setting of prototype values not supported'); | ||
} | ||
} |
{ | ||
"name": "just-diff-apply", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Apply a diff to an object. Optionally supports jsonPatch protocol", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
<!-- DO NOT EDIT THIS FILE! THIS FILE WAS AUTOGENERATED BY TEMPLATE-MATE --> | ||
<!-- SEE https://github.com/angus-c/just/blob/master/CONTRIBUTING.md#readme-template --> | ||
@@ -3,0 +4,0 @@ ## just-diff-apply |
Sorry, the diff of this file is not supported yet
10307
211
62