Skip to content

Commit 750e043

Browse files
committed
Release v0.0.7
Update devDependencies to the latest packages. Update node version in .travis.yml to latest. Update to rollup 2.0. Fix #4. Add info to the readme about loading built files directly from unpkg.com. Add a test that doesn't pass a matches array to get the branch coverage to 100%. Add CHANGELOG.md.
1 parent ec60169 commit 750e043

File tree

6 files changed

+3334
-3795
lines changed

6 files changed

+3334
-3795
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22

33
node_js:
4-
- "8"
4+
- node
55

66
cache:
77
directories:

CHANGELOG.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Changelog
2+
3+
## [0.0.7] - 2020-05-03
4+
5+
### Added
6+
7+
- Info about loading built files from unpkg.com to the readme.
8+
- Add a test that doesn't pass a matches array to get the branch coverage to 100%.
9+
- Added CHANGELOG.md.
10+
11+
### Fixed
12+
13+
- Update `devDependencies` to latest packages.
14+
- Update node version in .travis.yml to latest.
15+
- Update to rollup 2.0.
16+
17+
18+
## [0.0.6] - 2020-01-19
19+
20+
### Fixed
21+
22+
- The correct match indices were not returned in some cases, since the whole `matches` array was getting cleared when `remainingScore` was 0 during a search.
23+
- Update `devDependencies` to latest packages.
24+
25+
26+
## [0.0.5] - 2019-10-19
27+
28+
### Fixed
29+
30+
- Update `devDependencies` to latest packages.
31+
32+
33+
## [0.0.4] - 2019-05-27
34+
35+
### Fixed
36+
37+
- Update to babel 7, jest 24, and rollup 1.0.
38+
- Update `devDependencies` to latest packages.
39+
40+
41+
## [0.0.3] - 2019-05-27
42+
43+
### Added
44+
45+
- Support searching nested keys on objects use dot-delimited key names, like `"foo.bar"`.
46+
47+
48+
## [0.0.2] - 2018-11-05
49+
50+
### Fixed
51+
52+
- Changed `prepare` script to `prepublishOnly`.
53+
54+
55+
## [0.0.1] - 2018-11-05
56+
57+
### Added
58+
59+
- Initial release.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ QuickScore is fast, dependency-free, and is less than 2KB when minified and gzip
2525
npm install --save quick-score
2626
```
2727

28+
If you prefer to use the built library files directly instead of using `npm`, you can download them from [https://unpkg.com/browse/quick-score/dist/](https://unpkg.com/browse/quick-score/dist/).
29+
30+
Or you can load a particular release of the minified script directly from unpkg:
31+
32+
```html
33+
<script src="https://unpkg.com/browse/quick-score@0.0.6/dist/quick-score.min.js"></script>
34+
<script type="text/javascript">
35+
const qs = new quickScore.QuickScore(...);
36+
const results = qs.search("test");
37+
</script>
38+
```
39+
2840

2941
## Usage
3042

0 commit comments

Comments
 (0)