Skip to content

Commit

Permalink
Build(deps): Bump yaml-unist-parser from 1.3.0 to 1.3.1 (#9169)
Browse files Browse the repository at this point in the history
* 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](prettier/yaml-unist-parser@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>
  • Loading branch information
dependabot[bot] and fisker committed Sep 10, 2020
1 parent 24cc03b commit 116727b
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 21 deletions.
40 changes: 27 additions & 13 deletions changelog_unreleased/yaml/pr-9143.md
@@ -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
```
2 changes: 1 addition & 1 deletion cspell.json
Expand Up @@ -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*",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tests/yaml/comment/__snapshots__/jsfmt.spec.js.snap
Expand Up @@ -357,7 +357,7 @@ none(2):
=====================================output=====================================
before:
# before.comment
# before.comment
after:
# after.comment
Expand Down Expand Up @@ -512,7 +512,7 @@ printWidth: 80
=====================================output=====================================
- before
# before.comment
# before.comment
- after
# after.comment
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -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"
Expand Down

0 comments on commit 116727b

Please sign in to comment.