Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@types/jquery-validation-unobtrusive
Advanced tools
TypeScript definitions for jquery-validation-unobtrusive
npm install --save @types/jquery-validation-unobtrusive
This package contains type definitions for jquery-validation-unobtrusive (https://github.com/aspnet/jquery-validation-unobtrusive).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-validation-unobtrusive.
/// <reference types="jquery.validation" />
declare namespace MicrosoftJQueryUnobtrusiveValidation {
type JQuerySelector = string | Document | Element | JQuery;
interface Adapter {
name: string;
params: string[];
adapt: Function;
}
interface Adapters extends Array<Adapter> {
add(adapterName: string, fn: Function): Adapters;
add(adapterName: string, params: string[], fn: Function): Adapters;
addMinMax(
adapterName: string,
minRuleName: string,
maxRuleName: string,
minMaxRuleName: string,
minAttribute?: string,
maxAttribute?: string,
): Adapters;
addSingleVal(adapterName: string, ruleName: string): Adapters;
addSingleVal(adapterName: string, attribute: string, ruleName: string): Adapters;
addBool(adapterName: string, ruleName?: string): Adapters;
addMethod(adapterName: string, fn: (value: string, element: Element, params: any) => any): Adapters;
}
interface Validator {
adapters: Adapters;
parseElement(element: JQuerySelector, skipAttach?: boolean): void;
parse(selector: JQuerySelector): void;
}
}
declare namespace JQueryValidation {
interface ValidatorStatic {
unobtrusive: MicrosoftJQueryUnobtrusiveValidation.Validator;
}
}
These definitions were written by Matt Brooks.
FAQs
TypeScript definitions for jquery-validation-unobtrusive
The npm package @types/jquery-validation-unobtrusive receives a total of 5,229 weekly downloads. As such, @types/jquery-validation-unobtrusive popularity was classified as popular.
We found that @types/jquery-validation-unobtrusive 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.