testaro 2.3.8 → 2.3.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "2.3.8",
3
+ "version": "2.3.9",
4
4
  "description": "Automation of accessibility testing",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/tests/ibm.js CHANGED
@@ -18,7 +18,7 @@
18
18
  };
19
19
  */
20
20
  // Import required modules.
21
- const fs = require('fs/promises');
21
+ const fs = require('fs').promises;
22
22
  const {getCompliance} = require('accessibility-checker');
23
23
  // Runs the IBM test.
24
24
  const run = async content => {
package/tests/radioSet.js CHANGED
@@ -4,7 +4,7 @@
4
4
  that two or more radio buttons with the same name, and no other radio buttons, be grouped in a
5
5
  'fieldset' element with a valid 'legend' element.
6
6
  */
7
- const fs = require('fs/promises');
7
+ const fs = require('fs').promises;
8
8
  // Tabulates and lists radio buttons in and not in accessible field sets.
9
9
  exports.reporter = async (page, withItems) => {
10
10
  // Initialize the argument array to be passed to the page function.