🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

angular-progress-bar

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-progress-bar - npm Package Compare versions

Comparing version

to
1.0.4-beta10

src/progress-bar.module.ngfactory.d.ts

8

package.json
{
"name": "angular-progress-bar",
"version": "1.0.4-beta1",
"version": "1.0.4-beta10",
"description": "An angular progress-bar",
"main": "./dist/bundles/progress-bar.umd.js",
"module": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts",
"main": "./bundles/progress-bar.umd.js",
"module": "./src/index.js",
"typings": "./src/index.d.ts",
"scripts": {

@@ -9,0 +9,0 @@ "prepare": "npm run build",

export declare class ProgressBarComponent {
progress: string;
color: string;
progress: any;
color: any;
degraded: any;
constructor();
whichColor(percent: string): any;
whichProgress(progress: number): number;
whichColor(percent: any): any;
whichProgress(progress: any): any;
}

@@ -43,4 +43,4 @@ import { Component, Input } from '@angular/core';

/** Inputs **/
@Input('progress') progress: string;
@Input('color') color: string;
@Input('progress') progress: any;
@Input('color') color: any;
@Input('color-degraded') degraded: any;

@@ -58,3 +58,3 @@

*/
whichColor(percent: string){
whichColor(percent: any){
// Get all entries index as an array

@@ -85,3 +85,3 @@ let k: Array<any> = Object.keys(this.degraded);

whichProgress(progress: number){
whichProgress(progress: any){
try{

@@ -88,0 +88,0 @@ return Math.round(progress * 100) / 100;

@@ -23,4 +23,7 @@ {

"files" :[
"src/index.ts"
"src/index.ts",
"src/progress-bar.module.ts",
"src/progress-bar/progress-bar.ts"
],
"include": [ "src/**/*.ts", "src/*.ts", "src/*", "src/**/*" ],
"exclude": [

@@ -27,0 +30,0 @@ "node_modules",

Sorry, the diff of this file is not supported yet