Socket
Socket
Sign inDemoInstall

node-normalizer

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-normalizer - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

1

lib/normalizer.js

@@ -140,2 +140,3 @@ var fs = require('fs');

msg = msg.replace(new RegExp("<plus>", "g"), "+");
msg = msg.replace(/\d,\d/g, function(v) { return v.replace(",",""); });
});

@@ -142,0 +143,0 @@

2

package.json
{
"name": "node-normalizer",
"version": "0.0.4",
"version": "0.0.5",
"description": "Normalize and clean text",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -55,3 +55,8 @@

it("Fix numbers", function() {
norm.clean("how much is 1,000.00").should.eql("how much is 1000.00");
});
});
});
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