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

ng-jhipster

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-jhipster - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

2

package.json

@@ -78,3 +78,3 @@ {

},
"version": "0.0.12"
"version": "0.0.13"
}

@@ -5,3 +5,2 @@ import { Sanitizer } from '@angular/core';

private sanitizer;
private translateService;
private toast;

@@ -12,3 +11,4 @@ private alertId;

private i18nEnabled;
constructor(sanitizer: Sanitizer, translateService: TranslateService, toast: boolean);
private translateService;
constructor(sanitizer: Sanitizer, toast?: boolean, translateService?: TranslateService);
clear(): void;

@@ -15,0 +15,0 @@ get(): any;

@@ -5,5 +5,4 @@ import { Injectable, Sanitizer, SecurityContext } from '@angular/core';

export var AlertService = (function () {
function AlertService(sanitizer, translateService, toast) {
function AlertService(sanitizer, toast, translateService) {
this.sanitizer = sanitizer;
this.translateService = translateService;
this.toast = toast;

@@ -14,2 +13,5 @@ this.i18nEnabled = ConfigHelper.getConfig().i18nEnabled;

this.timeout = 5000; // default timeout
if (this.i18nEnabled) {
this.translateService = translateService;
}
}

@@ -113,6 +115,6 @@ AlertService.prototype.clear = function () {

{ type: Sanitizer, },
null,
{ type: TranslateService, },
null,
]; };
return AlertService;
}());

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

[{"__symbolic":"module","version":3,"metadata":{"AlertService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer"},{"__symbolic":"reference","module":"ng2-translate","name":"TranslateService"},{"__symbolic":"reference","name":"boolean"}]}],"clear":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"success":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"warning":[{"__symbolic":"method"}],"info":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"addAlert":[{"__symbolic":"method"}],"closeAlert":[{"__symbolic":"method"}],"closeAlertByIndex":[{"__symbolic":"method"}],"isToast":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"AlertService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer"},{"__symbolic":"reference","module":"ng2-translate","name":"TranslateService"},{"__symbolic":"reference","name":"boolean"}]}],"clear":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"success":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"warning":[{"__symbolic":"method"}],"info":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"addAlert":[{"__symbolic":"method"}],"closeAlert":[{"__symbolic":"method"}],"closeAlertByIndex":[{"__symbolic":"method"}],"isToast":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"AlertService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","module":"ng2-translate","name":"TranslateService"}]}],"clear":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"success":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"warning":[{"__symbolic":"method"}],"info":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"addAlert":[{"__symbolic":"method"}],"closeAlert":[{"__symbolic":"method"}],"closeAlertByIndex":[{"__symbolic":"method"}],"isToast":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"AlertService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","module":"ng2-translate","name":"TranslateService"}]}],"clear":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"success":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"warning":[{"__symbolic":"method"}],"info":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"addAlert":[{"__symbolic":"method"}],"closeAlert":[{"__symbolic":"method"}],"closeAlertByIndex":[{"__symbolic":"method"}],"isToast":[{"__symbolic":"method"}]}}}}]

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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