Skip to content

Commit

Permalink
Merge branch 'passbolt-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
antelle committed Sep 6, 2021
2 parents 0ebbfb6 + e72d033 commit f071f8f
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ npm test

kdbxweb includes these 3rd party libraries:
- [fflate](https://github.com/101arrowz/fflate)
- [xmldom](https://github.com/jindw/xmldom)
- [xmldom](https://github.com/xmldom/xmldom)

## Tools

Expand Down
2 changes: 1 addition & 1 deletion conf/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = {
externals: {
fs: true,
path: true,
xmldom: true,
'@xmldom/xmldom': true,
crypto: true,
zlib: true
},
Expand Down
2 changes: 1 addition & 1 deletion conf/webpack.tests.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
externals: {
fs: true,
path: true,
xmldom: true,
'@xmldom/xmldom': true,
crypto: true,
zlib: true
},
Expand Down
4 changes: 2 additions & 2 deletions lib/utils/xml-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function createDOMParser() {
};

/* eslint-disable @typescript-eslint/no-var-requires,@typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-call */
const { DOMParser } = require('xmldom');
const { DOMParser } = require('@xmldom/xmldom');
return <typeof global.DOMParser>new DOMParser(parserArg);
/* eslint-enable */
}
Expand All @@ -51,7 +51,7 @@ function createXMLSerializer() {
}

/* eslint-disable @typescript-eslint/no-var-requires,@typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-call */
const { XMLSerializer } = require('xmldom');
const { XMLSerializer } = require('@xmldom/xmldom');
return <typeof global.XMLSerializer>new XMLSerializer();
/* eslint-enable */
}
Expand Down
30 changes: 15 additions & 15 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
"webpack-cli": "^4.7.2"
},
"dependencies": {
"fflate": "^0.7.1",
"xmldom": "^0.6.0"
"@xmldom/xmldom": "^0.7.3",
"fflate": "^0.7.1"
},
"funding": {
"type": "github",
Expand Down

0 comments on commit f071f8f

Please sign in to comment.