mirror of
https://github.com/retorquere/zotero-better-bibtex.git
synced 2022-05-23 09:36:29 +03:00
remove legacy xmldom
This commit is contained in:
@@ -2,7 +2,7 @@ import { defaults } from '../gen/preferences'
|
||||
import schema from '../schema/zotero.json'
|
||||
import XRegExp from 'xregexp'
|
||||
|
||||
export { DOMParser } from 'xmldom'
|
||||
export { DOMParser } from '@xmldom/xmldom'
|
||||
|
||||
class Preferences {
|
||||
get(name) {
|
||||
|
||||
@@ -2,7 +2,7 @@ const xpath = require('xpath')
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const ejs = require('ejs')
|
||||
const DOMParser = require('xmldom').DOMParser
|
||||
const DOMParser = require('@xmldom/xmldom').DOMParser
|
||||
const jsesc = require('jsesc')
|
||||
const _ = require('lodash')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user