utf8-binary-cutter
Advanced tools
Comparing version 0.9.1 to 0.9.2
@@ -76,3 +76,3 @@ /* | ||
function (result, value, key) { | ||
if(_.contains(Object.keys(maxSizes), key)) { | ||
if(_.includes(Object.keys(maxSizes), key)) { | ||
var callback = function(binaryMaxSize, string, truncatedString) { | ||
@@ -79,0 +79,0 @@ if(truncateCallback) truncateCallback(binaryMaxSize, string, truncatedString, key); |
{ | ||
"name": "utf8-binary-cutter", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "truncate UTF-8 strings to a given binary size", | ||
@@ -24,3 +24,3 @@ "main": "main.js", | ||
"dependencies": { | ||
"lodash": "2.4.1" | ||
"lodash": "^4.17.10" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
39871
11
1
+ Addedlodash@4.17.21(transitive)
- Removedlodash@2.4.1(transitive)
Updatedlodash@^4.17.10