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

angular-star-rating

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-star-rating - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

main.ts

38

index.ts

@@ -1,30 +0,24 @@

import { NgModule, ModuleWithProviders } from '@angular/core';
import { ModuleWithProviders, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { StarRatingComponent } from './star-rating.component';
import { StarRatingConfig } from './star-rating-config';
import {starRatingDirection, starRatingColor, starRatingPosition, starRatingSizes, starRatingSpeed, starRatingStarSpace, starRatingStarTypes} from './src/star-rating-struct';
import { StarRatingComponent } from './src/star-rating.component';
import { StarRatingConfig } from './src/star-rating-config';
export * from './star-rating.component';
export * from './star-rating-config';
export * from './star-rating-struct';
export * from './src/star-rating-struct';
export * from './src/star-rating.component';
export * from './src/star-rating-config';
const EXPORTS = [StarRatingComponent];
@NgModule({
imports: [
CommonModule
],
declarations: [
StarRatingComponent
],
exports: [
StarRatingComponent
]
imports: [CommonModule],
exports: [EXPORTS],
declarations: [EXPORTS]
})
export class StarRatingModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: StarRatingModule,
providers: [StarRatingConfig]
};
}
static forRoot(): ModuleWithProviders {
return {
ngModule: StarRatingModule,
providers: [StarRatingConfig]
}
}
}
{
"name": "angular-star-rating",
"description": "Angular Star Rating is a Angular2 component written in typescript.",
"version": "3.0.0",
"scripts": {
"build": "ngc -p tsconfig.json",
"lint": "tslint --type-check --project tsconfig.json src/**/*.ts",
"test": "npm run tsc && karma start",
"prepublish": "npm run tsc",
"tsc": "npm run deleteDist && tsc && npm run copyAssets",
"deleteDist": "rimraf dist",
"copyAssets": "copyfiles assets/**/* dist",
"updateExample": "npm run tsc && copyfiles dist/**/* examples/angular2/node_modules/angular-star-rating",
"coverage": "http-server -c-1 -o -p 9875 ./coverage",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"release": "npm publish"
},
"version": "3.0.1",
"homepage": "https://github.com/BioPhoton/angular-star-rating#readme",

@@ -56,36 +43,10 @@ "repository": {

},
"main": "./dist/index.js",
"dependencies": {
"css-star-rating": "^1.1.3"
},
"devDependencies": {
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/compiler-cli": "^4.0.0",
"module": "angular-star-rating.js",
"typings": "angular-star-rating.d.ts",
"peerDependencies": {
"@angular/core": "^4.0.0",
"@angular/forms": "^4.0.0",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",
"codelyzer": "~2.0.0",
"core-js": "^2.4.1",
"jasmine-core": "~2.5.2",
"jasmine-spec-reporter": "~3.2.0",
"karma": "~1.4.1",
"karma-chrome-launcher": "~2.0.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^0.2.0",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.0",
"rxjs": "^5.1.0",
"ts-node": "~2.0.0",
"tslint": "~4.5.0",
"typescript": "~2.2.0",
"zone.js": "^0.8.4"
},
"engines": {
"node": ">=6.9.0"
}
}
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