Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Upgrade xmldom #24

Merged
merged 2 commits into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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