@octaviaflow/accessibility-checker 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.saveReport = exports.analyze = void 0;
3
4
  exports.main = main;
4
5
  const tslib_1 = require("tslib");
5
6
  const fs_1 = require("fs");
@@ -9,6 +10,10 @@ const chalk_1 = tslib_1.__importDefault(require("chalk"));
9
10
  const ora_1 = tslib_1.__importDefault(require("ora"));
10
11
  const index_js_1 = require("./checker/index.js");
11
12
  const reportWriter_js_1 = require("./storage/reportWriter.js");
13
+ var index_js_2 = require("./checker/index.js");
14
+ Object.defineProperty(exports, "analyze", { enumerable: true, get: function () { return index_js_2.analyze; } });
15
+ var reportWriter_js_2 = require("./storage/reportWriter.js");
16
+ Object.defineProperty(exports, "saveReport", { enumerable: true, get: function () { return reportWriter_js_2.saveReport; } });
12
17
  function showHelp() {
13
18
  console.log(chalk_1.default.blue.bold('OctaviaFlow Accessibility Checker'));
14
19
  console.log('');
package/mjs/index.js CHANGED
@@ -5,6 +5,8 @@ import chalk from 'chalk';
5
5
  import ora from 'ora';
6
6
  import { analyze } from './checker/index.js';
7
7
  import { saveReport } from './storage/reportWriter.js';
8
+ export { analyze } from './checker/index.js';
9
+ export { saveReport } from './storage/reportWriter.js';
8
10
  function showHelp() {
9
11
  console.log(chalk.blue.bold('OctaviaFlow Accessibility Checker'));
10
12
  console.log('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octaviaflow/accessibility-checker",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "description": "Accessibility checker for OctaviaFlow Design System - A custom implementation",
package/types/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ export { analyze } from './checker/index.js';
2
+ export { saveReport } from './storage/reportWriter.js';
3
+ export type { Issue, Result, ResultMeta } from './checker/index.js';
1
4
  export interface CliOptions {
2
5
  input?: string;
3
6
  i?: string;