Skip to content

Commit

Permalink
chore: update version and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhongxuan committed Jun 19, 2021
1 parent 3aa248a commit 2bde715
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# CHANGELOG

## v0.7.3

### Fix

- highlight wrapper inside another wrapper not get updated when deleting [#80](https://github.com/alienzhou/web-highlighter/pull/80)
- make the className the latest one when wrapping a partial or an overlap node [#82](https://github.com/alienzhou/web-highlighter/pull/82)

### Improvement

- better typings for event emitter [#81](https://github.com/alienzhou/web-highlighter/pull/81)
- tsconfig path alias and npm scripts [#84](https://github.com/alienzhou/web-highlighter/pull/84)

## v0.7.2

### Fix
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-highlighter",
"version": "0.7.2",
"version": "0.7.3",
"description": "✨A no-runtime dependency lib for text highlighting & persistence on any website ✨🖍️",
"main": "dist/web-highlighter.min.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion test/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ describe('Highlighter API', function () {
});
});

describe('complicated use cases', () => {
describe('changing className by .setOption', () => {
it('should get updated after deleting when the highlight wrapper is inside another wrapper', () => {
// https://github.com/alienzhou/web-highlighter/pull/80
const defaultClassName = getDefaultOptions().style.className;
Expand Down

0 comments on commit 2bde715

Please sign in to comment.