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

@a_kawashiro/jendeley

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@a_kawashiro/jendeley - npm Package Compare versions

Comparing version 2.1.3 to 2.2.0

2

dist/constants.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MAX_ENTRIES_IN_GET_API = exports.JENDELEY_DIR = exports.JENDELEY_VERSION = exports.ARXIV_API_URL = exports.ID_TYPE_URL = exports.ID_TYPE_META = exports.ID_TYPE_BOOK = exports.ID_TYPE_PATH = exports.ID_TYPE_ISBN = exports.ID_TYPE_DOI = exports.ID_TYPE_ARXIV = exports.ENTRY_DATA_FROM_ARXIV = exports.ENTRY_TITLE = exports.ENTRY_TEXT = exports.ENTRY_COMMENTS = exports.ENTRY_TAGS = exports.ENTRY_URL = exports.ENTRY_PATH = exports.ENTRY_AUTHORS = exports.ENTRY_ID_TYPE = exports.DB_META_KEY = exports.JENDELEY_NO_ID = exports.JENDELEY_NO_TRACK = exports.TITLE_EDITABLE_ID_TYPES = exports.AUTHORES_EDITABLE_ID_TYPES = void 0;
const JENDELEY_VERSION = "2.1.3";
const JENDELEY_VERSION = "2.2.0";
exports.JENDELEY_VERSION = JENDELEY_VERSION;

@@ -6,0 +6,0 @@ const JENDELEY_NO_TRACK = "[jendeley no track]";

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

.requiredOption("--db <db>", "Database JSON file generated by scan command")
.option("--no_browser", "Don't launch browser")
.option("--allow_cors", "Allow all CORS request. Only for developers.")

@@ -65,3 +64,3 @@ .option("--port <port>", "Use if the default port 5000 is used.", "5000")

const port_n = parseInt(options._optionValues.port, 10);
(0, server_1.startServer)((0, path_util_1.pathStrToDirs)(path_1.default.resolve(options._optionValues.db)), options._optionValues.no_browser, options._optionValues.allow_cors, port_n);
(0, server_1.startServer)((0, path_util_1.pathStrToDirs)(path_1.default.resolve(options._optionValues.db)), options._optionValues.allow_cors, port_n);
});

@@ -68,0 +67,0 @@ program

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -39,3 +16,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

const load_db_1 = require("./load_db");
function startServer(dbPath, noBrowser, allowCors, port) {
function startServer(dbPath, allowCors, port) {
if (fs_1.default.existsSync((0, path_util_1.concatDirs)(dbPath))) {

@@ -82,5 +59,2 @@ {

logger_1.logger.info(`Open http://localhost:${port} with your browser`);
if (!noBrowser) {
Promise.resolve().then(() => __importStar(require("open"))).then((open) => open.default(`http://localhost:${port}`));
}
});

@@ -87,0 +61,0 @@ }

@@ -6,3 +6,3 @@ {

},
"version": "2.1.3",
"version": "2.2.0",
"description": "",

@@ -18,3 +18,3 @@ "main": "index.js",

"profile_scan_test_pdfs": "npm run build && node --require source-map-support/register --prof dist/index.js scan --papers_dir test_pdfs",
"scan_test_pdfs_and_launch": "npm run build && node --require source-map-support/register dist/index.js scan --papers_dir test_pdfs --book_dirs test_pdfs/dummyTapl && node --require source-map-support/register dist/index.js launch --db test_pdfs/jendeley_db.json --port 5001 --no_browser --allow_cors",
"scan_test_pdfs_and_launch": "npm run build && node --require source-map-support/register dist/index.js scan --papers_dir test_pdfs --book_dirs test_pdfs/dummyTapl && node --require source-map-support/register dist/index.js launch --db test_pdfs/jendeley_db.json --port 5001 --allow_cors",
"fix:prettier": "prettier --write src",

@@ -66,3 +66,2 @@ "check:prettier": "prettier --check src"

"node-isbn": "^1.6.1",
"open": "^9.1.0",
"pdf-parse": "^1.1.1",

@@ -69,0 +68,0 @@ "pdf.js-extract": "^0.2.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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