Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng2-validation

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-validation - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

LICENSE

3

dist/custom-validators.d.ts
import { ValidatorFn, AbstractControl } from '@angular/forms';
export declare type EqualValueType = string | boolean | number;
export declare class CustomValidators {

@@ -84,3 +85,3 @@ /**

*/
static equal(str: string): ValidatorFn;
static equal(str: EqualValueType): ValidatorFn;
/**

@@ -87,0 +88,0 @@ * Validator that requires controls to have a value to equal another control.

import { OnInit } from '@angular/core';
import { Validator, AbstractControl } from '@angular/forms';
import { EqualValueType } from '../custom-validators';
export declare class EqualValidator implements Validator, OnInit {
equal: string;
equal: EqualValueType;
private validator;

@@ -6,0 +7,0 @@ ngOnInit(): void;

@@ -30,3 +30,3 @@ "use strict";

core_1.Input(),
__metadata('design:type', String)
__metadata('design:type', Object)
], EqualValidator.prototype, "equal", void 0);

@@ -33,0 +33,0 @@ EqualValidator = __decorate([

{
"name": "ng2-validation",
"version": "1.4.0",
"version": "1.4.1",
"description": "angular2 validation",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc