We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d9d5ab3 + ee5e1c5 commit 36aa2b5Copy full SHA for 36aa2b5
index.d.ts
@@ -3,7 +3,7 @@
3
import {AxiosRequestConfig} from "axios";
4
import {IOptions as SanitizeOptions} from "sanitize-html";
5
import {defaults} from "html-crush";
6
-import {URLPatternInit} from "urlpattern-polyfill";
+import "urlpattern-polyfill";
7
8
type HtmlCrushOptions = Partial<typeof defaults>
9
src/utils/findRulesByUrl.js
@@ -1,9 +1,6 @@
1
// utils --> findRulesByUrl
2
-
-import { URLPattern } from 'urlpattern-polyfill'
import { getQueryRules } from '../config.js'
+import 'urlpattern-polyfill'
/**
* @param urls {string[]}
* @returns {QueryRule|{}}
0 commit comments