node-simctl
Advanced tools
Comparing version 7.1.17 to 7.2.0
@@ -70,3 +70,4 @@ "use strict"; | ||
encoding, | ||
logErrors = true | ||
logErrors = true, | ||
architectures | ||
} = opts; | ||
@@ -84,3 +85,8 @@ args = ['simctl', ...(this.devicesSetPath ? ['--set', this.devicesSetPath] : []), subcommand, ...args]; | ||
try { | ||
return asynchronous ? new _teen_process.SubProcess(xcrun, args, execOpts) : await (0, _teen_process.exec)(xcrun, args, execOpts); | ||
let execArgs = [xcrun, args, execOpts]; | ||
if (!_lodash.default.isEmpty(architectures)) { | ||
const archArgs = _lodash.default.flatMap((_lodash.default.isArray(architectures) ? architectures : [architectures]).map(arch => ['-arch', arch])); | ||
execArgs = ['arch', ...archArgs, ...execArgs]; | ||
} | ||
return asynchronous ? new _teen_process.SubProcess(...execArgs) : await (0, _teen_process.exec)(...execArgs); | ||
} catch (e) { | ||
@@ -104,2 +110,2 @@ if (!this.logErrors || !logErrors) {} else if (e.stderr) { | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfbG9kYXNoIiwiX2ludGVyb3BSZXF1aXJlRGVmYXVsdCIsInJlcXVpcmUiLCJfaW5kZXgiLCJfd2hpY2giLCJfbG9nZ2VyIiwiX2ludGVyb3BSZXF1aXJlV2lsZGNhcmQiLCJfaGVscGVycyIsIl90ZWVuX3Byb2Nlc3MiLCJfZ2V0UmVxdWlyZVdpbGRjYXJkQ2FjaGUiLCJub2RlSW50ZXJvcCIsIldlYWtNYXAiLCJjYWNoZUJhYmVsSW50ZXJvcCIsImNhY2hlTm9kZUludGVyb3AiLCJvYmoiLCJfX2VzTW9kdWxlIiwiZGVmYXVsdCIsImNhY2hlIiwiaGFzIiwiZ2V0IiwibmV3T2JqIiwiaGFzUHJvcGVydHlEZXNjcmlwdG9yIiwiT2JqZWN0IiwiZGVmaW5lUHJvcGVydHkiLCJnZXRPd25Qcm9wZXJ0eURlc2NyaX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7O0FBQUEsTUFBTUEsUUFBUSxHQUFHLENBQUMsQ0FBQztBQWFuQkEsUUFBUSxDQUFDQyxRQUFRLEdBQUcsZUFBZUEsUUFBUUEsQ0FBRUMsUUFBUSxFQUFFO0VBQ3JELE9BQU8sTUFBTSxJQUFJLENBQUNDLElBQUksQ0FBQyxVQUFVLEVBQUU7SUFDakNDLElBQUksRUFBRSxDQUFDLElBQUksQ0FBQ0MsV0FBVyxDQUFDLFVBQVUsQ0FBQyxFQUFFSCxRQUFRO0VBQy9DLENBQUMsQ0FBQztBQUNKLENBQUM7QUFBQyxJQUFBSSxRQUFBLEdBRWFOLFFBQVE7QUFBQU8sT0FBQSxDQUFBQyxPQUFBLEdBQUFGLFFBQUEifQ== |
@@ -19,2 +19,2 @@ "use strict"; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJjb21tYW5kcyIsImFwcEluZm8iLCJidW5kbGVJZCIsInN0ZG91dCIsImV4ZWMiLCJhcmdzIiwicmVxdWlyZVVkaWQiLCJ0cmltIiwiX2RlZmF1bHQiLCJleHBvcnRzIiwiZGVmYXVsdCJdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9zdWJjb21tYW5kcy9hcHBpbmZvLmpzIl0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IGNvbW1hbmRzID0ge307XG5cbi8qKlxuICogSW52b2tlIGhpZGRlbiBhcHBpbmZvIHN1YmNvbW1hbmQgdG8gZ2V0IHRoZSBpbmZvcm1hdGlvblxuICogYWJvdXQgYXBwbGljYXRpb25zIGluc3RhbGxlZCBvbiBTaW11bGF0b3IsIGluY2x1ZGluZ1xuICogc3lzdGVtIGFwcGxpY2F0aW9ucyAoe0BsaW5rIGdldEFwcENvbnRhaW5lcn0gZG9lcyBub3QgXCJzZWVcIiBzdWNoIGFwcHMpLlxuICogU2ltdWxhdG9yIHNlcnZlciBzaG91bGQgYmUgaW4gJ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BQUEsQ0FBQUMsT0FBQSxHQUFBRixRQUFBIn0= |
@@ -77,2 +77,2 @@ "use strict"; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfbG9kYXNoIiwiX2ludGVyb3BSZXF1aXJlRGVmYXVsdCIsInJlcXVpcmUiLCJfbG9nZ2VyIiwiX2ludGVyb3BSZXF1aXJlV2lsZGNhcmQiLCJfYXN5bmNib3giLCJfaGVscGVycyIsIl9nZXRSZXF1aXJlV2lsZGNhcmRDYWNoZSIsIm5vZGVJbnRlcm9wIiwiV2Vha01hcCIsImNhY2hlQmFiZWxJbnRlcm9wIiwiY2FjaGVOb2RlSW50ZXJvcCIsIm9iaiIsIl9fZXNNb2R1bGUiLCJkZWZhdWx0IiwiY2FjaGUiLCJoYXMiLCJnZXQiLCJuZXdPYmoiLCJoYXNQcm9wZXJ0eURlc2NyaXB0b3IiLCJPYmplY3QiLCJkZWZpbmVQcm9wZXJ0eSIsImdldE93blByb3BlcnR5RGVzY3JpcHRvciIsImtleSIsInByb3RvdHlwZSIsImhhc093blByb3BlcnR5IiwiY2FsbCIsImRlc2MiLCJzZXQiLCJTSU1fUlVOVElNRV9OQU1FX1NVRkZJWF9JT1MiLCJERUZBVUxUX0NSRUFURV9TSU1VTEFUT1JfVElNRU9VVCIsImNvbW1hbmRzIiwiY3JlYXRlRGV2aWNlIiwibmFtZSIsImRldmljZVR5cGVJZCIsInBsYXRmb3JtVmVyc2lvbiIsIm9wdHMiLCJwbGF0Zm9ybSIsInRpbWVvdXQiLCJydW50aW1lSWRzIiwicHVzaCIsImdldFJ1bnRpbWVGb3JQbGF0Zm9ybVZlcnNpb25WaWFKc29uIiwiaWduIiwiXyIsImlzRW1wdHkiLCJydW50aW1lSWQiLCJnZXRSdW50aW1lRm9yUGxhdGZvcm1WZXJzaW9uIiwiZXJyIiwibG9nIiwid2FybiIsInBvdGVudGlhbFJ1bnRpbWVJZH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FNBQVMsRUFBRTtRQUM5QixJQUFJQyxNQUFNLENBQUNoQixJQUFJLEtBQUtBLElBQUksRUFBRTtVQUN4QixJQUFJZ0IsTUFBTSxDQUFDQyxLQUFLLEtBQUssVUFBVSxFQUFFO1lBRS9CLE1BQU0sSUFBSVYsS0FBSyxDQUFFLHFCQUFvQlAsSUFBSyx1QkFBc0IsQ0FBQztVQUNuRSxDQUFDLE1BQU07WUFFTDtVQUNGO1FBQ0Y7TUFDRjtJQUNGO0lBQ0EsTUFBTSxJQUFJTyxLQUFLLENBQUUscUJBQW9CUCxJQUFLLG1CQUFrQixDQUFDO0VBQy9ELENBQUMsQ0FBQztFQUVGLE9BQU9BLElBQUk7QUFDYixDQUFDO0FBQUMsSUFBQWtCLFFBQUEsR0FFYTdDLFFBQVE7QUFBQThDLE9BQUEsQ0FBQS9ELE9BQUEsR0FBQThELFFBQUEifQ== |
@@ -23,2 +23,2 @@ "use strict"; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJjb21tYW5kcyIsImdldEFwcENvbnRhaW5lciIsImJ1bmRsZUlkIiwiY29udGFpbmVyVHlwZSIsImFyZ3MiLCJyZXF1aXJlVWRpZCIsInB1c2giLCJzdGRvdXQiLCJleGVjIiwidHJpbSIsIl9kZWZhdWx0IiwiZXhwb3J0cyIsImRlZmF1bHQiXSwic291cmNlcyI6WyIuLi8uLi8uLi9saWIvc3ViY29tbWFuZHMvZ2V0X2FwcF9jb250YWluZXIuanMiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgY29tbWFuZHMgPSB7fTtcblxuLyoqXG4gKiBHZXQgdGhlIGZ1bGwgcGF0aCB0byB0aGUgcGFydGljdWxhciBhcHBsaWNhdGlvbiBjb250YWluZXJcbiAqIG9uIHRoZSBsb2NhbCBmaWxlIHN5c3RlbS4gTm90ZSwgdGhhdCB0aGlzIHN1YmNvbW1hbmQgdGhyb3dzXG4gK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UFZLEVBQUVFLG1CQUFtQjtJQUNoRCxDQUFDLENBQUM7SUFDRixPQUFPLENBQUMsTUFBTVEsaUJBQUUsQ0FBQ0MsUUFBUSxDQUFDVCxtQkFBbUIsQ0FBQyxFQUFFVSxRQUFRLENBQUMsUUFBUSxDQUFDO0VBQ3BFLENBQUMsU0FBUztJQUNSLE1BQU0sSUFBQUMsY0FBTSxFQUFDWCxtQkFBbUIsQ0FBQztFQUNuQztBQUNGLENBQUM7QUFBQyxJQUFBWSxRQUFBLEdBRWFoQixRQUFRO0FBQUFpQixPQUFBLENBQUFDLE9BQUEsR0FBQUYsUUFBQSJ9 |
@@ -24,2 +24,2 @@ "use strict"; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfbG9kYXNoIiwiX2ludGVyb3BSZXF1aXJlRGVmYXVsdCIsInJlcXVpcmUiLCJfYXN5bmNib3giLCJjb21tYW5kcyIsImxhdW5jaEFwcCIsImJ1bmRsZUlkIiwidHJpZXMiLCJyZXRyeUludGVydmFsIiwic3Rkb3V0IiwiZXhlYyIsImFyZ3MiLCJyZXF1aXJlVWRpZCIsIl8iLCJ0cmltIiwiX2RlZmF1bHQiLCJleHBvcnRzIiwiZGVmYXVsdCJdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9zdWJjb21tYW5kcy9sYXVuY2guanMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IF8gZnJvbSAnbG9kYXNoJztcbmltcG9ydCB7IHJldHJ5SW50ZXJ2YWwgfSBmcm9tICdhc3luY2JveCc7XG5cbmNvbnN0IGNvbW1hbmRzID0ge307XG5cbi8qKlxuICogRXhlY3V0ZSB0aGUgcGFydGljdWxhciBhcHBsaWNhdGlvbiBwYWNrYWdlIG9uIFNpbXVsYXRvci5cbiAqIEl0IGlzIHJlcXVpcmVkIHRoYXQgU2ltdWxhdG9yIGlzIGluIF9ib290ZWRfIHN0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dDLENBQUMsQ0FBQztJQUNGLE9BQU9PLGVBQUMsQ0FBQ0MsSUFBSSxDQUFDTCxNQUFNLENBQUM7RUFDdkIsQ0FBQyxDQUFDO0FBQ0osQ0FBQztBQUFDLElBQUFNLFFBQUEsR0FFYVgsUUFBUTtBQUFBWSxPQUFBLENBQUFDLE9BQUEsR0FBQUYsUUFBQSJ9 |
@@ -157,2 +157,2 @@ "use strict"; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfbG9kYXNoIiwiX2ludGVyb3BSZXF1aXJlRGVmYXVsdCIsInJlcXVpcmUiLCJfaGVscGVycyIsIl9sb2dnZXIiLCJfaW50ZXJvcFJlcXVpcmVXaWxkY2FyZCIsIl9nZXRSZXF1aXJlV2lsZGNhcmRDYWNoZSIsIm5vZGVJbnRlcm9wIiwiV2Vha01hcCIsImNhY2hlQmFiZWxJbnRlcm9wIiwiY2FjaGVOb2RlSW50ZXJvcCIsIm9iaiIsIl9fZXNNb2R1bGUiLCJkZWZhdWx0IiwiY2FjaGUiLCJoYXMiLCJnZXQiLCJuZXdPYmoiLCJoYXNQcm9wZXJ0eURlc2NyaXB0b3IiLCJPYmplY3QiLCJkZWZpbmVQcm9wZXJ0eSIsImdldE93blByb3BlcnR5RGVzY3JpcHRvciIsImtleSIsInByb3RvdHlwZSIsImhhc093blByb3BlcnR5IiwiY2FsbCIsImRlc2MiLCJzZXQiLCJjb21tYW5kcyIsImdldERldmljZXNCeVBhcnNpbmciLCJwbGF0Zm9ybSIsInN0ZG91dCIsImV4ZWMiLCJhcmdzIiwiZGV2aWNlU2VjdGlvblJlIiwiXyIsImlzRW1wdHkiLCJSZWdFeHAiLCJlc2NhcGVSZWdFeHAiLCJtYXRjaGVzIiwibWF0Y2giLCJwdXNoIiwiRXJyb3IiLCJsaW5lUmUiLCJkZXZpY2VzIiwic2RrIiwibGluZSIsInNwbGl0Iiwic2xpY2UiLCJp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LFFBQUEsR0FFYXhFLFFBQVE7QUFBQXlFLE9BQUEsQ0FBQXhGLE9BQUEsR0FBQXVGLFFBQUEifQ== |
@@ -16,2 +16,2 @@ "use strict"; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJjb21tYW5kcyIsIm9wZW5VcmwiLCJ1cmwiLCJleGVjIiwiYXJncyIsInJlcXVpcmVVZGlkIiwiX2RlZmF1bHQiLCJleHBvcnRzIiwiZGVmYXVsdCJdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9zdWJjb21tYW5kcy9vcGVudXJsLmpzIl0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IGNvbW1hbmRzID0ge307XG5cbi8qKlxuICogT3BlbiBVUkwgc2NoZW1lIG9uIFNpbXVsYXRvci4gaU9TIHdpbGwgYXV0b21hdGljYWxseSB0cnlcbiAqIHRvIGZpbmQgYSBtYXRjaGluZyBhcHBsaWNhdGlvbiwgd2hpY2ggc3VwcG9ydHMgdGhlIGdpdmVuIHNjaGVtZS5cbiAqIEl0IGlzIHJlcXVpcmVkIHRoYXQgU2ltdWxhdG9yIGlzIGluIF9ib290ZWRfIHN0YXRlLlxuICpcbiAqIEBwYXJhbSB7c3RyaW5nfSB1cmwgLSBUaGUgVVJMIHNjaGVtZSB0byBvcGVuLCBmb3IgZXhhbXBsZSBodHRwOi8vYXBwaW9tLmlvXG4gKiAgICAgICAgICAgICAgICAgICAgICAgd2lsbCBiZSBvcGVuZWQgYnkgdGhlIGJ1aWx0LWluIG1vYmlsZSBicm93c2VyLlxuICogQHJldHVybiB7RXhlY1Jlc3VsdH0gQ29tbWFuZCBleGVjdXRpb24gcmVzdWx0LlxuICogQHRocm93cyB7RXJyb3J9IElmIHRoZSBjb3JyZXNwb25kaW5nIHNpbWN0bCBzdWJjb21tYW5kIGNvbW1hbmRcbiAqICAgICAgICAgICAgICAgICByZXR1cm5zIG5vbi16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CQUFnQixDQUFDTyxJQUFJLENBQUMsQ0FBQztFQUNoRCxNQUFNQyxLQUFLLEdBQUdSLGdCQUFnQixDQUFDUyxJQUFJLENBQUNELEtBQUs7RUFDekNBLEtBQUssQ0FBQ0UsV0FBVyxDQUFDWCxRQUFRLENBQUM7RUFDM0JTLEtBQUssQ0FBQ0csS0FBSyxDQUFDYixPQUFPLENBQUM7RUFDcEJVLEtBQUssQ0FBQ0ksR0FBRyxDQUFDLENBQUM7RUFDWCxNQUFNTixnQkFBZ0I7QUFDeEIsQ0FBQztBQUFDLElBQUFPLFFBQUEsR0FFYWpCLFFBQVE7QUFBQWtCLE9BQUEsQ0FBQUMsT0FBQSxHQUFBRixRQUFBIn0= |
@@ -20,2 +20,2 @@ "use strict"; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJjb21tYW5kcyIsImdldFBhc3RlYm9hcmQiLCJlbmNvZGluZyIsInN0ZG91dCIsImV4ZWMiLCJhcmdzIiwicmVxdWlyZVVkaWQiLCJfZGVmYXVsdCIsImV4cG9ydHMiLCJkZWZhdWx0Il0sInNvdXJjZXMiOlsiLi4vLi4vLi4vbGliL3N1YmNvbW1hbmRzL3BicGFzdGUuanMiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgY29tbWFuZHMgPSB7fTtcblxuLyoqXG4gKiBHZXQgdGhlIGNvbnRlbnQgb2YgU2ltdWxhdG9yIHBhc3RlYm9hcmQuXG4gKiBJdCBpcyByZXF1aXJlZCB0aGF0IFNpbXVsYXRvciBpcyBpbiBfYm9vdGVkXyBzdGF0ZS5cbiAqXG4gKiBAc2luY2UgWGNvZGUgOC4xIFNES1xuICogQHBhcmFtIHtzdHJpbmd9IGVuY29kaW5nIFsndXRmLTgnXSAtIFRoZSBlbmNvZGluZyBvZiB0aGUgcmV0dXJuZWQgcGFzdGVib2FyZCBjb250ZW50LlxuICogICAgICAgICAgICAgICAgICA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UNGLENBQUMsQ0FBQztFQUNGLE9BQU9DLE1BQU07QUFDZixDQUFDO0FBQUMsSUFBQUksUUFBQSxHQUVhUCxRQUFRO0FBQUFRLE9BQUEsQ0FBQUMsT0FBQSxHQUFBRixRQUFBIn0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJjb21tYW5kcyIsImdldFBhc3RlYm9hcmQiLCJlbmNvZGluZyIsInN0ZG91dCIsImV4ZWMiLCJhcmdzIiwicmVxdWlyZVVkaWQiLCJfZGVmYXVsdCIsImV4cG9ydHMiLCJkZWZhdWx0Il0sInNvdXJjZXMiOlsiLi4vLi4vLi4vbGliL3N1YmNvbW1hbmRzL3BicGFzdGUuanMiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgY29tbWFuZHMgPSB7fTtcblxuLyoqXG4gKiBHZXQgdGhlIGNvbnRlbnQgb2YgU2ltdWxhdG9yIHBhc3RlYm9hcmQuXG4gKiBJdCBpcyByZXF1aXJlZCB0aGF0IFNpbXVsYXRvciBpcyBpbiBfYm9vdGVkXyBzdGF0ZS5cbiAqXG4gKiBAc2luY2UgWGNvZGUgOC4xIFNES1xuICogQHBhcmFtIHtzdHJpbmd9IGVuY29kaW5nIFsndXRmLTgnXSAtIFRoZSBlbmNvZGluZyBvZiB0aGUgcmV0dXJuZWQgcGFzdGVib2FyZCBjb250ZW50LlxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFVURi04IGJ5IGRlZmF1bHQuXG4gKiBAcmV0dXJuIHtQcm9taXNlPHN0cmluZz59IEN1cnJlbnQgY29udGVudCBvZiBTaW11bGF0b3IgcGFzdGVib2FyZCBvciBhbiBlbXB0eSBzdHJpbmcuXG4gKiBAdGhyb3dzIHtFcnJvcn0gSWYgdGhlIGNvcnJlc3BvbmRpbmcgc2ltY3RsIHN1YmNvbW1hbmQgY29tbWFuZFxuICogICAgICAgICAgICAgICAgIHJldHVybnMgbm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2 +26,2 @@ "use strict"; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfbG9kYXNoIiwiX2ludGVyb3BSZXF1aXJlRGVmYXVsdCIsInJlcXVpcmUiLCJjb21tYW5kcyIsImdldEFwcGVhcmFuY2UiLCJzdGRvdXQiLCJleGVjIiwiYXJncyIsInJlcXVpcmVVZGlkIiwiXyIsInRyaW0iLCJzZXRBcHBlYXJhbmNlIiwiYXBwZWFyYW5jZSIsIl9kZWZhdWx0IiwiZXhwb3J0cyIsImRlZmF1bHQiXSwic291cmNlcyI6WyIuLi8uLi8uLi9saWIvc3ViY29tbWFuZHMvdWkuanMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IF8gZnJvbSAnbG9kYXNoJztcblxuXG5jb25zdCBjb21tYW5kcyA9IHt9O1xuXG4vKipcbiAqIFJldHJpZXZlcyB0aGUgY3VycmVudCBVSSBhcHBlYXJhbmNlIHZhbHVlIGZyb20gdGhlIGdpdmVuIHNpbXVsYXRvclxuICpcbiAqIEBzaW5jZSBYY29kZSAxMS40IFNES1xuICogQHJldHVybiB7c3RyaW5nfSB0aGUgYXBwZWFyYW5jZSB2YWx1ZSwgZm9yIGV4YW1wbGUgJ2xpZ2h0JyBvciAnZGFyaydcbiAqIEB0aHJvd3Mge0Vycm9yfSBpZiB0aGUgY3VycmVudCBTREsgdmVyc2lvbiBkb2VzIG5vdCBzdXBwb3J0IHRoZSBjb21tYW5kXG4gKiBvciB0aGVyZSB3YXMgYW4gZXJyb3Igd2hpbGUgZ2V0dGluZyB0aGUgdmFsdWVcbiAqIEB0aHJvd3Mge0Vycm9yfSBJZiB0aGUgYHVkaWRgIGluc3RhbmNlIHByb3BlcnR5IGlzIHVuc2V0XG4gKi9cbmNvbW1hbmRzLmdldEFwcGVhcmFuY2UgPSBhc3luYyBmdW5jdGlvbiBnZXRBcHBlYXJhbmNlICgpIHtcbiAgY29uc3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QUFNLElBQUksQ0FBQ04sSUFBSSxDQUFDLElBQUksRUFBRTtJQUNwQkMsSUFBSSxFQUFFLENBQUMsSUFBSSxDQUFDQyxXQUFXLENBQUMsSUFBSSxDQUFDLEVBQUUsWUFBWSxFQUFFSSxVQUFVO0VBQ3pELENBQUMsQ0FBQztBQUNKLENBQUM7QUFBQyxJQUFBQyxRQUFBLEdBRWFWLFFBQVE7QUFBQVcsT0FBQSxDQUFBQyxPQUFBLEdBQUFGLFFBQUEifQ== |
@@ -0,1 +1,8 @@ | ||
## [7.2.0](https://github.com/appium/node-simctl/compare/v7.1.17...v7.2.0) (2023-08-09) | ||
### Features | ||
* Add a possibility to select architecture while executing xcrun commands ([#188](https://github.com/appium/node-simctl/issues/188)) ([ab555d7](https://github.com/appium/node-simctl/commit/ab555d73d855991360af842f140a4164af50b6a6)) | ||
## [7.1.17](https://github.com/appium/node-simctl/compare/v7.1.16...v7.1.17) (2023-07-07) | ||
@@ -2,0 +9,0 @@ |
@@ -21,3 +21,3 @@ import _ from 'lodash'; | ||
* @typedef {Object} ExecOpts | ||
* @property {Array.<string>} args [[]] - The list of additional subcommand arguments. | ||
* @property {string[]} args [[]] - The list of additional subcommand arguments. | ||
* It's empty by default. | ||
@@ -30,4 +30,6 @@ * @property {Object} env [{}] - Environment variables mapping. All these variables | ||
* 'synchronously' or 'asynchronously'. Affects the returned result of the function. | ||
* @property {?string} encoding - Explicitly sets streams encoding for the executed | ||
* @property {string?} encoding - Explicitly sets streams encoding for the executed | ||
* command input and outputs. | ||
* @property {string|string[]} architectures - One or more architecture names to be enforced while | ||
* executing xcrun. See https://github.com/appium/appium/issues/18966 for more details. | ||
*/ | ||
@@ -38,3 +40,3 @@ | ||
* @typedef {Object} SimctlOpts | ||
* @property {?Object} xcrun - The xcrun properties. Currently only one property | ||
* @property {Object?} xcrun - The xcrun properties. Currently only one property | ||
* is supported, which is `path` and it by default contains `null`, which enforces | ||
@@ -44,11 +46,11 @@ * the instance to automatically detect the full path to `xcrun` tool and to throw | ||
* then it is going to be used by `exec` and no autodetection will happen. | ||
* @property {?number} execTimeout [600000] - The maximum number of milliseconds | ||
* @property {number} execTimeout [600000] - The maximum number of milliseconds | ||
* to wait for single synchronous xcrun command. | ||
* @property {?boolean} logErrors [true] - Whether to wire xcrun error messages | ||
* @property {boolean} logErrors [true] - Whether to wire xcrun error messages | ||
* into debug log before throwing them. | ||
* @property {?string} udid [null] - The unique identifier of the current device, which is | ||
* @property {string?} udid - The unique identifier of the current device, which is | ||
* going to be implicitly passed to all methods, which require it. It can either be set | ||
* upon instance creation if it is already known in advance or later when/if needed via the | ||
* corresponding instance setter. | ||
* @property {?string} devicesSetPath - Full path to the set of devices that you want to manage. | ||
* @property {string?} devicesSetPath - Full path to the set of devices that you want to manage. | ||
* By default this path usually equals to ~/Library/Developer/CoreSimulator/Devices | ||
@@ -60,3 +62,3 @@ */ | ||
/** | ||
* @param {?SimctlOpts} opts | ||
* @param {SimctlOpts} opts | ||
*/ | ||
@@ -117,4 +119,4 @@ constructor (opts = {}) { | ||
* of available subcommands. | ||
* @param {?ExecOpts} opts | ||
* @return {ExecResult|SubProcess} Either the result of teen process's `exec` or | ||
* @param {ExecOpts?} opts | ||
* @return {Promise<ExecResult|SubProcess>} Either the result of teen process's `exec` or | ||
* `SubProcess` instance depending of `opts.asynchronous` value. | ||
@@ -130,2 +132,3 @@ * @throws {Error} If the simctl subcommand command returns non-zero return code. | ||
logErrors = true, | ||
architectures, | ||
} = opts; | ||
@@ -154,3 +157,10 @@ // run a particular simctl command | ||
try { | ||
return asynchronous ? new SubProcess(xcrun, args, execOpts) : await tpExec(xcrun, args, execOpts); | ||
let execArgs = [xcrun, args, execOpts]; | ||
if (!_.isEmpty(architectures)) { | ||
const archArgs = _.flatMap( | ||
(_.isArray(architectures) ? architectures : [architectures]).map((arch) => ['-arch', arch]) | ||
); | ||
execArgs = ['arch', ...archArgs, ...execArgs]; | ||
} | ||
return asynchronous ? new SubProcess(...execArgs) : await tpExec(...execArgs); | ||
} catch (e) { | ||
@@ -157,0 +167,0 @@ if (!this.logErrors || !logErrors) { |
@@ -9,3 +9,3 @@ const commands = {}; | ||
* file system. | ||
* @return {ExecResult} Command execution result. | ||
* @return {Promise<ExecResult>} Command execution result. | ||
* @throws {Error} If the corresponding simctl subcommand command | ||
@@ -12,0 +12,0 @@ * returns non-zero return code. |
@@ -11,3 +11,3 @@ const commands = {}; | ||
* @param {string} bundleId - The bundle identifier of the target application. | ||
* @return {string} The information about installed application. | ||
* @return {Promise<string>} The information about installed application. | ||
* | ||
@@ -14,0 +14,0 @@ * Example output for non-existing application container: |
@@ -9,9 +9,9 @@ import log from '../logger'; | ||
* @typedef {Object} BootMonitorOptions | ||
* @property {?number} timeout [240000] - Simulator booting timeout in ms. | ||
* @property {?Function} onWaitingDataMigration - This event is fired when data migration stage starts. | ||
* @property {?Function} onWaitingSystemApp - This event is fired when system app wait stage starts. | ||
* @property {?Function} onFinished - This event is fired when Simulator is fully booted. | ||
* @property {?Function} onError - This event is fired when there was an error while monitoring the booting process | ||
* @property {number} timeout [240000] - Simulator booting timeout in ms. | ||
* @property {Function?} onWaitingDataMigration - This event is fired when data migration stage starts. | ||
* @property {Function?} onWaitingSystemApp - This event is fired when system app wait stage starts. | ||
* @property {Function?} onFinished - This event is fired when Simulator is fully booted. | ||
* @property {Function?} onError - This event is fired when there was an error while monitoring the booting process | ||
* or when the timeout has expired. | ||
* @property {?boolean} shouldPreboot [false] Whether to preboot the Simulator | ||
* @property {boolean} shouldPreboot [false] Whether to preboot the Simulator | ||
* if this command is called and it is not already in booted or booting state. | ||
@@ -26,4 +26,4 @@ */ | ||
* | ||
* @param {?BootMonitorOptions} opts - Monitoring options. | ||
* @returns {SubProcess} The instance of the corresponding monitoring process. | ||
* @param {BootMonitorOptions} opts - Monitoring options. | ||
* @returns {Promise<SubProcess>} The instance of the corresponding monitoring process. | ||
* @throws {Error} If the Simulator fails to finish booting within the given timeout and onFinished | ||
@@ -30,0 +30,0 @@ * property is not set. |
@@ -26,4 +26,4 @@ import _ from 'lodash'; | ||
* @param {string} platformVersion - Platform version, for example '10.3'. | ||
* @param {?SimCreationOpts} opts - Simulator options for creating devices. | ||
* @return {string} The UDID of the newly created device. | ||
* @param {SimCreationOpts} opts - Simulator options for creating devices. | ||
* @return {Promise<string>} The UDID of the newly created device. | ||
* @throws {Error} If the corresponding simctl subcommand command | ||
@@ -30,0 +30,0 @@ * returns non-zero return code. |
@@ -11,6 +11,6 @@ const commands = {}; | ||
* @param {string} bundleId - Bundle identifier of an application. | ||
* @param {?string} containerType - Which container type to return. Possible values | ||
* @param {string?} containerType - Which container type to return. Possible values | ||
* are 'app', 'data', 'groups', '<A specific App Group container>'. | ||
* The default value is 'app'. | ||
* @return {string} Full path to the given application container on the local | ||
* @return {Promise<string>} Full path to the given application container on the local | ||
* file system. | ||
@@ -17,0 +17,0 @@ * @throws {Error} If the corresponding simctl subcommand command |
@@ -7,3 +7,3 @@ const commands = {}; | ||
* @param {string} varName - The name of the variable to be retrieved | ||
* @returns {?string} The value of the variable or null if the given variable | ||
* @returns {Promise<string|null>} The value of the variable or null if the given variable | ||
* is not present in the Simulator environment | ||
@@ -10,0 +10,0 @@ * @throws {Error} If there was an error while running the command |
@@ -14,3 +14,3 @@ import { rimraf } from 'rimraf'; | ||
* @since Xcode SDK 8.1 | ||
* @return {string} Base64-encoded Simulator screenshot. | ||
* @return {Promise<string>} Base64-encoded Simulator screenshot. | ||
* @throws {Error} If the corresponding simctl subcommand command | ||
@@ -17,0 +17,0 @@ * returns non-zero return code. |
@@ -15,3 +15,3 @@ import _ from 'lodash'; | ||
* throwing an exception. | ||
* @return {string} the actual command output | ||
* @return {Promise<string>} the actual command output | ||
* @throws {Error} If the corresponding simctl subcommand command | ||
@@ -18,0 +18,0 @@ * returns non-zero return code. |
@@ -93,7 +93,7 @@ import _ from 'lodash'; | ||
* | ||
* @param {?string} forSdk - The sdk version, | ||
* @param {string?} forSdk - The sdk version, | ||
* for which the devices list should be parsed, | ||
* for example '10.3'. | ||
* @param {?string} platform - The platform name, for example 'watchOS'. | ||
* @return {Object|Array<DeviceInfo>} If _forSdk_ is set then the list | ||
* @param {string?} platform - The platform name, for example 'watchOS'. | ||
* @return {Promise<Object|DeviceInfo[]>} If _forSdk_ is set then the list | ||
* of devices for the particular platform version. | ||
@@ -180,4 +180,4 @@ * Otherwise the same result as for {@link getDevicesByParsing} | ||
* for example '10.3'. | ||
* @param {?string} platform - The platform name, for example 'watchOS'. | ||
* @return {string} The corresponding runtime name for the given | ||
* @param {string?} platform - The platform name, for example 'watchOS'. | ||
* @return {Promise<string>} The corresponding runtime name for the given | ||
* platform version. | ||
@@ -204,4 +204,4 @@ */ | ||
* for example '10.3'. | ||
* @param {?string} platform - The platform name, for example 'watchOS'. | ||
* @return {string} The corresponding runtime name for the given | ||
* @param {string?} platform - The platform name, for example 'watchOS'. | ||
* @return {Promise<string>} The corresponding runtime name for the given | ||
* platform version. | ||
@@ -234,3 +234,3 @@ */ | ||
* | ||
* @return {Array<string>} List of the types of devices available | ||
* @return {Promise<string[]>} List of the types of devices available | ||
* @throws {Error} If the corresponding simctl command fails | ||
@@ -264,3 +264,3 @@ */ | ||
* | ||
* @return {Object} Object containing device types, runtimes devices and pairs. | ||
* @return {Promise<Object>} Object containing device types, runtimes devices and pairs. | ||
* The resulting JSON will be like: | ||
@@ -267,0 +267,0 @@ * { |
@@ -10,3 +10,3 @@ const commands = {}; | ||
* will be opened by the built-in mobile browser. | ||
* @return {ExecResult} Command execution result. | ||
* @return {Promise<ExecResult>} Command execution result. | ||
* @throws {Error} If the corresponding simctl subcommand command | ||
@@ -13,0 +13,0 @@ * returns non-zero return code. |
@@ -9,3 +9,3 @@ const commands = {}; | ||
* @param {string} content - The actual string content to be set. | ||
* @param {string} encoding [utf'] - The encoding of the given pasteboard content. | ||
* @param {string} encoding [utf8] - The encoding of the given pasteboard content. | ||
* UTF-8 by default. | ||
@@ -12,0 +12,0 @@ * @throws {Error} If the corresponding simctl subcommand command |
@@ -10,3 +10,3 @@ const commands = {}; | ||
* UTF-8 by default. | ||
* @return {string} Current content of Simulator pasteboard or an empty string. | ||
* @return {Promise<string>} Current content of Simulator pasteboard or an empty string. | ||
* @throws {Error} If the corresponding simctl subcommand command | ||
@@ -13,0 +13,0 @@ * returns non-zero return code. |
@@ -10,5 +10,5 @@ import _ from 'lodash'; | ||
* | ||
* @param {string|Array<string>} args - Spawn arguments | ||
* @param {string|string[]} args - Spawn arguments | ||
* @param {object} env [{}] - Additional environment variables mapping. | ||
* @return {ExecResult} Command execution result. | ||
* @return {Promise<ExecResult>} Command execution result. | ||
* @throws {Error} If the corresponding simctl subcommand command | ||
@@ -33,5 +33,5 @@ * returns non-zero return code. | ||
* | ||
* @param {string|Array<string>} args - Spawn arguments | ||
* @param {string|string[]} args - Spawn arguments | ||
* @param {object} env [{}] - Additional environment variables mapping. | ||
* @return {SubProcess} The instance of the process to be spawned. | ||
* @return {Promise<SubProcess>} The instance of the process to be spawned. | ||
* @throws {Error} If the `udid` instance property is unset | ||
@@ -38,0 +38,0 @@ */ |
@@ -10,3 +10,3 @@ import _ from 'lodash'; | ||
* @since Xcode 11.4 SDK | ||
* @return {string} the appearance value, for example 'light' or 'dark' | ||
* @return {Promise<string>} the appearance value, for example 'light' or 'dark' | ||
* @throws {Error} if the current SDK version does not support the command | ||
@@ -13,0 +13,0 @@ * or there was an error while getting the value |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "7.1.17", | ||
"version": "7.2.0", | ||
"author": "Appium Contributors", | ||
@@ -12,0 +12,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
346947
2456