New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@unction/reducewithvaluekey

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unction/reducewithvaluekey - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js
/* eslint-disable immutable/no-let */
import iteratorFunction from "@unction/iterateFunction"
import iteratorFunction from "@unction/iteratefunction"

@@ -4,0 +4,0 @@ export default function reduceWithValueKey (unction: any => any => any): Function {

{
"name": "@unction/reducewithvaluekey",
"version": "1.0.0",
"version": "1.0.1",
"description": "A curried reduce where you get access to both the value and they key",

@@ -43,4 +43,4 @@ "keywords": [

"dependencies": {
"@unction/iterateFunction": "1.0.0"
"@unction/iteratefunction": "1.0.0"
}
}

@@ -8,5 +8,5 @@ "use strict";

var _iterateFunction = require("@unction/iterateFunction");
var _iteratefunction = require("@unction/iteratefunction");
var _iterateFunction2 = _interopRequireDefault(_iterateFunction);
var _iteratefunction2 = _interopRequireDefault(_iteratefunction);

@@ -20,3 +20,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

(0, _iterateFunction2.default)(iterable)(function reduceWithValueKeyUnctionInitialIterable(item, key) {
(0, _iteratefunction2.default)(iterable)(function reduceWithValueKeyUnctionInitialIterable(item, key) {
current = unction(current)(item)(key);

@@ -23,0 +23,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