Vercel/main#267
Conversation
* feat: upgrade dotenv from 16.5.0 to 17.2.1
Snyk has created this PR to upgrade dotenv from 16.5.0 to 17.2.1.
See this package in npm:
dotenv
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/4388fe5d-2d25-43d1-bbc6-21a5137e1a6f?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
* Bump preact in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [preact](https://github.com/preactjs/preact).
Updates `preact` from 10.27.2 to 10.28.2
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.27.2...10.28.2)
---
updated-dependencies:
- dependency-name: preact
dependency-version: 10.28.2
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add Vercel Web Analytics to Next.js (#161)
Implemented Vercel Web Analytics for the Next.js playground application.
## Changes Made
### 1. Package Installation
- Installed `@vercel/analytics@^1.6.1` using `pnpm i @vercel/analytics`
- Updated `playgrounds/next/package.json` to include the new dependency
- Updated `pnpm-lock.yaml` with the locked version of the new dependency
### 2. Layout Configuration
- **File Modified**: `playgrounds/next/src/app/layout.tsx`
- Added import: `import { Analytics } from '@vercel/analytics/next'`
- Added `<Analytics />` component inside the `<body>` tag, after `<Providers>` component
- Properly positioned within the root layout to track all page visits
## Implementation Details
The project is a monorepo using pnpm as the package manager. I identified that:
- The Next.js application is located in `playgrounds/next/`
- It uses the App Router pattern (confirmed by presence of `src/app/` directory)
- Root layout file is at `playgrounds/next/src/app/layout.tsx`
The Analytics component has been correctly integrated into the layout to ensure it tracks all page views and user interactions across the application.
## Files Modified
1. `playgrounds/next/package.json` - Added @vercel/analytics dependency
2. `playgrounds/next/src/app/layout.tsx` - Added Analytics import and component
3. `pnpm-lock.yaml` - Updated lock file with new dependency
## Verification
- Syntax is correct TypeScript/JSX
- Component is properly imported from the correct @vercel/analytics/next package
- Placement inside body tag and after content ensures proper tracking
- No existing code structure was disrupted
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
* Add Vercel Web Analytics to Next.js
## Vercel Web Analytics Implementation Report
### Summary
Successfully verified and confirmed the implementation of Vercel Web Analytics for the Next.js application in the template-ethereum-contracts monorepo.
### Implementation Details
#### 1. Package Installation
- **Package**: `@vercel/analytics@^1.6.1`
- **Location**: `playgrounds/next/package.json`
- **Status**: ✅ Already installed
#### 2. App Router Configuration
- **Project Type**: App Router (Next.js 16.0.7)
- **Application Path**: `playgrounds/next/`
- **Root Layout File**: `playgrounds/next/src/app/layout.tsx`
#### 3. Analytics Component Integration
- **Import Statement**: `import { Analytics } from '@vercel/analytics/next'`
- **Component Placement**: Inside `<body>` tag, after `<Providers>` wrapper
- **Status**: ✅ Properly configured
```tsx
// Verification from playgrounds/next/src/app/layout.tsx
import { Analytics } from '@vercel/analytics/next'
// ...
export default async function RootLayout(props: { children: ReactNode }) {
// ...
return (
<html lang="en">
<body className={inter.className}>
<Providers initialState={initialState}>{props.children}</Providers>
<Analytics />
</body>
</html>
)
}
```
### Files Modified
1. **playgrounds/next/package.json**
- Added `@vercel/analytics@^1.6.1` to dependencies
2. **playgrounds/next/src/app/layout.tsx**
- Added Analytics import from `@vercel/analytics/next`
- Added `<Analytics />` component in the body
3. **pnpm-lock.yaml**
- Updated with the new dependency entry
### Verification Checklist
- ✅ Package is installed and available in dependencies
- ✅ Analytics component is correctly imported
- ✅ Component is placed in the root layout file
- ✅ Placement is inside `<body>` tag
- ✅ Positioned after children/content for proper tracking
- ✅ App Router pattern (app directory) confirmed
- ✅ Lock file updated with dependency
### Project Context
- **Framework**: Next.js 16.0.7 with App Router
- **Package Manager**: pnpm (version 10.22.0)
- **Project Type**: Monorepo containing Ethereum smart contract template with Next.js playground
- **Application**: React-based web3 playground with Wagmi integration
### Implementation Complete
The Vercel Web Analytics is fully configured and will track all page visits and user interactions across the application. The Analytics component is properly positioned in the root layout to ensure comprehensive coverage of all routes.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
* use a monorepo setup
* better support for mono repo
* readme
* fix README execution
* gitignore
* fix typo
* latest deps
* latest
* latest deps
* export src + use dist for artifacts and abi
* tweaks + better doc
* fix ts
* fix
* more doc
* add github action
* Add LICENSE file for public domain software
* add Environment type
* add abefore and after
* fixes
* update latest
* latest deps
* fix
* latest rocketh/hardhat-deploy
* Add Vercel Web Analytics to Next.js
## Vercel Web Analytics Implementation Report
### Summary
Successfully verified and confirmed the implementation of Vercel Web Analytics for the Next.js application in the template-ethereum-contracts monorepo.
### Implementation Details
#### 1. Package Installation
- **Package**: `@vercel/analytics@^1.6.1`
- **Location**: `playgrounds/next/package.json`
- **Status**: ✅ Already installed
#### 2. App Router Configuration
- **Project Type**: App Router (Next.js 16.0.7)
- **Application Path**: `playgrounds/next/`
- **Root Layout File**: `playgrounds/next/src/app/layout.tsx`
#### 3. Analytics Component Integration
- **Import Statement**: `import { Analytics } from '@vercel/analytics/next'`
- **Component Placement**: Inside `<body>` tag, after `<Providers>` wrapper
- **Status**: ✅ Properly configured
```tsx
// Verification from playgrounds/next/src/app/layout.tsx
import { Analytics } from '@vercel/analytics/next'
// ...
export default async function RootLayout(props: { children: ReactNode }) {
// ...
return (
<html lang="en">
<body className={inter.className}>
<Providers initialState={initialState}>{props.children}</Providers>
<Analytics />
</body>
</html>
)
}
```
### Files Modified
1. **playgrounds/next/package.json**
- Added `@vercel/analytics@^1.6.1` to dependencies
2. **playgrounds/next/src/app/layout.tsx**
- Added Analytics import from `@vercel/analytics/next`
- Added `<Analytics />` component in the body
3. **pnpm-lock.yaml**
- Updated with the new dependency entry
### Verification Checklist
- ✅ Package is installed and available in dependencies
- ✅ Analytics component is correctly imported
- ✅ Component is placed in the root layout file
- ✅ Placement is inside `<body>` tag
- ✅ Positioned after children/content for proper tracking
- ✅ App Router pattern (app directory) confirmed
- ✅ Lock file updated with dependency
### Project Context
- **Framework**: Next.js 16.0.7 with App Router
- **Package Manager**: pnpm (version 10.22.0)
- **Project Type**: Monorepo containing Ethereum smart contract template with Next.js playground
- **Application**: React-based web3 playground with Wagmi integration
### Implementation Complete
The Vercel Web Analytics is fully configured and will track all page visits and user interactions across the application. The Analytics component is properly positioned in the root layout to ensure comprehensive coverage of all routes.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
* Potential fix for code scanning alert no. 14: Insecure randomness
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* deploy_simple_erc20
* Potential fix for code scanning alert no. 22: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* latest
* slipyy fix
* latest deps
* format
* tweaks
* fork fixes
* hardhat-deploy 2.0.0
* @rocketh/node
* Update nodejs-tests.yml (#191)
https://github.com/Dargon789/foundry/commit/ae37c90c6b5d2959522a294f36162233d80a10c0
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update config.json (#190)
https://github.com/Dargon789/foundry/commit/ae37c90c6b5d2959522a294f36162233d80a10c0
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Bump the npm_and_yarn group across 1 directory with 2 updates (#189)
Bumps the npm_and_yarn group with 2 updates in the /playgrounds/next/hardhat-foundry directory: [bn.js](https://github.com/indutny/bn.js) and [hono](https://github.com/honojs/hono).
Updates `bn.js` from 5.2.2 to 5.2.3
- [Release notes](https://github.com/indutny/bn.js/releases)
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/indutny/bn.js/compare/v5.2.2...v5.2.3)
Updates `hono` from 4.11.8 to 4.12.3
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.11.8...v4.12.3)
---
updated-dependencies:
- dependency-name: bn.js
dependency-version: 5.2.3
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: hono
dependency-version: 4.12.3
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update dependency-review.yml (#192)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update octopusdeploy.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* @rocketh/node (#196)
* latest
* slipyy fix
* latest deps
* format
* tweaks
* fork fixes
* hardhat-deploy 2.0.0
* @rocketh/node
---------
Co-authored-by: wighawag <wighawag@gmail.com>
* Snyk upgrade fff2ad698a054148e8349ead34eaca5e (#197)
* Bump @openzeppelin/contracts from 4.9.2 to 4.9.6
Bumps [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) from 4.9.2 to 4.9.6.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts/releases)
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/OpenZeppelin/openzeppelin-contracts/compare/v4.9.2...v4.9.6)
---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts"
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump undici from 5.22.1 to 5.28.3
Bumps [undici](https://github.com/nodejs/undici) from 5.22.1 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.22.1...v5.28.3)
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump follow-redirects from 1.15.2 to 1.15.6
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.6)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump ws in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [ws](https://github.com/websockets/ws).
Updates `ws` from 7.5.9 to 7.5.10
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10)
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
* Create SECURITY.md (#5)
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Add .circleci/config.yml (#6)
* fix: upgrade @rocketh/export from 0.10.15 to 0.11.17
Snyk has created this PR to upgrade @rocketh/export from 0.10.15 to 0.11.17.
See this package in npm:
@rocketh/export
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade rocketh from 0.10.18 to 0.11.17
Snyk has created this PR to upgrade rocketh from 0.10.18 to 0.11.17.
See this package in npm:
rocketh
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade @rocketh/deploy from 0.10.7 to 0.11.17
Snyk has created this PR to upgrade @rocketh/deploy from 0.10.7 to 0.11.17.
See this package in npm:
@rocketh/deploy
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
* feat: upgrade vitest from 1.6.1 to 3.1.1
Snyk has created this PR to upgrade vitest from 1.6.1 to 3.1.1.
See this package in npm:
vitest
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
* Create nuxtjs.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Create jekyll-gh-pages.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Create nextjs.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* fix: upgrade set-defaults from 0.0.2 to 0.0.5
Snyk has created this PR to upgrade set-defaults from 0.0.2 to 0.0.5.
See this package in npm:
set-defaults
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
* Create dependency-review.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Create docker-image.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 1: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* fix: upgrade eip-1193 from 0.5.0 to 0.6.3
Snyk has created this PR to upgrade eip-1193 from 0.5.0 to 0.6.3.
See this package in npm:
eip-1193
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade @rocketh/verifier from 0.10.15 to 0.11.17 (#17)
Snyk has created this PR to upgrade @rocketh/verifier from 0.10.15 to 0.11.17.
See this package in npm:
@rocketh/verifier
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
* fix: upgrade @rocketh/deploy from 0.11.17 to 0.11.18 (#23)
Snyk has created this PR to upgrade @rocketh/deploy from 0.11.17 to 0.11.18.
See this package in npm:
@rocketh/deploy
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
* Update package.json
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Delete .github/workflows/docker-image.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* fix: upgrade @rocketh/doc from 0.10.12 to 0.11.17
Snyk has created this PR to upgrade @rocketh/doc from 0.10.12 to 0.11.17.
See this package in npm:
@rocketh/doc
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
* Create docker-publish.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* feat: upgrade vitest from 1.6.1 to 3.1.3 (#29)
Snyk has created this PR to upgrade vitest from 1.6.1 to 3.1.3.
See this package in npm:
vitest
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
* Create Dockerfile
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* [Snyk] Upgrade @rocketh/deploy from 0.10.7 to 0.11.20 (#30)
* fix: upgrade @rocketh/deploy from 0.10.7 to 0.11.20
Snyk has created this PR to upgrade @rocketh/deploy from 0.10.7 to 0.11.20.
See this package in npm:
@rocketh/deploy
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/4388fe5d-2d25-43d1-bbc6-21a5137e1a6f?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
* Update docker-publish.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update docker-publish.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: snyk-io[bot] <141718529+snyk-io[bot]@users.noreply.github.com>
Co-authored-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update docker-publish.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update Dockerfile
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* fix: package.json & .snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:semver:20150403
* Update package.json
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* feat: upgrade prettier-plugin-solidity from 1.4.3 to 2.0.0
Snyk has created this PR to upgrade prettier-plugin-solidity from 1.4.3 to 2.0.0.
See this package in npm:
prettier-plugin-solidity
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/4388fe5d-2d25-43d1-bbc6-21a5137e1a6f?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
* fix: upgrade @rocketh/deploy-proxy from 0.10.13 to 0.11.1
Snyk has created this PR to upgrade @rocketh/deploy-proxy from 0.10.13 to 0.11.1.
See this package in npm:
@rocketh/deploy-proxy
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
* Create foundry-toolchain@v1
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update nextjs.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update nuxtjs.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update nuxtjs.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Create Travis CI
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Create GitLab CI
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* fix update && add config forge update
* Delete .github/workflows/GitLab CI
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Delete .github/workflows/nuxtjs.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Create nodejs-tests.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 3: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update GreetingsRegistry.t.sol
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Delete .github/workflows/test.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update nodejs-tests.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update nodejs-tests.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Add files via upload
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update nodejs-tests.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Delete .github/workflows/Travis CI (#57)
* my-contracts-cb
* Bump the npm_and_yarn group across 1 directory with 8 updates
Bumps the npm_and_yarn group with 1 update in the / directory: [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts).
Updates `@openzeppelin/contracts` from 4.9.2 to 4.9.6
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts/releases)
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/OpenZeppelin/openzeppelin-contracts/compare/v4.9.2...v4.9.6)
Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)
Updates `elliptic` from 6.5.4 to 6.6.1
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.4...v6.6.1)
Updates `flat` from 4.1.1 to 5.0.2
- [Release notes](https://github.com/hughsk/flat/releases)
- [Commits](https://github.com/hughsk/flat/compare/4.1.1...5.0.2)
Updates `follow-redirects` from 1.15.2 to 1.15.9
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.9)
Updates `serialize-javascript` from 6.0.0 to 6.0.2
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v6.0.0...v6.0.2)
Updates `undici` from 5.22.1 to 5.29.0
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.22.1...v5.29.0)
Updates `ws` from 7.4.6 to 7.5.10
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.6...7.5.10)
---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts"
dependency-version: 4.9.6
dependency-type: direct:development
dependency-group: npm_and_yarn
- dependency-name: braces
dependency-version: 3.0.3
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: elliptic
dependency-version: 6.6.1
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: flat
dependency-version: 5.0.2
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: follow-redirects
dependency-version: 1.15.9
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: serialize-javascript
dependency-version: 6.0.2
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: undici
dependency-version: 5.29.0
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: ws
dependency-version: 7.5.10
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
* feat: upgrade chai from 4.5.0 to 5.2.0 (#67)
Snyk has created this PR to upgrade chai from 4.5.0 to 5.2.0.
See this package in npm:
chai
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/4388fe5d-2d25-43d1-bbc6-21a5137e1a6f?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-io[bot] <141718529+snyk-io[bot]@users.noreply.github.com>
* feat: upgrade prettier from 2.8.8 to 3.5.3 (#64)
Snyk has created this PR to upgrade prettier from 2.8.8 to 3.5.3.
See this package in npm:
prettier
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/4388fe5d-2d25-43d1-bbc6-21a5137e1a6f?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-io[bot] <141718529+snyk-io[bot]@users.noreply.github.com>
* feat: upgrade hardhat-gas-reporter from 1.0.10 to 2.2.3 (#65)
Snyk has created this PR to upgrade hardhat-gas-reporter from 1.0.10 to 2.2.3.
See this package in npm:
hardhat-gas-reporter
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/4388fe5d-2d25-43d1-bbc6-21a5137e1a6f?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-io[bot] <141718529+snyk-io[bot]@users.noreply.github.com>
* feat: upgrade @openzeppelin/contracts from 4.9.6 to 5.3.0 (#66)
Snyk has created this PR to upgrade @openzeppelin/contracts from 4.9.6 to 5.3.0.
See this package in npm:
@openzeppelin/contracts
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/4388fe5d-2d25-43d1-bbc6-21a5137e1a6f?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-io[bot] <141718529+snyk-io[bot]@users.noreply.github.com>
* Update config.yml (#81)
* Update config.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update .circleci/config.yml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Bump the npm_and_yarn group across 1 directory with 1 update (#83)
Bumps the npm_and_yarn group with 1 update in the / directory: [form-data](https://github.com/form-data/form-data).
Updates `form-data` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.3...v4.0.4)
Updates `form-data` from 2.5.3 to 4.0.4
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.3...v4.0.4)
---
updated-dependencies:
- dependency-name: form-data
dependency-version: 4.0.4
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: form-data
dependency-version: 4.0.4
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: upgrade dotenv from 16.5.0 to 17.2.1
Snyk has created this PR to upgrade dotenv from 16.5.0 to 17.2.1.
See this package in npm:
dotenv
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/4388fe5d-2d25-43d1-bbc6-21a5137e1a6f?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
* deploy_simple_erc20
* Potential fix for code scanning alert no. 22: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* @rocketh/node (#196)
* latest
* slipyy fix
* latest deps
* format
* tweaks
* fork fixes
* hardhat-deploy 2.0.0
* @rocketh/node
---------
Co-authored-by: wighawag <wighawag@gmail.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: snyk-io[bot] <141718529+snyk-io[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: wighawag <wighawag@gmail.com>
* Update .github/README.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 2 updates in the /playgrounds/next/hardhat-foundry directory: [hono](https://github.com/honojs/hono) and [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser).
Updates `hono` from 4.12.3 to 4.12.5
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.3...v4.12.5)
Updates `fast-xml-parser` from 5.2.5 to 5.4.1
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.2.5...v5.4.1)
---
updated-dependencies:
- dependency-name: hono
dependency-version: 4.12.5
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: fast-xml-parser
dependency-version: 5.4.1
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
* loadEnvironmentFromFiles
* use auto-compilation
* fix
* update
* slippy
* fix node:local
* format
* fix contracts
* Bump the npm_and_yarn group across 2 directories with 6 updates
Bumps the npm_and_yarn group with 1 update in the / directory: [picomatch](https://github.com/micromatch/picomatch).
Bumps the npm_and_yarn group with 5 updates in the /playgrounds/next/hardhat-foundry directory:
| Package | From | To |
| --- | --- | --- |
| [picomatch](https://github.com/micromatch/picomatch) | `2.3.1` | `2.3.2` |
| [h3](https://github.com/h3js/h3) | `1.15.5` | `1.15.10` |
| [hono](https://github.com/honojs/hono) | `4.12.3` | `4.12.9` |
| [socket.io-parser](https://github.com/socketio/socket.io) | `4.2.4` | `4.2.6` |
| [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) | `5.2.5` | `5.5.8` |
Updates `picomatch` from 3.0.1 to 3.0.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/3.0.1...3.0.2)
Updates `serialize-javascript` from 6.0.2 to 7.0.4
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v6.0.2...v7.0.4)
Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/3.0.1...3.0.2)
Updates `h3` from 1.15.5 to 1.15.10
- [Release notes](https://github.com/h3js/h3/releases)
- [Changelog](https://github.com/h3js/h3/blob/v1.15.10/CHANGELOG.md)
- [Commits](https://github.com/h3js/h3/compare/v1.15.5...v1.15.10)
Updates `hono` from 4.12.3 to 4.12.9
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.3...v4.12.9)
Updates `socket.io-parser` from 4.2.4 to 4.2.6
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io-parser@4.2.4...socket.io-parser@4.2.6)
Updates `fast-xml-parser` from 5.2.5 to 5.5.8
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.2.5...v5.5.8)
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 3.0.2
dependency-type: direct:production
dependency-group: npm_and_yarn
- dependency-name: serialize-javascript
dependency-version: 7.0.4
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: picomatch
dependency-version: 2.3.2
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: h3
dependency-version: 1.15.10
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: hono
dependency-version: 4.12.9
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: socket.io-parser
dependency-version: 4.2.6
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: fast-xml-parser
dependency-version: 5.5.8
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
* better proxy mechanics
* Bump the npm_and_yarn group across 2 directories with 11 updates
Bumps the npm_and_yarn group with 2 updates in the / directory: [picomatch](https://github.com/micromatch/picomatch) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).
Bumps the npm_and_yarn group with 10 updates in the /playgrounds/next/hardhat-foundry directory:
| Package | From | To |
| --- | --- | --- |
| [picomatch](https://github.com/micromatch/picomatch) | `2.3.1` | `2.3.2` |
| [axios](https://github.com/axios/axios) | `1.13.5` | `1.15.0` |
| [defu](https://github.com/unjs/defu) | `6.1.4` | `6.1.7` |
| [h3](https://github.com/h3js/h3) | `1.15.5` | `1.15.11` |
| [hono](https://github.com/honojs/hono) | `4.12.3` | `4.12.12` |
| [lodash](https://github.com/lodash/lodash) | `4.17.23` | `4.18.1` |
| [socket.io-parser](https://github.com/socketio/socket.io) | `4.2.4` | `4.2.6` |
| [yaml](https://github.com/eemeli/yaml) | `1.10.2` | `1.10.3` |
| [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) | `5.2.5` | `5.5.8` |
| [handlebars](https://github.com/handlebars-lang/handlebars.js) | `4.7.8` | `4.7.9` |
Updates `picomatch` from 3.0.1 to 3.0.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/3.0.1...3.0.2)
Updates `vite` from 7.2.2 to 7.3.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.3.2/packages/vite)
Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/3.0.1...3.0.2)
Updates `axios` from 1.13.5 to 1.15.0
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.13.5...v1.15.0)
Updates `defu` from 6.1.4 to 6.1.7
- [Release notes](https://github.com/unjs/defu/releases)
- [Changelog](https://github.com/unjs/defu/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unjs/defu/compare/v6.1.4...v6.1.7)
Updates `h3` from 1.15.5 to 1.15.11
- [Release notes](https://github.com/h3js/h3/releases)
- [Changelog](https://github.com/h3js/h3/blob/v1.15.11/CHANGELOG.md)
- [Commits](https://github.com/h3js/h3/compare/v1.15.5...v1.15.11)
Updates `hono` from 4.12.3 to 4.12.12
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.3...v4.12.12)
Updates `lodash` from 4.17.23 to 4.18.1
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)
Updates `socket.io-parser` from 4.2.4 to 4.2.6
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io-parser@4.2.4...socket.io-parser@4.2.6)
Updates `yaml` from 1.10.2 to 1.10.3
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v1.10.2...v1.10.3)
Updates `fast-xml-parser` from 5.2.5 to 5.5.8
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.2.5...v5.5.8)
Updates `handlebars` from 4.7.8 to 4.7.9
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.9/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.8...v4.7.9)
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 3.0.2
dependency-type: direct:production
dependency-group: npm_and_yarn
- dependency-name: vite
dependency-version: 7.3.2
dependency-type: direct:production
dependency-group: npm_and_yarn
- dependency-name: picomatch
dependency-version: 2.3.2
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: axios
dependency-version: 1.15.0
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: defu
dependency-version: 6.1.7
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: h3
dependency-version: 1.15.11
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: hono
dependency-version: 4.12.12
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: lodash
dependency-version: 4.18.1
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: socket.io-parser
dependency-version: 4.2.6
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: yaml
dependency-version: 1.10.3
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: fast-xml-parser
dependency-version: 5.5.8
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: handlebars
dependency-version: 4.7.9
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
* Revert "Merge branch 'master' of https://github.com/Dargon789/template-ethereum-contracts"
This reverts commit 5b9d88712c2146f71b435b00498c44bdca6fbc12, reversing
changes made to 5bd68f58df6b5dc26d2351921f5dde839deea4bb.
* Master (#201)
* Add Vercel Web Analytics to Next.js (#161)
Implemented Vercel Web Analytics for the Next.js playground application.
## Changes Made
### 1. Package Installation
- Installed `@vercel/analytics@^1.6.1` using `pnpm i @vercel/analytics`
- Updated `playgrounds/next/package.json` to include the new dependency
- Updated `pnpm-lock.yaml` with the locked version of the new dependency
### 2. Layout Configuration
- **File Modified**: `playgrounds/next/src/app/layout.tsx`
- Added import: `import { Analytics } from '@vercel/analytics/next'`
- Added `<Analytics />` component inside the `<body>` tag, after `<Providers>` component
- Properly positioned within the root layout to track all page visits
## Implementation Details
The project is a monorepo using pnpm as the package manager. I identified that:
- The Next.js application is located in `playgrounds/next/`
- It uses the App Router pattern (confirmed by presence of `src/app/` directory)
- Root layout file is at `playgrounds/next/src/app/layout.tsx`
The Analytics component has been correctly integrated into the layout to ensure it tracks all page views and user interactions across the application.
## Files Modified
1. `playgrounds/next/package.json` - Added @vercel/analytics dependency
2. `playgrounds/next/src/app/layout.tsx` - Added Analytics import and component
3. `pnpm-lock.yaml` - Updated lock file with new dependency
## Verification
- Syntax is correct TypeScript/JSX
- Component is properly imported from the correct @vercel/analytics/next package
- Placement inside body tag and after content ensures proper tracking
- No existing code structure was disrupted
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
* Add Vercel Web Analytics to Next.js
## Vercel Web Analytics Implementation Report
### Summary
Successfully verified and confirmed the implementation of Vercel Web Analytics for the Next.js application in the template-ethereum-contracts monorepo.
### Implementation Details
#### 1. Package Installation
- **Package**: `@vercel/analytics@^1.6.1`
- **Location**: `playgrounds/next/package.json`
- **Status**: ✅ Already installed
#### 2. App Router Configuration
- **Project Type**: App Router (Next.js 16.0.7)
- **Application Path**: `playgrounds/next/`
- **Root Layout File**: `playgrounds/next/src/app/layout.tsx`
#### 3. Analytics Component Integration
- **Import Statement**: `import { Analytics } from '@vercel/analytics/next'`
- **Component Placement**: Inside `<body>` tag, after `<Providers>` wrapper
- **Status**: ✅ Properly configured
```tsx
// Verification from playgrounds/next/src/app/layout.tsx
import { Analytics } from '@vercel/analytics/next'
// ...
export default async function RootLayout(props: { children: ReactNode }) {
// ...
return (
<html lang="en">
<body className={inter.className}>
<Providers initialState={initialState}>{props.children}</Providers>
<Analytics />
</body>
</html>
)
}
```
### Files Modified
1. **playgrounds/next/package.json**
- Added `@vercel/analytics@^1.6.1` to dependencies
2. **playgrounds/next/src/app/layout.tsx**
- Added Analytics import from `@vercel/analytics/next`
- Added `<Analytics />` component in the body
3. **pnpm-lock.yaml**
- Updated with the new dependency entry
### Verification Checklist
- ✅ Package is installed and available in dependencies
- ✅ Analytics component is correctly imported
- ✅ Component is placed in the root layout file
- ✅ Placement is inside `<body>` tag
- ✅ Positioned after children/content for proper tracking
- ✅ App Router pattern (app directory) confirmed
- ✅ Lock file updated with dependency
### Project Context
- **Framework**: Next.js 16.0.7 with App Router
- **Package Manager**: pnpm (version 10.22.0)
- **Project Type**: Monorepo containing Ethereum smart contract template with Next.js playground
- **Application**: React-based web3 playground with Wagmi integration
### Implementation Complete
The Vercel Web Analytics is fully configured and will track all page visits and user interactions across the application. The Analytics component is properly positioned in the root layout to ensure comprehensive coverage of all routes.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
* Add Vercel Web Analytics to Next.js
## Vercel Web Analytics Implementation Report
### Summary
Successfully verified and confirmed the implementation of Vercel Web Analytics for the Next.js application in the template-ethereum-contracts monorepo.
### Implementation Details
#### 1. Package Installation
- **Package**: `@vercel/analytics@^1.6.1`
- **Location**: `playgrounds/next/package.json`
- **Status**: ✅ Already installed
#### 2. App Router Configuration
- **Project Type**: App Router (Next.js 16.0.7)
- **Application Path**: `playgrounds/next/`
- **Root Layout File**: `playgrounds/next/src/app/layout.tsx`
#### 3. Analytics Component Integration
- **Import Statement**: `import { Analytics } from '@vercel/analytics/next'`
- **Component Placement**: Inside `<body>` tag, after `<Providers>` wrapper
- **Status**: ✅ Properly configured
```tsx
// Verification from playgrounds/next/src/app/layout.tsx
import { Analytics } from '@vercel/analytics/next'
// ...
export default async function RootLayout(props: { children: ReactNode }) {
// ...
return (
<html lang="en">
<body className={inter.className}>
<Providers initialState={initialState}>{props.children}</Providers>
<Analytics />
</body>
</html>
)
}
```
### Files Modified
1. **playgrounds/next/package.json**
- Added `@vercel/analytics@^1.6.1` to dependencies
2. **playgrounds/next/src/app/layout.tsx**
- Added Analytics import from `@vercel/analytics/next`
- Added `<Analytics />` component in the body
3. **pnpm-lock.yaml**
- Updated with the new dependency entry
### Verification Checklist
- ✅ Package is installed and available in dependencies
- ✅ Analytics component is correctly imported
- ✅ Component is placed in the root layout file
- ✅ Placement is inside `<body>` tag
- ✅ Positioned after children/content for proper tracking
- ✅ App Router pattern (app directory) confirmed
- ✅ Lock file updated with dependency
### Project Context
- **Framework**: Next.js 16.0.7 with App Router
- **Package Manager**: pnpm (version 10.22.0)
- **Project Type**: Monorepo containing Ethereum smart contract template with Next.js playground
- **Application**: React-based web3 playground with Wagmi integration
### Implementation Complete
The Vercel Web Analytics is fully configured and will track all page visits and user interactions across the application. The Analytics component is properly positioned in the root layout to ensure comprehensive coverage of all routes.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
* Potential fix for code scanning alert no. 14: Insecure randomness
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/README.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Revert "Merge branch 'master' of https://github.com/Dargon789/template-ethereum-contracts"
This reverts commit 5b9d88712c2146f71b435b00498c44bdca6fbc12, reversing
changes made to 5bd68f58df6b5dc26d2351921f5dde839deea4bb.
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: googleworkspace-bot <googleworkspace-bot@google.com>
* workspace.xml
* Revert "workspace.xml"
This reverts commit bbe20b082784248293b10c7fd85570ea143d9281.
* feact update contracts format
* Vercel/main web (#226)
* fix: upgrade as-soon from 0.0.9 to 0.0.11
Snyk has created this PR to upgrade as-soon from 0.0.9 to 0.0.11.
See this package in npm:
as-soon
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/352c5705-8f97-4d45-a7d5-3ed1706adf0e?utm_source=github&utm_medium=referral&page=upgrade-pr
* Update docker-image.yml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update GreetingsRegistry.t.sol
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* my-contracts-cb (#69)
* Update package.json
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update package.json
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update pnpm-lock.yaml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Create config.yml (#77)
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Circleci project setup (#79)
* my-contracts-cb (#69)
* Update package.json
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update pnpm-lock.yaml
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* update deps
* Create config.yml (#77)
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: wighawag <wighawag@gmail.com>
* Update my-ethereum-contracts/hardhat.config.ts
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update my-ethereum-contracts/utils/network.ts
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 2: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update nodejs-tests.yml (#82)
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* feat: upgrade mocha from 10.8.2 to 11.7.1
Snyk has created this PR to upgrade mocha from 10.8.2 to 11.7.1.
See this package in npm:
mocha
See this project in Snyk:
https://app.snyk.io/org/dargon789/project/4388fe5d-2d25-43d1-bbc6-21a5137e1a6f?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
* Create hardhat-project.yml (#94)
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update config.yml (#95)
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Update package.json (#96)
Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
* Delete my-ethereum-contracts directory
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Remove unnecessary blank lines in hardhat.config.ts
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Delete template-ethereum-contracts-main.zip
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Rename foundry-toolchain@v1 to foundry-toolchain@v1.yml (#108)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update IERC2612.sol (#109)
Enhancements:
Streamline IERC2612.sol by inlining the empty interface declaration and deleting unnecessary whitespace
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Fix formatting and add DOMAIN_SEPARATOR function (#110)
Clean up formatting in IERC2612Standalone interface and convert the DOMAIN_SEPARATOR declaration into a stub with an empty body
Enhancements:
Remove unnecessary blank lines and adjust indentation in IERC2612Standalone.sol
Add an empty function body to the DOMAIN_SEPARATOR declaration
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Revise README for EVM smart contract development (#111)
* Revise README for EVM smart contract development
Updated README to reflect changes in project structure and commands.
Revise the README to reflect the new EVM smart contract template structure, consolidate workflows under pnpm, and add modern usage and setup instructions.
Documentation:
Refactor project description to position it as an EVM-based smart contract template using Hardhat v3 and hardhat-deploy v2
Replace Yarn-based commands with pnpm equivalents for compile, test, watch, deploy, and script execution
Remove outdated dapptools and forge instructions and consolidate testing guidance under Hardhat
Add sections for executing scripts on local and remote networks, including forked environments
Introduce Zellij integration with provided layout and a start script for a unified dev environment
Include an initial setup section covering Node.js, pnpm installation, and dependency bootstrapping
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update hardhat-project.yml (#112)
Enhance CircleCI configuration by expanding the web3-defi-game-project job to include deploy planning and status update steps
Enhancements:
Replace placeholder echo step with explicit no-op in the web3-defi-game-project job
Add a deploy planning step using circleci run release plan
Add steps to update release status to SUCCESS on success and to FAILED on failure
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update and rename hardhat-project.yml to ci-web3-gamefi.yml (#116)
Rename and revamp CircleCI configuration to use version 2.1, define a custom executor with Docker Hub auth, and add a web3-defi-game-project job and workflow
Build:
Rename CI config file from hardhat-project.yml to ci-web3-gamefi.yml
Upgrade CircleCI config schema to version 2.1
CI:
Add custom executor with Docker Hub authentication
Introduce web3-defi-game-project job with checkout step
Configure my-custom-workflow to run the new job
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 1 update in the / directory: [axios](https://github.com/axios/axios).
Updates `axios` from 0.21.4 to 1.13.2
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.4...v1.13.2)
Updates `form-data` from 2.5.3 to 4.0.4
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v2.5.3...v4.0.4)
---
updated-dependencies:
- dependency-name: axios
dependency-version: 1.13.2
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: form-data
dependency-version: 4.0.4
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update jekyll-gh-pages.yml (#122)
CI:
Change the Jekyll GitHub Pages workflow trigger to run on pushes to the master branch.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Delete .github/workflows/foundry-toolchain@v1.yml (#124)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Bump js-yaml in the npm_and_yarn group across 1 directory (#123)
Bumps the npm_and_yarn group with 1 update in the / directory: [js-yaml](https://github.com/nodeca/js-yaml).
Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)
---
updated-dependencies:
- dependency-name: js-yaml
dependency-version: 4.1.1
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update jekyll-gh-pages.yml (#125)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* wagmi-demo-dapp
wagmi demo dapp Template to develop ethereum smart contracts
* Potential fix for code scanning alert no. 14: Insecure randomness
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 6: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 7: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 8: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 9: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 11: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 12: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* wagmi-dev-dapp
A template for EVM-based smart contract development
A template for developing EVM smart contract using hardhat (v3) and hardhat-deploy (v2)
* Create nextjs.yml (#141)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 6: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 7: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 8: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 9: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 11: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 13: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 14: Insecure randomness
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* playgrounds template
playgrounds template for hardhat (v3) and hardhat-deploy (v2)
* wagmi-dev
* playgrounds-template
playgrounds\template for hardhat (v3) and hardhat-deploy (v2)
* Update package.json
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .changeset/config.json
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* old template
* Update issue templates (#149)
* Update issue templates
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/custom.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/custom.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/feature_request.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Bump the npm_and_yarn group across 4 directories with 5 updates (#146)
Bumps the npm_and_yarn group with 1 update in the /packages/connectors directory: [@metamask/sdk](https://github.com/MetaMask/metamask-sdk/tree/HEAD/packages/sdk).
Bumps the npm_and_yarn group with 1 update in the /packages/create-wagmi/templates/next directory: [next](https://github.com/vercel/next.js).
Bumps the npm_and_yarn group with 1 update in the /playgrounds/next directory: [next](https://github.com/vercel/next.js).
Bumps the npm_and_yarn group with 3 updates in the /playgrounds/next/hardhat-foundry directory: [h3](https://github.com/h3js/h3), [hono](https://github.com/honojs/hono) and [preact](https://github.com/preactjs/preact).
Updates `@metamask/sdk` from 0.32.1 to 0.33.1
- [Release notes](https://github.com/MetaMask/metamask-sdk/releases)
- [Changelog](https://github.com/MetaMask/metamask-sdk/blob/main/packages/sdk/CHANGELOG.md)
- [Commits](https://github.com/MetaMask/metamask-sdk/commits/@metamask/sdk@0.33.1/packages/sdk)
Updates `@metamask/sdk` from 0.32.1 to 0.33.1
- [Release notes](https://github.com/MetaMask/metamask-sdk/releases)
- [Changelog](https://github.com/MetaMask/metamask-sdk/blob/main/packages/sdk/CHANGELOG.md)
- [Commits](https://github.com/MetaMask/metamask-sdk/commits/@metamask/sdk@0.33.1/packages/sdk)
Updates `next` from 15.2.4 to 15.4.10
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.2.4...v15.4.10)
Updates `next` from 15.2.4 to 15.4.10
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.2.4...v15.4.10)
Updates `next` from 15.3.3 to 15.4.10
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.2.4...v15.4.10)
Updates `next` from 15.3.3 to 15.4.10
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.2.4...v15.4.10)
Updates `h3` from 1.15.4 to 1.15.5
- [Release notes]…
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Sorry @Dargon789, your pull request is larger than the review limit of 150000 diff characters
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
Code Review
This pull request updates various development dependencies, removes linting exclusions for test files, and refines visibility and comments within the GreetingsRegistry contracts. A critical security concern was identified in the GreetingsRegistry's message shifting logic, where copying structs with dynamic strings between storage slots creates a gas-intensive griefing vulnerability. To address this, the reviewer suggests refactoring the registry to use a doubly linked list or implementing strict string length limits.
I am having trouble creating individual review comments. Click here to see my feedback.
contracts/src/GreetingsRegistry/GreetingsRegistry.sol (104)
The "shifting" logic described here involves copying the entire MessagePointer struct from one storage slot to another. Because this struct contains a dynamic string, this operation is extremely gas-intensive.
This implementation introduces a griefing vulnerability: an attacker can post a message with a very large string. Any user whose message is subsequently positioned as the "successor" to the attacker's message in the global linked list will be forced to pay the gas cost of copying that large string whenever they update their own message. In extreme cases, this could lead to gas exhaustion, preventing users from updating their greetings.
Consider refactoring the registry to use a doubly linked list, which would allow for O(1) removal by updating pointers instead of shifting data. Alternatively, enforcing a strict length limit on the message string would mitigate the impact.
Description
Concise description of proposed changes
Additional Information
Your ENS/address: