Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ server.listen(port, hostname, () => {
```

To run this snippet, save it as a `server.js` file and run `node server.js` in your terminal.
If you use mjs version of the code, you should save it as a `server.mjs` file and run `node server.mjs` in your terminal.
If you use the ESM version of the code, you should save it as a `server.mjs` file and run `node server.mjs` in your terminal.

This code first includes the Node.js [`http` module](https://nodejs.org/api/http.html).

Expand Down
2 changes: 1 addition & 1 deletion packages/remark-lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test:unit": "cross-env NODE_NO_WARNINGS=1 node --experimental-test-coverage --test \"**/*.test.mjs\""
},
"dependencies": {
"@nodejs/doc-kit": "github:nodejs/doc-kit#be7fc307395005ea362d035c43e3818650bf075f",
"@node-core/doc-kit": "^1.0.0",
"remark-gfm": "^4.0.1",
"remark-lint-blockquote-indentation": "^4.0.1",
"remark-lint-checkbox-character-style": "^5.0.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import createQueries from '@nodejs/doc-kit/src/utils/queries/index.mjs';
import createQueries from '@node-core/doc-kit/src/utils/queries/index.mjs';
import { lintRule } from 'unified-lint-rule';
import { visit } from 'unist-util-visit';

Expand Down
4 changes: 2 additions & 2 deletions packages/remark-lint/src/rules/invalid-type-reference.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { transformTypeToReferenceLink } from '@nodejs/doc-kit/src/utils/parser/index.mjs';
import createQueries from '@nodejs/doc-kit/src/utils/queries/index.mjs';
import { transformTypeToReferenceLink } from '@node-core/doc-kit/src/utils/parser/index.mjs';
import createQueries from '@node-core/doc-kit/src/utils/queries/index.mjs';
import { lintRule } from 'unified-lint-rule';
import { visit } from 'unist-util-visit';

Expand Down
Loading
Loading