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

node-docker-api

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-docker-api - npm Package Compare versions

Comparing version 1.1.15 to 1.1.16

3

package.json
{
"name": "node-docker-api",
"version": "1.1.15",
"version": "1.1.16",
"description": "Docker Remote API driver for node",
"main": "./lib/docker",
"typings": "./lib/docker",
"scripts": {

@@ -7,0 +8,0 @@ "watch-test": "nodemon --watch build --watch test --exec 'npm run test'",

@@ -66,3 +66,14 @@ import test from 'ava'

test.after('prune', async t => {
t.truthy(await docker.image.prune())
async function tryPrune(attempt = 5) {
if (attempt > 0) {
try {
await docker.image.prune()
} catch (e) {
tryPrune(attempt - 1)
}
} else {
t.truthy(await docker.image.prune())
}
}
await tryPrune()
})

@@ -38,3 +38,14 @@ import test from 'ava'

test.after('prune', async t => {
t.truthy(await docker.network.prune())
async function tryPrune(attempt = 5) {
if (attempt > 0) {
try {
await docker.network.prune()
} catch (e) {
tryPrune(attempt - 1)
}
} else {
t.truthy(await docker.network.prune())
}
}
await tryPrune()
})

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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