@pi-r/android 0.10.0 → 0.10.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.
@@ -40,7 +40,6 @@ async function finalize(instance) {
40
40
  if (!command.includes(path.sep)) {
41
41
  filename = checkWin32(command);
42
42
  }
43
- command = (0, types_1.sanitizeCmd)(command);
44
43
  }
45
44
  else {
46
45
  filename = checkWin32("gradlew");
@@ -64,7 +63,7 @@ async function finalize(instance) {
64
63
  else if (altname) {
65
64
  const bin = which.sync(altname, { nothrow: true });
66
65
  if (bin) {
67
- command = (0, types_1.sanitizeCmd)(bin);
66
+ command = bin;
68
67
  }
69
68
  }
70
69
  }
@@ -89,7 +88,7 @@ async function finalize(instance) {
89
88
  await new Promise((resolve, reject) => {
90
89
  this.formatMessage(4, title, ['Executing task...', task], baseDirectory);
91
90
  let out = '', message = '';
92
- const { stdout, stderr } = child_process.spawn(command, (0, types_1.sanitizeArgs)(args), { cwd: baseDirectory, shell: true, stdio: Document.hasLogType(32768) && !broadcastId ? 'inherit' : undefined, signal: instance.signal, uid, gid })
91
+ const { stdout, stderr } = child_process.spawn((0, types_1.sanitizeCmd)(command, (0, types_1.sanitizeArgs)(args)), { cwd: baseDirectory, shell: true, stdio: Document.hasLogType(32768) && !broadcastId ? 'inherit' : undefined, signal: instance.signal, uid, gid })
93
92
  .on('exit', code => {
94
93
  if (!code) {
95
94
  instance.addLog(types_1.STATUS_TYPE.INFO, out);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/android",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Android document constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,11 +20,11 @@
20
20
  "license": "MIT",
21
21
  "homepage": "https://github.com/anpham6/pi-r#readme",
22
22
  "dependencies": {
23
- "@e-mc/document": "^0.12.0",
24
- "@e-mc/types": "^0.12.0",
25
- "dom-serializer": "*",
26
- "domhandler": "*",
27
- "domutils": "*",
23
+ "@e-mc/document": "^0.12.3",
24
+ "@e-mc/types": "^0.12.3",
25
+ "dom-serializer": "^2.0.0",
26
+ "domhandler": "^5.0.3",
27
+ "domutils": "^3.2.2",
28
28
  "htmlparser2": "^10.0.0",
29
29
  "which": "^4.0.0"
30
30
  }
@@ -1,4 +1,4 @@
1
1
  plugins {
2
- id 'com.android.application' version '8.9.2' apply false
3
- id 'com.android.library' version '8.9.2' apply false
2
+ id 'com.android.application' version '8.10.0' apply false
3
+ id 'com.android.library' version '8.10.0' apply false
4
4
  }
@@ -1,5 +1,5 @@
1
1
  [versions]
2
- agp = "8.9.2"
2
+ agp = "8.10.0"
3
3
  kotlin = "2.1.20"
4
4
  coreKtx = "1.16.0"
5
5
  junit = "4.13.2"
@@ -1,5 +1,5 @@
1
1
  [versions]
2
- agp = "8.9.2"
2
+ agp = "8.10.0"
3
3
  kotlin = "2.1.20"
4
4
  coreKtx = "1.16.0"
5
5
  junit = "4.13.2"