From 2d90ae08c0688a35c75e6686fca73ea1fb35592b Mon Sep 17 00:00:00 2001 From: Aasim Khan Date: Thu, 14 Jul 2022 16:14:46 -0700 Subject: [PATCH] Changing to new lib for xmldom (#17389) --- package.json | 2 +- tasks/localizationtasks.js | 2 +- yarn.lock | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 52998b9c..f36e9721 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "vsce": "^1.58.0", "vscode-nls-dev": "2.0.1", "vscode-test": "^1.0.0", - "xmldom": "^0.6.0", + "@xmldom/xmldom": "^0.8.2", "yargs": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz" }, "dependencies": { diff --git a/tasks/localizationtasks.js b/tasks/localizationtasks.js index aeb3040f..e69d51fe 100644 --- a/tasks/localizationtasks.js +++ b/tasks/localizationtasks.js @@ -1,4 +1,4 @@ -var dom = require('xmldom').DOMParser +var dom = require('@xmldom/xmldom').DOMParser var gulp = require('gulp') var config = require('./config') var through = require('through2') diff --git a/yarn.lock b/yarn.lock index 8d3a9f73..fbcbcc2a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -315,6 +315,11 @@ resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44" integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q== +"@xmldom/xmldom@^0.8.2": + version "0.8.2" + resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.8.2.tgz#b695ff674e8216efa632a3d36ad51ae9843380c0" + integrity sha512-+R0juSseERyoPvnBQ/cZih6bpF7IpCXlWbHRoCRzYzqpz6gWHOgf8o4MOEf6KBVuOyqU+gCNLkCWVIJAro8XyQ== + abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" @@ -6228,11 +6233,6 @@ xmlbuilder@^9.0.7: resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d" integrity sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0= -xmldom@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/xmldom/-/xmldom-0.6.0.tgz#43a96ecb8beece991cef382c08397d82d4d0c46f" - integrity sha512-iAcin401y58LckRZ0TkI4k0VSM1Qg0KGSc3i8rU+xrxe19A/BN1zHyVSJY7uoutVlaTSzYyk/v5AmkewAP7jtg== - xtend@~4.0.0, xtend@~4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"