-
Notifications
You must be signed in to change notification settings - Fork 7
More demo hotfix #1871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
More demo hotfix #1871
Conversation
✅ Deploy Preview for bundle-demo ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This hotfix streamlines configuration formatting across packages, adjusts TypeScript typesVersions, and cleans up the frictionless CAPTCHA demo HTML by removing duplicated markup and setting up explicit rendering.
- Unify
browserslistformatting in allpackage.jsonfiles - Simplify
typesVersionsarrays in the datasets package - Refactor
frictionless-implicit.htmldemo: remove duplicate sections, restructure script, and userender
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/procaptcha-react/package.json | Inline browserslist array formatting |
| packages/procaptcha-pow/package.json | Inline browserslist array formatting |
| packages/procaptcha-frictionless/package.json | Inline browserslist array formatting |
| packages/procaptcha-common/package.json | Inline browserslist array formatting |
| packages/procaptcha-bundle/package.json | Inline browserslist array formatting |
| packages/datasets/package.json | Simplify typesVersions to inline arrays |
| demos/client-bundle-example/src/frictionless-implicit.html | Remove duplicate HTML, consolidate scripts, use render |
| .changeset/odd-frogs-type.md | Add patch-level changeset for lint hotfix |
Comments suppressed due to low confidence (1)
demos/client-bundle-example/src/frictionless-implicit.html:33
- The inline onclick handler calls
onActionHandler(), but this function is not defined in the script, leading to a runtime error. Define the handler or remove the attribute.
<button type="button" class="mui-btn mui-btn--raised" onclick="onActionHandler()" data-cy="submit-button">Submit</button>
| <script type="module"> | ||
| // Pattern to avoid race condition between Procaptcha script loading and Procaptcha render function call | ||
| import { render } from "%VITE_BUNDLE_URL%" | ||
| import { render } from "%VITE_BUNDLE_URL%" // Replace with the actual bundle URL |
Copilot
AI
May 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Add a semicolon at the end of the import statement to follow consistent JavaScript syntax.
| import { render } from "%VITE_BUNDLE_URL%" // Replace with the actual bundle URL | |
| import { render } from "%VITE_BUNDLE_URL%"; // Replace with the actual bundle URL |
|
|
||
| window.updateCaptchaStatus('CAPTCHA render function called with widget ID: ' + widgetId, 'info'); | ||
|
|
||
| // The rest of this |
Copilot
AI
May 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] This comment appears incomplete and should be removed or clarified to avoid confusion.
| // The rest of this |
Pull request was converted to draft
1c78d0d to
c5a1e0e
Compare
No description provided.