ng2-nouislider
Advanced tools
Comparing version 0.3.0 to 0.4.0
//our root app component | ||
import {Component} from 'angular2/core'; | ||
import {Control} from 'angular2/common' | ||
import {Component} from '@angular/core'; | ||
import {Nouislider} from 'ng2nouislider'; | ||
import './app.scss'; | ||
@Component({ | ||
selector: 'my-app', | ||
selector: 'app', | ||
directives: [Nouislider], | ||
templateUrl: 'demo/app.html' | ||
template: require('./app.html') | ||
}) | ||
export class App { | ||
public someValue: any = 5; | ||
public someRange: any = [3,7]; | ||
public someRange2: any = [10,15]; | ||
public someValue: number = 5; | ||
public someRange: number[] = [3, 7]; | ||
public someRange2: number[] = [10, 15]; | ||
public someRange2config: any = { | ||
@@ -16,0 +16,0 @@ behaviour: 'drag', |
@@ -1,6 +0,7 @@ | ||
//main entry point | ||
import {bootstrap} from 'angular2/platform/browser'; | ||
import {bootstrap} from '@angular/platform-browser-dynamic'; | ||
import {App} from './app'; | ||
bootstrap(App, []) | ||
.catch(err => console.error(err)); | ||
document.addEventListener('DOMContentLoaded', function main() { | ||
bootstrap(App, []) | ||
.catch(err => console.error(err)); | ||
}); |
{ | ||
"name": "ng2-nouislider", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Angular2 noUiSlider directive", | ||
"main": "nouislider.js", | ||
"typings": "nouislider.d.ts", | ||
"main": "src/nouislider.js", | ||
"typings": "src/nouislider.d.ts", | ||
"scripts": { | ||
"prepublish": "typings install && tsc", | ||
"start": "lite-server start" | ||
"build": "typings install && tslint src/*.ts && tsc", | ||
"start": "webpack-dev-server", | ||
"start:demo": "webpack && http-server ./demo" | ||
}, | ||
@@ -21,16 +22,40 @@ "keywords": [ | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/tb/ng2-nouislider" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/tb/ng2-nouislider/issues" | ||
}, | ||
"devDependencies": { | ||
"browser-sync": "^2.12.3", | ||
"@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", | ||
"css-loader": "^0.23.1", | ||
"es6-shim": "^0.35.0", | ||
"lite-server": "^2.2.0", | ||
"reflect-metadata": "^0.1.2", | ||
"rxjs": "^5.0.0-beta.2", | ||
"http-server": "^0.9.0", | ||
"node-sass": "^3.7.0", | ||
"nouislider": "^8.4.0", | ||
"raw-loader": "^0.5.1", | ||
"reflect-metadata": "^0.1.3", | ||
"rxjs": "^5.0.0-beta.6", | ||
"sass-loader": "^3.2.0", | ||
"style-loader": "^0.13.1", | ||
"ts-loader": "^0.8.2", | ||
"tslint": "^3.9.0", | ||
"tslint-loader": "^2.1.4", | ||
"typescript": "^1.8.10", | ||
"typings": "^0.8.1", | ||
"webpack": "^1.12.14", | ||
"webpack-dev-server": "^1.14.1", | ||
"zone.js": "^0.6.12" | ||
}, | ||
"peerDependencies": { | ||
"angular2": "^2.0.0-beta.10", | ||
"nouislider": "^8.4.0" | ||
"@angular/common": "^2.0.0-rc.1", | ||
"@angular/core": "^2.0.0-rc.1", | ||
"nouislider": "^8.4.0", | ||
"rxjs": "^5.0.0-beta.6" | ||
} | ||
} |
{ | ||
"compilerOptions": { | ||
"declaration": true, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"target": "es5", | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"removeComments": true, | ||
"sourceMap": true, | ||
"declaration": true | ||
"noImplicitAny": true, | ||
"target": "es5" | ||
}, | ||
@@ -16,5 +17,5 @@ "exclude": [ | ||
"files": [ | ||
"typings/main.d.ts", | ||
"nouislider.ts" | ||
"src/nouislider.ts", | ||
"typings/main.d.ts" | ||
] | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
5141001
21
3216
0
4
23
1