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

captain-log

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

captain-log - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

cli.js

5

demo.js

@@ -11,3 +11,4 @@ const captain = require('./')

todo: true,
since: '2016-09-10T12:00:00Z',
since: '2016-09-18T12:00:00Z',
issueLink: true,
exclude: [13]

@@ -22,3 +23,3 @@ },

todo: true,
since: '2016-09-10T12:00:00Z',
since: '2016-09-18T12:00:00Z',
exclude: [13]

@@ -25,0 +26,0 @@ }, {

6

index.js

@@ -37,2 +37,3 @@ const request = require('request')

let prefix = ''
d.number = '#' + d.number
if (config.prefix) {

@@ -44,3 +45,6 @@ prefix += ' ' + config.prefix

}
console.log(`-${prefix} #${d.number} : ${d.title}`)
if (config.issueLink) {
d.number = `[${d.number}](${d.url})`
}
console.log(`-${prefix} ${d.number} : ${d.title}`)
// console.log(d.labels.map(d => d.name).join(', '))

@@ -47,0 +51,0 @@ })

{
"name": "captain-log",
"version": "0.1.1",
"version": "0.1.2",
"description": "The log from your favorite captains",

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

@@ -15,3 +15,3 @@ # captain-log

```
```js
const captain = require('captain-log')

@@ -28,3 +28,3 @@ captain([{

prefix: ':tada:' // wants to prefix each issues with a special emoji 🎉?
}])
}] [, optionallyYourBasicAuth])
```

@@ -42,2 +42,4 @@

See a better demo for `ipld/specs` ([code here](https://github.com/nicola/captain-log/blob/master/demo.js))
## Quick history

@@ -44,0 +46,0 @@

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