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

workshopper-adventure

Package Overview
Dependencies
Maintainers
3
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

workshopper-adventure - npm Package Compare versions

Comparing version 4.6.1 to 4.6.2

11

lib/commands/credits.js

@@ -6,3 +6,2 @@ const fs = require('fs')

exports.handler = function credits(shop) {
var stream = shop.createMarkdownStream()
var table = '# {{title}}\n' +

@@ -38,7 +37,7 @@ '## {{credits.title}}\n' +

stream.append(table, 'md')
stream.append('\n')
stream
.pipe(require('../mseePipe')())
.pipe(process.stdout)
shop.createMarkdownStream()
.appendChain(table, 'md')
.appendChain('\n')
.pipe(require('../mseePipe')())
.pipe(process.stdout)
}

@@ -10,6 +10,6 @@ const print = require('../print')

stream.append('\n')
stream
.pipe(require('../mseePipe')())
.pipe(process.stdout)
.appendChain('\n')
.pipe(require('../mseePipe')())
.pipe(process.stdout)
}

@@ -15,4 +15,4 @@ function renderNonTty (shop, menuOptions) {

})
stream.append('---\n', 'md')
stream
.appendChain('---\n', 'md')
.pipe(require('../mseePipe')())

@@ -19,0 +19,0 @@ .pipe(process.stdout)

@@ -32,4 +32,4 @@ function getExtras (shop) {

})
stream.append('\n---\n', 'md')
stream
.appendChain('\n---\n', 'md')
.pipe(require('../mseePipe')())

@@ -36,0 +36,0 @@ .pipe(process.stdout)

exports.menu = false
exports.handler = function (shop, args) {
shop.run(args, null, function (err, pass, stream) {
if (err) {
stream.append(err)
}
stream = stream.pipe(require('../mseePipe')())
stream.on('end', function () {
process.exit(pass && !err ? 0 : 1)
})
stream.pipe(process.stdout)
stream
.appendChain(err)
.pipe(require('../mseePipe')())
.pipe(process.stdout)
.on('end', function () {
process.exit(pass && !err ? 0 : 1)
})
})
}

@@ -31,6 +31,4 @@ var update = exports

stream.append('# {{title}}\n')
mseeStream = stream.pipe(require('../mseePipe')())
if (error) {
stream.append('Error while trying to evaluate package: ' + error)
stream.on('end', process.exit.bind(process, 1))
} else if (current === latest) {

@@ -41,10 +39,16 @@ stream.append(__('update.latest_version', {version: current, name: name}))

stream.append(__('update.now', {current: current, latest: latest, cmd: cmd, name: name}))
stream.on('end', function () {
spawn('npm', ['install', name, '-g'], {
stdio: [process.stdin, process.stdout, process.stderr]
});
}
stream
.pipe(require('../mseePipe')())
.on('end', function () {
if (current !== latest) {
spawn('npm', ['install', name, '-g'], {
stdio: [process.stdin, process.stdout, process.stderr]
});
} else if (error) {
process.exit(1)
}
})
}
mseeStream.pipe(process.stdout, {end: false});
.pipe(process.stdout, {end: false});
})
}
exports.menu = false
exports.handler = exports.handler = function (shop, args) {
shop.verify(args, null, function (err, pass, stream) {
if (err) {
stream.append(err)
}
stream = stream.pipe(require('../mseePipe')())
stream.on('end', function () {
process.exit(pass && !err ? 0 : 1)
})
stream.pipe(process.stdout)
})
shop.verify(args, null, function (err, pass, stream) {
stream
.appendChain(err)
.pipe(require('../mseePipe')())
.pipe(process.stdout)
.on('end', function () {
process.exit(pass && !err ? 0 : 1)
})
})
}
{
"name": "workshopper-adventure",
"version": "4.6.1",
"version": "4.6.2",
"description": "A terminal workshop runner framework (adventure compatible)",

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

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