mirror of https://github.com/aminya/setup-cpp
fix: add stream/promises compat layer
This commit is contained in:
parent
1c7c39221b
commit
8ce16c2fbc
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -186,7 +186,8 @@
|
|||
"electron": false,
|
||||
"patha": "patha/dist/index.node.mjs",
|
||||
"admina": "admina/dist/index.mjs",
|
||||
"fs/promises": "./src/utils/compat/fs/promises.ts"
|
||||
"fs/promises": "./src/utils/compat/fs/promises.ts",
|
||||
"stream/promises": "./src/utils/compat/stream/promises.ts"
|
||||
},
|
||||
"targets": {
|
||||
"main": {
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
import { promises } from "stream"
|
||||
export default promises
|
||||
|
||||
export const { finished, pipeline } = promises
|
Loading…
Reference in New Issue