Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sa11y/format

Package Overview
Dependencies
Maintainers
1
Versions
80
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 0.2.2-beta.0 to 0.3.0-beta.0

dist/filter.js

6

dist/format.js

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

*/
const DefaultOptions = {
const defaultOptions = {
a11yViolationIndicator: '*',

@@ -66,4 +66,4 @@ helpUrlIndicator: '-',

*/
format(opts = DefaultOptions) {
const options = Object.assign(Object.assign({}, DefaultOptions), opts);
format(opts = defaultOptions) {
const options = Object.assign(Object.assign({}, defaultOptions), opts);
if (options.formatter !== undefined) {

@@ -70,0 +70,0 @@ return options.formatter(this.violations);

{
"name": "@sa11y/format",
"version": "0.2.2-beta.0",
"version": "0.3.0-beta.0",
"description": "Accessibility results re-formatter",

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

],
"main": "dist/format.js",
"types": "dist/format.d.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [

@@ -30,3 +30,4 @@ "dist/**/*.js"

"devDependencies": {
"@sa11y/test-utils": "0.2.1-beta.0"
"@sa11y/common": "0.2.2-beta.0",
"@sa11y/test-utils": "0.3.0-beta.0"
},

@@ -36,3 +37,3 @@ "publishConfig": {

},
"gitHead": "060538ddbc5563dc4f76f8f275c43dd7c6fd690d"
"gitHead": "48cde969480a56cbc2cb3da0fe8525514b6b5ebc"
}
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