mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49: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
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
const validator = require('validator')
|
const validator = require('validator').default
|
||||||
const validUrl = require('valid-url')
|
const validUrl = require('valid-url')
|
||||||
const mergeOptions = require('merge-options')
|
const mergeOptions = require('merge-options')
|
||||||
const proofs = require('./proofs')
|
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
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
const axios = require('axios')
|
const axios = require('axios').default
|
||||||
const validator = require('validator')
|
const validator = require('validator').default
|
||||||
const jsEnv = require('browser-or-node')
|
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
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
const axios = require('axios')
|
const axios = require('axios').default
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @module fetcher/graphql
|
* @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
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
const axios = require('axios')
|
const axios = require('axios').default
|
||||||
const E = require('../enums')
|
const E = require('../enums')
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -27,7 +27,7 @@ module.exports.timeout = 20000
|
||||||
|
|
||||||
if (jsEnv.isNode) {
|
if (jsEnv.isNode) {
|
||||||
const irc = require('irc-upd')
|
const irc = require('irc-upd')
|
||||||
const validator = require('validator')
|
const validator = require('validator').default
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute a fetch request
|
* 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
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
const axios = require('axios')
|
const axios = require('axios').default
|
||||||
const validator = require('validator')
|
const validator = require('validator').default
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @module fetcher/matrix
|
* @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
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
const axios = require('axios')
|
const axios = require('axios').default
|
||||||
const validator = require('validator')
|
const validator = require('validator').default
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @module fetcher/telegram
|
* @module fetcher/telegram
|
||||||
|
|
|
@ -28,7 +28,7 @@ module.exports.timeout = 5000
|
||||||
if (jsEnv.isNode) {
|
if (jsEnv.isNode) {
|
||||||
const { client, xml } = require('@xmpp/client')
|
const { client, xml } = require('@xmpp/client')
|
||||||
const debug = require('@xmpp/debug')
|
const debug = require('@xmpp/debug')
|
||||||
const validator = require('validator')
|
const validator = require('validator').default
|
||||||
|
|
||||||
let xmpp = null
|
let xmpp = null
|
||||||
let iqCaller = 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
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
const axios = require('axios')
|
const axios = require('axios').default
|
||||||
const validUrl = require('valid-url')
|
const validUrl = require('valid-url')
|
||||||
const openpgp = require('openpgp')
|
const openpgp = require('openpgp')
|
||||||
const HKP = require('@openpgp/hkp-client')
|
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
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
const validator = require('validator')
|
const validator = require('validator').default
|
||||||
const E = require('./enums')
|
const E = require('./enums')
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue