Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
renxia committed Dec 3, 2023
1 parent 1acc9ea commit 6f507aa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@
},
"devDependencies": {
"@lzwme/fed-lint-helper": "^2.4.1",
"@types/node": "^20.5.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"@types/node": "^20.10.2",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"prettier": "^3.0.2",
"prettier": "^3.1.0",
"standard-version": "^9.5.0",
"typescript": "^5.1.6"
"typescript": "^5.3.2"
},
"dependencies": {
"@lzwme/fe-utils": "^1.5.2",
"commander": "^11.0.0",
"@lzwme/fe-utils": "^1.5.6",
"commander": "^11.1.0",
"console-log-colors": "^0.4.0",
"enquirer": "^2.4.1",
"m3u8-parser": "^7.1.0"
Expand Down
5 changes: 4 additions & 1 deletion src/lib/worker_pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ export class WorkerPool<T = unknown, R = unknown> extends EventEmitter {
get freeNum() {
return this.freeWorkers.length;
}
constructor(private processorFile: string, public numThreads = 0) {
constructor(
private processorFile: string,
public numThreads = 0
) {
super();

numThreads = +numThreads || cpus().length;
Expand Down

0 comments on commit 6f507aa

Please sign in to comment.