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/es/core.js
CHANGED
|
@@ -11231,12 +11231,18 @@ class Config {
|
|
|
11231
11231
|
}
|
|
11232
11232
|
|
|
11233
11233
|
class ConfigLoader {
|
|
11234
|
-
|
|
11234
|
+
/**
|
|
11235
|
+
* Create a new ConfigLoader.
|
|
11236
|
+
*
|
|
11237
|
+
* @param resolvers - Sorted list of resolvers to use (in order).
|
|
11238
|
+
* @param configData - Default configuration (which all configurations will inherit from).
|
|
11239
|
+
*/
|
|
11240
|
+
constructor(resolvers, configData) {
|
|
11235
11241
|
const defaults = Config.empty();
|
|
11236
11242
|
this.resolvers = resolvers;
|
|
11237
11243
|
this.globalConfig = defaults.merge(
|
|
11238
11244
|
this.resolvers,
|
|
11239
|
-
|
|
11245
|
+
configData ? this.loadFromObject(configData) : this.defaultConfig()
|
|
11240
11246
|
);
|
|
11241
11247
|
}
|
|
11242
11248
|
/**
|
|
@@ -12833,7 +12839,7 @@ class HtmlValidate {
|
|
|
12833
12839
|
}
|
|
12834
12840
|
|
|
12835
12841
|
const name = "html-validate";
|
|
12836
|
-
const version = "8.
|
|
12842
|
+
const version = "8.23.0";
|
|
12837
12843
|
const bugs = "https://gitlab.com/html-validate/html-validate/issues/new";
|
|
12838
12844
|
|
|
12839
12845
|
function definePlugin(plugin) {
|