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

rubik-pact

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rubik-pact - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

7

classes/Pact.js

@@ -7,2 +7,3 @@ const { Kubik } = require('rubik-main');

const get = require('lodash/get');
const querystring = require('querystring');

@@ -46,3 +47,3 @@ const methods = require('./Pact/methods');

getUrl({ path, params, host }) {
getUrl({ path, queryParams, params, host }) {
if (!host) host = this.host;

@@ -56,3 +57,5 @@ if (!host) throw new TypeError('host is not defined');

return `${host}p1/${path}`;
if (!queryParams) queryParams = {};
return `${host}p1/${path}?${querystring.stringify(queryParams)}`;
}

@@ -59,0 +62,0 @@

@@ -6,2 +6,3 @@ module.exports = [

{ kubikName: 'companies.conversationsGet', apiName: 'companies/{{companyId}}/conversations/{{conversationId}}' }
{ kubikName: 'companies.companyId', apiName: 'companies/{{companyId}}' }
];
{
"name": "rubik-pact",
"version": "1.0.3",
"version": "1.0.4",
"description": "Pact Bot Api kubik for the Rubik application system",

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