-
Notifications
You must be signed in to change notification settings - Fork 78
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): bump acorn from 5.6.2 to 5.7.4 #1008
Conversation
Bumps [acorn](https://github.com/acornjs/acorn) from 5.6.2 to 5.7.4. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](acornjs/acorn@5.6.2...5.7.4) Signed-off-by: dependabot[bot] <support@github.com>
Deploy preview for carbon-addons-iot-react ready! Built with commit feaf3ae https://deploy-preview-1008--carbon-addons-iot-react.netlify.com |
Quite a few important dependencies rely on this and Output from yarn why v1.12.3
[1/4] 🤔 Why do we have the module "acorn"...?
[2/4] 🚚 Initialising dependency graph...
[3/4] 🔍 Finding dependency...
[4/4] 🚡 Calculating file sizes...
=> Found "acorn@6.0.5"
info Has been hoisted to "acorn"
info Reasons this module exists
- Hoisted from "rollup#acorn"
- Hoisted from "jsdom#acorn-globals#acorn"
- Hoisted from "eslint#espree#acorn"
info Disk size without dependencies: "1.07MB"
info Disk size with unique dependencies: "1.07MB"
info Disk size with transitive dependencies: "1.07MB"
info Number of shared dependencies: 0
=> Found "webpack#acorn@5.7.3"
info This module exists because "webpack" depends on it.
info Disk size without dependencies: "588KB"
info Disk size with unique dependencies: "588KB"
info Disk size with transitive dependencies: "588KB"
info Number of shared dependencies: 0
=> Found "rollup-plugin-node-globals#acorn@5.7.3"
info This module exists because "rollup-plugin-node-globals" depends on it.
info Disk size without dependencies: "588KB"
info Disk size with unique dependencies: "588KB"
info Disk size with transitive dependencies: "588KB"
info Number of shared dependencies: 0
=> Found "jsdom#acorn@7.1.0"
info This module exists because "jsdom" depends on it.
info Disk size without dependencies: "1.08MB"
info Disk size with unique dependencies: "1.08MB"
info Disk size with transitive dependencies: "1.08MB"
info Number of shared dependencies: 0
=> Found "acorn-dynamic-import#acorn@5.6.2"
info This module exists because "webpack#acorn-dynamic-import" depends on it.
info Disk size without dependencies: "588KB"
info Disk size with unique dependencies: "588KB"
info Disk size with transitive dependencies: "588KB"
info Number of shared dependencies: 0
=> Found "@storybook/react#acorn@6.4.0"
info Reasons this module exists
- "@storybook#react#webpack" depends on it
- Hoisted from "@storybook#react#webpack#acorn"
info Disk size without dependencies: "1.08MB"
info Disk size with unique dependencies: "1.08MB"
info Disk size with transitive dependencies: "1.08MB"
info Number of shared dependencies: 0
=> Found "@storybook/core#acorn@6.4.0"
info Reasons this module exists
- "@storybook#addon-storyshots#@storybook#core#webpack" depends on it
- Hoisted from "@storybook#addon-storyshots#@storybook#core#webpack#acorn"
info Disk size without dependencies: "1.08MB"
info Disk size with unique dependencies: "1.08MB"
info Disk size with transitive dependencies: "1.08MB"
info Number of shared dependencies: 0
=> Found "storybook-chromatic#acorn@5.7.3"
info Reasons this module exists
- "@storybook#addon-actions#react-inspector#storybook-chromatic#jsdom" depends on it
- Hoisted from "@storybook#addon-actions#react-inspector#storybook-chromatic#jsdom#acorn"
info Disk size without dependencies: "588KB"
info Disk size with unique dependencies: "588KB"
info Disk size with transitive dependencies: "588KB"
info Number of shared dependencies: 0
=> Found "corejs-upgrade-webpack-plugin#acorn@6.4.0"
info Reasons this module exists
- "@storybook#addon-storyshots#@storybook#core#corejs-upgrade-webpack-plugin#webpack" depends on it
- Hoisted from "@storybook#addon-storyshots#@storybook#core#corejs-upgrade-webpack-plugin#webpack#acorn"
info Disk size without dependencies: "1.08MB"
info Disk size with unique dependencies: "1.08MB"
info Disk size with transitive dependencies: "1.08MB"
info Number of shared dependencies: 0
=> Found "jest-environment-jsdom#acorn@5.7.3"
info Reasons this module exists
- "jest#jest-cli#jest-config#jest-environment-jsdom#jsdom" depends on it
- Hoisted from "jest#jest-cli#jest-config#jest-environment-jsdom#jsdom#acorn"
info Disk size without dependencies: "588KB"
info Disk size with unique dependencies: "588KB"
info Disk size with transitive dependencies: "588KB"
info Number of shared dependencies: 0
=> Found "storybook-chromatic#acorn-globals#acorn@6.0.5"
info This module exists because "@storybook#addon-actions#react-inspector#storybook-chromatic#jsdom#acorn-globals" depends on it.
info Disk size without dependencies: "1.07MB"
info Disk size with unique dependencies: "1.07MB"
info Disk size with transitive dependencies: "1.07MB"
info Number of shared dependencies: 0
=> Found "jest-environment-jsdom#acorn-globals#acorn@6.0.5"
info This module exists because "jest#jest-cli#jest-config#jest-environment-jsdom#jsdom#acorn-globals" depends on it.
info Disk size without dependencies: "1.07MB"
info Disk size with unique dependencies: "1.07MB"
info Disk size with transitive dependencies: "1.07MB"
info Number of shared dependencies: 0
✨ Done in 1.29s. |
Here's the source of my confusion, the actual security vulnerability linked above states
So after some digging it appears the deps relying on v5.x can be upgraded to 5.7.4 which contains the fix Whereas deps relying on v6.x need v6.4.1 to get the fix |
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.
I think dependabot simply updated this before v6.4.1 was released and 6.4.0 was incorrectly whitelisted at that time. Either way I've manually updated this branch to resolve acorn v6 to 6.4.1.
I validated locally that the build succeeded and outputs as expected. Additionally fired up storybook and things work as expected.
🎉 This PR is included in version 2.57.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Bumps acorn from 5.6.2 to 5.7.4.
Commits
6370e90
Mark version 5.7.4fbc15b1
More rigorously check surrogate pairs in regexp validator910e62b
Mark version 5.7.33442a80
Make generate-identifier-regex capable of rewriting src/identifier.js22b22f3
Raise specific errors for unterminated template literals1461c7c
Fix a lint error0c12f63
Fix tokenizing of regexps after .of832c308
Fix 404 url95ca55c
Mark version 5.7.2bba80ab
Remove another fixed test from the 262 whitelistDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from the Security Alerts page.