@getlang/lib
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -1,2 +0,1 @@ | ||
/// <reference types="./types.d.ts" /> | ||
export * as http from './net/http.js'; | ||
@@ -3,0 +2,0 @@ export * as html from './values/html.js'; |
import type { AnyNode } from 'domhandler'; | ||
import './patch-dom.js'; | ||
import './getlang__xpath.js'; | ||
import './html/patch-dom.js'; | ||
import './html/types.ext.js'; | ||
import './html/types.js'; | ||
export declare const parse: (html: string) => AnyNode; | ||
export declare const select: (el: AnyNode, selector: string, expand: boolean) => AnyNode | AnyNode[] | undefined; | ||
export declare const toValue: (el: AnyNode) => string; |
@@ -8,4 +8,5 @@ import { parse as parse5 } from 'parse5'; | ||
import { SelectorSyntaxError, NullSelectionError, invariant, } from '@getlang/utils'; | ||
import './patch-dom.js'; | ||
import './getlang__xpath.js'; | ||
import './html/patch-dom.js'; | ||
import './html/types.ext.js'; | ||
import './html/types.js'; | ||
export const parse = (html) => { | ||
@@ -12,0 +13,0 @@ return parse5(html, { treeAdapter: adapter }); |
@@ -1,3 +0,1 @@ | ||
/// <reference types="./types.d.ts" /> | ||
export * as http from './net/http.js' | ||
@@ -4,0 +2,0 @@ export * as html from './values/html.js' |
{ | ||
"name": "@getlang/lib", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -13,4 +13,5 @@ import type { AnyNode } from 'domhandler' | ||
} from '@getlang/utils' | ||
import './patch-dom.js' | ||
import './getlang__xpath.js' | ||
import './html/patch-dom.js' | ||
import './html/types.ext.js' | ||
import './html/types.js' | ||
@@ -17,0 +18,0 @@ export const parse = (html: string): AnyNode => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
34269
632