Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sapphirecode/dcm

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sapphirecode/dcm - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

15

dist/lib/commands.js

@@ -70,3 +70,5 @@ "use strict";

switch (_d.label) {
case 0: return [4 /*yield*/, store.read_docker_status()];
case 0:
log('Initializing structure');
return [4 /*yield*/, store.read_docker_status()];
case 1:

@@ -116,3 +118,5 @@ _d.sent();

switch (_a.label) {
case 0: return [4 /*yield*/, init_structure(store)];
case 0:
log('Starting up');
return [4 /*yield*/, init_structure(store)];
case 1:

@@ -134,2 +138,3 @@ _a.sent();

if (service.passive && !include_passive) {
log("Skipping passive service ".concat(service.name));
services.splice(index, 1);

@@ -142,4 +147,7 @@ continue;

});
if (waiting_for.length > 0)
if (waiting_for.length > 0) {
log("Service ".concat(service.name, " waiting for ").concat(waiting_for.join(', ')));
continue;
}
log("Queueing ".concat(service.name));
queue.push.apply(queue, services.splice(index, 1));

@@ -227,2 +235,3 @@ }

case 0:
log('Pulling images');
all_images = [];

@@ -229,0 +238,0 @@ buildable = [];

10

lib/commands.ts

@@ -21,2 +21,3 @@ /* eslint-disable require-unicode-regexp */

async function init_structure (store: Store): Promise<void> {
log ('Initializing structure');
await store.read_docker_status ();

@@ -41,2 +42,3 @@ for (const volume of store.volumes)

): Promise<void> {
log ('Starting up');
await init_structure (store);

@@ -54,2 +56,3 @@ if (pull)

if (service.passive && !include_passive) {
log (`Skipping passive service ${service.name}`);
services.splice (index, 1);

@@ -63,5 +66,9 @@ continue;

});
if (waiting_for.length > 0)
if (waiting_for.length > 0) {
log (`Service ${service.name} waiting for ${waiting_for.join (', ')}`);
continue;
}
log (`Queueing ${service.name}`);
queue.push (...services.splice (index, 1));

@@ -105,2 +112,3 @@ }

export async function do_pull (store: Store): Promise<void> {
log ('Pulling images');
const all_images: string[] = [];

@@ -107,0 +115,0 @@ const buildable: Service[] = [];

{
"name": "@sapphirecode/dcm",
"version": "1.2.6",
"version": "1.2.7",
"main": "index.js",

@@ -5,0 +5,0 @@ "description": "Managing docker compose configurations, volumes and networks",

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