html-validate 7.16.0 → 7.17.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.
@@ -40,7 +40,7 @@
40
40
  "plugins": {
41
41
  "type": "array",
42
42
  "items": {
43
- "type": "string"
43
+ "anyOf": [{ "type": "string" }, { "type": "object" }]
44
44
  },
45
45
  "title": "Plugins to load",
46
46
  "description": "Array of plugins load. Use <rootDir> to refer to the folder with the package.json file.",
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.7"
8
+ "packageVersion": "7.34.8"
9
9
  }
10
10
  ]
11
11
  }
@@ -273,7 +273,7 @@ export declare interface ConfigData {
273
273
  *
274
274
  * Each plugin must be resolvable be require and export the plugin interface.
275
275
  */
276
- plugins?: string[];
276
+ plugins?: Array<string | Plugin_2>;
277
277
  /**
278
278
  * List of source file transformations. A transformer takes a filename and
279
279
  * returns Source instances with extracted HTML-templates.
@@ -1294,13 +1294,6 @@ export declare class MetaTable {
1294
1294
  * @param filename - Optional filename used when presenting validation error
1295
1295
  */
1296
1296
  loadFromObject(obj: unknown, filename?: string | null): void;
1297
- /**
1298
- * Load metadata table from filename
1299
- *
1300
- * @public
1301
- * @param filename - Filename to load
1302
- */
1303
- loadFromFile(filename: string): void;
1304
1297
  /**
1305
1298
  * Get [[MetaElement]] for the given tag. If no specific metadata is present
1306
1299
  * the global metadata is returned or null if no global is present.
@@ -2040,13 +2033,13 @@ export declare interface SourceReadyEvent extends Event_2 {
2040
2033
  * The static configuration loader does not do any per-handle lookup. Only the
2041
2034
  * global or per-call configuration is used.
2042
2035
  *
2043
- * In practice this means no configuration is fetch by traversing the
2036
+ * In practice this means no configuration is fetched by traversing the
2044
2037
  * filesystem.
2045
2038
  *
2046
2039
  * @public
2047
2040
  */
2048
2041
  export declare class StaticConfigLoader extends ConfigLoader {
2049
- getConfigFor(handle: string, configOverride?: ConfigData): ResolvedConfig;
2042
+ getConfigFor(_handle: string, configOverride?: ConfigData): ResolvedConfig;
2050
2043
  flushCache(): void;
2051
2044
  protected defaultConfig(): Config;
2052
2045
  }
@@ -368,7 +368,7 @@ export declare interface ConfigData {
368
368
  *
369
369
  * Each plugin must be resolvable be require and export the plugin interface.
370
370
  */
371
- plugins?: string[];
371
+ plugins?: Array<string | Plugin_2>;
372
372
  /**
373
373
  * List of source file transformations. A transformer takes a filename and
374
374
  * returns Source instances with extracted HTML-templates.
@@ -1487,13 +1487,6 @@ export declare class MetaTable {
1487
1487
  * @param filename - Optional filename used when presenting validation error
1488
1488
  */
1489
1489
  loadFromObject(obj: unknown, filename?: string | null): void;
1490
- /**
1491
- * Load metadata table from filename
1492
- *
1493
- * @public
1494
- * @param filename - Filename to load
1495
- */
1496
- loadFromFile(filename: string): void;
1497
1490
  /**
1498
1491
  * Get [[MetaElement]] for the given tag. If no specific metadata is present
1499
1492
  * the global metadata is returned or null if no global is present.
@@ -2233,13 +2226,13 @@ export declare interface SourceReadyEvent extends Event_2 {
2233
2226
  * The static configuration loader does not do any per-handle lookup. Only the
2234
2227
  * global or per-call configuration is used.
2235
2228
  *
2236
- * In practice this means no configuration is fetch by traversing the
2229
+ * In practice this means no configuration is fetched by traversing the
2237
2230
  * filesystem.
2238
2231
  *
2239
2232
  * @public
2240
2233
  */
2241
2234
  export declare class StaticConfigLoader extends ConfigLoader {
2242
- getConfigFor(handle: string, configOverride?: ConfigData): ResolvedConfig;
2235
+ getConfigFor(_handle: string, configOverride?: ConfigData): ResolvedConfig;
2243
2236
  flushCache(): void;
2244
2237
  protected defaultConfig(): Config;
2245
2238
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-validate",
3
- "version": "7.16.0",
3
+ "version": "7.17.0",
4
4
  "description": "Offline html5 validator",
5
5
  "keywords": [
6
6
  "html",
@@ -171,15 +171,15 @@
171
171
  "semver": "^7.0.0"
172
172
  },
173
173
  "devDependencies": {
174
- "@html-validate/commitlint-config": "3.0.14",
175
- "@html-validate/eslint-config": "5.9.2",
174
+ "@html-validate/commitlint-config": "3.0.15",
175
+ "@html-validate/eslint-config": "5.9.4",
176
176
  "@html-validate/eslint-config-jest": "5.9.0",
177
- "@html-validate/eslint-config-typescript": "5.9.3",
177
+ "@html-validate/eslint-config-typescript": "5.9.4",
178
178
  "@html-validate/eslint-config-typescript-typeinfo": "5.9.0",
179
179
  "@html-validate/jest-config": "3.7.5",
180
180
  "@html-validate/prettier-config": "2.3.10",
181
181
  "@html-validate/release-scripts": "4.0.6",
182
- "@microsoft/api-extractor": "7.34.7",
182
+ "@microsoft/api-extractor": "7.34.8",
183
183
  "@rollup/plugin-json": "6.0.0",
184
184
  "@rollup/plugin-node-resolve": "15.0.2",
185
185
  "@rollup/plugin-replace": "5.0.2",
@@ -190,9 +190,9 @@
190
190
  "@types/estree": "1.0.1",
191
191
  "@types/jest": "29.5.1",
192
192
  "@types/minimist": "1.2.2",
193
- "@types/node": "14.18.43",
193
+ "@types/node": "14.18.46",
194
194
  "@types/prompts": "2.4.4",
195
- "@types/semver": "7.3.13",
195
+ "@types/semver": "7.5.0",
196
196
  "@types/stream-buffers": "3.0.4",
197
197
  "babar": "0.2.3",
198
198
  "husky": "8.0.3",
@@ -202,9 +202,9 @@
202
202
  "jest-environment-jsdom": "29.5.0",
203
203
  "jest-snapshot": "29.5.0",
204
204
  "memfs": "3.5.1",
205
- "npm-pkg-lint": "1.14.0",
205
+ "npm-pkg-lint": "1.14.1",
206
206
  "npm-run-all": "4.1.5",
207
- "rollup": "3.21.3",
207
+ "rollup": "3.21.6",
208
208
  "stream-buffers": "3.0.2",
209
209
  "ts-jest": "29.1.0",
210
210
  "typescript": "5.0.4"