Skip to content

Commit 40c23b7

Browse files
authored
Merge pull request #1871 from internxt/dependencies-update
[-]:fix/patch stack overflow vulnerability
2 parents 3142fd3 + bbe2139 commit 40c23b7

6 files changed

Lines changed: 14 additions & 15 deletions

File tree

next.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,6 @@ module.exports = {
212212
destination: '/redeem/stackcommerce',
213213
permanent: false,
214214
},
215-
{
216-
source: '/driffle',
217-
destination: '/redeem/driffle',
218-
permanent: false,
219-
},
220215
{
221216
source: '/special-offer/:filename',
222217
destination: '/specialoffer/:filename',

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@
110110
},
111111
"resolutions": {
112112
"**/js-yaml": "^4.1.1",
113+
"@emotion/react/**/yaml": "1.10.3",
114+
"@emotion/styled/**/yaml": "1.10.3",
115+
"@svgr/webpack/**/yaml": "1.10.3",
116+
"react-select/**/yaml": "1.10.3",
113117
"nyc": "^17.1.0",
114118
"form-data": "^4.0.4",
115119
"tar": "^7.5.7",

src/components/auth/SignUp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { signup } from '@/lib/auth';
1111
interface SignUpProps {
1212
textContent: any;
1313
loading?: boolean;
14-
provider?: 'STACKCOMMERCE' | 'TECHCULT' | 'DEALMIRROR' | 'MIGHTYDEALS' | 'OYSTERVPN' | 'COINGATE' | 'DRIFFLE';
14+
provider?: 'STACKCOMMERCE' | 'TECHCULT' | 'DEALMIRROR' | 'MIGHTYDEALS' | 'OYSTERVPN' | 'COINGATE' ;
1515
}
1616

1717
export default function SignUp(props: Readonly<SignUpProps>) {

src/components/home/TrustedSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function TrustedSection({
5959
return (
6060
<section
6161
ref={sectionRef}
62-
className={`flex h-full w-full flex-col items-start justify-start overflow-hidden px-8 py-10 lg:h-min lg:items-center lg:justify-center lg:gap-20 lg:pb-28 ${
62+
className={`flex h-full w-full flex-col items-start justify-start overflow-hidden px-8 py-10 lg:h-min lg:items-center lg:justify-center lg:gap-20 lg:pb-28 lg:px-10 xl:px-32 3xl:px-80 ${
6363
darkMode ? 'bg-[#1C1C1C]' : ''
6464
}`}
6565
style={
@@ -73,7 +73,7 @@ export default function TrustedSection({
7373
{bottomBar && (
7474
<div className="absolute bottom-0 left-8 right-8 h-[1px] bg-neutral-35 lg:bottom-0 lg:left-32 lg:right-32"></div>
7575
)}
76-
<p className="flex w-[1280px] flex-wrap font-semibold text-[60px] leading-[100%] py-1 gap-x-[0.35em]">
76+
<p className="w-full font-semibold text-[60px] leading-[100%] py-1 text-justify">
7777
{groups.map((group, i) => (
7878
<span
7979
key={i}
@@ -85,7 +85,7 @@ export default function TrustedSection({
8585
transition: 'color 0.4s ease',
8686
}}
8787
>
88-
{group}
88+
{i > 0 ? ' ' : ''}{group}
8989
</span>
9090
))}
9191
</p>

src/pages/redeem/[filename].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface RedeemPageProps {
2121
lang: string;
2222
}
2323

24-
const ALLOWED_PATHS = ['stackcommerce', 'coingate', 'driffle'];
24+
const ALLOWED_PATHS = ['stackcommerce', 'coingate'];
2525

2626
const SpecialOfferPage = ({
2727
metatagsDescriptions,
@@ -48,7 +48,7 @@ const SpecialOfferPage = ({
4848
setOpenDialog(true);
4949
};
5050

51-
const ALLOWED_PROVIDERS = ['STACKCOMMERCE', 'COINGATE', 'DRIFFLE'] as const;
51+
const ALLOWED_PROVIDERS = ['STACKCOMMERCE', 'COINGATE'] as const;
5252

5353
type Provider = typeof ALLOWED_PROVIDERS[number];
5454

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9420,10 +9420,10 @@ yallist@^5.0.0:
94209420
resolved "https://registry.yarnpkg.com/yallist/-/yallist-5.0.0.tgz#00e2de443639ed0d78fd87de0d27469fbcffb533"
94219421
integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==
94229422

9423-
yaml@^1.10.0:
9424-
version "1.10.2"
9425-
resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b"
9426-
integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==
9423+
yaml@1.10.3, yaml@^1.10.0:
9424+
version "1.10.3"
9425+
resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.3.tgz#76e407ed95c42684fb8e14641e5de62fe65bbcb3"
9426+
integrity sha512-vIYeF1u3CjlhAFekPPAk2h/Kv4T3mAkMox5OymRiJQB0spDP10LHvt+K7G9Ny6NuuMAb25/6n1qyUjAcGNf/AA==
94279427

94289428
yaml@^2.3.4:
94299429
version "2.5.0"

0 commit comments

Comments
 (0)