
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@types/loggly
Advanced tools
TypeScript definitions for loggly
npm install --save @types/loggly
This package contains type definitions for loggly (https://github.com/winstonjs/node-loggly).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/loggly.
export declare interface LogglyOptions {
token: string;
subdomain: string;
tags?: string[] | undefined;
json?: boolean | undefined;
host?: string | undefined;
auth?: {
username: string;
password: string;
} | undefined;
}
declare interface SharedSearchOptions {
from?: string | undefined;
until?: string | undefined;
size?: number | undefined;
rows?: number | undefined;
}
export declare interface SearchOptionsWithQ extends SharedSearchOptions {
q: string;
}
export declare interface SearchOptionsWithQuery extends SharedSearchOptions {
query: string;
}
export declare type SearchOptions = SearchOptionsWithQ | SearchOptionsWithQuery;
export declare interface SearchResults {
events: SearchResultsEvent[];
total_events: number;
page: number;
}
export declare interface SearchResultsEvent {
id: string;
logtypes: string[];
event: any;
logmsg: string;
raw: string;
timestamp: number;
tags: string[];
}
export declare function createClient(options: LogglyOptions): LogglyInstance;
export declare const version: number;
export declare interface LogglyInstance {
log(message: any, tags?: string[], callback?: (err: any, results: any) => void): this;
log(message: any, callback?: (err: any, results: any) => void): this;
search(query: string, callback?: (err: any, results: SearchResults) => void): Search;
search(options: SearchOptions, callback?: (err: any, results: SearchResults) => void): Search;
}
export declare interface Search {
run(callback: (err: any, results: SearchResults) => void): this;
}
These definitions were written by Ray Martone, and Joshua DeVinney.
FAQs
TypeScript definitions for loggly
The npm package @types/loggly receives a total of 1,305 weekly downloads. As such, @types/loggly popularity was classified as popular.
We found that @types/loggly demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.