@a_kawashiro/jendeley
Advanced tools
Comparing version 2.0.6 to 2.0.7
"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.0.6"; | ||
const JENDELEY_VERSION = "2.0.7"; | ||
exports.JENDELEY_VERSION = JENDELEY_VERSION; | ||
@@ -6,0 +6,0 @@ const JENDELEY_NO_TRACK = "[jendeley no track]"; |
@@ -150,3 +150,3 @@ "use strict"; | ||
} | ||
else if (getEdgeLength(edge, suffixPatriciaTree) === edgeIndex) { | ||
else if (getEdgeLength(edge, suffixPatriciaTree) <= edgeIndex) { | ||
for (const [_, e] of Object.entries(edge.to.edges)) { | ||
@@ -174,4 +174,3 @@ const ms = fuzzySearchDFS(pattern, patternIndex, suffixPatriciaTree, e, 0, score, consumed, maxConsumed, new Set()); | ||
// Option to care about case | ||
pattern[patternIndex].toLowerCase() === | ||
suffixPatriciaTree.str[edge.start + edgeIndex].toLowerCase()) { | ||
pattern[patternIndex].toLowerCase() === edgeStr[edgeIndex].toLowerCase()) { | ||
const ms1 = fuzzySearchDFS(pattern, patternIndex, suffixPatriciaTree, edge, edgeIndex + 1, score + SCORE_REWARD_UNMATCHED, consumed + 1, maxConsumed, new Set()); | ||
@@ -178,0 +177,0 @@ for (const m of ms1) { |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "", | ||
@@ -9,0 +9,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5479030
7494