Skip to content

chore: CHARTS-11006 Update examples to use parcel v2 package #105

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

Merged

Conversation

khanguslee
Copy link
Collaborator

Going through https://github.com/mongodb-js/charts-embed-sdk/security/dependabot most of these vulnerabilities come from dependencies of dependencies. As a start to resolve these, I've decided to update our parcel package from v1 to v2.

The steps to migrate parcel were taken from https://parceljs.org/getting-started/migration/

Each SDK example builds and runs correctly.

Unauthenticated dashboard example

Screenshot 2025-02-19 at 3 41 19 pm

Screenshot 2025-02-19 at 3 41 24 pm

Click event filtering example

Screenshot 2025-02-19 at 3 42 27 pm

Screenshot 2025-02-19 at 3 42 49 pm

Copy link
Collaborator

@giulianocelani giulianocelani left a comment

Choose a reason for hiding this comment

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

LGTM! I tested a few of the examples and they render as expected 👍

Copy link
Collaborator

@mongo-J mongo-J left a comment

Choose a reason for hiding this comment

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

LGTM 💯

@mongo-J mongo-J merged commit cbe154c into fix/CHARTS-10161-update-packages Feb 24, 2025
1 check passed
mongo-J pushed a commit that referenced this pull request Feb 24, 2025
* chore: Update react-scripts to 4.0.0

* chore: Run timeline example on node 17+

* chore: Use npm package aliasing to get around webpack v5 upgrade in react-scripts

* chore: CHARTS-11006 Update examples to use parcel v2 package (#105)

* chore: Update chart examples to use parcel v2 package

* chore: Ignore new parcel cache directory

* chore: Update dashboard examples to use parcel v2 package

* chore: Update chart examples to use parcel v2.13.3 package

* chore: Update dashboard examples to use parcel v2.13.3 package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants