From 8320406ba7e107b5094e0467f383abefaf8c4fb1 Mon Sep 17 00:00:00 2001 From: Guilherme Borges Bastos Date: Mon, 9 Aug 2021 15:44:24 -0300 Subject: [PATCH] (fix) upgrade tar dependency to fix vulnerability --- package-lock.json | 23 ++++++------------- package.json | 1 + src/app/core/shared/abstract.swipe.section.ts | 2 +- src/app/experience/experience.component.ts | 2 +- src/app/posts/posts.component.ts | 2 +- 5 files changed, 11 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index 11e95bc7b..5bfd7225e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "live-resume", - "version": "1.0.0", + "version": "1.3.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -4173,8 +4173,7 @@ "chownr": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", - "dev": true + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" }, "chrome-trace-event": { "version": "1.0.2", @@ -8659,7 +8658,6 @@ "version": "1.3.3", "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", - "dev": true, "requires": { "minipass": "^2.9.0" }, @@ -8668,7 +8666,6 @@ "version": "2.9.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", - "dev": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -8677,8 +8674,7 @@ "yallist": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" } } }, @@ -8725,7 +8721,6 @@ "version": "0.5.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.4.tgz", "integrity": "sha512-iG9AK/dJLtJ0XNgTuDbSyNS3zECqDlAhnQW4CsNxBG3LQJBbHmRX1egw39DmtOdCAqY+dKXV+sgPgilNWUKMVw==", - "dev": true, "requires": { "minimist": "^1.2.5" } @@ -12390,10 +12385,9 @@ "dev": true }, "tar": { - "version": "4.4.13", - "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", - "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", - "dev": true, + "version": "4.4.15", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.15.tgz", + "integrity": "sha512-ItbufpujXkry7bHH9NpQyTXPbJ72iTlXgkBAYsAjDXk3Ds8t/3NfO5P4xZGy7u+sYuQUbimgzswX4uQIEeNVOA==", "requires": { "chownr": "^1.1.1", "fs-minipass": "^1.2.5", @@ -12408,7 +12402,6 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", - "dev": true, "requires": { "minipass": "^2.6.0" } @@ -12417,7 +12410,6 @@ "version": "2.9.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", - "dev": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -12426,8 +12418,7 @@ "yallist": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" } } }, diff --git a/package.json b/package.json index fe0cba662..851a5b998 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "rxjs": "^6.5.5", "serialize-javascript": "^4.0.0", "socket.io": "^2.4.1", + "tar": "^4.4.15", "tslib": "^1.13.0", "webpack-subresource-integrity": "^1.5.2", "websocket-extensions": "^0.1.4", diff --git a/src/app/core/shared/abstract.swipe.section.ts b/src/app/core/shared/abstract.swipe.section.ts index 0a653e348..4b788ce9c 100644 --- a/src/app/core/shared/abstract.swipe.section.ts +++ b/src/app/core/shared/abstract.swipe.section.ts @@ -1,4 +1,4 @@ -import { SwipeSection } from './swipe.section'; +import { SwipeSection } from "./swipe.section"; enum Direction { LEFT, diff --git a/src/app/experience/experience.component.ts b/src/app/experience/experience.component.ts index f68f401f5..5f8b4b6d5 100644 --- a/src/app/experience/experience.component.ts +++ b/src/app/experience/experience.component.ts @@ -5,7 +5,7 @@ import { IExperience } from "./experience-interfaces"; import { DataService } from "../core/data.service"; import { SorterService } from "../core/sorter.service"; import { FaIconLibrary } from "@fortawesome/angular-fontawesome"; -import { AbstractSwipeSection } from '../core/shared/abstract.swipe.section'; +import { AbstractSwipeSection } from "../core/shared/abstract.swipe.section"; @Component({ selector: "app-experience", diff --git a/src/app/posts/posts.component.ts b/src/app/posts/posts.component.ts index 66cda4a28..e98611fa6 100644 --- a/src/app/posts/posts.component.ts +++ b/src/app/posts/posts.component.ts @@ -3,7 +3,7 @@ import { DataService } from "../core/data.service"; import { IconDefinition } from "@fortawesome/free-solid-svg-icons"; import { IPost } from "./posts-interfaces"; import { faChevronLeft, faChevronRight } from "@fortawesome/free-solid-svg-icons"; -import { AbstractSwipeSection } from '../core/shared/abstract.swipe.section'; +import { AbstractSwipeSection } from "../core/shared/abstract.swipe.section"; @Component({ selector: "app-posts",