Skip to content

Commit 6651bde

Browse files
Trottcodebytere
authored andcommitted
tools: update [email protected] to 1.16.0
This adds linting for code fence language/grammar strings. This is so, for example, we have only one of ```text and ```txt and not both. PR-URL: #33852 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]>
1 parent 47f5eeb commit 6651bde

File tree

3 files changed

+86
-126
lines changed

3 files changed

+86
-126
lines changed

tools/lint-md.js

+82-122
Original file line numberDiff line numberDiff line change
@@ -16747,9 +16747,9 @@ var colorName$1 = {
1674716747
"aquamarine": [127, 255, 212],
1674816748
"azure": [240, 255, 255],
1674916749
"beige": [245, 245, 220],
16750-
"bisque": [255, 228, 196],
16751-
"black": [0, 0, 0],
16752-
"blanchedalmond": [255, 235, 205],
16750+
"bisque": [255, 228, 196],
16751+
"black": [0, 0, 0],
16752+
"blanchedalmond": [255, 235, 205],
1675316753
"blue": [0, 0, 255],
1675416754
"blueviolet": [138, 43, 226],
1675516755
"brown": [165, 42, 42],
@@ -16882,9 +16882,9 @@ var colorName$1 = {
1688216882
"teal": [0, 128, 128],
1688316883
"thistle": [216, 191, 216],
1688416884
"tomato": [255, 99, 71],
16885-
"turquoise": [64, 224, 208],
16886-
"violet": [238, 130, 238],
16887-
"wheat": [245, 222, 179],
16885+
"turquoise": [64, 224, 208],
16886+
"violet": [238, 130, 238],
16887+
"wheat": [245, 222, 179],
1688816888
"white": [255, 255, 255],
1688916889
"whitesmoke": [245, 245, 245],
1689016890
"yellow": [255, 255, 0],
@@ -43322,63 +43322,10 @@ function stringify$6(options) {
4332243322

4332343323
var remark = unified_1().use(remarkParse).use(remarkStringify).freeze();
4332443324

43325-
const _from = "remark@latest";
43326-
const _id = "[email protected]";
43327-
const _inBundle = false;
43328-
const _integrity = "sha512-oX4lMIS0csgk8AEbzY0h2jdR0ngiCHOpwwpxjmRa5TqAkeknY+tkhjRJGZqnCmvyuWh55/0SW5WY3R3nn3PH9A==";
43329-
const _location = "/remark";
43330-
const _phantomChildren = {
43331-
};
43332-
const _requested = {
43333-
type: "tag",
43334-
registry: true,
43335-
raw: "remark@latest",
43336-
name: "remark",
43337-
escapedName: "remark",
43338-
rawSpec: "latest",
43339-
saveSpec: null,
43340-
fetchSpec: "latest"
43341-
};
43342-
const _requiredBy = [
43343-
"#USER",
43344-
"/"
43345-
];
43346-
const _resolved = "https://registry.npmjs.org/remark/-/remark-12.0.0.tgz";
43347-
const _shasum = "d1c145c07341c9232f93b2f8539d56da15a2548c";
43348-
const _spec = "remark@latest";
43349-
const _where = "/Users/trott/io.js/tools/node-lint-md-cli-rollup";
43350-
const author = {
43351-
name: "Titus Wormer",
43352-
43353-
url: "https://wooorm.com"
43354-
};
43355-
const bugs = {
43356-
url: "https://github.com/remarkjs/remark/issues"
43357-
};
43358-
const bundleDependencies = false;
43359-
const contributors = [
43360-
{
43361-
name: "Titus Wormer",
43362-
43363-
url: "https://wooorm.com"
43364-
}
43365-
];
43366-
const dependencies = {
43367-
"remark-parse": "^8.0.0",
43368-
"remark-stringify": "^8.0.0",
43369-
unified: "^9.0.0"
43370-
};
43371-
const deprecated$1 = false;
43325+
const name$1 = "remark";
43326+
const version$1 = "12.0.0";
4337243327
const description = "Markdown processor powered by plugins part of the unified collective";
43373-
const files = [
43374-
"index.js",
43375-
"types/index.d.ts"
43376-
];
43377-
const funding = {
43378-
type: "opencollective",
43379-
url: "https://opencollective.com/unified"
43380-
};
43381-
const homepage = "https://remark.js.org";
43328+
const license = "MIT";
4338243329
const keywords = [
4338343330
"unified",
4338443331
"remark",
@@ -43394,83 +43341,77 @@ const keywords = [
4339443341
"compile",
4339543342
"process"
4339643343
];
43397-
const license = "MIT";
43398-
const name$1 = "remark";
43399-
const repository = {
43400-
type: "git",
43401-
url: "https://github.com/remarkjs/remark/tree/master/packages/remark"
43344+
const homepage = "https://remark.js.org";
43345+
const repository = "https://github.com/remarkjs/remark/tree/master/packages/remark";
43346+
const bugs = "https://github.com/remarkjs/remark/issues";
43347+
const funding = {
43348+
type: "opencollective",
43349+
url: "https://opencollective.com/unified"
43350+
};
43351+
const author = "Titus Wormer <[email protected]> (https://wooorm.com)";
43352+
const contributors = [
43353+
"Titus Wormer <[email protected]> (https://wooorm.com)"
43354+
];
43355+
const files = [
43356+
"index.js",
43357+
"types/index.d.ts"
43358+
];
43359+
const types = "types/index.d.ts";
43360+
const dependencies = {
43361+
"remark-parse": "^8.0.0",
43362+
"remark-stringify": "^8.0.0",
43363+
unified: "^9.0.0"
4340243364
};
4340343365
const scripts = {
4340443366
test: "tape test.js"
4340543367
};
43406-
const types = "types/index.d.ts";
43407-
const version$1 = "12.0.0";
4340843368
const xo = false;
43369+
const _resolved = "https://registry.npmjs.org/remark/-/remark-12.0.0.tgz";
43370+
const _integrity = "sha512-oX4lMIS0csgk8AEbzY0h2jdR0ngiCHOpwwpxjmRa5TqAkeknY+tkhjRJGZqnCmvyuWh55/0SW5WY3R3nn3PH9A==";
43371+
const _from = "[email protected]";
4340943372
var _package = {
43410-
_from: _from,
43411-
_id: _id,
43412-
_inBundle: _inBundle,
43413-
_integrity: _integrity,
43414-
_location: _location,
43415-
_phantomChildren: _phantomChildren,
43416-
_requested: _requested,
43417-
_requiredBy: _requiredBy,
43418-
_resolved: _resolved,
43419-
_shasum: _shasum,
43420-
_spec: _spec,
43421-
_where: _where,
43422-
author: author,
43423-
bugs: bugs,
43424-
bundleDependencies: bundleDependencies,
43425-
contributors: contributors,
43426-
dependencies: dependencies,
43427-
deprecated: deprecated$1,
43373+
name: name$1,
43374+
version: version$1,
4342843375
description: description,
43429-
files: files,
43430-
funding: funding,
43431-
homepage: homepage,
43432-
keywords: keywords,
4343343376
license: license,
43434-
name: name$1,
43377+
keywords: keywords,
43378+
homepage: homepage,
4343543379
repository: repository,
43436-
scripts: scripts,
43380+
bugs: bugs,
43381+
funding: funding,
43382+
author: author,
43383+
contributors: contributors,
43384+
files: files,
4343743385
types: types,
43438-
version: version$1,
43439-
xo: xo
43386+
dependencies: dependencies,
43387+
scripts: scripts,
43388+
xo: xo,
43389+
_resolved: _resolved,
43390+
_integrity: _integrity,
43391+
_from: _from
4344043392
};
4344143393

4344243394
var _package$1 = /*#__PURE__*/Object.freeze({
4344343395
__proto__: null,
43444-
_from: _from,
43445-
_id: _id,
43446-
_inBundle: _inBundle,
43447-
_integrity: _integrity,
43448-
_location: _location,
43449-
_phantomChildren: _phantomChildren,
43450-
_requested: _requested,
43451-
_requiredBy: _requiredBy,
43452-
_resolved: _resolved,
43453-
_shasum: _shasum,
43454-
_spec: _spec,
43455-
_where: _where,
43456-
author: author,
43457-
bugs: bugs,
43458-
bundleDependencies: bundleDependencies,
43459-
contributors: contributors,
43460-
dependencies: dependencies,
43461-
deprecated: deprecated$1,
43396+
name: name$1,
43397+
version: version$1,
4346243398
description: description,
43463-
files: files,
43464-
funding: funding,
43465-
homepage: homepage,
43466-
keywords: keywords,
4346743399
license: license,
43468-
name: name$1,
43400+
keywords: keywords,
43401+
homepage: homepage,
4346943402
repository: repository,
43470-
scripts: scripts,
43403+
bugs: bugs,
43404+
funding: funding,
43405+
author: author,
43406+
contributors: contributors,
43407+
files: files,
4347143408
types: types,
43472-
version: version$1,
43409+
dependencies: dependencies,
43410+
scripts: scripts,
4347343411
xo: xo,
43412+
_resolved: _resolved,
43413+
_integrity: _integrity,
43414+
_from: _from,
4347443415
'default': _package
4347543416
});
4347643417

@@ -43488,7 +43429,7 @@ const dependencies$1 = {
4348843429
"markdown-extensions": "^1.1.1",
4348943430
remark: "^12.0.0",
4349043431
"remark-lint": "^7.0.0",
43491-
"remark-preset-lint-node": "^1.15.1",
43432+
"remark-preset-lint-node": "^1.16.0",
4349243433
"unified-args": "^8.0.0"
4349343434
};
4349443435
const main = "dist/index.js";
@@ -47191,7 +47132,26 @@ var plugins$2 = [
4719147132
remarkLintCheckboxContentIndent,
4719247133
[remarkLintCodeBlockStyle, "fenced"],
4719347134
remarkLintDefinitionSpacing,
47194-
remarkLintFencedCodeFlag,
47135+
[
47136+
remarkLintFencedCodeFlag,
47137+
{
47138+
flags: [
47139+
"bash",
47140+
"c",
47141+
"coffee",
47142+
"console",
47143+
"cpp",
47144+
"diff",
47145+
"http",
47146+
"js",
47147+
"json",
47148+
"markdown",
47149+
"powershell",
47150+
"r",
47151+
"text",
47152+
],
47153+
},
47154+
],
4719547155
[remarkLintFencedCodeMarker, "`"],
4719647156
[remarkLintFileExtension, "md"],
4719747157
remarkLintFinalDefinition,

tools/node-lint-md-cli-rollup/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/node-lint-md-cli-rollup/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"markdown-extensions": "^1.1.1",
1414
"remark": "^12.0.0",
1515
"remark-lint": "^7.0.0",
16-
"remark-preset-lint-node": "^1.15.1",
16+
"remark-preset-lint-node": "^1.16.0",
1717
"unified-args": "^8.0.0"
1818
},
1919
"main": "dist/index.js",

0 commit comments

Comments
 (0)