Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@types/jade
Advanced tools
TypeScript definitions for jade
npm install --save @types/jade
This package contains type definitions for jade (https://github.com/jadejs/jade).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jade.
export type JadeCustomFilterFunction = (text: string, options: {
[key: string]: boolean;
}) => string;
export interface JadeOptions {
filename?: string | undefined;
basedir?: string | undefined;
doctype?: string | undefined;
pretty?: boolean | string | undefined;
filters?: {
[key: string]: JadeCustomFilterFunction;
} | undefined;
self?: boolean | undefined;
debug?: boolean | undefined;
compileDebug?: boolean | undefined;
globals?: string[] | undefined;
cache?: boolean | undefined;
inlineRuntimeFunctions?: boolean | undefined;
name?: string | undefined;
}
export interface TemplateLocals {
[key: string]: any;
}
export type JadeGenerationFunction = (locals?: TemplateLocals) => string;
export declare function compile(template: string, options?: JadeOptions): JadeGenerationFunction;
export declare function compileFile(path: string, options?: JadeOptions): JadeGenerationFunction;
export declare function compileClient(template: string, options?: JadeOptions): JadeGenerationFunction;
export declare function compileClientWithDependenciesTracked(template: string, options?: JadeOptions): {
body: JadeGenerationFunction;
dependencies: string[];
};
export declare function render(template: string, options?: JadeOptions): string;
export declare function renderFile(path: string, options?: JadeOptions): string;
These definitions were written by Panu Horsmalahti.
FAQs
TypeScript definitions for jade
We found that @types/jade 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.