-
Notifications
You must be signed in to change notification settings - Fork 150
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
chore: Remove Typeform vulnerable dependencies [EXT-5806] #8954
chore: Remove Typeform vulnerable dependencies [EXT-5806] #8954
Conversation
✅ Deploy Preview for ecommerce-app-base-components canceled.
|
add698a
to
4ac717e
Compare
765947e
to
b338107
Compare
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension. |
import { BASE_URL, CLIENT_ID } from '../constants'; | ||
|
||
interface Props { | ||
sdk?: AppExtensionSDK; | ||
expireSoon?: boolean; | ||
isFullWidth: boolean; | ||
buttonType?: 'primary' | 'positive' | 'negative' | 'muted' | 'naked' | undefined; | ||
buttonType?: 'primary' | 'positive' | 'negative' | 'secondary' | 'transparent' | undefined; |
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.
👍
@@ -2,6 +2,6 @@ const SDK_WINDOW_HEIGHT = 450; | |||
const BASE_URL = 'https://api.typeform.com'; | |||
|
|||
// TODO Move to env var | |||
const CLIENT_ID = 'HC3UDnoiaP1UCMqJ7kCAyTFdHrDt8nLtXx4BKRJxom2M'; | |||
const CLIENT_ID = '2vyzzT2AjqrtfWKmaigvZjF8oYwUXrJABmcS5WK4MPJg'; |
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.
is this intentional?
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.
Thanks actually I should move that back. There's some weird stuff in the instructions where this client ID is pointed to the prodcution app. but why is it just hardcoded like this in the first place? haha there's a TODO around moving stuff to env variables which seems like we should do that eventually but didn't yet. I'd also like to test this one better on staging before merging so let's chat about that later too.
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.
changed that back and ready for rereview @mgoudy91
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.
lgtm, qq on the client id
…-5806' of github.com:contentful/apps into chore/typeform-remove-react-scripts-emotion-forma36-EXT-5806
…n-forma36-EXT-5806
…n-forma36-EXT-5806
* replace react scripts with vite * updates jest with vi in tests * updates emotion * wip forma changes * wip forma changes * tests passing * update config * remove console logs * remove console logs * replace react scripts with vite * updates jest with vi in tests * updates emotion * wip forma changes * wip forma changes * tests passing * update config * remove console logs * remove console logs * undo change to constants * undo change to constants
)" This reverts commit 8e106fd.
Purpose
Replaces react-scripts with vite, remove emotion old library, remove old forma libraries