Update dependencies

This commit is contained in:
Giuseppe Digilio
2020-12-11 18:08:43 +01:00
parent 752e415dce
commit fcec66ebb7
8 changed files with 345 additions and 557 deletions

View File

@@ -83,42 +83,42 @@
"angular2-text-mask": "9.0.0",
"angulartics2": "^10.0.0",
"bootstrap": "4.3.1",
"caniuse-lite": "^1.0.30000697",
"caniuse-lite": "^1.0.30001165",
"cerialize": "0.1.18",
"cli-progress": "^3.8.0",
"cookie-parser": "1.4.3",
"cookie-parser": "1.4.5",
"core-js": "^3.7.0",
"debug-loader": "^0.0.1",
"deepmerge": "^4.2.2",
"express": "^4.17.1",
"express-rate-limit": "^5.1.3",
"fast-json-patch": "^2.0.7",
"file-saver": "^1.3.8",
"fast-json-patch": "^3.0.0-1",
"file-saver": "^2.0.5",
"filesize": "^6.1.0",
"font-awesome": "4.7.0",
"https": "1.0.0",
"js-cookie": "2.2.0",
"json5": "^2.1.0",
"jsonschema": "1.2.2",
"jwt-decode": "^2.2.0",
"klaro": "^0.7.8",
"moment": "^2.22.1",
"morgan": "^1.9.1",
"js-cookie": "2.2.1",
"json5": "^2.1.3",
"jsonschema": "1.4.0",
"jwt-decode": "^3.1.2",
"klaro": "^0.7.10",
"moment": "^2.29.1",
"morgan": "^1.10.0",
"ng-mocks": "10.5.4",
"ng2-file-upload": "1.4.0",
"ng2-nouislider": "^1.8.2",
"ngx-infinite-scroll": "6.0.1",
"ngx-moment": "^3.4.0",
"ngx-pagination": "3.0.3",
"ngx-infinite-scroll": "^10.0.1",
"ngx-moment": "^5.0.0",
"ngx-pagination": "5.0.0",
"ngx-sortablejs": "^10.0.0",
"nouislider": "^11.0.0",
"pem": "1.13.2",
"postcss-cli": "^6.0.0",
"nouislider": "^14.6.3",
"pem": "1.14.4",
"postcss-cli": "^8.3.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.6.3",
"rxjs-spy": "^7.5.3",
"sass-resources-loader": "^2.1.1",
"sortablejs": "1.7.0",
"sortablejs": "1.10.1",
"tslib": "^2.0.0",
"webfontloader": "1.6.28",
"zone.js": "^0.10.3"
@@ -133,13 +133,13 @@
"@ngrx/store-devtools": "^10.0.1",
"@ngtools/webpack": "10.2.0",
"@nguniversal/builders": "~10.1.0",
"@types/deep-freeze": "0.1.1",
"@types/deep-freeze": "0.1.2",
"@types/express": "^4.17.9",
"@types/file-saver": "^1.3.0",
"@types/file-saver": "^2.0.1",
"@types/jasmine": "^3.6.2",
"@types/jasminewd2": "~2.0.3",
"@types/js-cookie": "2.1.0",
"@types/lodash": "^4.14.110",
"@types/jasminewd2": "~2.0.8",
"@types/js-cookie": "2.2.6",
"@types/lodash": "^4.14.165",
"@types/node": "^14.14.9",
"codelyzer": "^6.0.1",
"compression-webpack-plugin": "^3.0.1",

View File

@@ -1,4 +1,4 @@
import { default as decode } from 'jwt-decode';
import jwtDecode, { JwtPayload } from 'jwt-decode';
export const TOKENITEM = 'dsAuthInfo';
@@ -9,7 +9,7 @@ export class AuthTokenInfo {
constructor(token: string) {
this.accessToken = token.replace('Bearer ', '');
try {
const tokenClaims = decode(this.accessToken);
const tokenClaims = jwtDecode<JwtPayload>(this.accessToken);
// exp claim is in seconds, convert it se to milliseconds
this.expires = tokenClaims.exp * 1000;
} catch (err) {

View File

@@ -1,4 +1,4 @@
import { MoveOperation } from 'fast-json-patch/lib/core';
import { MoveOperation } from 'fast-json-patch';
import { Injectable } from '@angular/core';
import { moveItemInArray } from '@angular/cdk/drag-drop';
import { hasValue } from '../../shared/empty.util';

View File

@@ -1,4 +1,4 @@
import { Operation } from 'fast-json-patch/lib/core';
import { Operation } from 'fast-json-patch';
import { CacheableObject } from '../cache/object-cache.reducer';
/**

View File

@@ -1,6 +1,6 @@
import { Injectable } from '@angular/core';
import { compare } from 'fast-json-patch';
import { Operation } from 'fast-json-patch/lib/core';
import { Operation } from 'fast-json-patch';
import { getClassForType } from '../cache/builders/build-decorators';
import { CacheableObject } from '../cache/object-cache.reducer';
import { DSpaceSerializer } from '../dspace-rest-v2/dspace.serializer';

View File

@@ -1,7 +1,7 @@
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { createSelector, select, Store } from '@ngrx/store';
import { Operation } from 'fast-json-patch/lib/core';
import { Operation } from 'fast-json-patch';
import { Observable } from 'rxjs';
import { filter, find, map, take } from 'rxjs/operators';
import {

View File

@@ -2,7 +2,7 @@ import { HttpClient, HttpHeaders } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { createSelector, select, Store } from '@ngrx/store';
import { Operation } from 'fast-json-patch/lib/core';
import { Operation } from 'fast-json-patch';
import { Observable } from 'rxjs';
import { filter, map, take, tap } from 'rxjs/operators';
import {

842
yarn.lock

File diff suppressed because it is too large Load Diff