Skip to content

Commit 2bde715

Browse files
author
zhouhongxuan
committed
chore: update version and changelog
1 parent 3aa248a commit 2bde715

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# CHANGELOG
22

3+
## v0.7.3
4+
5+
### Fix
6+
7+
- highlight wrapper inside another wrapper not get updated when deleting [#80](https://github.com/alienzhou/web-highlighter/pull/80)
8+
- make the className the latest one when wrapping a partial or an overlap node [#82](https://github.com/alienzhou/web-highlighter/pull/82)
9+
10+
### Improvement
11+
12+
- better typings for event emitter [#81](https://github.com/alienzhou/web-highlighter/pull/81)
13+
- tsconfig path alias and npm scripts [#84](https://github.com/alienzhou/web-highlighter/pull/84)
14+
315
## v0.7.2
416

517
### Fix

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-highlighter",
3-
"version": "0.7.2",
3+
"version": "0.7.3",
44
"description": "✨A no-runtime dependency lib for text highlighting & persistence on any website ✨🖍️",
55
"main": "dist/web-highlighter.min.js",
66
"types": "dist/index.d.ts",

test/api.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ describe('Highlighter API', function () {
490490
});
491491
});
492492

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

0 commit comments

Comments
 (0)