Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

highlight-words-core

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highlight-words-core - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

8

dist/index.js

@@ -105,2 +105,4 @@ module.exports =

caseSensitive = _ref$caseSensitive === undefined ? false : _ref$caseSensitive,
_ref$findChunks = _ref.findChunks,
findChunks = _ref$findChunks === undefined ? defaultFindChunks : _ref$findChunks,
sanitize = _ref.sanitize,

@@ -159,3 +161,3 @@ searchWords = _ref.searchWords,

*/
var findChunks = exports.findChunks = function findChunks(_ref3) {
var defaultFindChunks = function defaultFindChunks(_ref3) {
var autoEscape = _ref3.autoEscape,

@@ -201,2 +203,5 @@ caseSensitive = _ref3.caseSensitive,

};
// Allow the findChunks to be overridden in findAll,
// but for backwards compatibility we export as the old name
exports.findChunks = defaultFindChunks;

@@ -210,2 +215,3 @@ /**

*/
var fillInChunks = exports.fillInChunks = function fillInChunks(_ref4) {

@@ -212,0 +218,0 @@ var chunksToHighlight = _ref4.chunksToHighlight,

2

package.json
{
"name": "highlight-words-core",
"description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
"version": "1.1.2",
"version": "1.2.0",
"author": "Brian Vaughn <brian.david.vaughn@gmail.com>",

@@ -6,0 +6,0 @@ "license": "MIT",

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