Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@types/yazl
Advanced tools
TypeScript definitions for yazl
npm install --save @types/yazl
This package contains type definitions for yazl (https://github.com/thejoshwolfe/yazl).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yazl.
/// <reference types="node" />
import { Buffer } from "buffer";
export interface Options {
mtime: Date;
mode: number;
compress: boolean;
forceZip64Format: boolean;
}
export interface ReadStreamOptions extends Options {
size: number;
}
export interface DirectoryOptions {
mtime: Date;
mode: number;
}
export interface EndOptions {
forceZip64Format: boolean;
}
export interface DosDateTime {
date: number;
time: number;
}
export class ZipFile {
addFile(realPath: string, metadataPath: string, options?: Partial<Options>): void;
outputStream: NodeJS.ReadableStream;
addReadStream(input: NodeJS.ReadableStream, metadataPath: string, options?: Partial<ReadStreamOptions>): void;
addBuffer(buffer: Buffer, metadataPath: string, options?: Partial<Options>): void;
end(options?: EndOptions, finalSizeCallback?: () => void): void;
addEmptyDirectory(metadataPath: string, options?: Partial<DirectoryOptions>): void;
dateToDosDateTime(jsDate: Date): DosDateTime;
}
These definitions were written by taoqf, and Sean Marvi Oliver Genabe.
FAQs
TypeScript definitions for yazl
The npm package @types/yazl receives a total of 82,849 weekly downloads. As such, @types/yazl popularity was classified as popular.
We found that @types/yazl 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.