Skip to content

Commit

Permalink
Merge pull request #489 from commercelayer/fix/address-vulnerability
Browse files Browse the repository at this point in the history
Address vulnerability on dependencies
  • Loading branch information
malessani authored Nov 21, 2024
2 parents 110732d + 24d9f88 commit a7afc86
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 49 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@
"resolutions": {
"semver": ">=7",
"braces": ">=3.0.3",
"ws": ">=7.5.10"
"ws": ">=7.5.10",
"cross-spawn": ">=7.0.5"
},
"babelMacros": {
"twin": {
Expand All @@ -156,4 +157,4 @@
"path-to-regexp@>=2.0.0 <3.3.0": "=3.3.0"
}
}
}
}
54 changes: 9 additions & 45 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion specs/e2e/payments-stripe-errors.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ test.describe("stripe errors", () => {
{
kind: "lost card decline",
card: { number: "4000000000009987" },
error: "Your card has been declined.",
error: "Your card was declined. Please contact your card issuer.",
},
{
kind: "stolen card decline",
Expand Down
2 changes: 1 addition & 1 deletion specs/fixtures/CheckoutPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ export class CheckoutPage {
.getByPlaceholder("1234 1234 1234 1234")
.fill(creditCard.number)
await stripeFrame.getByPlaceholder("MM / YY").fill(creditCard.exp)
await stripeFrame.getByPlaceholder("CVC").fill(creditCard.cvc)
await stripeFrame.locator("#Field-cvcInput").fill(creditCard.cvc)
break
}
case "stripe-paypal": {
Expand Down

0 comments on commit a7afc86

Please sign in to comment.