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/dot
Advanced tools
TypeScript definitions for dot
npm install --save @types/dot
This package contains type definitions for dot (https://github.com/olado/dot).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dot.
export as namespace doT;
/** Version number */
export const version: string;
/** Template settings */
export let templateSettings: TemplateSettings;
export type RenderFunction = (...args: any[]) => string;
/** Compile template */
export function template(tmpl: string, c?: TemplateSettings, def?: {}): RenderFunction;
/** For express */
export function compile(tmpl: string, def?: {}): RenderFunction;
export interface TemplateSettings {
evaluate: RegExp;
interpolate: RegExp;
encode: RegExp;
use: RegExp;
useParams: RegExp;
define: RegExp;
defineParams: RegExp;
conditional: RegExp;
iterate: RegExp;
varname: string;
strip: boolean;
append: boolean;
selfcontained: boolean;
}
declare global {
interface String {
encodeHTML(): string;
}
}
These definitions were written by ZombieHunter.
FAQs
TypeScript definitions for dot
The npm package @types/dot receives a total of 16,606 weekly downloads. As such, @types/dot popularity was classified as popular.
We found that @types/dot 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.