Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-simctl

Package Overview
Dependencies
Maintainers
7
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-simctl - npm Package Compare versions

Comparing version 7.6.2 to 7.6.3

32

build/lib/simctl.d.ts

@@ -128,3 +128,3 @@ export default Simctl;

*/
constructor(opts?: SimctlOpts | undefined);
constructor(opts?: SimctlOpts);
/** @type {XCRun} */

@@ -148,3 +148,3 @@ xcrun: XCRun;

*/
requireUdid(commandName?: string | null | undefined): string;
requireUdid(commandName?: string | null): string;
/**

@@ -166,22 +166,22 @@ * @returns {Promise<string>}

*/
exec<TExecOpts extends ExecOpts>(subcommand: string, opts?: TExecOpts | undefined): Promise<TExecOpts extends TAsyncOpts ? import("teen_process").SubProcess : import("teen_process").TeenProcessExecResult<any>>;
exec<TExecOpts extends ExecOpts>(subcommand: string, opts?: TExecOpts): Promise<TExecOpts extends TAsyncOpts ? import("teen_process").SubProcess : import("teen_process").TeenProcessExecResult<any>>;
addMedia: (this: Simctl, filePath: string) => Promise<import("teen_process").TeenProcessExecResult<any>>;
appInfo: (this: Simctl, bundleId: string) => Promise<string>;
bootDevice: (this: Simctl) => Promise<void>;
startBootMonitor: (this: Simctl, opts?: import("./subcommands/bootstatus").BootMonitorOptions | undefined) => Promise<import("teen_process").SubProcess>;
createDevice: (this: Simctl, name: string, deviceTypeId: string, platformVersion: string, opts?: import("./subcommands/create").SimCreationOpts | undefined) => Promise<string>;
startBootMonitor: (this: Simctl, opts?: BootMonitorOptions) => Promise<import("teen_process").SubProcess>;
createDevice: (this: Simctl, name: string, deviceTypeId: string, platformVersion: string, opts?: SimCreationOpts) => Promise<string>;
deleteDevice: (this: Simctl) => Promise<void>;
eraseDevice: (this: Simctl, timeout?: number | undefined) => Promise<void>;
getAppContainer: (this: Simctl, bundleId: string, containerType?: string | null | undefined) => Promise<string>;
eraseDevice: (this: Simctl, timeout?: number) => Promise<void>;
getAppContainer: (this: Simctl, bundleId: string, containerType?: string | null) => Promise<string>;
getEnv: (this: Simctl, varName: string) => Promise<string | null>;
installApp: (this: Simctl, appPath: string) => Promise<void>;
getScreenshot: (this: Simctl) => Promise<string>;
addRootCertificate: (this: Simctl, cert: string, opts?: import("./subcommands/keychain").CertOptions | undefined) => Promise<void>;
addCertificate: (this: Simctl, cert: string, opts?: import("./subcommands/keychain").CertOptions | undefined) => Promise<void>;
addRootCertificate: (this: Simctl, cert: string, opts?: CertOptions) => Promise<void>;
addCertificate: (this: Simctl, cert: string, opts?: CertOptions) => Promise<void>;
resetKeychain: (this: Simctl) => Promise<void>;
launchApp: (this: Simctl, bundleId: string, tries?: number | undefined) => Promise<string>;
getDevicesByParsing: (this: Simctl, platform?: string | null | undefined) => Promise<Record<string, any>>;
getDevices: (this: Simctl, forSdk?: string | null | undefined, platform?: string | null | undefined) => Promise<any | DeviceInfo[]>;
getRuntimeForPlatformVersionViaJson: (this: Simctl, platformVersion: string, platform?: string | undefined) => Promise<string>;
getRuntimeForPlatformVersion: (this: Simctl, platformVersion: string, platform?: string | undefined) => Promise<string>;
launchApp: (this: Simctl, bundleId: string, tries?: number) => Promise<string>;
getDevicesByParsing: (this: Simctl, platform?: string | null) => Promise<Record<string, any>>;
getDevices: (this: Simctl, forSdk?: string | null, platform?: string | null) => Promise<any | DeviceInfo[]>;
getRuntimeForPlatformVersionViaJson: (this: Simctl, platformVersion: string, platform?: string) => Promise<string>;
getRuntimeForPlatformVersion: (this: Simctl, platformVersion: string, platform?: string) => Promise<string>;
getDeviceTypes: (this: Simctl) => Promise<string[]>;

@@ -192,4 +192,4 @@ list: (this: Simctl) => Promise<any>;

openUrl: (this: Simctl, url: string) => Promise<import("teen_process").TeenProcessExecResult<any>>;
setPasteboard: (this: Simctl, content: string, encoding?: BufferEncoding | undefined) => Promise<void>;
getPasteboard: (this: Simctl, encoding?: string | undefined) => Promise<string>;
setPasteboard: (this: Simctl, content: string, encoding?: BufferEncoding) => Promise<void>;
getPasteboard: (this: Simctl, encoding?: string) => Promise<string>;
grantPermission: (this: Simctl, bundleId: string, perm: string) => Promise<void>;

@@ -196,0 +196,0 @@ revokePermission: (this: Simctl, bundleId: string, perm: string) => Promise<void>;

@@ -18,9 +18,19 @@ "use strict";

});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -27,0 +37,0 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

@@ -18,9 +18,19 @@ "use strict";

});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -27,0 +37,0 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

@@ -55,4 +55,4 @@ export default commands;

*/
function startBootMonitor(this: import("../simctl").default, opts?: BootMonitorOptions | undefined): Promise<import("teen_process").SubProcess>;
function startBootMonitor(this: import("../simctl").default, opts?: BootMonitorOptions): Promise<import("teen_process").SubProcess>;
}
//# sourceMappingURL=bootstatus.d.ts.map

