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

apr-engine-sum

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apr-engine-sum - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

index.js
const isArray = require('lodash.isarraylike');
module.exports = (input) => {
if (isArray(input) || input[Symbol.iterator]) {
return [];
}
return {};
};
module.exports = input => (isArray(input) || input[Symbol.iterator] ? [] : {});

2

package.json
{
"name": "apr-engine-sum",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "https://github.com/ramitos/apr/tree/master/packages/engine-sum",

@@ -5,0 +5,0 @@ "license": "MIT",

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