diff --git a/src/services/MicrosoftTranslator.js b/src/services/MicrosoftTranslator.js index 489a170..20aa8e7 100644 --- a/src/services/MicrosoftTranslator.js +++ b/src/services/MicrosoftTranslator.js @@ -2,8 +2,7 @@ import HTTPMethods from './HTTPMethods'; import { MICROSOFT } from '../Constants'; import BaseTranslator from './BaseTranslator'; import htmlEntities from './HtmlUtility'; - -const DOMParser = require('xmldom').DOMParser; +import { DOMParser } from '@xmldom/xmldom' export default class MicrosoftTranslator extends BaseTranslator { config;