Socket
Socket
Sign inDemoInstall

munge

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.1.3

8

munge.js

@@ -1,2 +0,2 @@

'use strict';
module.exports = munge;

@@ -40,3 +40,3 @@ var encoder = {

*/
var munge = function(str, options) {
function munge(str, options) {

@@ -66,4 +66,2 @@ var aMunged = [];

return aMunged.join('');
};
module.exports = munge;
}
{
"name": "munge",
"version": "0.1.2",
"version": "0.1.3",
"description": "a tiny node module to munge any strings. useful if you want to obfuscate email addresses to valid, numeric html entities.",
"main": "munge.js",
"author": "Michael Heuberger <michael.heuberger@binarykitchen.com> (http://binarykitchen.com)",
"author": "Michael Heuberger <michael.heuberger@binarykitchen.com>",
"keywords": ["munge", "email", "spam", "obfuscation", "ascii", "utf8"],

@@ -8,0 +8,0 @@ "devDependencies": {

@@ -34,3 +34,3 @@ var testCase = require('nodeunit').testCase,

t.throws(function() {
munge(new Object());
munge({});
}, 'TypeError', 'first parameter as an object causes TypeError to be thrown.');

@@ -37,0 +37,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc