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

axe-html-reporter

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axe-html-reporter - npm Package Compare versions

Comparing version 2.2.9 to 2.2.10

7

dist/index.js

@@ -44,6 +44,3 @@ "use strict";

});
if ((options === null || options === void 0 ? void 0 : options.doNotCreateReportFile) === true) {
console.info('Report file will not be created because user passed options.doNotCreateReportFile = true. Use HTML output of the function to create report file');
}
else {
if (!options || options.doNotCreateReportFile === undefined || !options.doNotCreateReportFile) {
(0, saveHtmlReport_1.saveHtmlReport)({

@@ -66,2 +63,2 @@ htmlContent,

exports.createHtmlReport = createHtmlReport;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsd0RBQWdDO0FBRWhDLHNEQUFtRDtBQUNuRCxnRUFBNkQ7QUFDN0QsNERBQXlEO0FBQ3pELDBEQUF1RDtBQXVCdkQsU0FBZ0IsZ0JBQWdCLENBQUMsRUFBRSxPQUFPLEVBQUUsT0FBTyxFQUFnQjs7SUFDL0QsSUFBSSxDQUFDLE9BQU8sQ0FBQyxVQUFVLEVBQUU7UUFDckIsTUFBTSxJQUFJLEtBQUssQ0FDWCwySEFBMkgsQ0FDOUgsQ0FBQztLQUNMO0lBQ0QsSUFBSTtRQUNBLE1BQU0sUUFBUSxHQUFHLElBQUEsMkJBQVksR0FBRSxDQUFDO1FBQ2hDLE1BQU0sa0JBQWtCLEdBQUcsSUFBQSxxQ0FBaUIsRUFBQztZQUN6QyxVQUFVLEVBQUUsT0FBTyxDQUFDLFVBQVU7WUFDOUIsTUFBTSxFQUFFLE9BQU8sQ0FBQy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QVAsT0FBTyxDQUFFLGFBQWE7YUFDeEMsQ0FBQyxDQUFDO1NBQ047UUFFRCxPQUFPLFdBQVcsQ0FBQztLQUN0QjtJQUFDLE9BQU8sQ0FBQyxFQUFFO1FBQ1IsYUFBYTtRQUNiLE9BQU8sQ0FBQyxJQUFJLENBQUMsZ0RBQWdELENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDO1FBRTFFLGFBQWE7UUFDYixPQUFPLGdEQUFnRCxDQUFDLENBQUMsT0FBTyxFQUFFLENBQUM7S0FDdEU7QUFDTCxDQUFDO0FBbERELDRDQWtEQyJ9
{
"name": "axe-html-reporter",
"version": "2.2.9",
"version": "2.2.10",
"description": "The module that allows you to create HTML Report from raw accessibility aXe result object",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -62,5 +62,3 @@ import mustache from 'mustache';

});
if (options?.doNotCreateReportFile === true) {
console.info('Report file will not be created because user passed options.doNotCreateReportFile = true. Use HTML output of the function to create report file');
} else {
if (!options || options.doNotCreateReportFile === undefined || !options.doNotCreateReportFile) {
saveHtmlReport({

@@ -67,0 +65,0 @@ htmlContent,

@@ -283,3 +283,6 @@ import { createHtmlReport } from '../src';

</ol>`;
const reportFileName = 'shouldNotBeSaved.html';
fs.rmSync(getPathToCreatedReport(reportFileName), {
force: true,
});
const reportHTML = createHtmlReport({

@@ -286,0 +289,0 @@ results: rawAxeResults,

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