Socket
Socket
Sign inDemoInstall

firefox-profile

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firefox-profile - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

lib/profile_finder.d.ts

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.0.3
* more TS typing fixes
# 1.0.2

@@ -2,0 +6,0 @@

28

lib/firefox_profile.d.ts

@@ -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",

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