js-solr-highlighter
Advanced tools
Comparing version 0.8.4 to 0.8.5
@@ -1,2 +0,2 @@ | ||
import { isStopWord, highlightByQuery } from './index.js' | ||
import { isStopWord, highlightByQuery } from './dist/index.js' | ||
@@ -3,0 +3,0 @@ describe("tests with Europe PMC's standard query set", () => { |
{ | ||
"name": "js-solr-highlighter", | ||
"version": "0.8.4", | ||
"version": "0.8.5", | ||
"description": "A JavaScript library for highlighting HTML text based on the query in the lucene/solr query syntax", | ||
"main": "build/index.js", | ||
"scripts": { | ||
"build": "babel index.js -d build", | ||
"lint": "./node_modules/.bin/eslint index.js index.test.js --fix", | ||
"build": "tsc && babel dist/index.js -d build", | ||
"lint": "./node_modules/.bin/eslint index.ts index.test.js --fix", | ||
"test": "jest" | ||
@@ -17,3 +17,3 @@ }, | ||
"lucene": "^2.1.1", | ||
"text-annotator": "^0.8.7" | ||
"text-annotator": "^0.9.7" | ||
}, | ||
@@ -24,2 +24,4 @@ "devDependencies": { | ||
"@babel/preset-env": "^7.18.2", | ||
"@typescript-eslint/eslint-plugin": "^5.29.0", | ||
"@typescript-eslint/parser": "^5.29.0", | ||
"babel-jest": "^28.1.1", | ||
@@ -31,3 +33,4 @@ "eslint": "^8.18.0", | ||
"jest": "^28.1.1", | ||
"prettier": "2.7.1" | ||
"prettier": "2.7.1", | ||
"typescript": "^4.7.4" | ||
}, | ||
@@ -46,29 +49,2 @@ "babel": { | ||
}, | ||
"eslintConfig": { | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:jest/recommended", | ||
"plugin:prettier/recommended" | ||
], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"prettier" | ||
] | ||
}, | ||
"prettier": { | ||
"semi": false, | ||
"singleQuote": true | ||
}, | ||
"keywords": [ | ||
@@ -75,0 +51,0 @@ "Lucene", |
55521
10
1192
13
+ Addedtext-annotator@0.9.7(transitive)
- Removedhtml-entities@2.5.2(transitive)
- Removedtext-annotator@0.8.9(transitive)
Updatedtext-annotator@^0.9.7