Build(deps): Bump yaml-unist-parser from 1.3.0 to 1.3.1 (#9169)

* Build(deps): Bump yaml-unist-parser from 1.3.0 to 1.3.1

Bumps [yaml-unist-parser](https://github.com/ikatyang/yaml-unist-parser) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/ikatyang/yaml-unist-parser/releases)
- [Changelog](https://github.com/ikatyang/yaml-unist-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ikatyang/yaml-unist-parser/compare/v1.3.0...v1.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Update snapshot

* Update changelog

* spellcheck

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
dependabot[bot]andfisker authored and GitHub committed 2020-09-10 21:30:40 +08:00
1 parent 24cc03baf0
commit 116727b3b6
5 files changed
+35 -21

No files matched your search

+27 -13
View File
@@ -1,27 +1,41 @@
#### Fix printing doubles a blank line before a comment (#9143 by @sosukesuzuki)
#### Fix comment printing in mapping and sequence (#9143, #9169 by @sosukesuzuki, @fisker, fix in `yaml-unist-parser` by @ikatyang)
<!-- prettier-ignore -->
```yaml
# Input
- foo: 0
bar: 1
- a
# Should indent
- bb
# baz: 2
- quux: 3
---
- a: a
b: b
# Should print one empty line before
- another
# Prettier stable
- foo: 0
bar: 1
- a
# Should indent
- bb
---
- a: a
b: b
# baz: 2
- quux: 3
# Should print one empty line before
- another
# Prettier master
- foo: 0
bar: 1
- a
# Should indent
- bb
# baz: 2
- quux: 3
---
- a: a
b: b
# Should print one empty line before
- another
```
+1 -1
View File
@@ -401,7 +401,7 @@
"ignoreRegExpList": [
"<!-- prettier-ignore -->\\n(`{3,})\\w*\\n[\\s\\S]+?\\1",
"\\[(\\*{2})?@[-\\w]+?\\1\\]",
"by @[-\\w]+",
"by @[-\\w]+(?:, @[-\\w]+)?",
"\\[`\\w+`\\]",
"ve{2,}r{2,}y",
"ve+r+y+long\\w*",
+1 -1
View File
@@ -81,7 +81,7 @@
"unicode-regex": "3.0.0",
"unified": "9.2.0",
"vnopts": "1.0.2",
"yaml-unist-parser": "1.3.0"
"yaml-unist-parser": "1.3.1"
},
"devDependencies": {
"@babel/core": "7.11.6",
@@ -357,7 +357,7 @@ none(2):
=====================================output=====================================
before:
# before.comment
# before.comment
after:
# after.comment
@@ -512,7 +512,7 @@ printWidth: 80
=====================================output=====================================
- before
# before.comment
# before.comment
- after
# after.comment
+4 -4
View File
@@ -8477,10 +8477,10 @@ yallist@^4.0.0:
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
yaml-unist-parser@1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/yaml-unist-parser/-/yaml-unist-parser-1.3.0.tgz#f64f1af96171fe4d7eb462e94225d42a6009b60e"
integrity sha512-kF1OS6fi9BzqX+vVC5hp+R5mmrHLH4f19Nx8fAwb08VqUwgFDBPOOu24VZO06nSOur13CGUTgHuaw5RIzpRnCw==
yaml-unist-parser@1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/yaml-unist-parser/-/yaml-unist-parser-1.3.1.tgz#4305a54d8f8750dfff782bb998ff93d0da538d1a"
integrity sha512-4aHBMpYcnByF8l2OKj5hlBJlxSYIMON8Z1Hm57ymbBL4omXMlGgY+pEf4Di6h2qNT8ZG8seTVvAQYNOa7CZ9eA==
dependencies:
lines-and-columns "^1.1.6"
tslib "^1.10.0"