Socket
Socket
Sign inDemoInstall

humanization

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

humanization - npm Package Compare versions

Comparing version 6.2.1 to 6.2.2

9

dist/lib/process.js

@@ -11,7 +11,6 @@ "use strict";

exports.process = function (inputString) {
var words = inputString.split(" ").map(function (word) {
if (word === "")
return [""]; // Already irreducible
return word.split("");
});
var words = inputString
.split(" ")
.filter(function (word) { return word !== ""; })
.map(function (word) { return word.split(""); });
return words.map(function (word) {

@@ -18,0 +17,0 @@ return word.map(function (character) {

@@ -27,7 +27,2 @@ "use strict";

[{ source: "\n", transformed: ["\n"] }],
[{ source: "", transformed: [""] }],
[{ source: "", transformed: [""] }],
[{ source: "", transformed: [""] }],
[{ source: "", transformed: [""] }],
[{ source: "", transformed: [""] }],
[

@@ -47,9 +42,5 @@ { source: "h", transformed: ["h"] },

{ source: "\n", transformed: ["\n"] }
],
[{ source: "", transformed: [""] }],
[{ source: "", transformed: [""] }],
[{ source: "", transformed: [""] }],
[{ source: "", transformed: [""] }]
]
]);
});
});
{
"name": "humanization",
"version": "6.2.1",
"version": "6.2.2",
"description": "To err is human",

@@ -26,3 +26,3 @@ "repository": "https://github.com/dzucconi/humanization",

"cz-conventional-changelog": "3.0.2",
"husky": "3.0.5",
"husky": "3.0.7",
"jest": "24.9.0",

@@ -29,0 +29,0 @@ "semantic-release": "15.13.24",

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