Comparing version 2.0.10 to 2.0.11
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://nicedoc.io/Kikobeats/hyperdiff", | ||
"version": "2.0.10", | ||
"version": "2.0.11", | ||
"main": "src/index.js", | ||
@@ -39,2 +39,3 @@ "author": { | ||
"@commitlint/config-conventional": "latest", | ||
"c8": "latest", | ||
"ci-publish": "latest", | ||
@@ -45,6 +46,5 @@ "conventional-github-releaser": "latest", | ||
"git-authors-cli": "latest", | ||
"lint-staged": "latest", | ||
"mocha": "latest", | ||
"nano-staged": "latest", | ||
"npm-check-updates": "latest", | ||
"nyc": "latest", | ||
"prettier-standard": "latest", | ||
@@ -74,3 +74,3 @@ "should": "latest", | ||
"release:tags": "git push --follow-tags origin HEAD:master", | ||
"test": "nyc mocha", | ||
"test": "c8 mocha", | ||
"update": "ncu -u", | ||
@@ -85,12 +85,3 @@ "update:check": "ncu -- --error-level 2" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"package.json": [ | ||
"finepack" | ||
], | ||
"nano-staged": { | ||
"*.js,!*.min.js,": [ | ||
@@ -101,2 +92,5 @@ "prettier-standard" | ||
"standard-markdown" | ||
], | ||
"package.json": [ | ||
"finepack" | ||
] | ||
@@ -106,3 +100,3 @@ }, | ||
"commit-msg": "npx commitlint --edit", | ||
"pre-commit": "npx lint-staged" | ||
"pre-commit": "npx nano-staged" | ||
}, | ||
@@ -109,0 +103,0 @@ "standard": { |
@@ -39,3 +39,7 @@ 'use strict' | ||
debug('preconditions first=%j second=%j findIndex=%s', first, second, findIndex.name) | ||
debug( | ||
`preconditions first=${JSON.stringify(first)} second=${JSON.stringify(second)} findIndex=${ | ||
findIndex.name | ||
}` | ||
) | ||
@@ -47,3 +51,3 @@ const results = first.reduce(function (acc, item, index) { | ||
pullAt(second, itemIndex) | ||
debug('index=%s value=%s collection=%s', index, item, destination) | ||
debug(`index=${index} value=${JSON.stringify(item)} collection=${destination}`) | ||
return acc | ||
@@ -53,3 +57,7 @@ }, GET_INITIAL_STATE()) | ||
results.added = second | ||
debug('added=%j removed=%j common%j', results.added, results.removed, results.common) | ||
debug( | ||
`added=${JSON.stringify(results.added)} removed=${JSON.stringify( | ||
results.removed | ||
)} common=${JSON.stringify(results.common)}` | ||
) | ||
return results | ||
@@ -56,0 +64,0 @@ } |
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
50
7640
4