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

@types/auto-launch

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/auto-launch - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

64

auto-launch/index.d.ts

@@ -7,42 +7,42 @@ // Type definitions for auto-launch 5.0

interface AutoLaunchOptions {
/**
* Application name.
*/
name: string;
/**
* Path to application. Default is `process.execPath`.
*/
path?: string | undefined;
/**
* Hidden on launch. Default is `false`.
*/
isHidden?: boolean | undefined;
/**
* For Mac-only options.
*/
mac?: {
/**
* By default, AppleScript is used to add a Login Item. If this is `true`, Launch Agent will be used to auto-launch your app. Defaults is `false`.
* Application name.
*/
useLaunchAgent?: boolean | undefined;
} | undefined;
name: string;
/**
* Path to application. Default is `process.execPath`.
*/
path?: string | undefined;
/**
* Hidden on launch. Default is `false`.
*/
isHidden?: boolean | undefined;
/**
* For Mac-only options.
*/
mac?: {
/**
* By default, AppleScript is used to add a Login Item. If this is `true`, Launch Agent will be used to auto-launch your app. Defaults is `false`.
*/
useLaunchAgent?: boolean | undefined;
} | undefined;
}
declare class AutoLaunch {
constructor(options: AutoLaunchOptions);
constructor(options: AutoLaunchOptions);
/**
* Enables auto-launch at start up.
*/
enable(): Promise<void>;
/**
* Disables auto-launch at start up.
*/
disable(): Promise<void>;
/**
* Returns true if auto-launch is enabled.
*/
isEnabled(): Promise<boolean>;
/**
* Enables auto-launch at start up.
*/
enable(): Promise<void>;
/**
* Disables auto-launch at start up.
*/
disable(): Promise<void>;
/**
* Returns true if auto-launch is enabled.
*/
isEnabled(): Promise<boolean>;
}
export = AutoLaunch;
{
"name": "@types/auto-launch",
"version": "5.0.2",
"version": "5.0.3",
"description": "TypeScript definitions for auto-launch",

@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/auto-launch",

"dependencies": {},
"typesPublisherContentHash": "1a22f327a19fb20336782573c929212590ccc58f02f1b819609d814cb4eba9b5",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "9c5fd9842c45c6ee22cb35211e8aded182e2c38a9cc371f7ecae610c087ffb1e",
"typeScriptVersion": "4.5"
}

@@ -17,40 +17,40 @@ # Installation

interface AutoLaunchOptions {
/**
* Application name.
*/
name: string;
/**
* Path to application. Default is `process.execPath`.
*/
path?: string | undefined;
/**
* Hidden on launch. Default is `false`.
*/
isHidden?: boolean | undefined;
/**
* For Mac-only options.
*/
mac?: {
/**
* By default, AppleScript is used to add a Login Item. If this is `true`, Launch Agent will be used to auto-launch your app. Defaults is `false`.
* Application name.
*/
useLaunchAgent?: boolean | undefined;
} | undefined;
name: string;
/**
* Path to application. Default is `process.execPath`.
*/
path?: string | undefined;
/**
* Hidden on launch. Default is `false`.
*/
isHidden?: boolean | undefined;
/**
* For Mac-only options.
*/
mac?: {
/**
* By default, AppleScript is used to add a Login Item. If this is `true`, Launch Agent will be used to auto-launch your app. Defaults is `false`.
*/
useLaunchAgent?: boolean | undefined;
} | undefined;
}
declare class AutoLaunch {
constructor(options: AutoLaunchOptions);
constructor(options: AutoLaunchOptions);
/**
* Enables auto-launch at start up.
*/
enable(): Promise<void>;
/**
* Disables auto-launch at start up.
*/
disable(): Promise<void>;
/**
* Returns true if auto-launch is enabled.
*/
isEnabled(): Promise<boolean>;
/**
* Enables auto-launch at start up.
*/
enable(): Promise<void>;
/**
* Disables auto-launch at start up.
*/
disable(): Promise<void>;
/**
* Returns true if auto-launch is enabled.
*/
isEnabled(): Promise<boolean>;
}

@@ -63,3 +63,3 @@

### Additional Details
* Last updated: Wed, 07 Jul 2021 21:44:39 GMT
* Last updated: Fri, 22 Sep 2023 18:11:04 GMT
* Dependencies: none

@@ -66,0 +66,0 @@ * Global values: none

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