Skip to content
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/vuln deps image focal point #9035

Merged
merged 9 commits into from
Oct 8, 2024

Conversation

david-shibley-contentful
Copy link
Contributor

@david-shibley-contentful david-shibley-contentful commented Oct 2, 2024

Purpose

EXT-5794

Approach

Testing steps

Breaking Changes

Dependencies and/or References

Deployment

@david-shibley-contentful david-shibley-contentful requested a review from a team as a code owner October 2, 2024 17:41
Copy link

netlify bot commented Oct 2, 2024

Deploy Preview for ecommerce-app-base-components canceled.

Name Link
🔨 Latest commit 489893a
🔍 Latest deploy log https://app.netlify.com/sites/ecommerce-app-base-components/deploys/67056b1c7541700008fdd623

"homepage": "."
"homepage": ".",
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.9.5"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious about this too since I've been having some weird rollup issues with optimizely and wondering if you were running into rollup stuff that this fixed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I was, this fixed it :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the error I was getting that this resolved was
Cannot find module @rollup/rollup-linux-x64-gnu

@@ -143,7 +143,7 @@ export class AppView extends Component {
<>
<div className={styles.background} />
<div className={styles.body}>
<Typography>
<React.Fragment>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking that React.Fragment is an old method that was replaced with just the empty brackets <></> so we probably don't need this? I think Typography was basically deprecated in Forma for the same reason, that we just use empty fragment tags now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can change 👍

@@ -1,9 +1,8 @@
import React from 'react';
import PropTypes from 'prop-types';
import ReactDOM from 'react-dom';
import { Note } from '@contentful/forma-36-react-components';
import { Note } from '@contentful/f36-components';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think one of the updates with note was the switch to use a generic variant prop instead of the component specific noteType prop. I didn't see that change in here and I'm figuring that's because this app isn't in typescript and so it didn't yell about it? But I wonder if the note's variant is actually being respected since we're passing in a deprecated prop.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to know! will fix

Copy link
Contributor

@sarahlessner sarahlessner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🥇

@david-shibley-contentful david-shibley-contentful merged commit 8da500c into master Oct 8, 2024
12 checks passed
@david-shibley-contentful david-shibley-contentful deleted the chore/vuln-deps-image-focal-point branch October 8, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants