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

Bump remark-gfm from 1.0.0 to 2.0.0 in /dashboard #3248

Merged
merged 4 commits into from
Aug 26, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 9, 2021

Bumps remark-gfm from 1.0.0 to 2.0.0.

Release notes

Sourced from remark-gfm's releases.

2.0.0

  • 6c518d8 Use ESM
    // From CommonJS
    var remarkGfm = require('remark-gfm')
    // To ESM
    import remarkGfm from 'remark-gfm'
    Learn more about ESM in this guide
  • 37d92ac Add JSDoc based types
  • 0846014 Remove warning for remark 12

Full Changelog: remarkjs/remark-gfm@1.0.0...2.0.0

Commits

Dependabot compatibility score

Dependabot 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 dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 9, 2021
@antgamdia
Copy link
Contributor

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/dashboard/remark-gfm-2.0.0 branch from d4bcc9e to 6c67167 Compare August 9, 2021 15:26
Bumps [remark-gfm](https://github.com/remarkjs/remark-gfm) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/remarkjs/remark-gfm/releases)
- [Commits](remarkjs/remark-gfm@1.0.0...2.0.0)

---
updated-dependencies:
- dependency-name: remark-gfm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/dashboard/remark-gfm-2.0.0 branch from 6c67167 to 3915e3e Compare August 23, 2021 13:11
@@ -147,7 +147,7 @@
"!src/**/*.d.ts"
],
"transformIgnorePatterns": [
"node_modules/(?!@clr|@cds|lit|@lit|ramda|lodash-es|.*css)"
"node_modules/(?!@cds|@clr|@lit|bail|ccount|character-entities|comma-separated-tokens|escape-string-regexp|is-plain-obj|lit|lodash-es|markdown-table|mdast-util-definitions|mdast-util-find-and-replace|mdast-util-from-markdown|mdast-util-gfm|mdast-util-gfm-autolink-literal|mdast-util-to-hast|mdast-util-to-markdown|mdast-util-to-string|micromark|micromark-core-commonmark|parse-entities|property-information|ramda|react-markdown|remark-gfm|remark-parse|remark-rehype|space-separated-tokens|trough|unified|unist-builder|unist-util-generated|unist-util-is|unist-util-position|unist-util-stringify-position|unist-util-visit|unist-util-visit-parents|util-find-and-replace|vfile|vfile-message|.*css)"
Copy link
Contributor

@antgamdia antgamdia Aug 23, 2021

Choose a reason for hiding this comment

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

For some deps we can come up with some regex catching unist-* and mdast-*, but I don't know if we better declare them explicitly to avoid unnoticed issues.
However, it is just for running jest tests, so we will know really quickly if something fails.

cc @absoludity

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I missed the cc earlier. Yeah, given this is just jest config, I'm not too worried. I'm surprised that updating remark-gfm lead to this though (many of the packages just seem to be upgraded... did the previous versions not require transformation?).

Anyway, +1 from me - I generally prefer explicit, but for a huge regex like this for a test module... don't care :)

Copy link
Contributor

Choose a reason for hiding this comment

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

No problem, the ping was mainly for squeezing this PR in the 2.3.4 release, but it's not critical whatsoever.

As many deps are migrating to ES Modules, the jest tests fail. This is an open issue in jest, but they do have some workarounds (see https://jestjs.io/docs/ecmascript-modules).

The currently chosen tweak is the easiest one, declaring each module in transformIgnorePatterns, but it is tedious if a module has many transitive ESM deps (as in this case).
I've seen another dependabot upgrade is also similar, so we need to handle this problem in a more scalable way at some point.

So, what I would suggest is to go ahead with this PR (and perhaps the existing ones), but create a task for looking for a long-term solution.

@@ -147,7 +147,7 @@
"!src/**/*.d.ts"
],
"transformIgnorePatterns": [
"node_modules/(?!@clr|@cds|lit|@lit|ramda|lodash-es|.*css)"
"node_modules/(?!@cds|@clr|@lit|bail|ccount|character-entities|comma-separated-tokens|escape-string-regexp|is-plain-obj|lit|lodash-es|markdown-table|mdast-util-definitions|mdast-util-find-and-replace|mdast-util-from-markdown|mdast-util-gfm|mdast-util-gfm-autolink-literal|mdast-util-to-hast|mdast-util-to-markdown|mdast-util-to-string|micromark|micromark-core-commonmark|parse-entities|property-information|ramda|react-markdown|remark-gfm|remark-parse|remark-rehype|space-separated-tokens|trough|unified|unist-builder|unist-util-generated|unist-util-is|unist-util-position|unist-util-stringify-position|unist-util-visit|unist-util-visit-parents|util-find-and-replace|vfile|vfile-message|.*css)"
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I missed the cc earlier. Yeah, given this is just jest config, I'm not too worried. I'm surprised that updating remark-gfm lead to this though (many of the packages just seem to be upgraded... did the previous versions not require transformation?).

Anyway, +1 from me - I generally prefer explicit, but for a huge regex like this for a test module... don't care :)

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>

Conflicts:
	dashboard/yarn.lock
@antgamdia antgamdia merged commit 807456c into master Aug 26, 2021
@antgamdia antgamdia deleted the dependabot/npm_and_yarn/dashboard/remark-gfm-2.0.0 branch August 26, 2021 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants