Socket
Socket
Sign inDemoInstall

@sa11y/format

Package Overview
Dependencies
Maintainers
4
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sa11y/format - npm Package Compare versions

Comparing version 6.6.0 to 6.6.1

7

dist/format.d.ts

@@ -29,9 +29,2 @@ import { AxeResults } from '@sa11y/common';

*/
export declare class AxeError extends Error {
/**
* Throw error with Axe error
*/
constructor(message: string);
static throwAxeError(e: Error): void;
}
export declare class A11yError extends Error {

@@ -38,0 +31,0 @@ readonly violations: AxeResults;

16

dist/format.js

@@ -9,3 +9,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.A11yError = exports.AxeError = void 0;
exports.A11yError = void 0;
const common_1 = require("@sa11y/common");

@@ -27,16 +27,2 @@ const result_1 = require("./result");

*/
class AxeError extends Error {
/**
* Throw error with Axe error
*/
constructor(message) {
super(message);
this.name = AxeError.name;
this.message = message;
}
static throwAxeError(e) {
throw new AxeError(`${e.message}`);
}
}
exports.AxeError = AxeError;
class A11yError extends Error {

@@ -43,0 +29,0 @@ /**

2

dist/index.d.ts

@@ -1,4 +0,4 @@

export { A11yError, AxeError, Options } from './format';
export { A11yError, Options } from './format';
export { exceptionListFilter, exceptionListFilterSelectorKeywords } from './filter';
export { A11yResult, A11yResults, appendWcag } from './result';
//# sourceMappingURL=index.d.ts.map

@@ -9,6 +9,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.appendWcag = exports.A11yResults = exports.A11yResult = exports.exceptionListFilterSelectorKeywords = exports.exceptionListFilter = exports.AxeError = exports.A11yError = void 0;
exports.appendWcag = exports.A11yResults = exports.A11yResult = exports.exceptionListFilterSelectorKeywords = exports.exceptionListFilter = exports.A11yError = void 0;
var format_1 = require("./format");
Object.defineProperty(exports, "A11yError", { enumerable: true, get: function () { return format_1.A11yError; } });
Object.defineProperty(exports, "AxeError", { enumerable: true, get: function () { return format_1.AxeError; } });
var filter_1 = require("./filter");

@@ -15,0 +14,0 @@ Object.defineProperty(exports, "exceptionListFilter", { enumerable: true, get: function () { return filter_1.exceptionListFilter; } });

{
"name": "@sa11y/format",
"version": "6.6.0",
"version": "6.6.1",
"description": "Accessibility results re-formatter",

@@ -27,4 +27,4 @@ "license": "BSD-3-Clause",

"dependencies": {
"@sa11y/common": "6.6.0",
"@sa11y/preset-rules": "6.6.0",
"@sa11y/common": "6.6.1",
"@sa11y/preset-rules": "6.6.1",
"axe-core": "4.8.3"

@@ -34,3 +34,3 @@ },

"@jest/globals": "28.1.3",
"@sa11y/test-utils": "6.6.0"
"@sa11y/test-utils": "6.6.1"
},

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

},
"gitHead": "6ed0d128d07ee67b28d4d8e47b977180bc7fc547"
"gitHead": "4a977f8a74a2f7299914412b0af2bf7913f34c67"
}

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