Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(deps-dev): bump markdownlint from 0.36.1 to 0.37.3#135

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JoyceZhu merged 15 commits intomainfromdependabot/npm_and_yarn/markdownlint-0.37.3
Jan 23, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubJan 6, 2025
edited by JoyceZhu
Loading

Changes included (from@JoyceZhu):

  • Manually convert all import/export styles from CommonJS to ESM
  • Various filename changes required
  • UpdateREADME to use ESM syntax/examples
  • package.json changes for ESM
  • eslint config changes to respect that ESM imports need to reference the file extension in the path without further work
  • change tolodash-es since the originallodash library is CommonJS-only
  • changemarkdownlint-cli2 calls to newasync implementations
  • Updating.nvmrc since I was already here
  • can't directly importJSON files -- convert those to manual file reads
  • CLI parameter + Jest config changes to get Jest to also accept ESM

Bumpsmarkdownlint from 0.36.1 to 0.37.3.

Changelog

Sourced frommarkdownlint's changelog.

0.37.3

  • Tweakpackage.json dependencies to work withpnpm

0.37.2

  • Add subpath imports for overriding default bundler behavior
  • Improve MD032

0.37.1

  • Add support for "browser" condition (as used by webpack)

0.37.0

Commits
  • 74b1c19 Update to version 0.37.3.
  • ef70472 Make micromark-core-commonmark a direct dependency to satisfy strict dependen...
  • 795eac2 Add CI job that verifies tests pass when using pnpm (vs. npm).
  • df33933 Update export test to avoid "ExperimentalWarning: Importing JSON modules is a...
  • 8e5f699 Bump webpack-cli from 6.0.0 to 6.0.1
  • 92eb425 Bump eslint-plugin-n from 17.15.0 to 17.15.1
  • 1587927 Bump webpack-cli from 5.1.4 to 6.0.0
  • a1081ec Add "bundler" and "subpath" to dictionary.txt.
  • 5fad452 Update to version 0.37.2.
  • baf4944 Add subpath imports "markdownlint-imports-browser" and "markdownlint-imports-...
  • Additional commits viewable incompare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [markdownlint](https://github.com/DavidAnson/markdownlint) from 0.36.1 to 0.37.3.- [Changelog](https://github.com/DavidAnson/markdownlint/blob/main/CHANGELOG.md)- [Commits](DavidAnson/markdownlint@v0.36.1...v0.37.3)---updated-dependencies:- dependency-name: markdownlint  dependency-type: direct:development  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot requested a review froma team as acode ownerJanuary 6, 2025 05:26
@dependabotdependabotbot added dependenciesPull requests that update a dependency file javascriptPull requests that update Javascript code labelsJan 6, 2025
index.js Outdated
return foo;
}

// export default githubMarkdownLint;
Copy link
Contributor

Choose a reason for hiding this comment

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

can't seem to export destructures in ESM, static vs dynamic?

@@ -1,19 +1,20 @@
const _= require("lodash");
import _from"lodash-es";
Copy link
Contributor

Choose a reason for hiding this comment

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

regular lodash is synchronous

package.json Outdated
"directories": {
"test": "test"
},
"scripts": {
"publish": "npm publish --access public --@github:registry=https://registry.npmjs.org",
"test": "npm run lint && jest",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
Copy link
Contributor

Choose a reason for hiding this comment

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

jest needs this to enable ESM

package.json Outdated
"markdownlint": "^0.36.1",
"markdownlint-cli2": "^0.16.0"
"markdownlint": "^0.37.3",
"markdownlint-cli2": "^0.17.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

cli2 previous version seemed incompatible w/newmarkdownlint

@@ -1,6 +1,6 @@
const markdownlint = require("markdownlint");
import { lint } from"markdownlint/async";
Copy link
Contributor

Choose a reason for hiding this comment

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

needs new function now

@lindseywild
Copy link
Contributor

lindseywild commentedJan 13, 2025
edited
Loading

@JoyceZhu should I remove this from the FR queue until you're ready for a review? Or is there anything I can do to assist?

JoyceZhu reacted with thumbs up emoji

@dependabotDependabot
Copy link
ContributorAuthor

dependabotbot commented on behalf ofgithubJan 20, 2025

A newer version of markdownlint exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Copy link
Contributor

@lindseywildlindseywild left a comment

Choose a reason for hiding this comment

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

Nice job! I didn't see anything glaring, and old files seemed to be migrated properly from what I can tell!

Copy link
Contributor

@khiga8khiga8 left a comment

Choose a reason for hiding this comment

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

Looking good! Thank you for your persistence on this!

I just had a few questions :)

JoyceZhu reacted with heart emoji
"no-generic-link-text": true,
"ul-style": {
style: "asterisk",
},
default: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesdefault: false turn off all the rules by default-enabled rules?
I'm wondering why we need to explicitly set individual rules tofalse ifdefault: false.

@@ -0,0 +1,15 @@
import { init } from "./index.js";

const configOptions = await init({
Copy link
Contributor

@khiga8khiga8Jan 21, 2025
edited
Loading

Choose a reason for hiding this comment

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

I was about to recommend pointing of our projects to this branch to make sure things run as expected with this big change/new setup, but it seems like this basically acts like a test? Would it be worth testing this change out in one of our larger repos that uses this project by pointing to this branch?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, my understanding after reading for awhile is that we only have this file/usemarkdownlint-cli2 so we canrun our own linting setup against the files in this repo (meta-testing, I guess).

Copy link
Contributor

@khiga8khiga8 left a comment

Choose a reason for hiding this comment

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

Nice work 💟

@JoyceZhuJoyceZhuforce-pushed thedependabot/npm_and_yarn/markdownlint-0.37.3 branch from021ee10 to3ae5b70CompareJanuary 22, 2025 21:52
@JoyceZhuJoyceZhu merged commit607c420 intomainJan 23, 2025
4 checks passed
@JoyceZhuJoyceZhu deleted the dependabot/npm_and_yarn/markdownlint-0.37.3 branchJanuary 23, 2025 17:33
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JoyceZhuJoyceZhuJoyceZhu left review comments

@khiga8khiga8khiga8 approved these changes

@lindseywildlindseywildlindseywild approved these changes

@accessibility-botaccessibility-botAwaiting requested review from accessibility-botaccessibility-bot is a code owner automatically assigned from github/accessibility

Assignees

@JoyceZhuJoyceZhu

Labels
dependenciesPull requests that update a dependency filejavascriptPull requests that update Javascript code
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@lindseywild@JoyceZhu@khiga8

[8]ページ先頭

©2009-2025 Movatter.jp