Skip to content

Commit

Permalink
Merge pull request #24 from advisr-io/upgrade-xmldom
Browse files Browse the repository at this point in the history
Upgrade xmldom
  • Loading branch information
jrohland committed Jul 20, 2022
2 parents da8e38e + b111cbc commit ee31038
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"source-map-support": "^0.5.21",
"tape": "^5.5.3",
"tape-promise": "^4.0.0",
"xmldom": "^0.6.0",
"@xmldom/xmldom": "^0.8.2",
"xpath.js": "^1.1.0"
},
"nyc": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cell.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const test = require('tape');
const DOMParser = require('xmldom').DOMParser;
const DOMParser = require('@xmldom/xmldom').DOMParser;
const xl = require('../source/index');

test('Cell coverage', (t) => {
Expand Down
2 changes: 1 addition & 1 deletion tests/dataValidations.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require('tape');
const xl = require('../source/index');
const DOMParser = require('xmldom').DOMParser;
const DOMParser = require('@xmldom/xmldom').DOMParser;
const DataValidation = require('../source/lib/worksheet/classes/dataValidation.js');

test('DataValidation Tests', (t) => {
Expand Down
2 changes: 1 addition & 1 deletion tests/worksheet.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const tape = require('tape');
const _tape = require('tape-promise').default;
const test = _tape(tape);
const xl = require('../source/index');
const DOMParser = require('xmldom').DOMParser;
const DOMParser = require('@xmldom/xmldom').DOMParser;

test('Generate multiple sheets', (t) => {
let wb = new xl.Workbook();
Expand Down

0 comments on commit ee31038

Please sign in to comment.