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

croaker

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

croaker - npm Package Compare versions

Comparing version 1.0.17 to 1.0.18

15

lib/scriptgen.js

@@ -19,2 +19,3 @@ /*

tmp = require('tmp'),
url = require('url'),
path = require('path'),

@@ -49,7 +50,15 @@ { getCreds } = require('./creds')

} else {
const url = `${apiHost}/api/v1/namespaces/${encodeURIComponent(action.namespace)}/actions/${encodeURIComponent(action.name)}?blocking=true&result=true`
console.error(path, url)
const apiHostParse = url.parse(apiHost)
if (options.direct) {
// talk directly to the openwhisk controller
apiHostParse.protocol = 'http:'
apiHostParse.port = 10001
delete apiHostParse.host
}
const theURL = `${url.format(apiHostParse)}api/v1/namespaces/${encodeURIComponent(action.namespace)}/actions/${encodeURIComponent(action.name)}?blocking=true&result=true`
console.error(path, theURL)
resolve({
script: path, cleanupCallback, url
script: path, cleanupCallback, url: theURL
})

@@ -56,0 +65,0 @@ }

2

package.json
{
"name": "croaker",
"version": "1.0.17",
"version": "1.0.18",
"description": "Load testing plugin for the Cloud Shell",

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