npm security audit fixes (#1112)

* update angular libs

* audit fix

* fix code style

* remove rimraf dependency
This commit is contained in:
Denys Vuika
2019-05-17 15:14:23 +01:00
committed by GitHub
parent 9892580e29
commit 1928aa0b1b
18 changed files with 911 additions and 1020 deletions

View File

@@ -6,7 +6,7 @@
<p>{{ 'APP.ABOUT.VERSION' | translate }} {{ releaseVersion }}</p>
</article>
<ng-container *ngIf="(extensions$ | async) as extensions">
<ng-container *ngIf="extensions$ | async as extensions">
<article *ngIf="extensions.length > 0">
<header>{{ 'APP.ABOUT.PLUGINS.TITLE' | translate }}</header>
<app-extension-list [data]="extensions"></app-extension-list>

View File

@@ -7,7 +7,7 @@
<mat-menu #userMenu="matMenu" [overlapTrigger]="false">
<button
*ngIf="(languagePicker$ | async)"
*ngIf="languagePicker$ | async"
mat-menu-item
[matMenuTriggerFor]="langMenu"
>

View File

@@ -88,7 +88,7 @@
</adf-pagination>
</div>
<div class="sidebar" *ngIf="(infoDrawerOpened$ | async)">
<div class="sidebar" *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.last"></aca-info-drawer>
</div>
</aca-page-layout-content>

View File

@@ -75,7 +75,7 @@
<adf-pagination acaPagination [target]="documentList"> </adf-pagination>
</div>
<div class="sidebar" *ngIf="(infoDrawerOpened$ | async)">
<div class="sidebar" *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.last"></aca-info-drawer>
</div>
</aca-page-layout-content>

View File

@@ -84,7 +84,7 @@
</adf-upload-drag-area>
</div>
<div class="sidebar" *ngIf="(infoDrawerOpened$ | async)">
<div class="sidebar" *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.last"></aca-info-drawer>
</div>
</aca-page-layout-content>

View File

@@ -77,7 +77,7 @@
<adf-pagination acaPagination [target]="documentList"> </adf-pagination>
</div>
<div class="sidebar" *ngIf="(infoDrawerOpened$ | async)">
<div class="sidebar" *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.library"></aca-info-drawer>
</div>
</aca-page-layout-content>

View File

@@ -14,7 +14,7 @@
(navigateBefore)="onNavigateBefore()"
(navigateNext)="onNavigateNext()"
>
<adf-viewer-sidebar *ngIf="(infoDrawerOpened$ | async)">
<adf-viewer-sidebar *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.file"></aca-info-drawer>
</adf-viewer-sidebar>

View File

@@ -76,7 +76,7 @@
<adf-pagination acaPagination [target]="documentList"> </adf-pagination>
</div>
<div class="sidebar" *ngIf="(infoDrawerOpened$ | async)">
<div class="sidebar" *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.last"></aca-info-drawer>
</div>
</aca-page-layout-content>

View File

@@ -120,7 +120,7 @@
</div>
</div>
</div>
<div class="sidebar" *ngIf="(infoDrawerOpened$ | async)">
<div class="sidebar" *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.last"></aca-info-drawer>
</div>
</aca-page-layout-content>

View File

@@ -111,7 +111,7 @@
</div>
</div>
</div>
<div class="sidebar" *ngIf="(infoDrawerOpened$ | async)">
<div class="sidebar" *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.last"></aca-info-drawer>
</div>
</aca-page-layout-content>

View File

@@ -74,7 +74,7 @@
<adf-pagination acaPagination [target]="documentList"> </adf-pagination>
</div>
<div class="sidebar" *ngIf="(infoDrawerOpened$ | async)">
<div class="sidebar" *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.last"></aca-info-drawer>
</div>
</aca-page-layout-content>

View File

@@ -1,4 +1,4 @@
<ng-container *ngIf="(selection$ | async) as selection">
<ng-container *ngIf="selection$ | async as selection">
<button
mat-menu-item
data-automation-id="share-action-button"

View File

@@ -56,7 +56,7 @@ import { ContentManagementService } from '../../../services/content-management.s
: ('APP.ACTIONS.JOIN' | translate)
"
>
<mat-icon *ngIf="(membership.isJoinRequested | async)">cancel</mat-icon>
<mat-icon *ngIf="membership.isJoinRequested | async">cancel</mat-icon>
<mat-icon
*ngIf="!(membership.isJoinRequested | async)"
svgIcon="adf:join_library"

View File

@@ -44,7 +44,7 @@ import { ToggleJoinLibraryButtonComponent } from './toggle-join-library-button.c
: ('APP.ACTIONS.JOIN' | translate)
"
>
<mat-icon *ngIf="(membership.isJoinRequested | async)">cancel</mat-icon>
<mat-icon *ngIf="membership.isJoinRequested | async">cancel</mat-icon>
<mat-icon
*ngIf="!(membership.isJoinRequested | async)"
svgIcon="adf:join_library"

View File

@@ -8,7 +8,7 @@
[allowRightSidebar]="showRightSide"
[showRightSidebar]="showRightSide"
>
<adf-viewer-sidebar *ngIf="(infoDrawerOpened$ | async)">
<adf-viewer-sidebar *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.file"></aca-info-drawer>
</adf-viewer-sidebar>