firefox-profile
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -0,1 +1,5 @@ | ||
# 1.0.3 | ||
* more TS typing fixes | ||
# 1.0.2 | ||
@@ -2,0 +6,0 @@ |
@@ -0,1 +1,3 @@ | ||
import ProfileFinder = require('./profile_finder'); | ||
declare interface ConstructorOptions { | ||
@@ -35,15 +37,2 @@ profileDirectory?: string; | ||
declare class ProfileFinder { | ||
constructor(directory?: string); | ||
directory: string; | ||
hasReadProfiles: boolean; | ||
profiles: string[]; | ||
readProfiles(cb: (err: Error | null, profiles?: string[]) => void): void; | ||
getPath(name: string, cb: (err: Error | null, path: string | undefined) => void): string | undefined; | ||
} | ||
declare namespace ProfileFinder { | ||
function locateUserDirectory(platform?: string): string | undefined; | ||
} | ||
declare interface AddonDetails { | ||
@@ -58,2 +47,5 @@ id: string; | ||
declare class FirefoxProfile { | ||
static copy(options: ConstructorOptions | string | null | undefined, cb: (err: Error | null, profile?: FirefoxProfile) => void): void; | ||
static copyFromUserProfile(options: CopyFromUserProfileOptions, cb: (err: Error | null, profile?: FirefoxProfile) => void): void; | ||
static Finder: typeof ProfileFinder; | ||
constructor(options?: ConstructorOptions | string); | ||
@@ -80,10 +72,2 @@ defaultPreferences: any; | ||
declare namespace FirefoxProfile { | ||
function copy(options: ConstructorOptions | string | null | undefined, cb: (err: Error | null, profile?: FirefoxProfile) => void): void; | ||
function copyFromUserProfile(options: CopyFromUserProfileOptions, cb: (err: Error | null, profile?: FirefoxProfile) => void): void; | ||
var Finder: typeof ProfileFinder; | ||
} | ||
declare module "firefox-profile" { | ||
export = FirefoxProfile; | ||
} | ||
export = FirefoxProfile; |
{ | ||
"name": "firefox-profile", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "firefox profile for selenium WebDriverJs, admc/wd or any other node selenium driver that supports capabilities", | ||
@@ -5,0 +5,0 @@ "main": "lib/firefox_profile", |
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
10
45218
938