Skip to content

Commit

Permalink
include types and update @beforesemicolon/html-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
ECorreia45 committed Oct 28, 2024
1 parent d65d160 commit f7f4f98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/cjs/index.js"
"default": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"scripts": {
"test": "jest --coverage",
Expand Down Expand Up @@ -80,6 +81,6 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@beforesemicolon/html-parser": "^0.4.0"
"@beforesemicolon/html-parser": "^0.6.0"
}
}
10 changes: 5 additions & 5 deletions src/html.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { parse } from '@beforesemicolon/html-parser/dist/parse.js'
import { EffectUnSubscriber } from './types.ts'
import { ReactiveNode } from './ReactiveNode.ts'
import { insertNodeAfter } from './utils/insert-node-after.ts'
import {
parse,
DocumentFragmentLike,
ElementLike,
} from '@beforesemicolon/html-parser/dist/Doc.js'
} from '@beforesemicolon/html-parser'
import { EffectUnSubscriber } from './types.ts'
import { ReactiveNode } from './ReactiveNode.ts'
import { insertNodeAfter } from './utils/insert-node-after.ts'
import { parseDynamicRawValue } from './utils/parse-dynamic-raw-value.ts'
import { renderContent } from './utils/render-content.ts'
import { booleanAttributes } from './utils/boolean-attributes.ts'
Expand Down

0 comments on commit f7f4f98

Please sign in to comment.