Skip to content

Commit

Permalink
Build version 2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
olivernn committed Oct 16, 2018
1 parent 08a2bab commit e705c40
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.3.4

* Ensure that [inverted index is prototype-less](https://github.com/olivernn/lunr.js/pull/378) after serialization, thanks [Rob Hoelz](https://github.com/hoelzro).

## 2.3.3

* Fig bugs [#270](https://github.com/olivernn/lunr.js/issues/270) and [#368](https://github.com/olivernn/lunr.js/issues/368), some wildcard searches over long tokens could be extremely slow, potentially pinning the current thread indefinitely. Thanks [Kyle Spearrin](https://github.com/kspearrin) and [Mohamed Eltuhamy](https://github.com/meltuhamy) for reporting.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.3
2.3.4
6 changes: 3 additions & 3 deletions lunr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.3
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.4
* Copyright (C) 2018 Oliver Nightingale
* @license MIT
*/
Expand Down Expand Up @@ -54,7 +54,7 @@ var lunr = function (config) {
return builder.build()
}

lunr.version = "2.3.3"
lunr.version = "2.3.4"
/*!
* lunr.utils
* Copyright (C) 2018 Oliver Nightingale
Expand Down Expand Up @@ -2289,7 +2289,7 @@ lunr.Index.load = function (serializedIndex) {
var attrs = {},
fieldVectors = {},
serializedVectors = serializedIndex.fieldVectors,
invertedIndex = {},
invertedIndex = Object.create(null),
serializedInvertedIndex = serializedIndex.invertedIndex,
tokenSetBuilder = new lunr.TokenSet.Builder,
pipeline = lunr.Pipeline.load(serializedIndex.pipeline)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lunr",
"description": "Simple full-text search in your browser.",
"version": "2.3.3",
"version": "2.3.4",
"author": "Oliver Nightingale",
"keywords": ["search"],
"homepage": "http://lunrjs.com",
Expand Down

0 comments on commit e705c40

Please sign in to comment.