@sa11y/format
Advanced tools
Comparing version 0.2.2-beta.0 to 0.3.0-beta.0
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8073
6
129
2