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(deps): upgrade to storybook 7.6.4, preact 10.19.3, esbuild 0.19.9 #990

Merged
merged 7 commits into from
Dec 14, 2023

Conversation

connorjclark
Copy link
Collaborator

Needed for Node 18 (cuz of an issue with Webpack using now-removed crypto option).

@connorjclark
Copy link
Collaborator Author

storybook grabbed a newer version of esbuild (resulting in following error), so let's update that here too

Error: R] Could not resolve "url"

    ../utils/src/api-client.js:9:20:
      9 │ const URL = require('url').URL;
        ╵            

@connorjclark connorjclark changed the title chore(deps): upgrade to storybook 7.6.4 chore(deps): upgrade to storybook 7.6.4, preact 10.19.3, esbuild 0.19.9 Dec 14, 2023
const elements = [...document.querySelectorAll('#root, #root *')];
// Note: #storybook-root is made by storybook, #storybook-test-root is made by us in preview.jsx
// #storybook-root > #storybook-test-root > some_element_being_tested
const elements = [...document.querySelectorAll('#storybook-root, #storybook-root *')];
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

pretty sure storybook changed the padding/margin of their root element, hence the change in snapshot sizes

@@ -6,15 +6,14 @@
'use strict';

const log = require('debug')('lhci:utils:api-client');
const URL = require('url').URL;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

esbuild no longer likes this

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.

1 participant