diff --git a/lib/models/revision.ts b/lib/models/revision.ts index b41fedbee..f49a802dc 100644 --- a/lib/models/revision.ts +++ b/lib/models/revision.ts @@ -24,7 +24,7 @@ class Data { } function createDmpWorker (): ChildProcess { - const worker = childProcess.fork(path.resolve(__dirname, '../workers/dmpWorker.js'), ['ignore']) + const worker = childProcess.fork(path.resolve(__dirname, '../workers/dmpWorker.ts'), ['ignore']) logger.debug('dmp worker process started') worker.on('message', function (data: Data) { if (!data || !data.msg || !data.cacheKey) { diff --git a/yarn.lock b/yarn.lock index 83f5ba41d..7ddc723cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7092,22 +7092,6 @@ node-libs-browser@^2.2.1: util "^0.11.0" vm-browserify "^1.0.1" -node-pre-gyp@*: - version "0.14.0" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz#9a0596533b877289bcad4e143982ca3d904ddc83" - integrity sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA== - dependencies: - detect-libc "^1.0.2" - mkdirp "^0.5.1" - needle "^2.2.1" - nopt "^4.0.1" - npm-packlist "^1.1.6" - npmlog "^4.0.2" - rc "^1.2.7" - rimraf "^2.6.1" - semver "^5.3.0" - tar "^4.4.2" - node-pre-gyp@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.11.0.tgz#db1f33215272f692cd38f03238e3e9b47c5dd054" @@ -9940,7 +9924,7 @@ tar-stream@^1.5.0: to-buffer "^1.1.1" xtend "^4.0.0" -tar@^4, tar@^4.4.2: +tar@^4: version "4.4.13" resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==