Socket
Socket
Sign inDemoInstall

wodge

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wodge - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "wodge",
"version": "0.3.0",
"version": "0.3.1",
"description": "a wodge of functional dough",

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

@@ -12,2 +12,10 @@ "use strict";

exports.clone = function(obj){
var output = {};
for (var prop in obj){
output[prop] = obj[prop];
}
return output;
};
exports.escapeRegExp = function(string){

@@ -118,1 +126,12 @@ return string

};
exports.exists = function(arr, value){
return arr.indexOf(value) > -1;
}
exports.without = function(arr, toRemove){
toRemove = exports.arrayify(toRemove);
return arr.filter(function(item){
return !exports.exists(toRemove, item);
});
};
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