html-validate 8.22.0 → 8.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.js +9 -3
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/tsdoc-metadata.json +1 -1
- package/dist/es/core.js +9 -3
- package/dist/es/core.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/types/browser.d.ts +7 -1
- package/dist/types/index.d.ts +7 -1
- package/package.json +13 -12
package/dist/cjs/core.js
CHANGED
|
@@ -11241,12 +11241,18 @@ class Config {
|
|
|
11241
11241
|
}
|
|
11242
11242
|
|
|
11243
11243
|
class ConfigLoader {
|
|
11244
|
-
|
|
11244
|
+
/**
|
|
11245
|
+
* Create a new ConfigLoader.
|
|
11246
|
+
*
|
|
11247
|
+
* @param resolvers - Sorted list of resolvers to use (in order).
|
|
11248
|
+
* @param configData - Default configuration (which all configurations will inherit from).
|
|
11249
|
+
*/
|
|
11250
|
+
constructor(resolvers, configData) {
|
|
11245
11251
|
const defaults = Config.empty();
|
|
11246
11252
|
this.resolvers = resolvers;
|
|
11247
11253
|
this.globalConfig = defaults.merge(
|
|
11248
11254
|
this.resolvers,
|
|
11249
|
-
|
|
11255
|
+
configData ? this.loadFromObject(configData) : this.defaultConfig()
|
|
11250
11256
|
);
|
|
11251
11257
|
}
|
|
11252
11258
|
/**
|
|
@@ -12843,7 +12849,7 @@ class HtmlValidate {
|
|
|
12843
12849
|
}
|
|
12844
12850
|
|
|
12845
12851
|
const name = "html-validate";
|
|
12846
|
-
const version = "8.
|
|
12852
|
+
const version = "8.23.0";
|
|
12847
12853
|
const bugs = "https://gitlab.com/html-validate/html-validate/issues/new";
|
|
12848
12854
|
|
|
12849
12855
|
function definePlugin(plugin) {
|