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

@eris/image-cli

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eris/image-cli - npm Package Compare versions

Comparing version 0.1.1-alpha.22 to 0.2.0

scripts/download-prebuilt.sh

2

lib/config-entry.js
const fs = require('fs')
const REQUIRED_PROPERTIES = ['input', 'output', 'action']
const REQUIRED_PROPERTIES = ['input', 'output']

@@ -5,0 +5,0 @@ class ConfigEntry {

@@ -45,2 +45,4 @@ const fs = require('fs')

this._cachedFiles.set(entry.output, string)
} else if (!entry.action) {
result = this._getBufferFromCacheOrDisk(entry.input)
} else {

@@ -76,3 +78,3 @@ throw new Error(`Unrecognized action "${entry.action}"`)

const result = await image[entry.action]()
const result = entry.action ? await image[entry.action]() : input
let buffer = result

@@ -79,0 +81,0 @@

{
"name": "@eris/image-cli",
"version": "0.1.1-alpha.22",
"version": "0.2.0",
"description": "CLI wrapper and standalone executable API for @eris/image.",

@@ -10,2 +10,3 @@ "main": "./lib/client.js",

"scripts": {
"download-prebuilt": "./scripts/download-prebuilt.sh",
"build": "bash ./scripts/build.sh",

@@ -49,5 +50,5 @@ "test": "npm run test:lint && npm run test:unit",

"dependencies": {
"@eris/image": "0.1.1-alpha.22",
"@eris/image": "0.2.0",
"yargs": "^9.0.1"
}
}
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