axe-core 4.10.0 → 4.10.1

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/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # axe-core
2
2
 
3
- [![License](https://img.shields.io/npm/l/axe-core.svg)](LICENSE)
3
+ [![License](https://img.shields.io/npm/l/axe-core.svg?color=c41)](LICENSE)
4
4
  [![Version](https://img.shields.io/npm/v/axe-core.svg)](https://www.npmjs.com/package/axe-core)
5
- [![Total npm downloads](https://img.shields.io/npm/dt/axe-core.svg)](https://www.npmjs.com/package/axe-core)
5
+ [![NPM downloads](https://img.shields.io/npm/dw/axe-core.svg?color=080)![](https://img.shields.io/npm/dy/axe-core.svg?color=080&label=)](https://npm-stat.com/charts.html?package=axe-core&from=2017-01-01)
6
6
  [![Commits](https://img.shields.io/github/commit-activity/y/dequelabs/axe-core.svg)](https://github.com/dequelabs/axe-core/commits/develop)
7
- [![GitHub contributors](https://img.shields.io/github/contributors/dequelabs/axe-core.svg)](https://github.com/dequelabs/axe-core/graphs/contributors)
7
+ [![GitHub contributors](https://img.shields.io/github/contributors/dequelabs/axe-core.svg?color=080)](https://github.com/dequelabs/axe-core/graphs/contributors)
8
8
  [![Join our Slack chat](https://img.shields.io/badge/slack-chat-purple.svg?logo=slack)](https://accessibility.deque.com/axe-community)
9
9
  [![Package Quality](https://npm.packagequality.com/shield/axe-core.svg)](https://packagequality.com/#?package=axe-core)
10
10
 
package/axe.d.ts CHANGED
@@ -143,10 +143,14 @@ declare namespace axe {
143
143
  iframes?: boolean;
144
144
  elementRef?: boolean;
145
145
  frameWaitTime?: number;
146
- preload?: boolean;
146
+ preload?: boolean | PreloadOptions;
147
147
  performanceTimer?: boolean;
148
148
  pingWaitTime?: number;
149
149
  }
150
+ interface PreloadOptions {
151
+ assets: string[];
152
+ timeout?: number;
153
+ }
150
154
  interface AxeResults extends EnvironmentData {
151
155
  toolOptions: RunOptions;
152
156
  passes: Result[];