Skip to content

Commit

Permalink
fix(deps): bump xmldom to 0.8.0 (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
karfau authored Jan 4, 2022
1 parent 9368a25 commit d0a4299
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Alloy/commands/compile/compilerUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var U = require('../../utils'),
astController = require('./ast/controller'),
_ = require('lodash'),
styler = require('./styler'),
XMLSerializer = require('xmldom').XMLSerializer,
XMLSerializer = require('@xmldom/xmldom').XMLSerializer,
CONST = require('../../common/constants'),
sourceMapper = require('./sourceMapper');

Expand Down
2 changes: 1 addition & 1 deletion Alloy/commands/extract-i18n/i18nHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var U = require('../../utils'),
logger = require('../../logger'),
path = require('path'),
_ = require('lodash'),
XMLSerializer = require('xmldom').XMLSerializer,
XMLSerializer = require('@xmldom/xmldom').XMLSerializer,
fs = require('fs-extra'),
os = require('os');

Expand Down
2 changes: 1 addition & 1 deletion Alloy/tiapp.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var fs = require('fs'),
path = require('path'),
XMLSerializer = require('xmldom').XMLSerializer,
XMLSerializer = require('@xmldom/xmldom').XMLSerializer,
pkg = require('../package'),
U = require('./utils'),
CONST = require('./common/constants'),
Expand Down
4 changes: 2 additions & 2 deletions Alloy/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ var path = require('path'),
paths = require('global-paths'),
logger = require('./logger'),
tiapp = require('./tiapp'),
XMLSerializer = require('xmldom').XMLSerializer,
DOMParser = require('xmldom').DOMParser,
XMLSerializer = require('@xmldom/xmldom').XMLSerializer,
DOMParser = require('@xmldom/xmldom').DOMParser,
_ = require('lodash'),
CONST = require('./common/constants'),
sourceMapper = require('./commands/compile/sourceMapper'),
Expand Down
18 changes: 9 additions & 9 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 @@ -36,6 +36,7 @@
"@babel/traverse": "^7.4.5",
"@babel/types": "^7.4.4",
"@babel/template": "^7.4.4",
"@xmldom/xmldom": "^0.8.0",
"async": "^3.2.0",
"colors": "^1.1.2",
"commander": "^8.0.0",
Expand All @@ -50,8 +51,7 @@
"resolve": "^1.1.7",
"source-map": "^0.7.3",
"walk-sync": "^0.3.2",
"xml2tss": "0.0.5",
"xmldom": "^0.6.0"
"xml2tss": "0.0.5"
},
"license": "Apache-2.0",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion test/specs/compilefile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var fs = require('fs-extra'),
path = require('path'),
DOMParser = require('xmldom').DOMParser,
DOMParser = require('@xmldom/xmldom').DOMParser,
TU = require('../lib/testUtils'),
CONST = require('../../Alloy/common/constants'),
platforms = require('../../platforms/index'),
Expand Down
2 changes: 1 addition & 1 deletion test/specs/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var fs = require('fs'),
path = require('path'),
os = require('os'),
exec = require('child_process').exec,
DOMParser = require('xmldom').DOMParser,
DOMParser = require('@xmldom/xmldom').DOMParser,
TU = require('../lib/testUtils'),
U = require('../../Alloy/utils'),
CU = require('../../Alloy/commands/compile/compilerUtils'),
Expand Down
2 changes: 1 addition & 1 deletion test/specs/new.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var fs = require('fs-extra'),
path = require('path'),
DOMParser = require('xmldom').DOMParser,
DOMParser = require('@xmldom/xmldom').DOMParser,
TU = require('../lib/testUtils'),
CONST = require('../../Alloy/common/constants'),
_ = require('lodash');
Expand Down

0 comments on commit d0a4299

Please sign in to comment.