Skip to content

Commit

Permalink
prettierx: update yaml dependency items & a test (#266)
Browse files Browse the repository at this point in the history
* remove explicit yaml entry from package dependencies
* remove yaml resolutions from package.json
* update yaml-unist-parser -> 1.2.1
* add extra comment to tests/yaml_spec/block-scalar-with-spaces-only.yml
  as a quick workaround to avoid syntax error with recent yaml update
* update test snapshot
* remove yaml dependency notes no longer needed
  • Loading branch information
brodybits committed Jul 22, 2020
1 parent 9bbfea7 commit 74f6e55
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
9 changes: 1 addition & 8 deletions package.json
Expand Up @@ -24,14 +24,8 @@
"// prettierx dependencies notes": [
"* typescript is moved to devDependencies, and",
" it is specified as optional in peerDependenciesMeta",
"* at this point, explicit, outdated yaml version and",
" yaml resolutions entry are included to avoid a",
" test failure with recent yaml@1.10.0 update",
"<!-- -->"
],
"resolutions": {
"*/yaml": "1.8.3"
},
"dependencies": {
"@angular/compiler": "8.2.14",
"@babel/code-frame": "7.10.4",
Expand Down Expand Up @@ -89,8 +83,7 @@
"unicode-regex": "3.0.0",
"unified": "9.0.0",
"vnopts": "1.0.2",
"yaml": "1.8.3",
"yaml-unist-parser": "1.1.1"
"yaml-unist-parser": "1.2.1"
},
"devDependencies": {
"@babel/core": "7.10.5",
Expand Down
12 changes: 10 additions & 2 deletions tests/yaml_spec/__snapshots__/jsfmt.spec.js.snap
Expand Up @@ -835,14 +835,18 @@ useTabs: true
=====================================input======================================
empty block scalar: >
# comment
# comment
=====================================output=====================================
empty block scalar: >
# comment
# comment
# comment
================================================================================
`;
Expand All @@ -856,14 +860,18 @@ proseWrap: "always"
=====================================input======================================
empty block scalar: >
# comment
# comment
=====================================output=====================================
empty block scalar: >
# comment
# comment
# comment
================================================================================
`;
Expand Down
1 change: 1 addition & 0 deletions tests/yaml_spec/block-scalar-with-spaces-only.yml
@@ -1,5 +1,6 @@
empty block scalar: >
# comment
# comment
22 changes: 10 additions & 12 deletions yarn.lock
Expand Up @@ -833,7 +833,7 @@
"@babel/types" "^7.4.4"
esutils "^2.0.2"

"@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7":
"@babel/runtime@^7.8.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.10.4.tgz#a6724f1a6b8d2f6ea5236dbfe58c7d7ea9c5eb99"
integrity sha512-UpTN5yUJr9b4EX2CnGNWIvER7Ab83ibv0pcvvHc4UOdrBI5jb8bj+32cCwPX6xu0mt2daFNjYhoi+X7beH0RSw==
Expand Down Expand Up @@ -8339,21 +8339,19 @@ 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.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/yaml-unist-parser/-/yaml-unist-parser-1.1.1.tgz#a2bc7b72578718e6e5b0ebc945dde8e1f258b561"
integrity sha512-cGtqhHBlcft+rTKiPsVcSyi43Eqm5a1buYokW9VkztroKMErBSdR9ANHx+/XxNppHZTu2KMEn4yY8MdhuGoFuA==
yaml-unist-parser@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/yaml-unist-parser/-/yaml-unist-parser-1.2.1.tgz#a604dbede940ef4d0089f17c633a3c2ecbdbb86b"
integrity sha512-Me5rl0QMx3C4ryN+9Gqegssy+oVU2H22VtbCkGrzLdtLK2GwpEQHtNDMqJlEMFWOw5WIN1UThsiX7Dr5epBxoQ==
dependencies:
lines-and-columns "^1.1.6"
tslib "^1.10.0"
yaml "^1.7.1"
yaml "^1.10.0"

yaml@1.8.3, yaml@^1.7.1:
version "1.8.3"
resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.8.3.tgz#2f420fca58b68ce3a332d0ca64be1d191dd3f87a"
integrity sha512-X/v7VDnK+sxbQ2Imq4Jt2PRUsRsP7UcpSl3Llg6+NRRqWLIvxkMFYtH1FmvwNGYRKKPa+EPA4qDBlI9WVG1UKw==
dependencies:
"@babel/runtime" "^7.8.7"
yaml@^1.10.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.0.tgz#3b593add944876077d4d683fee01081bd9fff31e"
integrity sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==

yargs-parser@^18.1.2:
version "18.1.3"
Expand Down

0 comments on commit 74f6e55

Please sign in to comment.