ng2-tag-input
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "ng2-tag-input", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Ng2TagInput: simple tag input component for Angular 2", | ||
@@ -8,3 +8,3 @@ "scripts": { | ||
"postinstall": "npm run typings-install", | ||
"prepublish": "npm run build && ./node_modules/.bin/tsc -p tsconfig.json", | ||
"prepublish": "npm run build && ./node_modules/.bin/tsc", | ||
"build": "webpack --inline --colors --progress --display-error-details --display-cached", | ||
@@ -23,10 +23,10 @@ "watch": "npm run build -- --watch", | ||
"devDependencies": { | ||
"@angular/common": "^2.0.0-rc.4", | ||
"@angular/compiler": "^2.0.0-rc.4", | ||
"@angular/core": "^2.0.0-rc.4", | ||
"@angular/forms": "^0.2.0", | ||
"@angular/http": "^2.0.0-rc.4", | ||
"@angular/platform-browser": "^2.0.0-rc.4", | ||
"@angular/platform-browser-dynamic": "^2.0.0-rc.4", | ||
"@angular/platform-server": "^2.0.0-rc.4", | ||
"@angular/common": "^2.0.0-rc.5", | ||
"@angular/compiler": "^2.0.0-rc.5", | ||
"@angular/core": "^2.0.0-rc.5", | ||
"@angular/forms": "^0.3.0", | ||
"@angular/http": "^2.0.0-rc.5", | ||
"@angular/platform-browser": "^2.0.0-rc.5", | ||
"@angular/platform-browser-dynamic": "^2.0.0-rc.5", | ||
"@angular/platform-server": "^2.0.0-rc.5", | ||
"@angular/router": "^2.0.0-rc.2", | ||
@@ -69,3 +69,3 @@ "autoprefixer": "^6.3.7", | ||
"dependencies": { | ||
"ng2-material-dropdown": "^0.2.2" | ||
"ng2-material-dropdown": "^0.2.3" | ||
}, | ||
@@ -72,0 +72,0 @@ "keywords": [ |
@@ -8,3 +8,3 @@ # Angular2 Tag Input [![Build Status](https://travis-ci.org/Gbuomprisco/ng2-tag-input.svg?branch=develop)](https://travis-ci.org/Gbuomprisco/ng2-tag-input) [![codecov](https://codecov.io/gh/Gbuomprisco/ng2-tag-input/branch/develop/graph/badge.svg)](https://codecov.io/gh/Gbuomprisco/ng2-tag-input) | ||
Check out the live demo (with source code) here [http://www.webpackbin.com/4ydNyqnDW](http://www.webpackbin.com/4ydNyqnDW). | ||
Check out the live demo (with source code) here [http://www.webpackbin.com/Vy7PtkdYW](http://www.webpackbin.com/Vy7PtkdYW). | ||
@@ -19,21 +19,23 @@ ## Quick start. Install the component from NPM by running: | ||
## Angular 2 Configuration (RC.3) | ||
The component is updated to use the latest version of Angular 2 forms. This means | ||
## Angular 2 Configuration (RC.5) | ||
The component is updated to use the latest version of Angular 2 (RC 5). This means | ||
it requires some configuration to correctly work with your app. Ensure, you are | ||
registering the following providers when bootstrapping the app: | ||
import {provide, PLATFORM_DIRECTIVES} from '@angular/core'; | ||
import { disableDeprecatedForms, provideForms, REACTIVE_FORM_DIRECTIVES } from '@angular/forms'; | ||
import {App} from './home/home'; | ||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | ||
import { FormsModule } from '@angular/forms'; | ||
import { App } from './home/home'; | ||
import { NgModule } from '@angular/core'; | ||
import { BrowserModule } from '@angular/platform-browser'; | ||
@NgModule({ | ||
imports: [BrowserModule, FormsModule], | ||
bootstrap: [App], | ||
declarations: [App] | ||
}) | ||
export class AppModule {} | ||
platformBrowserDynamic().bootstrapModule(AppModule); | ||
bootstrap(App, [ | ||
disableDeprecatedForms(), | ||
provideForms(), | ||
{ | ||
provide: PLATFORM_DIRECTIVES, | ||
useValue: [REACTIVE_FORM_DIRECTIVES], | ||
multi: true | ||
} | ||
]) | ||
Please do have a look at the file `demo/app.ts` if you are unsure how to configure the app. | ||
@@ -132,2 +134,2 @@ | ||
If you want to see more advanced examples, please have a look at [http://www.webpackbin.com/4ydNyqnDW](http://www.webpackbin.com/4ydNyqnDW). | ||
If you want to see more advanced examples, please have a look at [http://www.webpackbin.com/Vy7PtkdYW](http://www.webpackbin.com/Vy7PtkdYW). |
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 not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
215084
35
2408
133
Updatedng2-material-dropdown@^0.2.3