Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

utf8-binary-cutter

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utf8-binary-cutter - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

2

lib/utf8-binary-cutter.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc