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

@131/docker-sdk

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@131/docker-sdk - npm Package Compare versions

Comparing version 0.11.3 to 1.0.0

2

package.json
{
"name": "@131/docker-sdk",
"version": "0.11.3",
"version": "1.0.0",
"description": "",

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

@@ -126,3 +126,32 @@ "use strict";

}
/*
let binds = [];
if(volumes_specs) {
for(const volume of volumes_specs) {
let bind = "";
if(typeof volume === 'string') {
const [source, target] = volume.split(':');
bind = `${this.STACK_NAME}_${source}:${target}`;
}
else {
let opts = [];
bind = `${this.STACK_NAME}_${volume.source}:${volume.target}`;
if('read_only' in volume)
opts.push("ro");
if('volume' in volume && 'nocopy' in volume.volume)
opts.push("nocopy");
if(opts.length)
bind += ":" + opts.join(',');
}
binds.push(bind);
}
}
*/
const labels = {

@@ -129,0 +158,0 @@ "com.docker.stack.namespace" : this.STACK_NAME,

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