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

@angularclass/form-errors

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angularclass/form-errors - npm Package Compare versions

Comparing version 1.0.3 to 2.0.0

2

dist/index.d.ts

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

import { NgForm } from '@angular/common';
import { NgForm } from '@angular/forms';
export declare class AcFormErrors {

@@ -3,0 +3,0 @@ formDir: NgForm;

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

var core_1 = require('@angular/core');
var common_1 = require('@angular/common');
var forms_1 = require('@angular/forms');
var AcFormErrors = (function () {

@@ -55,3 +55,3 @@ function AcFormErrors(formDir) {

__param(0, core_1.Host()),
__metadata('design:paramtypes', [common_1.NgForm])
__metadata('design:paramtypes', [forms_1.NgForm])
], AcFormErrors);

@@ -58,0 +58,0 @@ return AcFormErrors;

{
"name": "@angularclass/form-errors",
"version": "1.0.3",
"version": "2.0.0",
"author": "Partick Stapleton <patrick@angularclass.com>",
"description": "Angular 2 Form Errors",
"description": "Angular 2 Form Errors - like ngMessages in AngularJS but for Angular 2",
"main": "dist/index.js",

@@ -23,11 +23,12 @@ "typings": "dist/index.d.ts",

"devDependencies": {
"@angular/http": "2.0.0-rc.1",
"@angular/common": "2.0.0-rc.1",
"@angular/compiler": "2.0.0-rc.1",
"@angular/core": "2.0.0-rc.1",
"@angular/platform-browser": "2.0.0-rc.1",
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
"@angular/platform-server": "2.0.0-rc.1",
"@angular/router": "2.0.0-rc.1",
"@angular/router-deprecated": "2.0.0-rc.1",
"@angular/http": "2.0.0-rc.2",
"@angular/common": "2.0.0-rc.2",
"@angular/compiler": "2.0.0-rc.2",
"@angular/forms": "~0.1.0",
"@angular/core": "2.0.0-rc.2",
"@angular/platform-browser": "2.0.0-rc.2",
"@angular/platform-browser-dynamic": "2.0.0-rc.2",
"@angular/platform-server": "2.0.0-rc.2",
"@angular/router": "2.0.0-rc.2",
"@angular/router-deprecated": "2.0.0-rc.2",

@@ -34,0 +35,0 @@ "core-js": "^2.4.0",

import { Component, Host } from '@angular/core';
import { NgForm, ControlGroup } from '@angular/common';
import { NgForm } from '@angular/forms';

@@ -26,3 +26,3 @@ @Component({

get errorMessages(): Array<{type: string, message: string}> {
var form: ControlGroup = this.formDir.form;
var form = this.formDir.form;
var control = form.find(this.controlPath);

@@ -29,0 +29,0 @@ var _errors = [];

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