Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
c2e03b7
Create config.yml (#56)
Dargon789 Sep 23, 2025
a272a7c
Merge branch 'Uniswap:main' into circleci-project-setup
Dargon789 Sep 26, 2025
4e41d0b
Merge pull request #62 from Dargon789/circleci-project-setup
Dargon789 Sep 27, 2025
b7ece14
fix: apps/mobile/Gemfile & apps/mobile/Gemfile.lock to reduce vulnera…
Dargon789 Sep 28, 2025
58d9f6c
build(deps): bump the npm_and_yarn group across 6 directories with 5 …
dependabot[bot] Sep 28, 2025
607e2db
Potential fix for code scanning alert no. 19: Incomplete regular expr…
Dargon789 Sep 29, 2025
036022c
Update issue templates (#64)
Dargon789 Sep 29, 2025
87893de
Potential fix for code scanning alert no. 17: Incomplete regular expr…
Dargon789 Sep 30, 2025
b6ab792
Update tag_and_release.yml
Dargon789 Sep 30, 2025
06175f4
Merge branch 'Uniswap:main' into Dargon789-patch-1
Dargon789 Oct 26, 2025
6b6c50e
Merge branch 'Uniswap:main' into Dargon789-patch-1
Dargon789 Nov 6, 2025
1609591
Potential fix for code scanning alert no. 21: Incomplete URL substrin…
Dargon789 Jan 19, 2026
f6b397f
Potential fix for code scanning alert no. 22: Incomplete URL substrin…
Dargon789 Jan 19, 2026
07f1000
Merge remote-tracking branch 'upstream/main' into Dargon789-patch-1
googleworkspace-bot Apr 17, 2026
2d7831a
Merge branch 'Uniswap:main' into Dargon789-hello-happy-puppy
Dargon789 May 28, 2026
9618b94
Merge branch 'Uniswap:main' into Dargon789-hello-happy-puppy
Dargon789 Jun 10, 2026
6d2b755
Merge branch 'Uniswap:main' into Dargon789-hello-happy-puppy
Dargon789 Jul 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/configuration-reference
version: 2.1

# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/jobs-steps/#jobs-overview & https://circleci.com/docs/configuration-reference/#jobs
jobs:
say-hello:
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/executor-intro/ & https://circleci.com/docs/configuration-reference/#executor-job
docker:
# Specify the version you desire here
# See: https://circleci.com/developer/images/image/cimg/base
- image: cimg/base:current

# Add steps to the job
# See: https://circleci.com/docs/jobs-steps/#steps-overview & https://circleci.com/docs/configuration-reference/#steps
steps:
# Checkout the code as the first step.
- checkout
- run:
name: "Say hello"
command: "echo Hello, World!"

# Orchestrate jobs using workflows
# See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows
workflows:
say-hello-workflow: # This is the name of the workflow, feel free to change it to better match your workflow.
# Inside the workflow, you define the jobs you want to run.
jobs:
- say-hello
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Bug Report
about: Report a bug or unexpected behavior in the Uniswap interfaces.
title: "[Bug] "
labels: bug
assignees: ''

---

## 📱 Interface Affected
Expand Down
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''

---


20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: 'enhancement'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
7 changes: 5 additions & 2 deletions .github/workflows/tag_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ on:
push:
branches:
- 'main'

permissions:
contents: write
issues: write
pull-requests: write
jobs:
deploy-to-prod:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -47,7 +50,7 @@ jobs:
- name: 🪽 Release
uses: actions/create-release@c9ba6969f07ed90fae07e2e66100dd03f9b1a50e
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Or use your PAT
with:
tag_name: ${{ steps.github-tag-action.outputs.new_tag }}
release_name: Release ${{ steps.github-tag-action.outputs.new_tag }}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/playwright/fixtures/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const test = base.extend<GraphqlFixture>({
}
}

await page.route(/(?:interface|beta).(gateway|api).uniswap.org\/v1\/graphql/, async (route) => {
await page.route(/(?:interface|beta)\.(gateway|api)\.uniswap\.org\/v1\/graphql/, async (route) => {
const request = route.request()
const postData = request.postData()
if (!postData) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,16 @@ beforeAll(() => {
})

vi.spyOn(document.head, 'appendChild').mockImplementation((node) => {
if (node instanceof HTMLScriptElement && node.src.includes('challenges.cloudflare.com')) {
let isTurnstileScript = false
if (node instanceof HTMLScriptElement && node.src) {
try {
const url = new URL(node.src, window.location.href)
isTurnstileScript = url.hostname === 'challenges.cloudflare.com'
} catch {
isTurnstileScript = false
}
}
if (isTurnstileScript) {
// Simulate script load immediately
setTimeout(() => {
// Set up the mock turnstile API
Expand Down Expand Up @@ -258,12 +267,20 @@ describe('Turnstile Solver Integration Tests', () => {
it('handles script loading failures', async () => {
// Mock script loading failure
vi.spyOn(document.head, 'appendChild').mockImplementationOnce((node) => {
if (node instanceof HTMLScriptElement && node.src.includes('challenges.cloudflare.com')) {
setTimeout(() => {
if (node.onerror) {
node.onerror({} as Event)
}
}, 0)
if (node instanceof HTMLScriptElement) {
let host: string | null = null
try {
host = new URL(node.src, window.location.href).host
} catch {
host = null
}
if (host === 'challenges.cloudflare.com') {
setTimeout(() => {
if (node.onerror) {
node.onerror({} as Event)
}
}, 0)
}
}
return node
})
Expand Down