Skip to content

Commit

Permalink
build(deps): bump markdownlint-cli2 from 0.8.1 to 0.9.0 (#15321)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Aug 22, 2023
1 parent 25b3d52 commit 71bcc82
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 33 deletions.
1 change: 1 addition & 0 deletions .markdownlint.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
"code-block-style": {
"style": "fenced"
},
"no-space-in-code": false,
"emphasis-style": false,
// XXX Replace with the following when ready:
// "emphasis-style": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ var content = browser.i18n.getMessage("notificationContent", message.url);
}
```

`"placeholders"` 这个成员定义了所有的占位符,以及它们所检索的来源。`"url"` 这个占位符指定了其内容取自 $1,它就是 `getMessage()` 第二个参数里的第一个值。由于占位符就叫做 `"url"`,我们就在实际的消息字符串中用 `$URL$` 调用它(`"name"``$NAME$` 调用也是一样的,以此类推)。对于多个占位符,你可以将其置于数组内,并作为第二个参数传递到 {{WebExtAPIRef("i18n.getMessage()")}} —`[a, b, c]`可替换为`$1`, `$2`, and `$3,以此类推,并置于` `messages.json` 内。
`"placeholders"` 这个成员定义了所有的占位符,以及它们所检索的来源。`"url"` 这个占位符指定了其内容取自 $1,它就是 `getMessage()` 第二个参数里的第一个值。由于占位符就叫做 `"url"`,我们就在实际的消息字符串中用 `$URL$` 调用它(`"name"``$NAME$` 调用也是一样的,以此类推)。对于多个占位符,你可以将其置于数组内,并作为第二个参数传递到 {{WebExtAPIRef("i18n.getMessage()")}} —`[a, b, c]`可替换为`$1`, `$2`, and `$3`,以此类推,并置于 `messages.json` 内。

接下来我们看一个例子:在 `en/messages.json` 文件中原始的 `notificationContent` 消息字符串如下:in the `en/messages.json` file is

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"husky": "8.0.3",
"lint-staged": "14.0.1",
"markdown-it": "^13.0.1",
"markdownlint-cli2": "0.8.1",
"markdownlint-cli2": "0.9.0",
"markdownlint-rule-search-replace": "1.1.0",
"ora": "^7.0.1",
"prettier": "3.0.2",
Expand Down
62 changes: 31 additions & 31 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ [email protected]:
signal-exit "^3.0.7"
strip-final-newline "^3.0.0"

fast-glob@^3.2.11:
version "3.2.12"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80"
integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==
fast-glob@^3.3.0:
version "3.3.1"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.1.tgz#784b4e897340f3dbbef17413b3f11acf03c874c4"
integrity sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==
dependencies:
"@nodelib/fs.stat" "^2.0.2"
"@nodelib/fs.walk" "^1.2.3"
Expand Down Expand Up @@ -315,14 +315,14 @@ glob@7:
once "^1.3.0"
path-is-absolute "^1.0.0"

globby@13.1.4:
version "13.1.4"
resolved "https://registry.yarnpkg.com/globby/-/globby-13.1.4.tgz#2f91c116066bcec152465ba36e5caa4a13c01317"
integrity sha512-iui/IiiW+QrJ1X1hKH5qwlMQyv34wJAYwH1vrf8b9kBA4sNiif3gKsMHa+BrdnOpEudWjpotfa7LrTzB1ERS/g==
globby@13.2.2:
version "13.2.2"
resolved "https://registry.yarnpkg.com/globby/-/globby-13.2.2.tgz#63b90b1bf68619c2135475cbd4e71e66aa090592"
integrity sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==
dependencies:
dir-glob "^3.0.1"
fast-glob "^3.2.11"
ignore "^5.2.0"
fast-glob "^3.3.0"
ignore "^5.2.4"
merge2 "^1.4.1"
slash "^4.0.0"

Expand All @@ -346,7 +346,7 @@ ieee754@^1.2.1:
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==

ignore@^5.2.0:
ignore@^5.2.4:
version "5.2.4"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"
integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==
Expand Down Expand Up @@ -495,27 +495,27 @@ [email protected]:
resolved "https://registry.yarnpkg.com/markdownlint-cli2-formatter-default/-/markdownlint-cli2-formatter-default-0.0.4.tgz#81e26b0a50409c0357c6f0d38d8246946b236fab"
integrity sha512-xm2rM0E+sWgjpPn1EesPXx5hIyrN2ddUnUwnbCsD/ONxYtw3PX6LydvdH6dciWAoFDpwzbHM1TO7uHfcMd6IYg==

markdownlint-cli2@0.8.1:
version "0.8.1"
resolved "https://registry.yarnpkg.com/markdownlint-cli2/-/markdownlint-cli2-0.8.1.tgz#84b7c2bb900938d947b1c44bfa940d78656132f8"
integrity sha512-y0Siwt+RApKxSSb0CT9p7z1DcAO+ncjrB9IpC/jflJRIet4namCFmxLTbfBBQdPF6EntPk5yyXKe7vcoPGlnXw==
markdownlint-cli2@0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/markdownlint-cli2/-/markdownlint-cli2-0.9.0.tgz#841896e8894fdde5f6234afed39f71976b535d66"
integrity sha512-BS4iLajH0ZdM3CmKAesA2rKLASctj5VC8EFxvgC2T2tUnivmOsHvBZB8xOqn1ByADL2cJHF0WQUF6VL4CYtEIw==
dependencies:
globby "13.1.4"
markdownlint "0.29.0"
globby "13.2.2"
markdownlint "0.30.0"
markdownlint-cli2-formatter-default "0.0.4"
micromatch "4.0.5"
strip-json-comments "5.0.0"
strip-json-comments "5.0.1"
yaml "2.3.1"

[email protected]:
version "0.1.2"
resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.2.tgz#5520e04febffa46741875a2f297509ffdb561f5c"
integrity sha512-jRxlQg8KpOfM2IbCL9RXM8ZiYWz2rv6DlZAnGv8ASJQpUh6byTBnEsbuMZ6T2/uIgntyf7SKg/mEaEBo1164fQ==

[email protected].5:
version "0.1.5"
resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.5.tgz#a23400b101be32cd4336f2b6b4c47da31825524c"
integrity sha512-HvofNU4QCvfUCWnocQP1IAWaqop5wpWrB0mKB6SSh0fcpV0PdmQNS6tdUuFew1utpYlUvYYzz84oDkrD76GB9A==
[email protected].7:
version "0.1.7"
resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.7.tgz#c465091b30d61a56027ccbfb981c80c96448c165"
integrity sha512-BbRPTC72fl5vlSKv37v/xIENSRDYL/7X/XoFzZ740FGEbs9vZerLrIkFRY0rv7slQKxDczToYuMmqQFN61fi4Q==

markdownlint-rule-helpers@~0.19.0:
version "0.19.0"
Expand All @@ -531,13 +531,13 @@ [email protected]:
dependencies:
markdownlint-rule-helpers "~0.19.0"

markdownlint@0.29.0:
version "0.29.0"
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.29.0.tgz#9647478b7d5485965c557502fe54ee5a550033f2"
integrity sha512-ASAzqpODstu/Qsk0xW5BPgWnK/qjpBQ4e7IpsSvvFXcfYIjanLTdwFRJK1SIEEh0fGSMKXcJf/qhaZYHyME0wA==
markdownlint@0.30.0:
version "0.30.0"
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.30.0.tgz#e5b43f794c6810299cd4be86f8d54108e9169860"
integrity sha512-nInuFvI/rEzanAOArW5490Ez4EYpB5ODqVM0mcDYCPx9DKJWCQqCgejjiCvbSeE7sjbDscVtZmwr665qpF5xGA==
dependencies:
markdown-it "13.0.1"
markdownlint-micromark "0.1.5"
markdownlint-micromark "0.1.7"

mdurl@^1.0.1:
version "1.0.1"
Expand Down Expand Up @@ -811,10 +811,10 @@ strip-final-newline@^3.0.0:
resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd"
integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==

[email protected].0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-5.0.0.tgz#ec101b766476a703031bc607e3c712569de2aa06"
integrity sha512-V1LGY4UUo0jgwC+ELQ2BNWfPa17TIuwBLg+j1AA/9RPzKINl1lhxVEu2r+ZTTO8aetIsUzE5Qj6LMSBkoGYKKw==
[email protected].1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-5.0.1.tgz#0d8b7d01b23848ed7dbdf4baaaa31a8250d8cfa0"
integrity sha512-0fk9zBqO67Nq5M/m45qHCJxylV/DhBlIOVExqgOMiCCrzrhU6tCibRXNqE3jwJLftzE9SNuZtYbpzcO+i9FiKw==

to-regex-range@^5.0.1:
version "5.0.1"
Expand Down

0 comments on commit 71bcc82

Please sign in to comment.