@quatrain/worker 1.1.55 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Worker.js CHANGED
@@ -24,7 +24,7 @@ class Worker extends core_1.Core {
24
24
  Worker.info(`Executing command ${command} in ${cwd} with arguments:`);
25
25
  args.forEach((arg) => console.log(`\t${arg}`));
26
26
  return new Promise((resolve, reject) => {
27
- const child = (0, child_process_1.spawn)(command, args, { cwd });
27
+ const child = (0, child_process_1.spawn)(command, args, { cwd, shell: false });
28
28
  child.stdout.on('data', (data) => Worker.debug(data.toString()));
29
29
  child.stderr.on('data', (data) => Worker.debug(data.toString()));
30
30
  child.on('close', (code) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quatrain/worker",
3
- "version": "1.1.55",
3
+ "version": "1.2.1",
4
4
  "description": "Container Worker helpers",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -34,9 +34,9 @@
34
34
  "typescript": "^5.1.5"
35
35
  },
36
36
  "dependencies": {
37
- "@quatrain/core": "^1.1.52",
38
- "@quatrain/queue": "^1.1.32",
39
- "@quatrain/storage": "^1.1.34",
37
+ "@quatrain/core": "^1.2.4",
38
+ "@quatrain/queue": "^1.2.1",
39
+ "@quatrain/storage": "^1.2.1",
40
40
  "axios": "^1.7.7",
41
41
  "fluent-ffmpeg": "^2.1.2",
42
42
  "fs-extra": "^11.2.0",
@@ -47,5 +47,8 @@
47
47
  "build": "tsc",
48
48
  "wbuild": "tsc --watch",
49
49
  "bump-to": "yarn version"
50
+ },
51
+ "typedoc": {
52
+ "entryPoint": "src/index.ts"
50
53
  }
51
54
  }
package/src/Worker.ts CHANGED
@@ -25,7 +25,7 @@ export class Worker extends Core {
25
25
  Worker.info(`Executing command ${command} in ${cwd} with arguments:`)
26
26
  args.forEach((arg) => console.log(`\t${arg}`))
27
27
  return new Promise((resolve, reject) => {
28
- const child = spawn(command, args, { cwd })
28
+ const child = spawn(command, args, { cwd, shell: false })
29
29
 
30
30
  child.stdout.on('data', (data: Buffer) =>
31
31
  Worker.debug(data.toString())