From 287512cbe35728059eb30c5a64555fcf27c0cb4b Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 4 Jun 2021 18:17:02 +0000 Subject: [PATCH 1/3] Bump p-map from 4.0.0 to 5.0.0 Bumps [p-map](https://github.com/sindresorhus/p-map) from 4.0.0 to 5.0.0. - [Release notes](https://github.com/sindresorhus/p-map/releases) - [Commits](https://github.com/sindresorhus/p-map/compare/v4.0.0...v5.0.0) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 40 +++++++++++++++++++++++++--------------- package.json | 2 +- 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index b5dcd118..26e2f875 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1045,12 +1045,12 @@ } }, "aggregate-error": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz", - "integrity": "sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.0.tgz", + "integrity": "sha512-8DGp7zUt1E9k0NE2q4jlXHk+V3ORErmwolEdRz9iV+LKJ40WhMHh92cxAvhqV2I+zEn/gotIoqoMs0NjF3xofg==", "requires": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" + "clean-stack": "^4.0.0", + "indent-string": "^5.0.0" } }, "ajv": { @@ -1687,9 +1687,19 @@ "dev": true }, "clean-stack": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==" + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.1.0.tgz", + "integrity": "sha512-dxXQYI7mfQVcaF12s6sjNFoZ6ZPDQuBBLp3QJ5156k9EvUFClUoZ11fo8HnLQO241DDVntHEug8MOuFO5PSfRg==", + "requires": { + "escape-string-regexp": "5.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==" + } + } }, "cliui": { "version": "7.0.4", @@ -3258,9 +3268,9 @@ "dev": true }, "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==" }, "inflight": { "version": "1.0.6", @@ -4848,11 +4858,11 @@ } }, "p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-5.0.0.tgz", + "integrity": "sha512-FeQNuFp/ecZidgaTXc65qXdTGD7mniwgzZNq5czwcJSy6ClETr2v3y4ZQESGe8C1038XhO/fjfKOyiTNH3d0/g==", "requires": { - "aggregate-error": "^3.0.0" + "aggregate-error": "^4.0.0" } }, "p-try": { diff --git a/package.json b/package.json index ba3f9e84..92725f7f 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "lodash.uniqwith": "^4.5.0", "micro": "^9.3.3", "mixpanel": "^0.13.0", - "p-map": "^4.0.0", + "p-map": "^5.0.0", "tldjs": "^2.3.1", "xml-js": "^1.6.11" }, From 6089bff7378759975a330dc3ed80b184b4125926 Mon Sep 17 00:00:00 2001 From: Stefan Buck Date: Fri, 4 Jun 2021 20:21:35 +0200 Subject: [PATCH 2/3] Update handler.js --- src/handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handler.js b/src/handler.js index 9e66cfd8..be63ce60 100644 --- a/src/handler.js +++ b/src/handler.js @@ -1,6 +1,6 @@ const { parse } = require('url'); const { json } = require('micro'); -const pMap = require('p-map'); +import pMap from 'p-map'; const go = require('./go'); const java = require('./java'); From 4de037a55139fee7652aae150ed66983be716f5f Mon Sep 17 00:00:00 2001 From: Stefan Buck Date: Fri, 4 Jun 2021 20:23:07 +0200 Subject: [PATCH 3/3] Update handler.js --- src/handler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/handler.js b/src/handler.js index be63ce60..da5dde63 100644 --- a/src/handler.js +++ b/src/handler.js @@ -1,6 +1,7 @@ +import pMap from 'p-map'; + const { parse } = require('url'); const { json } = require('micro'); -import pMap from 'p-map'; const go = require('./go'); const java = require('./java');