From e25abe7ee18f3b8c56990214dfd4ad0fe7cc9480 Mon Sep 17 00:00:00 2001 From: Massimo Candela Date: Mon, 24 Oct 2022 16:34:43 +0200 Subject: [PATCH] fixed bytecode errors for axios --- package-lock.json | 65 +++++++++++++---------------------------------- package.json | 4 +-- 2 files changed, 19 insertions(+), 50 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6f0394a8..abe78927 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "BSD-3-Clause", "dependencies": { "@sentry/node": "^7.15.0", - "axios": "^0.27.2", + "axios": "=0.27.1", "batch-promises": "^0.0.3", "brembo": "^2.1.0", "deepmerge": "^4.2.2", @@ -26,7 +26,7 @@ "nodemailer": "^6.8.0", "path": "^0.12.7", "restify": "^8.6.1", - "rpki-validator": "^2.10.13", + "rpki-validator": "^2.10.14", "semver": "^7.3.8", "syslog-client": "^1.1.1", "uuid": "^9.0.0", @@ -2091,9 +2091,10 @@ } }, "node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.1.tgz", + "integrity": "sha512-ePNMai55xo5GsXajb/k756AqZqpqeDaGwGcdvbZLSSELbbYwsIn2jNmGfUPEwd8j/yu4OoMstLLIVa4t0MneEA==", + "deprecated": "Formdata complete broken, incorrect build size", "dependencies": { "follow-redirects": "^1.14.9", "form-data": "^4.0.0" @@ -5662,11 +5663,6 @@ "node": ">=0.4.0" } }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, "node_modules/pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", @@ -6036,11 +6032,11 @@ } }, "node_modules/rpki-validator": { - "version": "2.10.13", - "resolved": "https://registry.npmjs.org/rpki-validator/-/rpki-validator-2.10.13.tgz", - "integrity": "sha512-8fQrq9qi8QwCNH72pYcwAASSHWAmsmQ2hpzjYAr0yDu5xTuUe/VEZUNCE6cZRMymi4+ZddiqemVvuv4uD60yFA==", + "version": "2.10.14", + "resolved": "https://registry.npmjs.org/rpki-validator/-/rpki-validator-2.10.14.tgz", + "integrity": "sha512-aYx0dycaRb3ehiI318uJrVj0U6texUWbVSYKu3R9NYsq0aw1rLsldCPusBKRb/jZ+QTWVvAO5KtPB6Yxtzfwzg==", "dependencies": { - "axios": "^1.1.3", + "axios": "=0.27.1", "brembo": "^2.0.7", "ip-sub": "^1.3.2", "longest-prefix-match": "^1.1.19", @@ -6050,16 +6046,6 @@ "rpki-validator": "dist/index.js" } }, - "node_modules/rpki-validator/node_modules/axios": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.1.3.tgz", - "integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==", - "dependencies": { - "follow-redirects": "^1.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, "node_modules/run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", @@ -8543,9 +8529,9 @@ "dev": true }, "axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.1.tgz", + "integrity": "sha512-ePNMai55xo5GsXajb/k756AqZqpqeDaGwGcdvbZLSSELbbYwsIn2jNmGfUPEwd8j/yu4OoMstLLIVa4t0MneEA==", "requires": { "follow-redirects": "^1.14.9", "form-data": "^4.0.0" @@ -11159,11 +11145,6 @@ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true }, - "proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", @@ -11446,27 +11427,15 @@ } }, "rpki-validator": { - "version": "2.10.13", - "resolved": "https://registry.npmjs.org/rpki-validator/-/rpki-validator-2.10.13.tgz", - "integrity": "sha512-8fQrq9qi8QwCNH72pYcwAASSHWAmsmQ2hpzjYAr0yDu5xTuUe/VEZUNCE6cZRMymi4+ZddiqemVvuv4uD60yFA==", + "version": "2.10.14", + "resolved": "https://registry.npmjs.org/rpki-validator/-/rpki-validator-2.10.14.tgz", + "integrity": "sha512-aYx0dycaRb3ehiI318uJrVj0U6texUWbVSYKu3R9NYsq0aw1rLsldCPusBKRb/jZ+QTWVvAO5KtPB6Yxtzfwzg==", "requires": { - "axios": "^1.1.3", + "axios": "=0.27.1", "brembo": "^2.0.7", "ip-sub": "^1.3.2", "longest-prefix-match": "^1.1.19", "net-validations": "^1.0.7" - }, - "dependencies": { - "axios": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.1.3.tgz", - "integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==", - "requires": { - "follow-redirects": "^1.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - } } }, "run-async": { diff --git a/package.json b/package.json index 81873bfd..3f9e101c 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ }, "dependencies": { "@sentry/node": "^7.15.0", - "axios": "^0.27.2", + "axios": "=0.27.1", "batch-promises": "^0.0.3", "brembo": "^2.1.0", "deepmerge": "^4.2.2", @@ -75,7 +75,7 @@ "nodemailer": "^6.8.0", "path": "^0.12.7", "restify": "^8.6.1", - "rpki-validator": "^2.10.13", + "rpki-validator": "^2.10.14", "semver": "^7.3.8", "syslog-client": "^1.1.1", "uuid": "^9.0.0",