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

shades

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shades - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

7

lib/lens-consumers/compose.js

@@ -30,2 +30,5 @@ 'use strict';

return function (obj) {
for (var _len2 = arguments.length, params = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
params[_key2 - 1] = arguments[_key2];
}

@@ -38,5 +41,5 @@ function aux(object, lenses) {

if (rest.length === 0) {
return first.mod(f)(object);
return first.mod(f).apply(undefined, [object].concat(params));
}
return first.mod((0, _utils.always)(aux(first.get(object), rest)))(object);
return first.mod((0, _utils.always)(aux(first.get(object), rest))).apply(undefined, [object].concat(params));
}

@@ -43,0 +46,0 @@

{
"name": "shades",
"version": "1.1.2",
"version": "1.1.3",
"description": "Lens-like functionality with a lodash-style interface.",

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

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