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

js-solr-highlighter

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-solr-highlighter - npm Package Compare versions

Comparing version 0.8.4 to 0.8.5

.eslintrc

2

index.test.js

@@ -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",

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