From cfc270b6e6dd514380e2f66b6617b48e713afe8a Mon Sep 17 00:00:00 2001 From: Adrienne Rio Date: Mon, 2 Dec 2024 13:21:09 +0800 Subject: [PATCH] chore: try to upgrade cookie-js --- package-lock.json | 42 ++++++++++++++++++++---------------------- package.json | 4 ++-- 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1ac92726c3a..0c12e095046 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@binary-com/binary-style": "^0.2.26", "@binary-com/webtrader-charts": "^0.6.2", "@deriv-com/analytics": "^1.26.1", - "@deriv-com/auth-client": "1.2.2", + "@deriv-com/auth-client": "1.2.15", "@deriv-com/quill-ui": "^1.16.2", "@deriv-com/utils": "^0.0.38", "@deriv/deriv-api": "^1.0.15", @@ -30,7 +30,7 @@ "html-react-parser": "^5.1.10", "jquery": "3.5.1", "jquery.scrollto": "2.1.2", - "js-cookie": "2.2.0", + "js-cookie": "3.0.5", "js-yaml": "4.1.0", "kinetic": "5.2.0", "moment": "^2.29.4", @@ -2081,28 +2081,23 @@ "npm": "9.x" } }, - "node_modules/@deriv-com/analytics/node_modules/js-cookie": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.5.tgz", - "integrity": "sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==", - "license": "MIT", - "engines": { - "node": ">=14" - } - }, "node_modules/@deriv-com/auth-client": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@deriv-com/auth-client/-/auth-client-1.2.2.tgz", - "integrity": "sha512-PqReHBUjUbO1PXyTq4AnClEwtm/RAsvoamnFtayu+UYQuiFYTDU9CIhsse7ujZUVj+qCOHxsT6rU9bqZczJkUw==", + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@deriv-com/auth-client/-/auth-client-1.2.15.tgz", + "integrity": "sha512-tplrAeklKg/o1EZZXd6FSowvfwKzebzyUPLk0S/HN/tGeCDljCu8jo2aMXeJGzX9G338686nPYq2EnfeCnVgUg==", "dependencies": { - "@deriv-com/utils": "^0.0.37", + "@deriv-com/utils": "^0.0.42", + "js-cookie": "3.0.5", "oidc-client-ts": "^3.1.0" + }, + "optionalDependencies": { + "@rollup/rollup-linux-x64-gnu": "^4.27.3" } }, "node_modules/@deriv-com/auth-client/node_modules/@deriv-com/utils": { - "version": "0.0.37", - "resolved": "https://registry.npmjs.org/@deriv-com/utils/-/utils-0.0.37.tgz", - "integrity": "sha512-+ngUvT+OqwblBoqkHcsbLtljjwOGIjjMpo5xLS5fwyhtNvBe8Rcq+140QV1j0xq9vlm2kmcowEKIVBq33imFmg==" + "version": "0.0.42", + "resolved": "https://registry.npmjs.org/@deriv-com/utils/-/utils-0.0.42.tgz", + "integrity": "sha512-4JhTpg0sQWCq94RSMGpuT/09bYSV8yO3WdunM2R84qxWNitRH/i4k/xfdleRVzX+xLSmMmJWlkbD6NAlP8U5eg==" }, "node_modules/@deriv-com/quill-tokens": { "version": "2.0.13", @@ -12392,10 +12387,13 @@ "license": "BSD-3-Clause" }, "node_modules/js-cookie": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.0.tgz", - "integrity": "sha512-7YAJP/LPE/MhDjHIdfIiT665HUSumCwPN2hAmO6OJZ8V3o1mtz2HeQ8BKetEjkh+3nqGxYaq1vPMViUR8kaOXw==", - "license": "MIT" + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.5.tgz", + "integrity": "sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==", + "license": "MIT", + "engines": { + "node": ">=14" + } }, "node_modules/js-tokens": { "version": "4.0.0", diff --git a/package.json b/package.json index e357a3001ca..35e62f11a27 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "@binary-com/binary-style": "^0.2.26", "@binary-com/webtrader-charts": "^0.6.2", "@deriv-com/analytics": "^1.26.1", - "@deriv-com/auth-client": "1.2.2", + "@deriv-com/auth-client": "1.2.15", "@deriv-com/quill-ui": "^1.16.2", "@deriv-com/utils": "^0.0.38", "@deriv/deriv-api": "^1.0.15", @@ -123,7 +123,7 @@ "html-react-parser": "^5.1.10", "jquery": "3.5.1", "jquery.scrollto": "2.1.2", - "js-cookie": "2.2.0", + "js-cookie": "3.0.5", "js-yaml": "4.1.0", "kinetic": "5.2.0", "moment": "^2.29.4",