Comparing version 3.0.0 to 3.0.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var equal_1 = require("./equal"); | ||
var hasOwnProperty = Object.prototype.hasOwnProperty; | ||
function isDestructive(_a) { | ||
@@ -25,3 +26,3 @@ var op = _a.op; | ||
for (var add_key in minuend) { | ||
if (minuend.hasOwnProperty(add_key) && minuend[add_key] !== undefined) { | ||
if (hasOwnProperty.call(minuend, add_key) && minuend[add_key] !== undefined) { | ||
obj[add_key] = 1; | ||
@@ -33,3 +34,3 @@ } | ||
for (var del_key in subtrahend) { | ||
if (subtrahend.hasOwnProperty(del_key) && subtrahend[del_key] !== undefined) { | ||
if (hasOwnProperty.call(subtrahend, del_key) && subtrahend[del_key] !== undefined) { | ||
delete obj[del_key]; | ||
@@ -58,3 +59,3 @@ } | ||
for (var key in object) { | ||
if (object.hasOwnProperty(key) && object[key] !== undefined) { | ||
if (hasOwnProperty.call(object, key) && object[key] !== undefined) { | ||
counter[key] = (counter[key] || 0) + 1; | ||
@@ -61,0 +62,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var hasOwnProperty = Object.prototype.hasOwnProperty; | ||
function objectType(object) { | ||
@@ -55,3 +56,3 @@ if (object === undefined) { | ||
var key = left_keys[i]; | ||
if (!right.hasOwnProperty(key) || !compare(left[key], right[key])) { | ||
if (!hasOwnProperty.call(right, key) || !compare(left[key], right[key])) { | ||
return false; | ||
@@ -58,0 +59,0 @@ } |
{ | ||
"name": "rfc6902", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Complete implementation of RFC6902 (patch and diff)", | ||
@@ -16,19 +16,19 @@ "keywords": [ | ||
"devDependencies": { | ||
"@types/js-yaml": "^3.11.2", | ||
"@types/js-yaml": "3.11.2", | ||
"@types/node": "10.9.4", | ||
"ava": "1.0.0-beta.7", | ||
"coveralls": "^3.0.2", | ||
"ava": "1.0.0-beta.8", | ||
"coveralls": "3.0.2", | ||
"js-yaml": "3.12.0", | ||
"nyc": "12.0.2", | ||
"rollup": "^0.65.0", | ||
"typescript": "^3.0.1" | ||
"nyc": "13.0.1", | ||
"rollup": "0.66.0", | ||
"typescript": "3.0.3" | ||
}, | ||
"scripts": { | ||
"prepare": "tsc -d", | ||
"pretest": "tsc", | ||
"prepare": "tsc", | ||
"pretest": "tsc -b . test -f", | ||
"test": "nyc ava", | ||
"posttest": "nyc report --reporter=text-lcov | coveralls || true", | ||
"dist": "tsc -t ES2015 -m es2015 && rollup index.js --output.format umd --name rfc6902 --output.file dist/rfc6902.js && closure-compiler dist/rfc6902.js > dist/rfc6902.min.js", | ||
"clean": "tsc -d --listEmittedFiles | sed 's/^TSFILE: //' | xargs rm -v" | ||
"clean": "tsc -b . test --clean" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54777
15
1093