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

@fresh8/copacetic

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fresh8/copacetic - npm Package Compare versions

Comparing version 3.5.0 to 3.5.1

22

lib/copacetic.js

@@ -113,9 +113,4 @@ const EventEmitter = require('events')

pollAll ({ interval, parallel, schedule } = {}) {
const dependencies = this.dependencyNames.map(s => ({
name: this.getDependency(s).name,
retries: 1
}))
this.poll({ dependencies: 'all', interval, parallel, schedule })
this.poll({ dependencies, interval, parallel, schedule })
return this

@@ -164,6 +159,17 @@ }

? () => this._checkOne(name, 1, humanInterval(maxDelay))
: () => this._checkMany(dependencies, parallel)
: (_dependencies) => this._checkMany(_dependencies, parallel)
const loop = () => {
_check()
let _dependencies = []
if (dependencies === 'all') {
_dependencies = this.dependencyNames.map(s => ({
name: this.getDependency(s).name,
retries: 1
}))
} else {
_dependencies = dependencies
}
_check(_dependencies)
.catch(e => e)

@@ -170,0 +176,0 @@ .then((res) => {

{
"name": "@fresh8/copacetic",
"version": "3.5.0",
"version": "3.5.1",
"description": "A package to help your service check the health of its dependencies.",

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

Sorry, the diff of this file is too big to display

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