Skip to content

Commit 880e009

Browse files
committedAug 14, 2021
Upgrade to pure ESM p-limit
1 parent 41feb8c commit 880e009

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"dependencies": {
3232
"env-cmd": "^10.1.0",
33-
"p-limit": "^3.1.0"
33+
"p-limit": "^4.0.0"
3434
},
3535
"devDependencies": {
3636
"@types/jest": "^27.0.1",

‎pnpm-lock.yaml

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/helpers/helpers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { promises as fs } from 'fs'
22
import { exec as execCallback } from 'child_process'
3-
import pLimit = require('p-limit')
3+
import pLimit from 'p-limit'
44
const { access } = fs
55

66
export const exists = (path: string): Promise<boolean> =>

0 commit comments

Comments
 (0)
Please sign in to comment.