mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 14:39:28 -07:00
fix: fix imports
This commit is contained in:
parent
473916dc33
commit
fb0aaa3e17
10 changed files with 13 additions and 13 deletions
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
const validator = require('validator')
|
||||
const validator = require('validator').default
|
||||
const validUrl = require('valid-url')
|
||||
const mergeOptions = require('merge-options')
|
||||
const proofs = require('./proofs')
|
||||
|
|
|
@ -13,8 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
const axios = require('axios')
|
||||
const validator = require('validator')
|
||||
const axios = require('axios').default
|
||||
const validator = require('validator').default
|
||||
const jsEnv = require('browser-or-node')
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
const axios = require('axios')
|
||||
const axios = require('axios').default
|
||||
|
||||
/**
|
||||
* @module fetcher/graphql
|
||||
|
|
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
const axios = require('axios')
|
||||
const axios = require('axios').default
|
||||
const E = require('../enums')
|
||||
|
||||
/**
|
||||
|
|
|
@ -27,7 +27,7 @@ module.exports.timeout = 20000
|
|||
|
||||
if (jsEnv.isNode) {
|
||||
const irc = require('irc-upd')
|
||||
const validator = require('validator')
|
||||
const validator = require('validator').default
|
||||
|
||||
/**
|
||||
* Execute a fetch request
|
||||
|
|
|
@ -13,8 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
const axios = require('axios')
|
||||
const validator = require('validator')
|
||||
const axios = require('axios').default
|
||||
const validator = require('validator').default
|
||||
|
||||
/**
|
||||
* @module fetcher/matrix
|
||||
|
|
|
@ -13,8 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
const axios = require('axios')
|
||||
const validator = require('validator')
|
||||
const axios = require('axios').default
|
||||
const validator = require('validator').default
|
||||
|
||||
/**
|
||||
* @module fetcher/telegram
|
||||
|
|
|
@ -28,7 +28,7 @@ module.exports.timeout = 5000
|
|||
if (jsEnv.isNode) {
|
||||
const { client, xml } = require('@xmpp/client')
|
||||
const debug = require('@xmpp/debug')
|
||||
const validator = require('validator')
|
||||
const validator = require('validator').default
|
||||
|
||||
let xmpp = null
|
||||
let iqCaller = null
|
||||
|
|
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
const axios = require('axios')
|
||||
const axios = require('axios').default
|
||||
const validUrl = require('valid-url')
|
||||
const openpgp = require('openpgp')
|
||||
const HKP = require('@openpgp/hkp-client')
|
||||
|
|
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
const validator = require('validator')
|
||||
const validator = require('validator').default
|
||||
const E = require('./enums')
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue