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

barcart

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barcart - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

4

lib/make/index.d.ts
#!/usr/bin/env node
import { DrinkInterface } from '../interfaces/drinkInterface';
export declare const makeByName: (input: string, amount: number) => DrinkInterface | DrinkInterface[];
export declare const makeByRandom: (amount: number) => DrinkInterface;
export declare const makeByName: (input: string, amount: number) => DrinkInterface[];
export declare const makeByRandom: (amount: number) => DrinkInterface[];

@@ -18,3 +18,3 @@ #!/usr/bin/env node

output_1.default(recipe, amount);
return (recipe);
return (Array(recipe));
}

@@ -47,4 +47,4 @@ else {

output_1.default(recipe, amount);
return recipe;
return Array(recipe);
};
exports.makeByRandom = makeByRandom;
import { DrinkInterface } from '../interfaces/drinkInterface';
declare const logMakeOutput: (result: DrinkInterface, inputAmount: number) => (string | string[])[];
declare const logMakeOutput: (result: DrinkInterface, inputAmount: number) => void;
export default logMakeOutput;

@@ -44,4 +44,3 @@ "use strict";

outputArray.push(finish);
return outputArray;
};
exports.default = logMakeOutput;
{
"name": "barcart",
"version": "0.0.7",
"version": "0.0.8",
"description": "find cocktails based on what you have",

@@ -5,0 +5,0 @@ "main": "cli.js",

@@ -31,3 +31,3 @@ # barcart

All functions should return the array declared in [drinkInterfaces](https://github.com/drinkingandcoding/barcart/blob/main/src/interfaces/drinkInterface.ts)
All functions should return an array of objects declared in [drinkInterfaces](https://github.com/drinkingandcoding/barcart/blob/main/src/interfaces/drinkInterface.ts)

@@ -34,0 +34,0 @@ ### Make

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