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

lodash-contrib

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash-contrib - npm Package Compare versions

Comparing version 241.4.5 to 241.4.6

6

_.util.strings.js

@@ -18,3 +18,2 @@ // lodash-contrib (lodash.util.strings.js 0.0.1)

var plusRegex = /\+/g;
var spaceRegex = /\%20/g;
var bracketRegex = /(?:([^\[]+))|(?:\[(.*?)\])/g;

@@ -25,5 +24,2 @@

};
var urlEncode = function(s) {
return encodeURIComponent(s).replace(spaceRegex, '+');
};

@@ -41,3 +37,3 @@ var buildParams = function(prefix, val, top) {

} else {
return urlEncode(prefix) + '=' + urlEncode(val);
return encodeURIComponent(prefix) + '=' + encodeURIComponent(val);
}

@@ -44,0 +40,0 @@ };

@@ -0,0 +0,0 @@ // lodash-contrib v241.2.0

27

index.js

@@ -1,16 +0,13 @@

require('./_.array.builders');
require('./_.array.selectors');
require('./_.collections.walk');
require('./_.function.arity');
require('./_.function.combinators');
require('./_.function.dispatch');
require('./_.function.iterators');
require('./_.function.predicates');
require('./_.object.builders');
require('./_.object.selectors');
require('./_.util.existential');
require('./_.util.operators');
require('./_.util.strings');
require('./_.util.trampolines');
var fs = require('fs');
var vm = require('vm');
var _ = require('lodash').runInContext();
module.exports = require('lodash');
var isAddOnRegEx = _.bindAll(/^_\..+/, 'test');
var context = vm.createContext({_:_});
var rightCurryVm = _.partialRight(vm.runInNewContext, context);
function simpleReadFile(filename) { return fs.readFileSync(filename); }
_(fs.readdirSync(__dirname)).filter(isAddOnRegEx.test).map(simpleReadFile).each(function (code) {
rightCurryVm(code);
});
module.exports = _;
{
"name": "lodash-contrib",
"description": "The brass buckles on lodash's utility belt",
"version": "241.4.5",
"version": "241.4.6",
"main": "index.js",

@@ -6,0 +6,0 @@ "dependencies": {

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

var _ = require('lodash');
require('../../_.util.strings');
var _ = require('../..');
var assert = require('assert');

@@ -4,0 +3,0 @@

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