Update axios version and bump url-resolver version

pull/5370/head
ioedeveloper 2 years ago
parent a66775390e
commit 7d12cea8fb
  1. 4
      libs/remix-url-resolver/package.json
  2. 1
      libs/remix-url-resolver/src/resolve.ts

@ -1,6 +1,6 @@
{
"name": "@remix-project/remix-url-resolver",
"version": "0.0.42",
"version": "0.0.43",
"description": "Solidity import url resolver engine",
"main": "src/index.js",
"types": "src/index.d.ts",
@ -24,7 +24,7 @@
"license": "MIT",
"dependencies": {
"@erebos/bzz-node": "^0.13.0",
"axios": "1.2.0",
"axios": "1.2.2",
"url": "^0.11.0",
"valid-url": "^1.0.9"
},

@ -131,7 +131,6 @@ export class RemixURLResolver {
// eslint-disable-next-line no-useless-catch
try {
const req = 'https://unpkg.com/' + url
console.log('AXIOS VERSION', axios.VERSION)
const response: AxiosResponse = await axios.get(req, { transformResponse: [] })
return { content: response.data, cleanUrl: url }
} catch (e) {

Loading…
Cancel
Save