You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@angular/forms

Package Overview
Dependencies
Maintainers
2
Versions
1011
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/forms - npm Package Compare versions

Comparing version
21.1.3
to
21.1.4
+1
-1
fesm2022/_structure-chunk.mjs
/**
* @license Angular v21.1.3
* @license Angular v21.1.4
* (c) 2010-2026 Google LLC. https://angular.dev/

@@ -4,0 +4,0 @@ * License: MIT

/**
* @license Angular v21.1.3
* @license Angular v21.1.4
* (c) 2010-2026 Google LLC. https://angular.dev/

@@ -4,0 +4,0 @@ * License: MIT

/**
* @license Angular v21.1.3
* @license Angular v21.1.4
* (c) 2010-2026 Google LLC. https://angular.dev/

@@ -154,3 +154,3 @@ * License: MIT

minVersion: "12.0.0",
version: "21.1.3",
version: "21.1.4",
ngImport: i0,

@@ -163,3 +163,3 @@ type: FormField,

minVersion: "17.1.0",
version: "21.1.3",
version: "21.1.4",
type: FormField,

@@ -189,3 +189,3 @@ isStandalone: true,

minVersion: "12.0.0",
version: "21.1.3",
version: "21.1.4",
ngImport: i0,

@@ -579,6 +579,5 @@ type: FormField,

function validateStandardSchema(path, schema) {
const VALIDATOR_MEMO = metadata(path, createMetadataKey(), ({
value
}) => {
return schema['~standard'].validate(value());
const VALIDATOR_MEMO = metadata(path, createMetadataKey(), ctx => {
const resolvedSchema = typeof schema === 'function' ? schema(ctx) : schema;
return resolvedSchema ? resolvedSchema['~standard'].validate(ctx.value()) : undefined;
});

@@ -590,3 +589,3 @@ validateTree(path, ({

const result = state.metadata(VALIDATOR_MEMO)();
if (_isPromise(result)) {
if (!result || _isPromise(result)) {
return [];

@@ -601,3 +600,3 @@ }

const result = state.metadata(VALIDATOR_MEMO)();
return _isPromise(result) ? result : undefined;
return result && _isPromise(result) ? result : undefined;
},

@@ -604,0 +603,0 @@ factory: params => {

{
"name": "@angular/forms",
"version": "21.1.3",
"version": "21.1.4",
"description": "Angular - directives and services for creating forms",

@@ -15,5 +15,5 @@ "author": "angular",

"peerDependencies": {
"@angular/core": "21.1.3",
"@angular/common": "21.1.3",
"@angular/platform-browser": "21.1.3",
"@angular/core": "21.1.4",
"@angular/common": "21.1.4",
"@angular/platform-browser": "21.1.4",
"rxjs": "^6.5.3 || ^7.4.0"

@@ -20,0 +20,0 @@ },

/**
* @license Angular v21.1.3
* @license Angular v21.1.4
* (c) 2010-2026 Google LLC. https://angular.dev/

@@ -4,0 +4,0 @@ * License: MIT

/**
* @license Angular v21.1.3
* @license Angular v21.1.4
* (c) 2010-2026 Google LLC. https://angular.dev/

@@ -243,3 +243,3 @@ * License: MIT

* @param path The `FieldPath` to the field to validate.
* @param schema The standard schema compatible validator to use for validation.
* @param schema The standard schema compatible validator to use for validation, or a LogicFn that returns the schema.
* @template TSchema The type validated by the schema. This may be either the full `TValue` type,

@@ -253,3 +253,3 @@ * or a partial of it.

*/
declare function validateStandardSchema<TSchema, TModel extends IgnoreUnknownProperties<TSchema>>(path: SchemaPath<TModel> & SchemaPathTree<TModel>, schema: StandardSchemaV1<TSchema>): void;
declare function validateStandardSchema<TSchema, TModel extends IgnoreUnknownProperties<TSchema>>(path: SchemaPath<TModel> & SchemaPathTree<TModel>, schema: StandardSchemaV1<TSchema> | LogicFn<TModel, StandardSchemaV1<unknown> | undefined>): void;

@@ -256,0 +256,0 @@ /**

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display