
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
@types/istanbul-middleware
Advanced tools
TypeScript definitions for istanbul-middleware
npm install --save @types/istanbul-middleware
This package contains type definitions for istanbul-middleware (https://www.npmjs.com/package/istanbul-middleware).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-middleware.
/// <reference types="express" />
declare module "istanbul-middleware" {
import * as express from "express";
type Matcher = (file: string) => boolean;
type PostLoadHookFn = (file: any) => {};
type PostLoadHook = (matcherfn: Matcher, transformer: any, verbose: boolean) => PostLoadHookFn;
export function hookLoader(matcherOrRoot: Matcher | string, opts?: {
postLoadHook?: PostLoadHook | undefined;
verbose?: boolean | undefined;
// and istanbul.Instrumenter(...opts)
}): void;
export function createHandler(opts?: {
resetOnGet?: boolean | undefined;
}): any;
type ClientMatcher = (req: express.Request) => boolean;
type PathTransformer = (req: express.Request) => string;
export function createClientHandler(root: string, opts?: {
matcher?: ClientMatcher | undefined;
pathTransformer?: PathTransformer | undefined;
verbose?: boolean | undefined;
}): any;
}
These definitions were written by Hookclaw.
FAQs
TypeScript definitions for istanbul-middleware
The npm package @types/istanbul-middleware receives a total of 642 weekly downloads. As such, @types/istanbul-middleware popularity was classified as not popular.
We found that @types/istanbul-middleware 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
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.