build(cargo): Update browerslist-rs (#6547)

Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
This commit is contained in:
OJ Kwon 2022-11-29 23:09:44 -08:00 committed by GitHub
parent 0548db10e8
commit d730186e9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 153 additions and 278 deletions

114
Cargo.lock generated
View File

@ -49,6 +49,15 @@ dependencies = [
"memchr",
]
[[package]]
name = "android_system_properties"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
dependencies = [
"libc",
]
[[package]]
name = "ansi_term"
version = "0.12.1"
@ -216,9 +225,9 @@ dependencies = [
[[package]]
name = "browserslist-rs"
version = "0.11.0"
version = "0.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c689fb4e42bd511c1927856b078d8a582690f5be196199d1c9005b9d4feae8c"
checksum = "421478dde88feb4281328dea29dbf6d2b57bc19a8968214fc3694c8c574bc47f"
dependencies = [
"ahash",
"anyhow",
@ -318,12 +327,12 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "chrono"
version = "0.4.19"
version = "0.4.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f"
dependencies = [
"iana-time-zone",
"js-sys",
"libc",
"num-integer",
"num-traits",
"time 0.1.43",
@ -372,6 +381,16 @@ dependencies = [
"syn",
]
[[package]]
name = "codespan-reporting"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e"
dependencies = [
"termcolor",
"unicode-width",
]
[[package]]
name = "console"
version = "0.15.1"
@ -697,6 +716,50 @@ version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f1f94d7051f35"
[[package]]
name = "cxx"
version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d4a41a86530d0fe7f5d9ea779916b7cadd2d4f9add748b99c2c029cbbdfaf453"
dependencies = [
"cc",
"cxxbridge-flags",
"cxxbridge-macro",
"link-cplusplus",
]
[[package]]
name = "cxx-build"
version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06416d667ff3e3ad2df1cd8cd8afae5da26cf9cec4d0825040f88b5ca659a2f0"
dependencies = [
"cc",
"codespan-reporting",
"once_cell",
"proc-macro2",
"quote",
"scratch",
"syn",
]
[[package]]
name = "cxxbridge-flags"
version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "820a9a2af1669deeef27cb271f476ffd196a2c4b6731336011e0ba63e2c7cf71"
[[package]]
name = "cxxbridge-macro"
version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a08a6e2fcc370a089ad3b4aaf54db3b1b4cee38ddabce5896b33eb693275f470"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "darling"
version = "0.13.1"
@ -1267,6 +1330,30 @@ dependencies = [
"tokio-native-tls",
]
[[package]]
name = "iana-time-zone"
version = "0.1.53"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765"
dependencies = [
"android_system_properties",
"core-foundation-sys",
"iana-time-zone-haiku",
"js-sys",
"wasm-bindgen",
"winapi",
]
[[package]]
name = "iana-time-zone-haiku"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca"
dependencies = [
"cxx",
"cxx-build",
]
[[package]]
name = "ident_case"
version = "1.0.1"
@ -1482,6 +1569,15 @@ dependencies = [
"winapi",
]
[[package]]
name = "link-cplusplus"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9272ab7b96c9046fbc5bc56c06c117cb639fe2d509df0c421cad82d2915cf369"
dependencies = [
"cc",
]
[[package]]
name = "lock_api"
version = "0.4.6"
@ -2594,6 +2690,12 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
[[package]]
name = "scratch"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8132065adcfd6e02db789d9285a0deb2f3fcb04002865ab67d5fb103533898"
[[package]]
name = "seahash"
version = "4.1.0"
@ -4924,8 +5026,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268"
dependencies = [
"cfg-if 1.0.0",
"serde",
"serde_json",
"wasm-bindgen-macro",
]

View File

@ -1,23 +1,23 @@
[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Common logic for targetting vairous browsers"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Common logic for targetting vairous browsers"
documentation = "https://rustdoc.swc.rs/preset_env_base/"
edition = "2021"
license = "Apache-2.0"
name = "preset_env_base"
version = "0.3.2"
edition = "2021"
license = "Apache-2.0"
name = "preset_env_base"
version = "0.3.2"
[lib]
bench = false
[dependencies]
ahash = "0.7.4"
anyhow = "1"
browserslist-rs = "=0.11.0"
dashmap = "5.1.0"
from_variant = { version = "0.1.3", path = "../from_variant" }
once_cell = "1.12.0"
semver = { version = "1.0.4", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
st-map = "0.1.2"
tracing = { version = "0.1.32" }
ahash = "0.7.4"
anyhow = "1"
browserslist-rs = "0.12.2"
dashmap = "5.1.0"
from_variant = { version = "0.1.3", path = "../from_variant" }
once_cell = "1.12.0"
semver = { version = "1.0.4", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
st-map = "0.1.2"
tracing = { version = "0.1.32" }

View File

@ -1,6 +1,6 @@
var e = 1;
try {
throw 2;
} catch (e1) {
} catch {
console.log(e);
}

View File

@ -1,4 +1,4 @@
import { createRequire as _createRequire } from "module";
var __require = _createRequire(import.meta.url);
var F = __require("yaml");
const __require = _createRequire(import.meta.url);
const F = __require("yaml");
console.log(F);

View File

@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return get;
}
get: ()=>get
});
function get(key) {
console.log(key);

View File

@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
});
Object.defineProperty(exports, "render", {
enumerable: true,
get: function() {
return _customRender.customRender;
}
get: ()=>_customRender.customRender
});
var _exportStar = require("@swc/helpers/lib/_export_star.js").default;
var _customRender = require("./customRender");
const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
const _customRender = require("./customRender");
_exportStar(require("@testing-library/react"), exports);

View File

@ -1,129 +1,10 @@
import _async_iterator from "@swc/helpers/src/_async_iterator.mjs";
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _wrap_async_generator from "@swc/helpers/src/_wrap_async_generator.mjs";
import _ts_generator from "@swc/helpers/src/_ts_generator.mjs";
function lol() {
return _lol.apply(this, arguments);
async function* lol() {
yield 1;
yield 2;
}
function _lol() {
_lol = _wrap_async_generator(function() {
return _ts_generator(this, function(_state) {
switch(_state.label){
case 0:
return [
4,
1
];
case 1:
_state.sent();
return [
4,
2
];
case 2:
_state.sent();
return [
2
];
}
});
});
return _lol.apply(this, arguments);
}
function main() {
return _main.apply(this, arguments);
}
function _main() {
_main = _async_to_generator(function() {
var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, _value, x, err;
return _ts_generator(this, function(_state) {
switch(_state.label){
case 0:
_iteratorAbruptCompletion = false, _didIteratorError = false;
_state.label = 1;
case 1:
_state.trys.push([
1,
6,
7,
12
]);
_iterator = _async_iterator(lol());
_state.label = 2;
case 2:
return [
4,
_iterator.next()
];
case 3:
if (!(_iteratorAbruptCompletion = !(_step = _state.sent()).done)) return [
3,
5
];
_value = _step.value;
x = _value;
console.log(x);
_state.label = 4;
case 4:
_iteratorAbruptCompletion = false;
return [
3,
2
];
case 5:
return [
3,
12
];
case 6:
err = _state.sent();
_didIteratorError = true;
_iteratorError = err;
return [
3,
12
];
case 7:
_state.trys.push([
7,
,
10,
11
]);
if (!(_iteratorAbruptCompletion && _iterator.return != null)) return [
3,
9
];
return [
4,
_iterator.return()
];
case 8:
_state.sent();
_state.label = 9;
case 9:
return [
3,
11
];
case 10:
if (_didIteratorError) {
throw _iteratorError;
}
return [
7
];
case 11:
return [
7
];
case 12:
return [
2
];
}
});
});
return _main.apply(this, arguments);
async function main() {
for await (const x of lol()){
console.log(x);
}
}
main();

View File

@ -1,16 +1,3 @@
import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
import _ts_generator from "@swc/helpers/src/_ts_generator.mjs";
(function() {
var _main = _async_to_generator(function() {
return _ts_generator(this, function(_state) {
console.log(1);
return [
2
];
});
});
function main() {
return _main.apply(this, arguments);
}
return main;
})()();
(async function main() {
console.log(1);
})();

View File

@ -1,4 +1,4 @@
var c = /*#__PURE__*/ React.createElement("img", {
const c = /*#__PURE__*/ React.createElement("img", {
alt: "caf\xe9"
}).props.alt;
console.log(c);

View File

@ -4,15 +4,12 @@ Object.defineProperty(exports, "__esModule", {
});
Object.defineProperty(exports, "App", {
enumerable: true,
get: function() {
return App;
}
get: ()=>App
});
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
var _slicedToArray = require("@swc/helpers/lib/_sliced_to_array.js").default;
var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
var _reactI18N = require("@shopify/react-i18n");
const _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
const _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
const _reactI18N = require("@shopify/react-i18n");
function App() {
var _useI18n = _slicedToArray((0, _reactI18N.useI18n)(), 1), i18n = _useI18n[0];
const [i18n] = (0, _reactI18N.useI18n)();
return /*#__PURE__*/ _react.default.createElement("h1", null, i18n.translate("foo"));
}

View File

@ -4,15 +4,12 @@ Object.defineProperty(exports, "__esModule", {
});
Object.defineProperty(exports, "App", {
enumerable: true,
get: function() {
return App;
}
get: ()=>App
});
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
var _slicedToArray = require("@swc/helpers/lib/_sliced_to_array.js").default;
var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
var _reactI18N = require("@shopify/react-i18n");
const _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
const _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
const _reactI18N = require("@shopify/react-i18n");
function App() {
var _useI18n = _slicedToArray((0, _reactI18N.useI18n)(), 1), i18n = _useI18n[0];
const [i18n] = (0, _reactI18N.useI18n)();
return /*#__PURE__*/ _react.default.createElement("h1", null, i18n.translate("foo"));
}

View File

@ -1,7 +1,6 @@
import _sliced_to_array from "@swc/helpers/src/_sliced_to_array.mjs";
import React from "react";
import { useI18n } from "@shopify/react-i18n";
export function App() {
var _useI18n = _sliced_to_array(useI18n(), 1), i18n = _useI18n[0];
const [i18n] = useI18n();
return /*#__PURE__*/ React.createElement("h1", null, i18n.translate("foo"));
}

View File

@ -1,4 +1,3 @@
.class {
-webkit-clip-path: none;
clip-path: none;
}

View File

@ -1,12 +1,6 @@
input[type=file]::-webkit-file-upload-button {
border: 2px solid #6c5ce7;
}
input[type=file]::file-selector-button {
border: 2px solid #6c5ce7;
}
input[type=file]::-webkit-file-upload-button:hover {
border: 2px solid #00cec9;
}
input[type=file]::file-selector-button:hover {
border: 2px solid #00cec9;
}

View File

@ -5,13 +5,6 @@
.b,
.c::selection,
.d:read-only,
.e::-webkit-input-placeholder {
color: yellow;
}
.a,
.b,
.c::selection,
.d:read-only,
.e::placeholder {
color: yellow;
}

View File

@ -20,18 +20,11 @@
}
}
.test {
&.class::-webkit-input-placeholder {
color: red;
}
&.class::placeholder {
color: red;
}
}
.test {
&.class::-webkit-input-placeholder {
-webkit-appearance: auto;
appearance: auto;
}
&.class::placeholder {
-webkit-appearance: auto;
appearance: auto;
@ -67,10 +60,6 @@
.test {
-webkit-appearance: auto;
appearance: auto;
&.class::-webkit-input-placeholder {
-webkit-appearance: auto;
appearance: auto;
}
&.class::placeholder {
-webkit-appearance: auto;
appearance: auto;
@ -82,10 +71,6 @@
}
@media (orientation: landscape) {
.test {
&.class::-webkit-input-placeholder {
-webkit-appearance: auto;
appearance: auto;
}
&.class::placeholder {
-webkit-appearance: auto;
appearance: auto;

View File

@ -1,10 +1,7 @@
input::-webkit-input-placeholder {
color: red;
}
input::placeholder {
color: red;
}
input::-webkit-input-placeholder,
input::placeholder,
#fs-toggle:-webkit-full-screen {
color: red;
}
@ -12,18 +9,10 @@ input::placeholder,
#fs-toggle:fullscreen {
color: red;
}
input::-webkit-input-placeholder {
-webkit-backdrop-filter: blur(2px);
backdrop-filter: blur(2px);
}
input::placeholder {
-webkit-backdrop-filter: blur(2px);
backdrop-filter: blur(2px);
}
input.appearance::-webkit-input-placeholder {
-webkit-appearance: none;
appearance: none;
}
input.appearance::placeholder {
-webkit-appearance: none;
appearance: none;

View File

@ -2,6 +2,5 @@
position: relative;
}
.class {
position: -webkit-sticky;
position: sticky;
}

View File

@ -1,10 +1,8 @@
.a {
color-adjust: economy;
-webkit-print-color-adjust: economy;
print-color-adjust: economy;
}
.b {
color-adjust: exact;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}

View File

@ -42,9 +42,6 @@
color: red;
}
}
::-webkit-input-placeholder {
color: gray;
}
::placeholder {
color: gray;
}

View File

@ -1,5 +1,4 @@
.class {
-webkit-text-emphasis: none;
text-emphasis: none;
}
.class {
@ -7,30 +6,23 @@
-webkit-text-emphasis: filled red;
}
.class {
-webkit-text-emphasis-position: left;
text-emphasis-position: left;
}
.class {
-webkit-text-emphasis-style: circle;
text-emphasis-style: circle;
}
.class {
-webkit-text-emphasis-color: red;
text-emphasis-color: red;
}
a {
-webkit-text-emphasis-position: over left;
text-emphasis-position: over left;
}
em {
-webkit-text-emphasis-position: under right;
text-emphasis-position: under right;
}
.reverse {
-webkit-text-emphasis-position: left over;
text-emphasis-position: left over;
}
.wrong {
-webkit-text-emphasis-position: over;
text-emphasis-position: over;
}

View File

@ -1,9 +1,6 @@
div {
width: -moz-fit-content;
width: fit-content;
width: -webkit-max-content;
width: max-content;
width: -webkit-min-content;
width: min-content;
width: -webkit-fill-available;
width: -moz-available;
@ -11,27 +8,16 @@ div {
width: -webkit-fill-available;
width: -moz-available;
width: stretch;
min-width: -moz-fit-content;
min-width: fit-content;
max-width: -moz-fit-content;
max-width: fit-content;
height: -moz-fit-content;
height: fit-content;
min-height: -moz-fit-content;
min-height: fit-content;
max-height: -moz-fit-content;
max-height: fit-content;
inline-size: -moz-fit-content;
inline-size: fit-content;
min-inline-size: -moz-fit-content;
min-inline-size: fit-content;
max-inline-size: -moz-fit-content;
max-inline-size: fit-content;
block-size: -moz-fit-content;
block-size: fit-content;
min-block-size: -moz-fit-content;
min-block-size: fit-content;
max-block-size: -moz-fit-content;
max-block-size: fit-content;
}
.outdated {
@ -45,13 +31,10 @@ a {
width: stretch;
}
b {
height: -webkit-max-content;
height: max-content;
}
p {
block-size: -webkit-min-content;
block-size: min-content;
min-inline-size: -moz-fit-content;
min-inline-size: fit-content;
}
.outdated {
@ -68,21 +51,16 @@ p {
width: calc(100% - var(--jqx-circular-progress-bar-fill-size));
}
.grid {
grid: -webkit-min-content -webkit-max-content/ fit-content(500px);
grid: min-content max-content/ fit-content(500px);
}
.grid-template {
grid-template: -webkit-min-content/ fit-content(10px) -webkit-max-content;
grid-template: min-content/ fit-content(10px) max-content;
grid-template: -webkit-max-content 1fr -webkit-max-content -webkit-max-content/ -webkit-max-content 1fr;
grid-template: max-content 1fr max-content max-content/ max-content 1fr;
}
.grid-template-columns {
grid-template-columns: minmax(100px, -webkit-min-content);
grid-template-columns: minmax(100px, min-content);
}
.grid-auto-columns {
grid-auto-columns: -webkit-min-content -webkit-max-content;
grid-auto-columns: min-content max-content;
}
.ignore {

View File

@ -29,18 +29,15 @@
width: --max-content;
}
.class {
width: -moz-fit-content;
width: fit-content;
}
.class {
width: stackWidth;
}
.class {
min-width: -webkit-max-content;
min-width: max-content;
}
.class {
max-width: -webkit-min-content;
max-width: min-content;
}
.class {
@ -49,7 +46,6 @@
height: fill-available;
}
.class {
max-height: -moz-fit-content;
max-height: fit-content;
}
.class {
@ -63,11 +59,9 @@
width: stretch !important;
}
.class {
min-block-size: -webkit-max-content;
min-block-size: max-content;
}
.class {
min-inline-size: -webkit-max-content;
min-inline-size: max-content;
}
.class {