Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
remark-scm-commit-links
Advanced tools
This plugins is used in SCM-Manager to find ChangesetShortLinks in text nodes and append the internal links.
npm:
npm install remark-scm-commit-links
Say we have the following Markdown file, example.md
:
Change API Signatures since we updated the API here:
eheimbuch/remark-scm-commit-links@ac584a6
And our script, example.js
, looks as follows:
const vfile = require("to-vfile");
const report = require("vfile-reporter");
const unified = require("unified");
const markdown = require("remark-parse");
const transformer = require("remark-scm-commit-links");
const html = require("remark-html");
unified()
.use(markdown)
.use(transformer)
.use(html)
.process(vfile.readSync("example.md"), (err, file) => {
console.error(report(err || file));
console.log(String(file));
});
The result will look like this:
Change API Signatures since we updated the API here:
[eheimbuch/remark-scm-commit-links@ac584a68w](/repo/eheimbuch/remark-scm-commit-links/code/changeset/ac584a6)
FAQs
Adds internal links to commit mentions
We found that remark-scm-commit-links demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.