From eb5bf9af67646577ed1a95fdf0bb4a73d958bd10 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Mon, 29 Apr 2024 21:58:49 +0200 Subject: [PATCH 1/2] chore: node-titanium-sdk update (#14026) --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index cb0e9c320a1..b47ee97599b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "markdown": "0.5.0", "moment": "2.29.4", "node-appc": "1.1.6", - "node-titanium-sdk": "5.1.9", + "node-titanium-sdk": "6.0.0", "node-uuid": "1.4.8", "nodeify": "1.0.1", "p-limit": "3.1.0", @@ -11923,9 +11923,9 @@ "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==" }, "node_modules/node-titanium-sdk": { - "version": "5.1.9", - "resolved": "https://registry.npmjs.org/node-titanium-sdk/-/node-titanium-sdk-5.1.9.tgz", - "integrity": "sha512-pIX1zji5Enwx7V3JW+mr/BZnBBbaa9UcrVmEj0L+Rp/w3v8YhsAnZrDlAj0/mQ6XkIl8pbjZsL4CQQ1XurlsWg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/node-titanium-sdk/-/node-titanium-sdk-6.0.0.tgz", + "integrity": "sha512-CQwGAD2ZRz7UgaISySLgr66miRgfZnXBsH7wQTj1Awf4fBZxUuTXImksWdBYxAeX89kZO7SbSn6Xv9wIQE5f4w==", "dependencies": { "@babel/core": "7.11.6", "@babel/parser": "7.11.5", @@ -11943,7 +11943,7 @@ "xmldom": "0.6.0" }, "engines": { - "node": ">=10" + "node": ">=16" } }, "node_modules/node-titanium-sdk/node_modules/@babel/parser": { @@ -25815,9 +25815,9 @@ "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==" }, "node-titanium-sdk": { - "version": "5.1.9", - "resolved": "https://registry.npmjs.org/node-titanium-sdk/-/node-titanium-sdk-5.1.9.tgz", - "integrity": "sha512-pIX1zji5Enwx7V3JW+mr/BZnBBbaa9UcrVmEj0L+Rp/w3v8YhsAnZrDlAj0/mQ6XkIl8pbjZsL4CQQ1XurlsWg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/node-titanium-sdk/-/node-titanium-sdk-6.0.0.tgz", + "integrity": "sha512-CQwGAD2ZRz7UgaISySLgr66miRgfZnXBsH7wQTj1Awf4fBZxUuTXImksWdBYxAeX89kZO7SbSn6Xv9wIQE5f4w==", "requires": { "@babel/core": "7.11.6", "@babel/parser": "7.11.5", diff --git a/package.json b/package.json index 01e4d231884..31704bc65cd 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "markdown": "0.5.0", "moment": "2.29.4", "node-appc": "1.1.6", - "node-titanium-sdk": "5.1.9", + "node-titanium-sdk": "6.0.0", "node-uuid": "1.4.8", "nodeify": "1.0.1", "p-limit": "3.1.0", From 760ca45c9b63c0aa06940a36010d051b7bb2cbed Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Tue, 30 Apr 2024 17:20:07 +0200 Subject: [PATCH 2/2] chore: pass platform to tiappxml (#14017) Co-authored-by: Chris Barber --- cli/commands/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/commands/build.js b/cli/commands/build.js index 1458177278d..40c3c6e91cb 100644 --- a/cli/commands/build.js +++ b/cli/commands/build.js @@ -121,7 +121,7 @@ exports.config = function config(logger, config, cli) { if (fs.existsSync(path.join(projectDir, 'tiapp.xml'))) { let tiapp; try { - tiapp = cli.tiapp = new tiappxml(path.join(projectDir, 'tiapp.xml')); + tiapp = cli.tiapp = new tiappxml(path.join(projectDir, 'tiapp.xml'), cli.argv.platform); } catch (ex) { logger.error(ex); logger.log();