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

bibtex-search

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

bibtex-search - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

.index.js.swp

10

index.js

@@ -11,2 +11,3 @@ #!/usr/bin/env node

const clipboardy = require('clipboardy');
const chalk = require('chalk');

@@ -26,3 +27,3 @@ const MAX_ARTICLES = 10;

const articleSelector = selector(article);
const link = articleSelector.find('.title > a');
const link = articleSelector.find('.title > a[href^=citation]');
const title = link.text();

@@ -70,3 +71,3 @@ const authors = articleSelector

value: id,
name: `${title} (${authors})`
name: `${title} ${chalk.dim(`(${authors})`)}`
}));

@@ -99,2 +100,7 @@

if (!articles.length) {
spinner.info(`No results found for query '${query}'.`);
process.exit(0);
}
const questions = buildQuestions(articles);

@@ -101,0 +107,0 @@ const { article } = await inquirer.prompt(questions);

3

package.json
{
"name": "bibtex-search",
"version": "0.1.0",
"version": "0.1.1",
"description": "Search for BibTeX references",

@@ -30,2 +30,3 @@ "main": "index.js",

"dependencies": {
"chalk": "^2.3.0",
"cheerio": "^1.0.0-rc.2",

@@ -32,0 +33,0 @@ "clipboardy": "^1.2.2",

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

# bibtex-search [![Build Status](https://travis-ci.org/ekmartin/bibtex-search.svg?branch=travis)](https://travis-ci.org/ekmartin/bibtex-search)
# bibtex-search [![Build Status](https://travis-ci.org/ekmartin/bibtex-search.svg?branch=master)](https://travis-ci.org/ekmartin/bibtex-search)

@@ -3,0 +3,0 @@ > Command-line interface for retrieving BibTeX references

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