Browse Source

meta: add back patch for `p-queue` (#5409)

Antoine du Hamel 8 months ago
parent
commit
cc8d9f3dd2
3 changed files with 24 additions and 1 deletions
  1. 12 0
      .yarn/patches/p-queue-npm-8.0.1-fe1ddcd827.patch
  2. 1 0
      package.json
  3. 11 1
      yarn.lock

+ 12 - 0
.yarn/patches/p-queue-npm-8.0.1-fe1ddcd827.patch

@@ -0,0 +1,12 @@
+diff --git a/package.json b/package.json
+index d4133284745349488cf0e623b983c78fd7cc7fb7..52433fa0ecea99ebbfe5b94a8023f73350896f7d 100644
+--- a/package.json
++++ b/package.json
+@@ -6,6 +6,7 @@
+ 	"repository": "sindresorhus/p-queue",
+ 	"funding": "https://github.com/sponsors/sindresorhus",
+ 	"type": "module",
++	"main": "./dist/index.js",
+ 	"exports": {
+ 		"types": "./dist/index.d.ts",
+ 		"default": "./dist/index.js"

+ 1 - 0
package.json

@@ -168,6 +168,7 @@
     "@types/react": "^18",
     "@types/webpack-dev-server": "^4",
     "@vitest/utils": "patch:@vitest/utils@npm%3A1.2.1#./.yarn/patches/@vitest-utils-npm-1.2.1-3028846845.patch",
+    "p-queue": "patch:p-queue@npm%3A8.0.1#~/.yarn/patches/p-queue-npm-8.0.1-fe1ddcd827.patch",
     "pre-commit": "patch:pre-commit@npm:1.2.2#.yarn/patches/pre-commit-npm-1.2.2-f30af83877.patch",
     "preact": "patch:preact@npm:10.10.0#.yarn/patches/preact-npm-10.10.0-dd04de05e8.patch",
     "start-server-and-test": "patch:start-server-and-test@npm:1.14.0#.yarn/patches/start-server-and-test-npm-1.14.0-841aa34fdf.patch",

+ 11 - 1
yarn.lock

@@ -23307,7 +23307,7 @@ __metadata:
   languageName: node
   linkType: hard
 
-"p-queue@npm:^8.0.0":
+"p-queue@npm:8.0.1":
   version: 8.0.1
   resolution: "p-queue@npm:8.0.1"
   dependencies:
@@ -23317,6 +23317,16 @@ __metadata:
   languageName: node
   linkType: hard
 
+"p-queue@patch:p-queue@npm%3A8.0.1#~/.yarn/patches/p-queue-npm-8.0.1-fe1ddcd827.patch":
+  version: 8.0.1
+  resolution: "p-queue@patch:p-queue@npm%3A8.0.1#~/.yarn/patches/p-queue-npm-8.0.1-fe1ddcd827.patch::version=8.0.1&hash=48e686"
+  dependencies:
+    eventemitter3: "npm:^5.0.1"
+    p-timeout: "npm:^6.1.2"
+  checksum: 10/564a7b04bc2bfe826381fd509bf83e178a06fd00e41b4e102fb435f4c71044707d97a784f50069cab1ed22f6d3e9631f0e1dad8e44b6ed2944750ab60916bc9d
+  languageName: node
+  linkType: hard
+
 "p-retry@npm:^6.1.0, p-retry@npm:^6.2.0":
   version: 6.2.0
   resolution: "p-retry@npm:6.2.0"