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

cli-eb-test

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-eb-test - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

bin/.gitkeep

2

cache.json

@@ -1,1 +0,1 @@

{"timestamp":1505491369228,"version":"0.0.1"}
{"timestamp":1505492575058,"version":"0.0.1"}

@@ -11,8 +11,5 @@ const path = require('path')

),
targetDirectory: path.join(
__dirname,
'bin'
)
targetDirectory: __dirname
})
install.install().catch(console.log)

@@ -12,3 +12,5 @@ const fetch = require('node-fetch')

this.targetDirectory = targetDirectory
this.target = path.join(targetDirectory, 'dadi')
this.binDirectory = path.join(targetDirectory, 'bin')
this.target = path.join(this.binDirectory, 'dadi')
this.targetTmp = `${this.target}.partial`

@@ -18,11 +20,21 @@ }

Installer.prototype.createRunner = function () {
const contents = 'node updater.js && ./dadi'
const runnerPath = path.join(
this.targetDirectory,
'runner'
)
const paths = {
core: path.join(
this.binDirectory,
'dadi'
),
runner: path.join(
this.binDirectory,
'runner'
),
updater: path.join(
this.targetDirectory,
'updater.js'
)
}
const contents = `node ${paths.updater} && ${paths.core}`
fs.writeFileSync(paths.runner, contents)
fs.writeFileSync(runnerPath, contents)
this.setExecPermissions(runnerPath)
this.setExecPermissions(paths.runner)
}

@@ -29,0 +41,0 @@

{
"name": "cli-eb-test",
"version": "2.2.0",
"version": "2.3.0",
"description": "A command-line tool for installation and customisation of the DADI platform",

@@ -5,0 +5,0 @@ "bin": {

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