-
Notifications
You must be signed in to change notification settings - Fork 2
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-dev): bump markdownlint from 0.36.1 to 0.37.3 #135
base: main
Are you sure you want to change the base?
Conversation
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] <[email protected]>
index.js
Outdated
return foo; | ||
} | ||
|
||
// export default githubMarkdownLint; |
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.
can't seem to export destructures in ESM, static vs dynamic?
@@ -1,19 +1,20 @@ | |||
const _ = require("lodash"); | |||
import _ from "lodash-es"; |
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.
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", |
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.
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" |
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.
cli2
previous version seemed incompatible w/new markdownlint
@@ -1,6 +1,6 @@ | |||
const markdownlint = require("markdownlint"); | |||
import { lint } from "markdownlint/async"; |
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.
needs new function now
@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? |
Changes included (from @JoyceZhu):
README
to use ESM syntax/examplespackage.json
changes for ESMeslint
config changes to respect that ESM imports need to reference the file extension in the path without further worklodash-es
since the originallodash
library is CommonJS-onlymarkdownlint-cli2
calls to newasync
implementations.nvmrc
since I was already hereJSON
files -- convert those to manual file readsBumps markdownlint from 0.36.1 to 0.37.3.
Changelog
Sourced from markdownlint's changelog.
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.192eb425
Bump eslint-plugin-n from 17.15.0 to 17.15.11587927
Bump webpack-cli from 5.1.4 to 6.0.0a1081ec
Add "bundler" and "subpath" to dictionary.txt.5fad452
Update to version 0.37.2.baf4944
Add subpath imports "markdownlint-imports-browser" and "markdownlint-imports-...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)