Bump less from 3.12.2 to 4.1.1 in /desktop (#2329)

Summary:
Bumps [less](https://github.com/less/less.js) from 3.12.2 to 4.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/less/less.js/releases">less's releases</a>.</em></p>
<blockquote>
<h2>v4.1.1</h2>
<ul>
<li>Bug fixes</li>
</ul>
<h2>v4.1.0</h2>
<h1>Mixin parentheses requirement removed</h1>
<p>This was maybe too big a change without some kind of deprecation or conversion.
So for this version, this works again:</p>
<pre><code>.mixin;
</code></pre>
<h2>v4.0.0</h2>
<p>This release has 2 breaking changes:</p>
<h3>Parentheses required for mixin calls</h3>
<p>This aligns it with syntax for calling detached rulesets.</p>
<p>Example</p>
<pre lang="less"><code>.mixin() {}
.mixin;  // error in 4.0
</code></pre>
<h3>Parens-division now the default math setting</h3>
<p>Parentheses are required (by default) around division-like expressions, to force math evaluation.</p>
<p>Example:</p>
<pre lang="less"><code>ratio_large: 16;
ratio_small: 9;
<p>/** The following will produce <code>device-aspect-ratio: 1.77777778</code> by default in 3.x */
<a href="https://github.com/media"><code>@​media</code></a> all and (device-aspect-ratio: <a href="https://github.com/ratio"><code>@​ratio</code></a>_large / <a href="https://github.com/ratio"><code>@​ratio</code></a>_small) {
.body { max-width: 800px; }
}
</code></pre></p>
<p>Produces:</p>
<pre lang="css"><code>media all and (device-aspect-ratio: 16 / 9) {
  .body {
    max-width: 800px;
  }
}
</code></pre>
<p>You can, of course, get old math behavior. See: <a href="http://lesscss.org/usage/#less-options-math">http://lesscss.org/usage/#less-options-math</a></p>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/less/less.js/blob/master/CHANGELOG.md">less's changelog</a>.</em></p>
<blockquote>
<h2>Change Log</h2>
<h3>v4.0.0 (2020-12-18)</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/less/less.js/pull/3573">#3573</a> v4.0.0 (<a href="https://github-redirect.dependabot.com/less/less.js/issues/3573">#3573</a>) (<a href="https://github.com/matthew-dean"><code>@​matthew-dean</code></a>)</li>
</ul>
<h3>v3.13.1 (2020-12-18)</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/less/less.js/pull/3575">#3575</a> Fixes <a href="https://github-redirect.dependabot.com/less/less.js/issues/3574">#3574</a> (<a href="https://github-redirect.dependabot.com/less/less.js/issues/3575">#3575</a>) (<a href="https://github.com/matthew-dean"><code>@​matthew-dean</code></a>)</li>
</ul>
<h3>v3.13.0 (2020-12-12)</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/less/less.js/pull/3572">#3572</a> Fixes <a href="https://github-redirect.dependabot.com/less/less.js/issues/3434">#3434</a> - memory / runtime improvements (<a href="https://github-redirect.dependabot.com/less/less.js/issues/3572">#3572</a>) (<a href="https://github.com/matthew-dean"><code>@​matthew-dean</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/less/less.js/pull/3550">#3550</a> Examples contain more valid CSS, to test with a new parser (<a href="https://github-redirect.dependabot.com/less/less.js/issues/3550">#3550</a>) (<a href="https://github.com/matthew-dean"><code>@​matthew-dean</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/less/less.js/pull/3546">#3546</a> Bug fixes - fixes <a href="https://github-redirect.dependabot.com/less/less.js/issues/3446">#3446</a> <a href="https://github-redirect.dependabot.com/less/less.js/issues/3368">#3368</a> (<a href="https://github-redirect.dependabot.com/less/less.js/issues/3546">#3546</a>) (<a href="https://github.com/matthew-dean"><code>@​matthew-dean</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f4e752904f"><code>f4e7529</code></a> Merge branch 'master' of <a href="https://github.com/less/less.js">https://github.com/less/less.js</a></li>
<li><a href="9538abae09"><code>9538aba</code></a> Release/v4.1.1 (<a href="https://github-redirect.dependabot.com/less/less.js/issues/3599">#3599</a>)</li>
<li><a href="4cc9b8346f"><code>4cc9b83</code></a> Merge branch 'master' of <a href="https://github.com/less/less.js">https://github.com/less/less.js</a></li>
<li><a href="9d9e650890"><code>9d9e650</code></a> v4.1.1</li>
<li><a href="f727b26de5"><code>f727b26</code></a> Fixes <a href="https://github-redirect.dependabot.com/less/less.js/issues/3586">#3586</a> (<a href="https://github-redirect.dependabot.com/less/less.js/issues/3589">#3589</a>)</li>
<li><a href="63c1827c63"><code>63c1827</code></a> Fix expected response when there's a socket error (<a href="https://github-redirect.dependabot.com/less/less.js/issues/3597">#3597</a>)</li>
<li><a href="3c23217358"><code>3c23217</code></a> Release v4.1.0</li>
<li><a href="d495fb26a8"><code>d495fb2</code></a> v4.1.0</li>
<li><a href="a4b6c8544c"><code>a4b6c85</code></a> Roll back paren requirement on mixin calls (<a href="https://github-redirect.dependabot.com/less/less.js/issues/3588">#3588</a>)</li>
<li><a href="7f1938ec10"><code>7f1938e</code></a> Update rollup and other build dependencies (<a href="https://github-redirect.dependabot.com/less/less.js/issues/3583">#3583</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/less/less.js/compare/v3.12.2...v4.1.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=less&package-manager=npm_and_yarn&previous-version=3.12.2&new-version=4.1.1)](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)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/2329

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474751

Pulled By: mweststrate

fbshipit-source-id: 7e568e71b36fd54cbb95eb9eae64ae7e5c260f63
This commit is contained in:
dependabot[bot]
2021-05-18 06:40:24 -07:00
committed by Facebook GitHub Bot
parent e18dd53f4a
commit 2048d9e7a2
2 changed files with 47 additions and 12 deletions

View File

@@ -161,7 +161,7 @@
"jest": "^26.6.3",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jest-fetch-mock": "^3.0.3",
"less": "^3.12.2",
"less": "^4.1.1",
"line-replace": "^2.0.1",
"metro": "^0.66.0",
"metro-minify-terser": "^0.66.0",

View File

@@ -4961,6 +4961,13 @@ cookie@~0.4.1:
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.1.tgz#afd713fe26ebd21ba95ceb61f9a8116e50a537d1"
integrity sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==
copy-anything@^2.0.1:
version "2.0.3"
resolved "https://registry.yarnpkg.com/copy-anything/-/copy-anything-2.0.3.tgz#842407ba02466b0df844819bbe3baebbe5d45d87"
integrity sha512-GK6QUtisv4fNS+XcI7shX0Gx9ORg7QqIznyfho79JTnX1XhLiyZHfftvGiziqzRiEi/Bjhgpi+D2o7HxJFPnDQ==
dependencies:
is-what "^3.12.0"
copy-descriptor@^0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
@@ -5190,6 +5197,13 @@ debug@=3.1.0:
dependencies:
ms "2.0.0"
debug@^3.2.6:
version "3.2.7"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==
dependencies:
ms "^2.1.1"
decamelize@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
@@ -7221,7 +7235,7 @@ iconv-corefoundation@^1.1.5:
cli-truncate "^1.1.0"
node-addon-api "^1.6.3"
iconv-lite@0.4.24, iconv-lite@^0.4.24:
iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4:
version "0.4.24"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
@@ -7732,6 +7746,11 @@ is-weakset@^2.0.1:
resolved "https://registry.yarnpkg.com/is-weakset/-/is-weakset-2.0.1.tgz#e9a0af88dbd751589f5e50d80f4c98b780884f83"
integrity sha512-pi4vhbhVHGLxohUw7PhGsueT4vRGFoXhP7+RGN0jKIv9+8PWYCQTqtADngrxOm2g46hoH0+g8uZZBzMrvVGDmw==
is-what@^3.12.0:
version "3.14.1"
resolved "https://registry.yarnpkg.com/is-what/-/is-what-3.14.1.tgz#e1222f46ddda85dead0fd1c9df131760e77755c1"
integrity sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==
is-window@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-window/-/is-window-1.0.2.tgz#2c896ca53db97de45d3c33133a65d8c9f563480d"
@@ -8865,11 +8884,13 @@ lazystream@^1.0.0:
dependencies:
readable-stream "^2.0.5"
less@^3.12.2:
version "3.12.2"
resolved "https://registry.yarnpkg.com/less/-/less-3.12.2.tgz#157e6dd32a68869df8859314ad38e70211af3ab4"
integrity sha512-+1V2PCMFkL+OIj2/HrtrvZw0BC0sYLMICJfbQjuj/K8CEnlrFX6R5cKKgzzttsZDHyxQNL1jqMREjKN3ja/E3Q==
less@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/less/-/less-4.1.1.tgz#15bf253a9939791dc690888c3ff424f3e6c7edba"
integrity sha512-w09o8tZFPThBscl5d0Ggp3RcrKIouBoQscnOMgFH3n5V3kN/CXGHNfCkRPtxJk6nKryDXaV9aHLK55RXuH4sAw==
dependencies:
copy-anything "^2.0.1"
parse-node-version "^1.0.1"
tslib "^1.10.0"
optionalDependencies:
errno "^0.1.1"
@@ -8877,7 +8898,7 @@ less@^3.12.2:
image-size "~0.5.0"
make-dir "^2.1.0"
mime "^1.4.1"
native-request "^1.0.5"
needle "^2.5.2"
source-map "~0.6.0"
leven@^3.1.0:
@@ -9741,6 +9762,11 @@ ms@2.1.2:
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
ms@^2.1.1:
version "2.1.3"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
mute-stream@0.0.8:
version "0.0.8"
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
@@ -9763,11 +9789,6 @@ nanomatch@^1.2.9:
snapdragon "^0.8.1"
to-regex "^3.0.1"
native-request@^1.0.5:
version "1.0.7"
resolved "https://registry.yarnpkg.com/native-request/-/native-request-1.0.7.tgz#ff742dc555b4c8f2f1c14b548639ba174e573856"
integrity sha512-9nRjinI9bmz+S7dgNtf4A70+/vPhnd+2krGpy4SUlADuOuSa24IDkNaZ+R/QT1wQ6S8jBdi6wE7fLekFZNfUpQ==
natural-compare@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
@@ -9778,6 +9799,15 @@ natural-orderby@^2.0.1:
resolved "https://registry.yarnpkg.com/natural-orderby/-/natural-orderby-2.0.3.tgz#8623bc518ba162f8ff1cdb8941d74deb0fdcc016"
integrity sha512-p7KTHxU0CUrcOXe62Zfrb5Z13nLvPhSWR/so3kFulUQU0sgUll2Z0LwpsLN351eOOD+hRGu/F1g+6xDfPeD++Q==
needle@^2.5.2:
version "2.6.0"
resolved "https://registry.yarnpkg.com/needle/-/needle-2.6.0.tgz#24dbb55f2509e2324b4a99d61f413982013ccdbe"
integrity sha512-KKYdza4heMsEfSWD7VPUIz3zX2XDwOyX2d+geb4vrERZMT5RMU6ujjaD+I5Yr54uZxQ2w6XRTAhHBbSCyovZBg==
dependencies:
debug "^3.2.6"
iconv-lite "^0.4.4"
sax "^1.2.4"
negotiator@0.6.2:
version "0.6.2"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
@@ -10287,6 +10317,11 @@ parse-json@^5.0.0:
json-parse-even-better-errors "^2.3.0"
lines-and-columns "^1.1.6"
parse-node-version@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/parse-node-version/-/parse-node-version-1.0.1.tgz#e2b5dbede00e7fa9bc363607f53327e8b073189b"
integrity sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==
parse-passwd@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6"