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

qontract

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qontract - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

2

package.json
{
"name": "qontract",
"version": "0.4.0",
"version": "0.5.0",
"description": "Node wrapper for qontract",

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

@@ -23,3 +23,3 @@ [Qontract](https://qontract.run/) is a contract driven development tool that allows us to turn our contracts into executable specification.

`"qontract-tests": "./node_modules/.bin/qontract-test --contract-dir=*.qontract"`
`"qontract-tests": "./node_modules/.bin/qontract-test --contract-dir=*.qontract --host='localhost' --port='8000'"`

@@ -40,7 +40,7 @@ ## API

`host` hostname to be stubbed out. Used in stub mode only.
`host` hostname
`port` port to run the stub server. Used in stub mode only.
`port` port number
Check [Documentation](https://qontract.run/documentation.html) for more information.

@@ -10,7 +10,9 @@ #!/usr/bin/env node

const {argv} = require('yargs');
const contractPath = path.resolve(argv.contractDir);
const { contractDir, host, port} = argv;
const contractPath = path.resolve(contractDir);
console.log('running qontract tests')
execSh(
`java -jar ${qontractJarPath} test ${contractPath}`,
`java -jar ${qontractJarPath} test ${contractPath} --host=${host} --port=${port}`,
{ },

@@ -17,0 +19,0 @@ err => {

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