@@ -33,4 +33,4 @@ export default commands;

*/
function createDevice(this: import("../simctl").default, name: string, deviceTypeId: string, platformVersion: string, opts?: SimCreationOpts | undefined): Promise<string>;
function createDevice(this: import("../simctl").default, name: string, deviceTypeId: string, platformVersion: string, opts?: SimCreationOpts): Promise<string>;
}
//# sourceMappingURL=create.d.ts.map

@@ -18,9 +18,19 @@ "use strict";

});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -27,0 +37,0 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

@@ -14,4 +14,4 @@ export default commands;

*/
function eraseDevice(this: import("../simctl").default, timeout?: number | undefined): Promise<void>;
function eraseDevice(this: import("../simctl").default, timeout?: number): Promise<void>;
}
//# sourceMappingURL=erase.d.ts.map

@@ -21,4 +21,4 @@ export default commands;

*/
function getAppContainer(this: import("../simctl").default, bundleId: string, containerType?: string | null | undefined): Promise<string>;
function getAppContainer(this: import("../simctl").default, bundleId: string, containerType?: string | null): Promise<string>;
}
//# sourceMappingURL=get_app_container.d.ts.map

@@ -30,3 +30,3 @@ export default commands;

*/
function addRootCertificate(this: import("../simctl").default, cert: string, opts?: CertOptions | undefined): Promise<void>;
function addRootCertificate(this: import("../simctl").default, cert: string, opts?: CertOptions): Promise<void>;
/**

@@ -45,3 +45,3 @@ * Adds the given certificate to the Keychain Store on the simulator

*/
function addCertificate(this: import("../simctl").default, cert: string, opts?: CertOptions | undefined): Promise<void>;
function addCertificate(this: import("../simctl").default, cert: string, opts?: CertOptions): Promise<void>;
/**

@@ -48,0 +48,0 @@ * Resets the simulator keychain

@@ -18,4 +18,4 @@ export default commands;

*/
function launchApp(this: import("../simctl").default, bundleId: string, tries?: number | undefined): Promise<string>;
function launchApp(this: import("../simctl").default, bundleId: string, tries?: number): Promise<string>;
}
//# sourceMappingURL=launch.d.ts.map

@@ -40,3 +40,3 @@ export default commands;

*/
function getDevicesByParsing(this: import("../simctl").default, platform?: string | null | undefined): Promise<Record<string, any>>;
function getDevicesByParsing(this: import("../simctl").default, platform?: string | null): Promise<Record<string, any>>;
/**

@@ -59,3 +59,3 @@ * Parse the list of existing Simulator devices to represent

*/
function getDevices(this: import("../simctl").default, forSdk?: string | null | undefined, platform?: string | null | undefined): Promise<any | DeviceInfo[]>;
function getDevices(this: import("../simctl").default, forSdk?: string | null, platform?: string | null): Promise<any | DeviceInfo[]>;
/**

@@ -71,3 +71,3 @@ * Get the runtime for the particular platform version using --json flag

*/
function getRuntimeForPlatformVersionViaJson(this: import("../simctl").default, platformVersion: string, platform?: string | undefined): Promise<string>;
function getRuntimeForPlatformVersionViaJson(this: import("../simctl").default, platformVersion: string, platform?: string): Promise<string>;
/**

@@ -83,3 +83,3 @@ * Get the runtime for the particular platform version.

*/
function getRuntimeForPlatformVersion(this: import("../simctl").default, platformVersion: string, platform?: string | undefined): Promise<string>;
function getRuntimeForPlatformVersion(this: import("../simctl").default, platformVersion: string, platform?: string): Promise<string>;
/**

@@ -86,0 +86,0 @@ * Get the list of device types available in the current Xcode installation

@@ -18,9 +18,19 @@ "use strict";

});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -27,0 +37,0 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

@@ -16,4 +16,4 @@ export default commands;

*/
function setPasteboard(this: import("../simctl").default, content: string, encoding?: BufferEncoding | undefined): Promise<void>;
function setPasteboard(this: import("../simctl").default, content: string, encoding?: BufferEncoding): Promise<void>;
}
//# sourceMappingURL=pbcopy.d.ts.map

@@ -16,4 +16,4 @@ export default commands;

*/
function getPasteboard(this: import("../simctl").default, encoding?: string | undefined): Promise<string>;
function getPasteboard(this: import("../simctl").default, encoding?: string): Promise<string>;
}
//# sourceMappingURL=pbpaste.d.ts.map

@@ -18,9 +18,19 @@ "use strict";

});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -27,0 +37,0 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

@@ -0,1 +1,7 @@

## [7.6.3](https://github.com/appium/node-simctl/compare/v7.6.2...v7.6.3) (2024-12-03)
### Miscellaneous Chores
* **deps-dev:** bump mocha from 10.8.2 to 11.0.1 ([#260](https://github.com/appium/node-simctl/issues/260)) ([2effed6](https://github.com/appium/node-simctl/commit/2effed6f7e9260f53762da7e9de5a919edd3dbab))
## [7.6.2](https://github.com/appium/node-simctl/compare/v7.6.1...v7.6.2) (2024-10-28)

@@ -2,0 +8,0 @@

@@ -9,3 +9,3 @@ {

],
"version": "7.6.2",
"version": "7.6.3",
"author": "Appium Contributors",

@@ -79,3 +79,3 @@ "license": "Apache-2.0",

"conventional-changelog-conventionalcommits": "^8.0.0",
"mocha": "^10.0.0",
"mocha": "^11.0.1",
"prettier": "^3.0.0",

@@ -82,0 +82,0 @@ "proxyquire": "^2.1.3",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc