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

just-reduce-object

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

just-reduce-object - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

LICENSE

10

index.js
module.exports = reduce;
function reduce(obj, predicate/*, initialValue*/) {
function reduce(obj, predicate /*, initialValue*/) {
var args = [callback];

@@ -16,3 +16,9 @@ // `initialValue` is optional

}
return predicate(previousValue, currentKey, obj[currentKey], currentIndex, array);
return predicate(
previousValue,
currentKey,
obj[currentKey],
currentIndex,
array
);
}

@@ -19,0 +25,0 @@

2

package.json
{
"name": "just-reduce-object",
"version": "1.0.3",
"version": "1.1.0",
"description": "reduce an object",

@@ -5,0 +5,0 @@ "main": "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