mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Update some dependencies so they're compatible with Node 22 (#25317)
* `"@google-cloud/profiler": "^6.0.3"` * `bin/npm update pprof` * `bin/npm update nan` * `bin/npm update @google-cloud/profiler` * Ignore false positive of `@typescript-eslint/return-await` > Returning an awaited value that is not a promise is not allowed Though the function was promisified GitOrigin-RevId: 24dbe3e8df2b55c0b9583ac79a61e0956ac3fac0
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.1.0",
|
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.1.0",
|
||||||
"@google-cloud/profiler": "^6.0.0",
|
"@google-cloud/profiler": "^6.0.3",
|
||||||
"@opentelemetry/api": "^1.4.1",
|
"@opentelemetry/api": "^1.4.1",
|
||||||
"@opentelemetry/auto-instrumentations-node": "^0.39.1",
|
"@opentelemetry/auto-instrumentations-node": "^0.39.1",
|
||||||
"@opentelemetry/exporter-trace-otlp-http": "^0.41.2",
|
"@opentelemetry/exporter-trace-otlp-http": "^0.41.2",
|
||||||
|
|||||||
@@ -305,8 +305,10 @@ module.exports = class FSPersistor extends AbstractPersistor {
|
|||||||
|
|
||||||
async _listDirectory(path) {
|
async _listDirectory(path) {
|
||||||
if (this.useSubdirectories) {
|
if (this.useSubdirectories) {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/return-await
|
||||||
return await glob(Path.join(path, '**'))
|
return await glob(Path.join(path, '**'))
|
||||||
} else {
|
} else {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/return-await
|
||||||
return await glob(`${path}_*`)
|
return await glob(`${path}_*`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+320
-1035
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user