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

functionfoundry

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

functionfoundry - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

3

package.json
{
"name": "functionfoundry",
"version": "0.6.2",
"version": "0.6.3",
"description": "Functions inspired by the spreadsheets",

@@ -30,3 +30,2 @@ "main": "lib/index.js",

"babel-preset-es2015": "^6.1.2",
"babelify": "^7.2.0",
"eslint": "^1.8.0",

@@ -33,0 +32,0 @@ "gulp": "^3.9.0",

@@ -10,3 +10,8 @@ // COND.js -

return a;
} else if (i === cases.length - 1 ) {
} else if ( i === cases.length - 1 ) {
if (i % 2 === 1) {
return; // nothing found
}
// return the last item

@@ -13,0 +18,0 @@ return b;

@@ -7,5 +7,6 @@ import {COND} from '../src/COND';

test('COND', function(t) {
t.plan(9);
t.plan(10);
t.equal( typeof COND, 'function' );
t.equal( typeof SWITCH, 'function' );
t.equal( COND( false, 1), undefined );
t.equal( COND( true, 1, false, 2, 3), 1 );

@@ -12,0 +13,0 @@ t.equal( COND( false, 1, true, 2, 3), 2 );

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