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.8 to 1.2.9

8

dist/lib/commands.js

@@ -113,3 +113,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var services, queue, started, index, service, waiting_for, _i, waiting_for_1, waiting_for_service, is_available, _a, services_1, available, threads, i;
var services, queue, started, index, passes, service, waiting_for, _i, waiting_for_1, waiting_for_service, is_available, _a, services_1, available, threads, i;
var _this = this;

@@ -133,3 +133,9 @@ return __generator(this, function (_b) {

index = 0;
passes = 0;
while (services.length > 0) {
if (index >= services.length) {
passes++;
(0, assert_1.default)(passes < 128, "Maximum depth reached. Circular dependency detected\n".concat(services.map(function (s) { return "[".concat(s.name, "] ").concat(s.depends_on.join(', ')); })
.join('\n')));
}
index %= services.length;

@@ -136,0 +142,0 @@ service = services[index];

@@ -50,3 +50,13 @@ /* eslint-disable require-unicode-regexp, max-depth */

let index = 0;
let passes = 0;
while (services.length > 0) {
if (index >= services.length) {
passes++;
assert (
passes < 128,
`Maximum depth reached. Circular dependency detected\n${
services.map ((s) => `[${s.name}] ${s.depends_on.join (', ')}`)
.join ('\n')}`
);
}
index %= services.length;

@@ -53,0 +63,0 @@ const service = services[index];

2

package.json
{
"name": "@sapphirecode/dcm",
"version": "1.2.8",
"version": "1.2.9",
"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