hit-highlighter
Advanced tools
Comparing version 1.0.1 to 1.0.3
14
index.js
@@ -26,2 +26,16 @@ // Default hightlight code object | ||
// const defaultProperties = { | ||
// highlightStart: '<span class="">', | ||
// highlightEnd: '</span>', | ||
// itemMaxWords: '0' | ||
// } | ||
// const newHighlight = function (query, item, properties) { | ||
// properties = { | ||
// ...defaultProperties, | ||
// ...properties | ||
// } | ||
// } | ||
module.exports = highlight | ||
// module.exports = newHighlight |
{ | ||
"name": "hit-highlighter", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "Small and simple hit highlighter for search engines running in the browser and Node.js", | ||
@@ -21,7 +21,7 @@ "main": "index.js", | ||
"devDependencies": { | ||
"standard": "^13.0.2", | ||
"webpack": "^4.36.1", | ||
"webpack-cli": "^3.3.6", | ||
"tape": "^4.11.0", | ||
"tape-run": "^6.0.0" | ||
"standard": "^14.3.1", | ||
"webpack": "^4.42.0", | ||
"webpack-cli": "^3.3.11", | ||
"tape": "^4.13.2", | ||
"tape-run": "^6.0.1" | ||
}, | ||
@@ -28,0 +28,0 @@ "author": "Espen Klem", |
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
64358
16
235