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

@ngneat/reactive-forms

Package Overview
Dependencies
Maintainers
3
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngneat/reactive-forms - npm Package Compare versions

Comparing version 1.0.0-beta.20 to 1.0.0-beta.21

2

esm2015/lib/types.js

@@ -1,1 +0,1 @@

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmduZWF0L3JlYWN0aXZlLWZvcm1zLyIsInNvdXJjZXMiOlsibGliL3R5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBBYnN0cmFjdENvbnRyb2wgYXMgTmdBYnN0cmFjdENvbnRyb2wsXG4gIEFic3RyYWN0Q29udHJvbE9wdGlvbnMgYXMgTmdBYnN0cmFjdENvbnRyb2xPcHRpb25zLFxuICBWYWxpZGF0aW9uRXJyb3JzXG59IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcbmltcG9ydCB7IE9ic2VydmFibGUgfSBmcm9tICdyeGpzJztcblxuZXhwb3J0IHR5cGUgVmFsaWRhdG9yRm48VD4gPSAoY29udHJvbDogQWJzdHJhY3RDb250cm9sPFQ+KSA9PiBWYWxpZGF0aW9uRXJyb3JzIHwgbnVsbDtcbmV4cG9ydCB0eXBlIEFzeW5jVmFsaWRhdG9yRm48VD4gPSAoXG4gIGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbDxUPlxuKSA9PiBQcm9taXNlPFZhbGlkYXRpb25FcnJvcnMgfCBudWxsPiB8IE9ic2VydmFibGU8VmFsaWRhdGlvbkVycm9ycyB8IG51bGw+O1xuXG5leHBvcnQgaW50ZXJmYWNlIEFic3RyYWN0Q29udHJvbE9wdGlvbnM8VD4gZX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ORElORycgfCAnRElTQUJMRUQnO1xuXG5leHBvcnQgaW50ZXJmYWNlIEFic3RyYWN0Q29udHJvbDxUID0gYW55PiBleHRlbmRzIE5nQWJzdHJhY3RDb250cm9sIHtcbiAgdmFsdWU6IFQ7XG59XG5cbmV4cG9ydCB0eXBlIEV4dHJhY3RTdHJpbmdzPFQ+ID0gRXh0cmFjdDxrZXlvZiBULCBzdHJpbmc+O1xuXG5leHBvcnQgaW50ZXJmYWNlIE5nVmFsaWRhdG9yc0Vycm9ycyB7XG4gIHJlcXVpcmVkOiB0cnVlO1xuICBlbWFpbDogdHJ1ZTtcbiAgcGF0dGVybjogeyByZXF1aXJlZFBhdHRlcm46IHN0cmluZzsgYWN0dWFsVmFsdWU6IHN0cmluZyB9O1xuICBtaW5sZW5ndGg6IHsgcmVxdWlyZWRMZW5ndGg6IG51bWJlcjsgYWN0dWFsTGVuZ3RoOiBudW1iZXIgfTtcbiAgbWF4bGVuZ3RoOiB7IHJlcXVpcmVkTGVuZ3RoOiBudW1iZXI7IGFjdHVhbExlbmd0aDogbnVtYmVyIH07XG4gIG1pbjogeyBtaW46IG51bWJlcjsgYWN0dWFsOiBudW1iZXIgfTtcbiAgbWF4OiB7IG1heDogbnVtYmVyOyBhY3R1YWw6IG51bWJlciB9O1xufVxuXG5leHBvcnQgdHlwZSBCb3hlZFZhbHVlPFQ+ID0geyB2YWx1ZTogVDsgZGlzYWJsZWQ6IGJvb2xlYW4gfTtcbmV4cG9ydCB0eXBlIE9yQm94ZWRWYWx1ZTxUPiA9IFQgfCBCb3hlZFZhbHVlPFQ+O1xuIl19
import { AbstractControl as NgAbstractControl, AbstractControlOptions as NgAbstractControlOptions, ValidationErrors } from '@angular/forms';
import { Observable } from 'rxjs';
export declare type ValidatorFn<T> = (control: AbstractControl<T>) => ValidationErrors | null;
export declare type AsyncValidatorFn<T> = (control: AbstractControl<T>) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
export interface AbstractControlOptions<T> extends NgAbstractControlOptions {
export declare type ValidatorFn<T = any> = (control: AbstractControl<T>) => ValidationErrors | null;
export declare type AsyncValidatorFn<T = any> = (control: AbstractControl<T>) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
export interface AbstractControlOptions<T = any> extends NgAbstractControlOptions {
validators?: ValidatorFn<T> | ValidatorFn<T>[] | null;

@@ -7,0 +7,0 @@ asyncValidators?: AsyncValidatorFn<T> | AsyncValidatorFn<T>[] | null;

{
"name": "@ngneat/reactive-forms",
"description": "(Angular Reactive) Forms with Benefits",
"version": "1.0.0-beta.20",
"version": "1.0.0-beta.21",
"schematics": "./schematics/collection.json",

@@ -6,0 +6,0 @@ "keywords": [

@@ -452,4 +452,2 @@ <p align="center">

`ValidatorFn`,
`Validators`,
`Validator`
from `@angular/forms`.

@@ -456,0 +454,0 @@

@@ -99,4 +99,2 @@ "use strict";

'FormBuilder',
'Validator',
'Validators'
];

@@ -107,3 +105,3 @@ if (!tree.exists(options.path)) {

glob(`${options.path}/**/*.ts`, {}, (er, files) => {
insertAnyGeneric(files, controlClasses);
// insertAnyGeneric(files, controlClasses);
replaceImports(files, importSigns, '@ngneat/reactive-forms', tree);

@@ -110,0 +108,0 @@ Object.entries(addChanges).forEach(([filePath, changes]) => (tree = change_1.applyChanges(tree, filePath, changes)));

@@ -106,4 +106,2 @@ import { Rule, SchematicContext, Tree, SchematicsException } from '@angular-devkit/schematics';

'FormBuilder',
'Validator',
'Validators'
];

@@ -114,3 +112,3 @@ if (!tree.exists(options.path)) {

glob(`${options.path}/**/*.ts`, {}, (er, files) => {
insertAnyGeneric(files, controlClasses);
// insertAnyGeneric(files, controlClasses);
replaceImports(files, importSigns, '@ngneat/reactive-forms', tree);

@@ -117,0 +115,0 @@ Object.entries(addChanges).forEach(([filePath, changes]) => (tree = applyChanges(tree, filePath, changes)));

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