From 449ee874a9486838a1f7603c0fcccd5dbe7bece2 Mon Sep 17 00:00:00 2001 From: Bedram Tamang Date: Tue, 6 Feb 2024 21:04:44 -0800 Subject: [PATCH] fix: axios security fix --- package-lock.json | 30 ++++++++++++++---------------- packages/core/package.json | 4 ++-- packages/vue2/package.json | 6 +++--- playgrounds/vue2/package-lock.json | 4 ++-- playgrounds/vue2/package.json | 4 ++-- 5 files changed, 23 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index 789b308..6cd1ef2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -690,12 +690,11 @@ } }, "node_modules/axios": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.2.tgz", - "integrity": "sha512-1M3O703bYqYuPhbHeya5bnhpYVsDDRyQSabNja04mZtboLNSuZ4YrltestrLXfHgmzua4TpUqRiVKbiQuo2epw==", - "license": "MIT", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", "dependencies": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.4", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -1660,16 +1659,15 @@ "license": "MIT" }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "funding": [ { "type": "individual", "url": "https://github.com/sponsors/RubenVerborgh" } ], - "license": "MIT", "engines": { "node": ">=4.0" }, @@ -4762,9 +4760,9 @@ }, "packages/core": { "name": "formjs-core", - "version": "1.3.5", + "version": "1.4.0", "dependencies": { - "axios": "^1.2.0" + "axios": "^1.6.7" }, "devDependencies": { "jsdom": "^21.1.0", @@ -4881,10 +4879,10 @@ }, "packages/vue2": { "name": "formjs-vue2", - "version": "1.3.5", + "version": "1.4.0", "dependencies": { - "axios": "^1.2.0", - "formjs-core": "1.3.5", + "axios": "^1.6.7", + "formjs-core": "1.4.0", "lodash.clonedeep": "^4.5.0", "lodash.isequal": "^4.5.0", "yup": "^1.0.0" @@ -4906,9 +4904,9 @@ }, "playgrounds/vue2": { "name": "formjs-vue2-example", - "version": "1.3.5", + "version": "1.4.0", "dependencies": { - "formjs-vue2": "1.3.5", + "formjs-vue2": "1.4.0", "mockjs": "^1.1.0", "pinia": "^2.0.32", "vue": "^2.7.7" diff --git a/packages/core/package.json b/packages/core/package.json index 6c6d1c7..59e5507 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "formjs-core", - "version": "1.3.5", + "version": "1.4.0", "type": "module", "contributors": [ "Bedram Tamang " @@ -26,7 +26,7 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "axios": "^1.2.0" + "axios": "^1.6.7" }, "devDependencies": { "jsdom": "^21.1.0", diff --git a/packages/vue2/package.json b/packages/vue2/package.json index 84e019f..1e086df 100644 --- a/packages/vue2/package.json +++ b/packages/vue2/package.json @@ -1,6 +1,6 @@ { "name": "formjs-vue2", - "version": "1.3.5", + "version": "1.4.0", "type": "module", "contributors": [ "Bedram Tamang " @@ -27,8 +27,8 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "axios": "^1.2.0", - "formjs-core": "1.3.5", + "axios": "^1.6.7", + "formjs-core": "1.4.0", "lodash.clonedeep": "^4.5.0", "lodash.isequal": "^4.5.0", "yup": "^1.0.0" diff --git a/playgrounds/vue2/package-lock.json b/playgrounds/vue2/package-lock.json index 21bd924..0335e42 100644 --- a/playgrounds/vue2/package-lock.json +++ b/playgrounds/vue2/package-lock.json @@ -1,12 +1,12 @@ { "name": "vue2", - "version": "1.3.5", + "version": "1.4.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vue2", - "version": "1.3.5", + "version": "1.4.0", "dependencies": { "pinia": "^2.0.32", "vue": "^2.7.7" diff --git a/playgrounds/vue2/package.json b/playgrounds/vue2/package.json index e624943..55785fd 100644 --- a/playgrounds/vue2/package.json +++ b/playgrounds/vue2/package.json @@ -1,6 +1,6 @@ { "name": "formjs-vue2-example", - "version": "1.3.5", + "version": "1.4.0", "scripts": { "dev": "vite", "build": "vite build", @@ -8,7 +8,7 @@ "preview": "vite preview --port 4173" }, "dependencies": { - "formjs-vue2": "1.3.5", + "formjs-vue2": "1.4.0", "mockjs": "^1.1.0", "pinia": "^2.0.32", "vue": "^2.7.7"