From e72c7c1bf9a48f79900209335565533e3d727962 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 5 Apr 2022 04:40:43 +0000
Subject: [PATCH] Bump prettier from 2.6.1 to 2.6.2 (#2005)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.1 to 2.6.2.
Release notes
Sourced from prettier's releases.
2.6.2
🔗 Changelog
Changelog
Sourced from prettier's changelog.
2.6.2
diff
Fix LESS/SCSS format error (#12536 by @​fisker
)
// Input
.background-gradient(@cut) {
background: linear-gradient(
to right,
@white 0%,
@white (@cut - 0.01%),
@portal-background @cut,
@portal-background 100%
);
}
// Prettier 2.6.1
TypeError: Cannot read properties of undefined (reading 'endOffset')
// Prettier 2.6.2
.background-gradient(@​cut
) {
background: linear-gradient(
to right,
@​white
0%,
@​white
(@​cut
- 0.01%),
@​portal-background
@​cut
,
@​portal-background
100%
);
}
Fixes bugs when parsing following valid code:
foo(await bar());
const regex = /.*/ms;
const element = <p>{/w/.test(s)}</p>;
... (truncated)
Commits
d6f82a0
Release 2.6.2
2bca9d6
Add new workflow to prevent updating users.yml
(#11784)
378370a
Build(deps): Bump leven from 3.1.0 to 4.0.0 (#11349)
3c96a08
Build(deps): Bump strip-ansi from 6.0.0 to 7.0.0 (#10731)
1bfb08f
Build(deps): Bump meriyah from 4.2.0 to 4.2.1 (#12567)
9400c89
Refactor: Add a wrapped normalizeCliOptions
version for CLI usage (#12573)
5e3de48
Build(deps): Bump escape-string-regexp from 4.0.0 to 5.0.0 (#10725)
5d73acc
Build(deps-dev): Bump esbuild from 0.14.29 to 0.14.30 (#12581)
e2eac0c
Move some bundle test code into tests/
(#12577)
7d33ed5
Build(deps-dev): Bump eslint-plugin-unicorn from 41.0.1 to 42.0.0 (#12580)
- Additional commits viewable in compare view
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=2.6.1&new-version=2.6.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
---
package-lock.json | 14 +++++++-------
package.json | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 8ef17db3f5..a9de53c55c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -16,7 +16,7 @@
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"monaco-editor-webpack-plugin": "^7.0.1",
- "prettier": "^2.6.1",
+ "prettier": "^2.6.2",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.71.0",
@@ -3404,9 +3404,9 @@
"dev": true
},
"node_modules/prettier": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.1.tgz",
- "integrity": "sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A==",
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz",
+ "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
@@ -7462,9 +7462,9 @@
"dev": true
},
"prettier": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.1.tgz",
- "integrity": "sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A==",
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz",
+ "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==",
"dev": true
},
"pretty-error": {
diff --git a/package.json b/package.json
index b3233ad3f1..5c8fc307f2 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,7 @@
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"monaco-editor-webpack-plugin": "^7.0.1",
- "prettier": "^2.6.1",
+ "prettier": "^2.6.2",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.71.0",