mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-18 07:16:33 +00:00
build(deps-dev): bump p-timeout from 4.1.0 to 6.0.0
Bumps [p-timeout](https://github.com/sindresorhus/p-timeout) from 4.1.0 to 6.0.0. - [Release notes](https://github.com/sindresorhus/p-timeout/releases) - [Commits](https://github.com/sindresorhus/p-timeout/compare/v4.1.0...v6.0.0) --- updated-dependencies: - dependency-name: p-timeout dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
0be8daec1a
commit
baf2ff0386
55
package-lock.json
generated
55
package-lock.json
generated
@ -77,7 +77,7 @@
|
|||||||
"lint-staged": "^13.0.3",
|
"lint-staged": "^13.0.3",
|
||||||
"mocha": "^9.1.3",
|
"mocha": "^9.1.3",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"p-timeout": "^4.1.0",
|
"p-timeout": "^6.0.0",
|
||||||
"portfinder": "^1.0.28",
|
"portfinder": "^1.0.28",
|
||||||
"prettier": "^2.1.1",
|
"prettier": "^2.1.1",
|
||||||
"process": "^0.11.10",
|
"process": "^0.11.10",
|
||||||
@ -1481,17 +1481,6 @@
|
|||||||
"npm": ">=7.0.0"
|
"npm": ">=7.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@libp2p/websockets/node_modules/p-timeout": {
|
|
||||||
"version": "6.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.0.0.tgz",
|
|
||||||
"integrity": "sha512-5iS61MOdUMemWH9CORQRxVXTp9g5K8rPnI9uQpo97aWgsH3vVXKjkIhDi+OgIDmN3Ly9+AZ2fZV01Wut1yzfKA==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=14.16"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@multiformats/mafmt": {
|
"node_modules/@multiformats/mafmt": {
|
||||||
"version": "11.0.2",
|
"version": "11.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-11.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-11.0.2.tgz",
|
||||||
@ -7950,17 +7939,6 @@
|
|||||||
"node": "^14 || ^16 || >=18"
|
"node": "^14 || ^16 || >=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/mortice/node_modules/p-timeout": {
|
|
||||||
"version": "6.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.0.0.tgz",
|
|
||||||
"integrity": "sha512-5iS61MOdUMemWH9CORQRxVXTp9g5K8rPnI9uQpo97aWgsH3vVXKjkIhDi+OgIDmN3Ly9+AZ2fZV01Wut1yzfKA==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=14.16"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/ms": {
|
"node_modules/ms": {
|
||||||
"version": "2.1.2",
|
"version": "2.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||||
@ -8629,12 +8607,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/p-timeout": {
|
"node_modules/p-timeout": {
|
||||||
"version": "4.1.0",
|
"version": "6.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.0.0.tgz",
|
||||||
"integrity": "sha512-+/wmHtzJuWii1sXn3HCuH/FTwGhrp4tmJTxSKJbfS+vkipci6osxXM5mY0jUiRzWKMTgUT8l7HFbeSwZAynqHw==",
|
"integrity": "sha512-5iS61MOdUMemWH9CORQRxVXTp9g5K8rPnI9uQpo97aWgsH3vVXKjkIhDi+OgIDmN3Ly9+AZ2fZV01Wut1yzfKA==",
|
||||||
"dev": true,
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=14.16"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/p-try": {
|
"node_modules/p-try": {
|
||||||
@ -12884,13 +12864,6 @@
|
|||||||
"p-defer": "^4.0.0",
|
"p-defer": "^4.0.0",
|
||||||
"p-timeout": "^6.0.0",
|
"p-timeout": "^6.0.0",
|
||||||
"wherearewe": "^2.0.1"
|
"wherearewe": "^2.0.1"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"p-timeout": {
|
|
||||||
"version": "6.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.0.0.tgz",
|
|
||||||
"integrity": "sha512-5iS61MOdUMemWH9CORQRxVXTp9g5K8rPnI9uQpo97aWgsH3vVXKjkIhDi+OgIDmN3Ly9+AZ2fZV01Wut1yzfKA=="
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@multiformats/mafmt": {
|
"@multiformats/mafmt": {
|
||||||
@ -17804,11 +17777,6 @@
|
|||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.0.tgz",
|
||||||
"integrity": "sha512-IgBP8piMxe/gf73RTQx7hmnhwz0aaEXYakvqZyE302IXW3HyVNhdNGC+O2MwMAVhLEnvXlvKtGbtJf6wvHihCg=="
|
"integrity": "sha512-IgBP8piMxe/gf73RTQx7hmnhwz0aaEXYakvqZyE302IXW3HyVNhdNGC+O2MwMAVhLEnvXlvKtGbtJf6wvHihCg=="
|
||||||
},
|
|
||||||
"p-timeout": {
|
|
||||||
"version": "6.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.0.0.tgz",
|
|
||||||
"integrity": "sha512-5iS61MOdUMemWH9CORQRxVXTp9g5K8rPnI9uQpo97aWgsH3vVXKjkIhDi+OgIDmN3Ly9+AZ2fZV01Wut1yzfKA=="
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -18286,10 +18254,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"p-timeout": {
|
"p-timeout": {
|
||||||
"version": "4.1.0",
|
"version": "6.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.0.0.tgz",
|
||||||
"integrity": "sha512-+/wmHtzJuWii1sXn3HCuH/FTwGhrp4tmJTxSKJbfS+vkipci6osxXM5mY0jUiRzWKMTgUT8l7HFbeSwZAynqHw==",
|
"integrity": "sha512-5iS61MOdUMemWH9CORQRxVXTp9g5K8rPnI9uQpo97aWgsH3vVXKjkIhDi+OgIDmN3Ly9+AZ2fZV01Wut1yzfKA=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"p-try": {
|
"p-try": {
|
||||||
"version": "2.2.0",
|
"version": "2.2.0",
|
||||||
|
@ -169,7 +169,7 @@
|
|||||||
"lint-staged": "^13.0.3",
|
"lint-staged": "^13.0.3",
|
||||||
"mocha": "^9.1.3",
|
"mocha": "^9.1.3",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"p-timeout": "^4.1.0",
|
"p-timeout": "^6.0.0",
|
||||||
"portfinder": "^1.0.28",
|
"portfinder": "^1.0.28",
|
||||||
"prettier": "^2.1.1",
|
"prettier": "^2.1.1",
|
||||||
"process": "^0.11.10",
|
"process": "^0.11.10",
|
||||||
|
@ -16,7 +16,7 @@ export default async function waitForLine(
|
|||||||
logLine: string,
|
logLine: string,
|
||||||
timeout: number
|
timeout: number
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
await pTimeout(waitForFile(filepath), timeout);
|
await pTimeout(waitForFile(filepath), { milliseconds: timeout });
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
fromBeginning: true,
|
fromBeginning: true,
|
||||||
@ -25,11 +25,10 @@ export default async function waitForLine(
|
|||||||
|
|
||||||
const tail = new Tail(filepath, options);
|
const tail = new Tail(filepath, options);
|
||||||
|
|
||||||
await pTimeout(
|
await pTimeout(find(tail, logLine), {
|
||||||
find(tail, logLine),
|
milliseconds: 60000,
|
||||||
60000,
|
message: `could not to find '${logLine}' in file '${filepath}'`,
|
||||||
`could not to find '${logLine}' in file '${filepath}'`
|
});
|
||||||
);
|
|
||||||
tail.unwatch();
|
tail.unwatch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user