Преглед изворни кода

Merge pull request #9071 from overleaf/bg-asyncify-third-party-datastore

Provide async versions of all third-party-datastore modules

GitOrigin-RevId: 82423447ec3a143f9bc0faa55f687c73f9342d86
Brian Gough пре 4 година
родитељ
комит
9ee0889e6a
1 измењених фајлова са 24 додато и 0 уклоњено
  1. 24 0
      package-lock.json

+ 24 - 0
package-lock.json

@@ -34068,6 +34068,7 @@
         "lru-cache": "^4.1.5",
         "lru-cache": "^4.1.5",
         "mongodb": "^3.6.0",
         "mongodb": "^3.6.0",
         "node-fetch": "^2.6.7",
         "node-fetch": "^2.6.7",
+        "p-limit": "^2.3.0",
         "request": "^2.88.2",
         "request": "^2.88.2",
         "underscore": "^1.13.1",
         "underscore": "^1.13.1",
         "uuid": "^8.3.2"
         "uuid": "^8.3.2"
@@ -34100,6 +34101,20 @@
         "yallist": "^2.1.2"
         "yallist": "^2.1.2"
       }
       }
     },
     },
+    "services/third-party-datastore/node_modules/p-limit": {
+      "version": "2.3.0",
+      "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+      "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+      "dependencies": {
+        "p-try": "^2.0.0"
+      },
+      "engines": {
+        "node": ">=6"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
     "services/third-party-datastore/node_modules/sinon": {
     "services/third-party-datastore/node_modules/sinon": {
       "version": "9.0.1",
       "version": "9.0.1",
       "resolved": "https://registry.npmjs.org/sinon/-/sinon-9.0.1.tgz",
       "resolved": "https://registry.npmjs.org/sinon/-/sinon-9.0.1.tgz",
@@ -41679,6 +41694,7 @@
         "mongodb": "^3.6.0",
         "mongodb": "^3.6.0",
         "nock": "0.15.2",
         "nock": "0.15.2",
         "node-fetch": "^2.6.7",
         "node-fetch": "^2.6.7",
+        "p-limit": "^2.3.0",
         "request": "^2.88.2",
         "request": "^2.88.2",
         "sandboxed-module": "^2.0.4",
         "sandboxed-module": "^2.0.4",
         "sinon": "9.0.1",
         "sinon": "9.0.1",
@@ -41702,6 +41718,14 @@
             "yallist": "^2.1.2"
             "yallist": "^2.1.2"
           }
           }
         },
         },
+        "p-limit": {
+          "version": "2.3.0",
+          "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+          "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+          "requires": {
+            "p-try": "^2.0.0"
+          }
+        },
         "sinon": {
         "sinon": {
           "version": "9.0.1",
           "version": "9.0.1",
           "resolved": "https://registry.npmjs.org/sinon/-/sinon-9.0.1.tgz",
           "resolved": "https://registry.npmjs.org/sinon/-/sinon-9.0.1.tgz",