Skip to content

Commit

Permalink
KEW-3322: Migrate xmldom to @xmldom/xmldom (#28)
Browse files Browse the repository at this point in the history
* KEW-3322: Remove IntelliJ Files

* KEW-3322: Update xmldom

* KEW-3322: Ignore .idea/
  • Loading branch information
Daniel authored Oct 16, 2023
1 parent 34ee5cf commit 66d9633
Show file tree
Hide file tree
Showing 12 changed files with 137 additions and 4,224 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ tmp/
*.DS_Store
*.log
build/
.idea/
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/bluebutton.js.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/jsLibraryMappings.xml

This file was deleted.

14 changes: 0 additions & 14 deletions .idea/libraries/bluebutton_js_node_modules.xml

This file was deleted.

14 changes: 0 additions & 14 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

852 changes: 0 additions & 852 deletions .idea/workspace.xml

This file was deleted.

2 changes: 1 addition & 1 deletion lib/core/xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ var root = window || global,
// Check if we're in Node. If so, pull in `xmldom` so we can simulate the DOM.
if (typeof process === 'object' && Object.prototype.toString.call(process) === '[object process]') {
isNode = true;
xmldom = require("xmldom");
xmldom = require("@xmldom/xmldom");
doc = new xmldom.DOMImplementation().createDocument();
}

Expand Down
Loading

0 comments on commit 66d9633

Please sign in to comment.