Skip to content

Commit 19e8512

Browse files
authored
Merge pull request #464 from clue-labs/promise-v3
Forward compatibility with upcoming Promise v3
2 parents 8ba9ccd + ff84cf3 commit 19e8512

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ jobs:
4444
with:
4545
version: lts-3.30
4646
- run: composer self-update --2.2 # downgrade Composer for HHVM
47-
- run: hhvm $(which composer) require react/async:^2 # downgrade Async component for HHVM
47+
- run: hhvm $(which composer) require react/async:^2 react/promise:^2 # downgrade Async and Promise for HHVM
4848
- run: hhvm vendor/bin/phpunit --exclude-group internet

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"react/cache": "^1.1",
1414
"react/dns": "^1.10",
1515
"react/event-loop": "^1.3",
16-
"react/http": "^1.7",
17-
"react/promise": "^2.9 || ^1.2",
16+
"react/http": "^1.8",
17+
"react/promise": "^3 || ^2.9 || ^1.2",
1818
"react/promise-stream": "^1.5",
19-
"react/promise-timer": "^1.8",
19+
"react/promise-timer": "^1.9",
2020
"react/socket": "^1.12",
2121
"react/stream": "^1.2"
2222
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy