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

orderiom-api-package

Package Overview
Dependencies
Maintainers
0
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orderiom-api-package - npm Package Compare versions

Comparing version 0.4.75 to 0.4.76

2

package.json
{
"name": "orderiom-api-package",
"version": "0.4.75",
"version": "0.4.76",
"description": "This package will install all necessary API calls for every orderiom restaurant",

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

@@ -1,2 +0,2 @@

import { commonErrorCallback, $http } from '../common';
import { commonErrorCallback, restaurantIdEnv, $http } from '../common';

@@ -81,2 +81,3 @@ const state = () => ({

getRestaurantInfo({ commit }, restaurantId) {
if(!restaurantId) restaurantId = restaurantIdEnv();
const type = isNaN(Number(restaurantId)) ? 'slug' : 'id';

@@ -83,0 +84,0 @@ const params = type === 'slug' ? {slug: restaurantId} : {restaurantId};

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