Socket
Socket
Sign inDemoInstall

@sa11y/common

Package Overview
Dependencies
Maintainers
3
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sa11y/common - npm Package Compare versions

Comparing version 3.1.0 to 4.0.0-alpha.0

6

dist/axe.js

@@ -10,3 +10,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -13,0 +17,0 @@ if (k2 === undefined) k2 = k;

2

dist/index.d.ts
export { A11yConfig, AxeResults, axeRuntimeExceptionMsgPrefix, axeVersion, getAxeRules, getViolations } from './axe';
export { WdioAssertFunction, WdioOptions, WdioBrowser } from './wdio';
export { WdioAssertFunction, WdioOptions } from './wdio';
export { errMsgHeader, ExceptionList } from './format';
export { log } from './helpers';
//# sourceMappingURL=index.d.ts.map

@@ -1,9 +0,7 @@

/// <reference types="webdriverio/webdriverio-core" />
import { BrowserObject, MultiRemoteBrowserObject, Element } from 'webdriverio';
/// <reference types="webdriverio/async" />
import { A11yConfig } from './axe';
import { ExceptionList } from './format';
export declare type WdioBrowser = BrowserObject | MultiRemoteBrowserObject;
/**
* Optional arguments passed to WDIO APIs
* @param driver - WDIO {@link BrowserObject} instance navigated to the page to be checked. Created automatically by WDIO test runner. Might need to be passed in explicitly when other test runners are used.
* @param driver - WDIO {@link WebdriverIO.Browser} instance navigated to the page to be checked. Created automatically by WDIO test runner. Might need to be passed in explicitly when other test runners are used.
* @param scope - Element to check for accessibility found using [`browser.$(selector)`](https://webdriver.io/docs/selectors), defaults to the entire document.

@@ -13,9 +11,9 @@ * @param rules - {@link A11yConfig} to be used for checking accessibility. Defaults to {@link base}

*/
export interface WdioOptions {
driver: WdioBrowser;
scope?: Promise<Element> | Element;
export declare type WdioOptions = {
driver: WebdriverIO.Browser;
scope?: Promise<WebdriverIO.Element> | WebdriverIO.Element;
rules?: A11yConfig;
exceptionList?: ExceptionList;
}
};
export declare type WdioAssertFunction = (opts: Partial<WdioOptions>) => void | Promise<void>;
//# sourceMappingURL=wdio.d.ts.map
{
"name": "@sa11y/common",
"version": "3.1.0",
"version": "4.0.0-alpha.0",
"description": "Common utilities, constants, error messages for @sa11y",

@@ -22,3 +22,3 @@ "license": "BSD-3-Clause",

"devDependencies": {
"webdriverio": "6.12.1"
"webdriverio": "7.25.1"
},

@@ -28,3 +28,3 @@ "publishConfig": {

},
"gitHead": "6c900d72c6fad8e5ca94852cf0b2b983939476a6"
"gitHead": "aeb87b6b27bfd56cf9f3de201456dd821e57b408"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc