Skip to content

Commit

Permalink
tools: update [email protected] to 1.16.0
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Trott authored and codebytere committed Jul 12, 2020
1 parent 47f5eeb commit 6651bde
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 126 deletions.
204 changes: 82 additions & 122 deletions tools/lint-md.js
Original file line number Diff line number Diff line change
Expand Up @@ -16747,9 +16747,9 @@ var colorName$1 = {
"aquamarine": [127, 255, 212],
"azure": [240, 255, 255],
"beige": [245, 245, 220],
"bisque": [255, 228, 196],
"black": [0, 0, 0],
"blanchedalmond": [255, 235, 205],
"bisque": [255, 228, 196],
"black": [0, 0, 0],
"blanchedalmond": [255, 235, 205],
"blue": [0, 0, 255],
"blueviolet": [138, 43, 226],
"brown": [165, 42, 42],
Expand Down Expand Up @@ -16882,9 +16882,9 @@ var colorName$1 = {
"teal": [0, 128, 128],
"thistle": [216, 191, 216],
"tomato": [255, 99, 71],
"turquoise": [64, 224, 208],
"violet": [238, 130, 238],
"wheat": [245, 222, 179],
"turquoise": [64, 224, 208],
"violet": [238, 130, 238],
"wheat": [245, 222, 179],
"white": [255, 255, 255],
"whitesmoke": [245, 245, 245],
"yellow": [255, 255, 0],
Expand Down Expand Up @@ -43322,63 +43322,10 @@ function stringify$6(options) {

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

const _from = "remark@latest";
const _id = "[email protected]";
const _inBundle = false;
const _integrity = "sha512-oX4lMIS0csgk8AEbzY0h2jdR0ngiCHOpwwpxjmRa5TqAkeknY+tkhjRJGZqnCmvyuWh55/0SW5WY3R3nn3PH9A==";
const _location = "/remark";
const _phantomChildren = {
};
const _requested = {
type: "tag",
registry: true,
raw: "remark@latest",
name: "remark",
escapedName: "remark",
rawSpec: "latest",
saveSpec: null,
fetchSpec: "latest"
};
const _requiredBy = [
"#USER",
"/"
];
const _resolved = "https://registry.npmjs.org/remark/-/remark-12.0.0.tgz";
const _shasum = "d1c145c07341c9232f93b2f8539d56da15a2548c";
const _spec = "remark@latest";
const _where = "/Users/trott/io.js/tools/node-lint-md-cli-rollup";
const author = {
name: "Titus Wormer",
email: "[email protected]",
url: "https://wooorm.com"
};
const bugs = {
url: "https://github.com/remarkjs/remark/issues"
};
const bundleDependencies = false;
const contributors = [
{
name: "Titus Wormer",
email: "[email protected]",
url: "https://wooorm.com"
}
];
const dependencies = {
"remark-parse": "^8.0.0",
"remark-stringify": "^8.0.0",
unified: "^9.0.0"
};
const deprecated$1 = false;
const name$1 = "remark";
const version$1 = "12.0.0";
const description = "Markdown processor powered by plugins part of the unified collective";
const files = [
"index.js",
"types/index.d.ts"
];
const funding = {
type: "opencollective",
url: "https://opencollective.com/unified"
};
const homepage = "https://remark.js.org";
const license = "MIT";
const keywords = [
"unified",
"remark",
Expand All @@ -43394,83 +43341,77 @@ const keywords = [
"compile",
"process"
];
const license = "MIT";
const name$1 = "remark";
const repository = {
type: "git",
url: "https://github.com/remarkjs/remark/tree/master/packages/remark"
const homepage = "https://remark.js.org";
const repository = "https://github.com/remarkjs/remark/tree/master/packages/remark";
const bugs = "https://github.com/remarkjs/remark/issues";
const funding = {
type: "opencollective",
url: "https://opencollective.com/unified"
};
const author = "Titus Wormer <[email protected]> (https://wooorm.com)";
const contributors = [
"Titus Wormer <[email protected]> (https://wooorm.com)"
];
const files = [
"index.js",
"types/index.d.ts"
];
const types = "types/index.d.ts";
const dependencies = {
"remark-parse": "^8.0.0",
"remark-stringify": "^8.0.0",
unified: "^9.0.0"
};
const scripts = {
test: "tape test.js"
};
const types = "types/index.d.ts";
const version$1 = "12.0.0";
const xo = false;
const _resolved = "https://registry.npmjs.org/remark/-/remark-12.0.0.tgz";
const _integrity = "sha512-oX4lMIS0csgk8AEbzY0h2jdR0ngiCHOpwwpxjmRa5TqAkeknY+tkhjRJGZqnCmvyuWh55/0SW5WY3R3nn3PH9A==";
const _from = "[email protected]";
var _package = {
_from: _from,
_id: _id,
_inBundle: _inBundle,
_integrity: _integrity,
_location: _location,
_phantomChildren: _phantomChildren,
_requested: _requested,
_requiredBy: _requiredBy,
_resolved: _resolved,
_shasum: _shasum,
_spec: _spec,
_where: _where,
author: author,
bugs: bugs,
bundleDependencies: bundleDependencies,
contributors: contributors,
dependencies: dependencies,
deprecated: deprecated$1,
name: name$1,
version: version$1,
description: description,
files: files,
funding: funding,
homepage: homepage,
keywords: keywords,
license: license,
name: name$1,
keywords: keywords,
homepage: homepage,
repository: repository,
scripts: scripts,
bugs: bugs,
funding: funding,
author: author,
contributors: contributors,
files: files,
types: types,
version: version$1,
xo: xo
dependencies: dependencies,
scripts: scripts,
xo: xo,
_resolved: _resolved,
_integrity: _integrity,
_from: _from
};

var _package$1 = /*#__PURE__*/Object.freeze({
__proto__: null,
_from: _from,
_id: _id,
_inBundle: _inBundle,
_integrity: _integrity,
_location: _location,
_phantomChildren: _phantomChildren,
_requested: _requested,
_requiredBy: _requiredBy,
_resolved: _resolved,
_shasum: _shasum,
_spec: _spec,
_where: _where,
author: author,
bugs: bugs,
bundleDependencies: bundleDependencies,
contributors: contributors,
dependencies: dependencies,
deprecated: deprecated$1,
name: name$1,
version: version$1,
description: description,
files: files,
funding: funding,
homepage: homepage,
keywords: keywords,
license: license,
name: name$1,
keywords: keywords,
homepage: homepage,
repository: repository,
scripts: scripts,
bugs: bugs,
funding: funding,
author: author,
contributors: contributors,
files: files,
types: types,
version: version$1,
dependencies: dependencies,
scripts: scripts,
xo: xo,
_resolved: _resolved,
_integrity: _integrity,
_from: _from,
'default': _package
});

Expand All @@ -43488,7 +43429,7 @@ const dependencies$1 = {
"markdown-extensions": "^1.1.1",
remark: "^12.0.0",
"remark-lint": "^7.0.0",
"remark-preset-lint-node": "^1.15.1",
"remark-preset-lint-node": "^1.16.0",
"unified-args": "^8.0.0"
};
const main = "dist/index.js";
Expand Down Expand Up @@ -47191,7 +47132,26 @@ var plugins$2 = [
remarkLintCheckboxContentIndent,
[remarkLintCodeBlockStyle, "fenced"],
remarkLintDefinitionSpacing,
remarkLintFencedCodeFlag,
[
remarkLintFencedCodeFlag,
{
flags: [
"bash",
"c",
"coffee",
"console",
"cpp",
"diff",
"http",
"js",
"json",
"markdown",
"powershell",
"r",
"text",
],
},
],
[remarkLintFencedCodeMarker, "`"],
[remarkLintFileExtension, "md"],
remarkLintFinalDefinition,
Expand Down
6 changes: 3 additions & 3 deletions tools/node-lint-md-cli-rollup/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/node-lint-md-cli-rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"markdown-extensions": "^1.1.1",
"remark": "^12.0.0",
"remark-lint": "^7.0.0",
"remark-preset-lint-node": "^1.15.1",
"remark-preset-lint-node": "^1.16.0",
"unified-args": "^8.0.0"
},
"main": "dist/index.js",
Expand Down

0 comments on commit 6651bde

Please sign in to comment.