@modern-js/packages-generator 0.0.0-next-0bf5ec13d2 → 0.0.0-next-b71d66058
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +233 -41
- package/package.json +9 -9
- package/src/index.ts +68 -0
package/dist/index.js
CHANGED
|
@@ -65313,10 +65313,10 @@ var init_esm3 = __esm({
|
|
|
65313
65313
|
}
|
|
65314
65314
|
});
|
|
65315
65315
|
|
|
65316
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
65316
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/shared.js
|
|
65317
65317
|
var REVA_ACTIONS_KEY, SchemaNestedMap, SchemaStateMap, SchemaValidatorMap, SchemaNormalKeys, SchemaValidatorKeys, hasOwnProperty4, traverse, traverseSchema, isNoNeedCompileObject, createDataSource, patchStateFormSchema;
|
|
65318
65318
|
var init_shared2 = __esm({
|
|
65319
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
65319
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/shared.js"() {
|
|
65320
65320
|
init_esm2();
|
|
65321
65321
|
init_esm3();
|
|
65322
65322
|
init_schema();
|
|
@@ -65508,10 +65508,10 @@ var init_shared2 = __esm({
|
|
|
65508
65508
|
}
|
|
65509
65509
|
});
|
|
65510
65510
|
|
|
65511
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
65511
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/compiler.js
|
|
65512
65512
|
var ExpRE, Registry, silent, registerCompiler, shallowCompile, compile, patchCompile, patchSchemaCompile;
|
|
65513
65513
|
var init_compiler = __esm({
|
|
65514
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
65514
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/compiler.js"() {
|
|
65515
65515
|
init_esm2();
|
|
65516
65516
|
init_esm3();
|
|
65517
65517
|
init_shared2();
|
|
@@ -70500,10 +70500,10 @@ var init_esm5 = __esm({
|
|
|
70500
70500
|
}
|
|
70501
70501
|
});
|
|
70502
70502
|
|
|
70503
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70503
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/transformer.js
|
|
70504
70504
|
var __read7, FieldEffects, DefaultFieldEffects, getDependencyValue, getDependencies, setSchemaFieldState, getBaseScope, getBaseReactions, getUserReactions, transformFieldProps;
|
|
70505
70505
|
var init_transformer = __esm({
|
|
70506
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70506
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/transformer.js"() {
|
|
70507
70507
|
init_esm3();
|
|
70508
70508
|
init_esm2();
|
|
70509
70509
|
init_esm5();
|
|
@@ -70708,10 +70708,10 @@ var init_transformer = __esm({
|
|
|
70708
70708
|
}
|
|
70709
70709
|
});
|
|
70710
70710
|
|
|
70711
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70711
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/patches.js
|
|
70712
70712
|
var __assign9, patches, polyfills, reducePatches, registerPatches, registerPolyfills, enablePolyfills;
|
|
70713
70713
|
var init_patches = __esm({
|
|
70714
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70714
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/patches.js"() {
|
|
70715
70715
|
init_esm2();
|
|
70716
70716
|
__assign9 = function() {
|
|
70717
70717
|
__assign9 = Object.assign || function(t) {
|
|
@@ -70763,10 +70763,10 @@ var init_patches = __esm({
|
|
|
70763
70763
|
}
|
|
70764
70764
|
});
|
|
70765
70765
|
|
|
70766
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70766
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
70767
70767
|
var __assign10, __read8, __spreadArray7, VOID_COMPONENTS, TYPE_DEFAULT_COMPONENTS, transformCondition, transformXLinkage, SpecificationV1Polyfill, registerVoidComponents, registerTypeDefaultComponents;
|
|
70768
70768
|
var init_SPECIFICATION_1_0 = __esm({
|
|
70769
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70769
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js"() {
|
|
70770
70770
|
init_patches();
|
|
70771
70771
|
init_esm2();
|
|
70772
70772
|
__assign10 = function() {
|
|
@@ -70927,17 +70927,17 @@ var init_SPECIFICATION_1_0 = __esm({
|
|
|
70927
70927
|
}
|
|
70928
70928
|
});
|
|
70929
70929
|
|
|
70930
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70930
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/polyfills/index.js
|
|
70931
70931
|
var init_polyfills = __esm({
|
|
70932
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70932
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/polyfills/index.js"() {
|
|
70933
70933
|
init_SPECIFICATION_1_0();
|
|
70934
70934
|
}
|
|
70935
70935
|
});
|
|
70936
70936
|
|
|
70937
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70937
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/schema.js
|
|
70938
70938
|
var Schema;
|
|
70939
70939
|
var init_schema = __esm({
|
|
70940
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
70940
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/schema.js"() {
|
|
70941
70941
|
init_esm2();
|
|
70942
70942
|
init_compiler();
|
|
70943
70943
|
init_transformer();
|
|
@@ -71179,19 +71179,19 @@ var init_schema = __esm({
|
|
|
71179
71179
|
}
|
|
71180
71180
|
});
|
|
71181
71181
|
|
|
71182
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
71182
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/types.js
|
|
71183
71183
|
var init_types6 = __esm({
|
|
71184
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
71184
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/types.js"() {
|
|
71185
71185
|
}
|
|
71186
71186
|
});
|
|
71187
71187
|
|
|
71188
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
71188
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/index.js
|
|
71189
71189
|
var esm_exports2 = {};
|
|
71190
71190
|
__export(esm_exports2, {
|
|
71191
71191
|
Schema: () => Schema
|
|
71192
71192
|
});
|
|
71193
71193
|
var init_esm6 = __esm({
|
|
71194
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.
|
|
71194
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.5/node_modules/@formily/json-schema/esm/index.js"() {
|
|
71195
71195
|
init_schema();
|
|
71196
71196
|
init_types6();
|
|
71197
71197
|
}
|
|
@@ -103779,9 +103779,9 @@ var require_inquirer = __commonJS({
|
|
|
103779
103779
|
}
|
|
103780
103780
|
});
|
|
103781
103781
|
|
|
103782
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
103782
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
|
|
103783
103783
|
var require_transform = __commonJS({
|
|
103784
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
103784
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
|
|
103785
103785
|
"use strict";
|
|
103786
103786
|
Object.defineProperty(exports, "__esModule", {
|
|
103787
103787
|
value: true
|
|
@@ -103950,9 +103950,9 @@ var require_transform = __commonJS({
|
|
|
103950
103950
|
}
|
|
103951
103951
|
});
|
|
103952
103952
|
|
|
103953
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
103953
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
|
|
103954
103954
|
var require_prompt2 = __commonJS({
|
|
103955
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
103955
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
|
|
103956
103956
|
"use strict";
|
|
103957
103957
|
Object.defineProperty(exports, "__esModule", {
|
|
103958
103958
|
value: true
|
|
@@ -104090,9 +104090,9 @@ var require_prompt2 = __commonJS({
|
|
|
104090
104090
|
}
|
|
104091
104091
|
});
|
|
104092
104092
|
|
|
104093
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
104093
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
|
|
104094
104094
|
var require_inquirer2 = __commonJS({
|
|
104095
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
104095
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
|
|
104096
104096
|
"use strict";
|
|
104097
104097
|
Object.defineProperty(exports, "__esModule", {
|
|
104098
104098
|
value: true
|
|
@@ -104164,9 +104164,9 @@ var require_inquirer2 = __commonJS({
|
|
|
104164
104164
|
}
|
|
104165
104165
|
});
|
|
104166
104166
|
|
|
104167
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
104167
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
|
|
104168
104168
|
var require_node7 = __commonJS({
|
|
104169
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
104169
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
|
|
104170
104170
|
"use strict";
|
|
104171
104171
|
Object.defineProperty(exports, "__esModule", {
|
|
104172
104172
|
value: true
|
|
@@ -106979,9 +106979,9 @@ var require_node8 = __commonJS({
|
|
|
106979
106979
|
}
|
|
106980
106980
|
});
|
|
106981
106981
|
|
|
106982
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
106982
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js
|
|
106983
106983
|
var require_zh = __commonJS({
|
|
106984
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
106984
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js"(exports) {
|
|
106985
106985
|
"use strict";
|
|
106986
106986
|
Object.defineProperty(exports, "__esModule", {
|
|
106987
106987
|
value: true
|
|
@@ -107016,9 +107016,9 @@ var require_zh = __commonJS({
|
|
|
107016
107016
|
}
|
|
107017
107017
|
});
|
|
107018
107018
|
|
|
107019
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
107019
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js
|
|
107020
107020
|
var require_en = __commonJS({
|
|
107021
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
107021
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js"(exports) {
|
|
107022
107022
|
"use strict";
|
|
107023
107023
|
Object.defineProperty(exports, "__esModule", {
|
|
107024
107024
|
value: true
|
|
@@ -107053,9 +107053,9 @@ var require_en = __commonJS({
|
|
|
107053
107053
|
}
|
|
107054
107054
|
});
|
|
107055
107055
|
|
|
107056
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
107056
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js
|
|
107057
107057
|
var require_locale = __commonJS({
|
|
107058
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
107058
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js"(exports) {
|
|
107059
107059
|
"use strict";
|
|
107060
107060
|
Object.defineProperty(exports, "__esModule", {
|
|
107061
107061
|
value: true
|
|
@@ -107080,9 +107080,9 @@ var require_locale = __commonJS({
|
|
|
107080
107080
|
}
|
|
107081
107081
|
});
|
|
107082
107082
|
|
|
107083
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
107083
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js
|
|
107084
107084
|
var require_transform2 = __commonJS({
|
|
107085
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
107085
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js"(exports) {
|
|
107086
107086
|
"use strict";
|
|
107087
107087
|
Object.defineProperty(exports, "__esModule", {
|
|
107088
107088
|
value: true
|
|
@@ -107117,9 +107117,9 @@ var require_transform2 = __commonJS({
|
|
|
107117
107117
|
}
|
|
107118
107118
|
});
|
|
107119
107119
|
|
|
107120
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
107120
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js
|
|
107121
107121
|
var require_checkUseNvm = __commonJS({
|
|
107122
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
107122
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js"(exports) {
|
|
107123
107123
|
"use strict";
|
|
107124
107124
|
Object.defineProperty(exports, "__esModule", {
|
|
107125
107125
|
value: true
|
|
@@ -107182,9 +107182,9 @@ var require_checkUseNvm = __commonJS({
|
|
|
107182
107182
|
}
|
|
107183
107183
|
});
|
|
107184
107184
|
|
|
107185
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
107185
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
|
|
107186
107186
|
var require_node9 = __commonJS({
|
|
107187
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
107187
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_5rrgljw3pnodb4iwhmu3m2ntum/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js"(exports) {
|
|
107188
107188
|
"use strict";
|
|
107189
107189
|
Object.defineProperty(exports, "__esModule", {
|
|
107190
107190
|
value: true
|
|
@@ -133734,6 +133734,198 @@ var require_dotenv_expand2 = __commonJS({
|
|
|
133734
133734
|
}
|
|
133735
133735
|
});
|
|
133736
133736
|
|
|
133737
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/browsers.js
|
|
133738
|
+
var require_browsers3 = __commonJS({
|
|
133739
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/browsers.js"(exports, module2) {
|
|
133740
|
+
module2.exports = { A: "ie", B: "edge", C: "firefox", D: "chrome", E: "safari", F: "opera", G: "ios_saf", H: "op_mini", I: "android", J: "bb", K: "op_mob", L: "and_chr", M: "and_ff", N: "ie_mob", O: "and_uc", P: "samsung", Q: "and_qq", R: "baidu", S: "kaios" };
|
|
133741
|
+
}
|
|
133742
|
+
});
|
|
133743
|
+
|
|
133744
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/browsers.js
|
|
133745
|
+
var require_browsers4 = __commonJS({
|
|
133746
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/browsers.js"(exports, module2) {
|
|
133747
|
+
module2.exports.browsers = require_browsers3();
|
|
133748
|
+
}
|
|
133749
|
+
});
|
|
133750
|
+
|
|
133751
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/browserVersions.js
|
|
133752
|
+
var require_browserVersions3 = __commonJS({
|
|
133753
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/browserVersions.js"(exports, module2) {
|
|
133754
|
+
module2.exports = { "0": "24", "1": "25", "2": "26", "3": "27", "4": "28", "5": "29", "6": "30", "7": "31", "8": "32", "9": "33", A: "10", B: "11", C: "12", D: "7", E: "8", F: "9", G: "15", H: "110", I: "4", J: "6", K: "13", L: "14", M: "16", N: "17", O: "18", P: "79", Q: "80", R: "81", S: "83", T: "84", U: "85", V: "86", W: "87", X: "88", Y: "89", Z: "90", a: "91", b: "92", c: "93", d: "94", e: "95", f: "109", g: "20", h: "73", i: "96", j: "97", k: "98", l: "99", m: "100", n: "101", o: "102", p: "103", q: "104", r: "105", s: "106", t: "107", u: "108", v: "5", w: "19", x: "21", y: "22", z: "23", AB: "34", BB: "35", CB: "36", DB: "37", EB: "38", FB: "39", GB: "40", HB: "41", IB: "42", JB: "43", KB: "44", LB: "45", MB: "46", NB: "47", OB: "48", PB: "49", QB: "50", RB: "51", SB: "52", TB: "53", UB: "54", VB: "55", WB: "56", XB: "57", YB: "58", ZB: "60", aB: "62", bB: "63", cB: "64", dB: "65", eB: "66", fB: "67", gB: "68", hB: "69", iB: "70", jB: "71", kB: "72", lB: "74", mB: "75", nB: "76", oB: "77", pB: "78", qB: "11.1", rB: "12.1", sB: "16.0", tB: "3", uB: "59", vB: "61", wB: "82", xB: "111", yB: "112", zB: "3.2", "0B": "10.1", "1B": "13.1", "2B": "15.2-15.3", "3B": "15.4", "4B": "15.5", "5B": "15.6", "6B": "16.1", "7B": "16.2", "8B": "16.3", "9B": "16.4", AC: "11.5", BC: "4.2-4.3", CC: "5.5", DC: "2", EC: "3.5", FC: "3.6", GC: "113", HC: "3.1", IC: "5.1", JC: "6.1", KC: "7.1", LC: "9.1", MC: "14.1", NC: "15.1", OC: "TP", PC: "9.5-9.6", QC: "10.0-10.1", RC: "10.5", SC: "10.6", TC: "11.6", UC: "4.0-4.1", VC: "5.0-5.1", WC: "6.0-6.1", XC: "7.0-7.1", YC: "8.1-8.4", ZC: "9.0-9.2", aC: "9.3", bC: "10.0-10.2", cC: "10.3", dC: "11.0-11.2", eC: "11.3-11.4", fC: "12.0-12.1", gC: "12.2-12.5", hC: "13.0-13.1", iC: "13.2", jC: "13.3", kC: "13.4-13.7", lC: "14.0-14.4", mC: "14.5-14.8", nC: "15.0-15.1", oC: "all", pC: "2.1", qC: "2.2", rC: "2.3", sC: "4.1", tC: "4.4", uC: "4.4.3-4.4.4", vC: "13.4", wC: "5.0-5.4", xC: "6.2-6.4", yC: "7.2-7.4", zC: "8.2", "0C": "9.2", "1C": "11.1-11.2", "2C": "12.0", "3C": "13.0", "4C": "14.0", "5C": "15.0", "6C": "17.0", "7C": "18.0", "8C": "19.0", "9C": "13.18", AD: "2.5", BD: "3.0-3.1" };
|
|
133755
|
+
}
|
|
133756
|
+
});
|
|
133757
|
+
|
|
133758
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/browserVersions.js
|
|
133759
|
+
var require_browserVersions4 = __commonJS({
|
|
133760
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/browserVersions.js"(exports, module2) {
|
|
133761
|
+
module2.exports.browserVersions = require_browserVersions3();
|
|
133762
|
+
}
|
|
133763
|
+
});
|
|
133764
|
+
|
|
133765
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/agents.js
|
|
133766
|
+
var require_agents3 = __commonJS({
|
|
133767
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/data/agents.js"(exports, module2) {
|
|
133768
|
+
module2.exports = { A: { A: { J: 0.0131217, D: 621152e-8, E: 0.0478029, F: 0.0573634, A: 956057e-8, B: 0.487589, CC: 9298e-6 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "CC", "J", "D", "E", "F", "A", "B", "", "", ""], E: "IE", F: { CC: 962323200, J: 998870400, D: 1161129600, E: 1237420800, F: 1300060800, A: 1346716800, B: 1381968e3 } }, B: { A: { C: 3861e-6, K: 4267e-6, L: 4268e-6, G: 3861e-6, M: 3702e-6, N: 3861e-6, O: 0.015444, P: 0, Q: 4298e-6, R: 944e-5, S: 4043e-6, T: 7722e-6, U: 3861e-6, V: 3861e-6, W: 3861e-6, X: 3943e-6, Y: 7722e-6, Z: 3943e-6, a: 3943e-6, b: 7722e-6, c: 4118e-6, d: 3939e-6, e: 3943e-6, i: 3943e-6, j: 3943e-6, k: 3929e-6, l: 3901e-6, m: 0.011829, n: 7886e-6, o: 3943e-6, p: 7722e-6, q: 3861e-6, r: 7722e-6, s: 0.011583, t: 0.073359, u: 0.111969, f: 1.66023, H: 2.23552 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "K", "L", "G", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "f", "H", "", "", ""], E: "Edge", F: { C: 1438128e3, K: 1447286400, L: 1470096e3, G: 1491868800, M: 1508198400, N: 1525046400, O: 1542067200, P: 1579046400, Q: 1581033600, R: 1586736e3, S: 1590019200, T: 1594857600, U: 1598486400, V: 1602201600, W: 1605830400, X: 161136e4, Y: 1614816e3, Z: 1618358400, a: 1622073600, b: 1626912e3, c: 1630627200, d: 1632441600, e: 1634774400, i: 1637539200, j: 1641427200, k: 1643932800, l: 1646265600, m: 1649635200, n: 1651190400, o: 1653955200, p: 1655942400, q: 1659657600, r: 1661990400, s: 1664755200, t: 1666915200, u: 1670198400, f: 1673481600, H: 1675900800 }, D: { C: "ms", K: "ms", L: "ms", G: "ms", M: "ms", N: "ms", O: "ms" } }, C: { A: { "0": 8786e-6, "1": 4118e-6, "2": 4317e-6, "3": 4393e-6, "4": 4418e-6, "5": 8834e-6, "6": 8322e-6, "7": 8928e-6, "8": 4471e-6, "9": 9284e-6, DC: 4118e-6, tB: 4271e-6, I: 0.011703, v: 4879e-6, J: 0.020136, D: 5725e-6, E: 4525e-6, F: 533e-5, A: 4283e-6, B: 7722e-6, C: 4471e-6, K: 4486e-6, L: 453e-5, G: 8322e-6, M: 4417e-6, N: 4425e-6, O: 4161e-6, w: 4443e-6, g: 4283e-6, x: 8322e-6, y: 0.013698, z: 4161e-6, AB: 4707e-6, BB: 9076e-6, CB: 3861e-6, DB: 4783e-6, EB: 3929e-6, FB: 4783e-6, GB: 487e-5, HB: 5029e-6, IB: 47e-4, JB: 0.019305, KB: 3861e-6, LB: 3867e-6, MB: 4525e-6, NB: 4293e-6, OB: 3861e-6, PB: 4538e-6, QB: 8282e-6, RB: 0.011601, SB: 0.046332, TB: 0.011601, UB: 3929e-6, VB: 3974e-6, WB: 3861e-6, XB: 0.011601, YB: 3939e-6, uB: 3861e-6, ZB: 3929e-6, vB: 4356e-6, aB: 4425e-6, bB: 8322e-6, cB: 415e-5, dB: 4267e-6, eB: 3801e-6, fB: 4267e-6, gB: 3861e-6, hB: 415e-5, iB: 4293e-6, jB: 4425e-6, kB: 3861e-6, h: 415e-5, lB: 415e-5, mB: 4318e-6, nB: 4356e-6, oB: 3974e-6, pB: 0.034749, P: 3861e-6, Q: 3861e-6, R: 3861e-6, wB: 3861e-6, S: 3861e-6, T: 3929e-6, U: 4268e-6, V: 3801e-6, W: 0.015444, X: 7722e-6, Y: 3943e-6, Z: 3943e-6, a: 0.011583, b: 3801e-6, c: 7722e-6, d: 0.011583, e: 3773e-6, i: 7886e-6, j: 3901e-6, k: 3901e-6, l: 3861e-6, m: 3861e-6, n: 3861e-6, o: 0.096525, p: 0.042471, q: 7722e-6, r: 0.011583, s: 0.015444, t: 0.019305, u: 0.069498, f: 1.22008, H: 0.814671, xB: 7722e-6, yB: 0, EC: 8786e-6, FC: 487e-5 }, B: "moz", C: ["DC", "tB", "EC", "FC", "I", "v", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "w", "g", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "uB", "ZB", "vB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "h", "lB", "mB", "nB", "oB", "pB", "P", "Q", "R", "wB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "f", "H", "xB", "yB", ""], E: "Firefox", F: { "0": 1375747200, "1": 1379376e3, "2": 1386633600, "3": 1391472e3, "4": 1395100800, "5": 1398729600, "6": 1402358400, "7": 1405987200, "8": 1409616e3, "9": 1413244800, DC: 1161648e3, tB: 1213660800, EC: 124632e4, FC: 1264032e3, I: 1300752e3, v: 1308614400, J: 1313452800, D: 1317081600, E: 1317081600, F: 1320710400, A: 1324339200, B: 1327968e3, C: 1331596800, K: 1335225600, L: 1338854400, G: 1342483200, M: 1346112e3, N: 1349740800, O: 1353628800, w: 1357603200, g: 1361232e3, x: 1364860800, y: 1368489600, z: 1372118400, AB: 1417392e3, BB: 1421107200, CB: 1424736e3, DB: 1428278400, EB: 1431475200, FB: 1435881600, GB: 1439251200, HB: 144288e4, IB: 1446508800, JB: 1450137600, KB: 1453852800, LB: 1457395200, MB: 1461628800, NB: 1465257600, OB: 1470096e3, PB: 1474329600, QB: 1479168e3, RB: 1485216e3, SB: 1488844800, TB: 149256e4, UB: 1497312e3, VB: 1502150400, WB: 1506556800, XB: 1510617600, YB: 1516665600, uB: 1520985600, ZB: 1525824e3, vB: 1529971200, aB: 1536105600, bB: 1540252800, cB: 1544486400, dB: 154872e4, eB: 1552953600, fB: 1558396800, gB: 1562630400, hB: 1567468800, iB: 1571788800, jB: 1575331200, kB: 1578355200, h: 1581379200, lB: 1583798400, mB: 1586304e3, nB: 1588636800, oB: 1591056e3, pB: 1593475200, P: 1595894400, Q: 1598313600, R: 1600732800, wB: 1603152e3, S: 1605571200, T: 1607990400, U: 1611619200, V: 1614038400, W: 1616457600, X: 1618790400, Y: 1622505600, Z: 1626134400, a: 1628553600, b: 1630972800, c: 1633392e3, d: 1635811200, e: 1638835200, i: 1641859200, j: 1644364800, k: 1646697600, l: 1649116800, m: 1651536e3, n: 1653955200, o: 1656374400, p: 1658793600, q: 1661212800, r: 1663632e3, s: 1666051200, t: 1668470400, u: 1670889600, f: 1673913600, H: 1676332800, xB: null, yB: null } }, D: { A: { "0": 3939e-6, "1": 4461e-6, "2": 4141e-6, "3": 4326e-6, "4": 47e-4, "5": 4538e-6, "6": 8322e-6, "7": 8596e-6, "8": 4566e-6, "9": 4118e-6, I: 4706e-6, v: 4879e-6, J: 4879e-6, D: 5591e-6, E: 5591e-6, F: 5591e-6, A: 4534e-6, B: 4464e-6, C: 0.010424, K: 83e-4, L: 4706e-6, G: 0.015087, M: 4393e-6, N: 4393e-6, O: 8652e-6, w: 8322e-6, g: 4393e-6, x: 4317e-6, y: 3901e-6, z: 8786e-6, AB: 3861e-6, BB: 3861e-6, CB: 4335e-6, DB: 4464e-6, EB: 0.015444, FB: 3867e-6, GB: 0.015444, HB: 3773e-6, IB: 3974e-6, JB: 7722e-6, KB: 7948e-6, LB: 3974e-6, MB: 3867e-6, NB: 7722e-6, OB: 0.019305, PB: 0.03861, QB: 3867e-6, RB: 3929e-6, SB: 7722e-6, TB: 7722e-6, UB: 3867e-6, VB: 7722e-6, WB: 0.069498, XB: 3861e-6, YB: 0.015772, uB: 3773e-6, ZB: 0.015444, vB: 7722e-6, aB: 3773e-6, bB: 7722e-6, cB: 3943e-6, dB: 7722e-6, eB: 0.027027, fB: 7722e-6, gB: 0.011583, hB: 0.054054, iB: 0.019305, jB: 0.015444, kB: 0.023166, h: 0.011583, lB: 0.042471, mB: 0.046332, nB: 0.042471, oB: 0.015444, pB: 0.030888, P: 0.127413, Q: 0.03861, R: 0.042471, S: 0.073359, T: 0.042471, U: 0.088803, V: 0.07722, W: 0.081081, X: 0.027027, Y: 0.03861, Z: 0.046332, a: 0.084942, b: 0.050193, c: 0.065637, d: 0.046332, e: 0.019305, i: 0.03861, j: 0.050193, k: 0.092664, l: 0.050193, m: 0.057915, n: 0.061776, o: 0.084942, p: 0.235521, q: 0.084942, r: 0.131274, s: 0.100386, t: 0.19305, u: 0.984555, f: 12.4054, H: 7.25482, xB: 0.015444, yB: 0.019305, GC: 0 }, B: "webkit", C: ["", "", "", "", "", "I", "v", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "w", "g", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "uB", "ZB", "vB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "h", "lB", "mB", "nB", "oB", "pB", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "f", "H", "xB", "yB", "GC"], E: "Chrome", F: { "0": 1352246400, "1": 1357862400, "2": 1361404800, "3": 1364428800, "4": 1369094400, "5": 1374105600, "6": 1376956800, "7": 1384214400, "8": 1389657600, "9": 1392940800, I: 1264377600, v: 1274745600, J: 1283385600, D: 1287619200, E: 1291248e3, F: 1296777600, A: 1299542400, B: 1303862400, C: 1307404800, K: 1312243200, L: 1316131200, G: 1316131200, M: 1319500800, N: 1323734400, O: 1328659200, w: 1332892800, g: 133704e4, x: 1340668800, y: 1343692800, z: 1348531200, AB: 1397001600, BB: 1400544e3, CB: 1405468800, DB: 1409011200, EB: 141264e4, FB: 1416268800, GB: 1421798400, HB: 1425513600, IB: 1429401600, JB: 143208e4, KB: 1437523200, LB: 1441152e3, MB: 1444780800, NB: 1449014400, OB: 1453248e3, PB: 1456963200, QB: 1460592e3, RB: 1464134400, SB: 1469059200, TB: 1472601600, UB: 1476230400, VB: 1480550400, WB: 1485302400, XB: 1489017600, YB: 149256e4, uB: 1496707200, ZB: 1500940800, vB: 1504569600, aB: 1508198400, bB: 1512518400, cB: 1516752e3, dB: 1520294400, eB: 1523923200, fB: 1527552e3, gB: 1532390400, hB: 1536019200, iB: 1539648e3, jB: 1543968e3, kB: 154872e4, h: 1552348800, lB: 1555977600, mB: 1559606400, nB: 1564444800, oB: 1568073600, pB: 1571702400, P: 1575936e3, Q: 1580860800, R: 1586304e3, S: 1589846400, T: 1594684800, U: 1598313600, V: 1601942400, W: 1605571200, X: 1611014400, Y: 1614556800, Z: 1618272e3, a: 1621987200, b: 1626739200, c: 1630368e3, d: 1632268800, e: 1634601600, i: 1637020800, j: 1641340800, k: 1643673600, l: 1646092800, m: 1648512e3, n: 1650931200, o: 1653350400, p: 1655769600, q: 1659398400, r: 1661817600, s: 1664236800, t: 1666656e3, u: 166968e4, f: 1673308800, H: 1675728e3, xB: null, yB: null, GC: null } }, E: { A: { I: 0, v: 8322e-6, J: 4656e-6, D: 4465e-6, E: 3974e-6, F: 3929e-6, A: 4425e-6, B: 4318e-6, C: 3801e-6, K: 0.019305, L: 0.096525, G: 0.023166, HC: 0, zB: 8692e-6, IC: 7722e-6, JC: 456e-5, KC: 4283e-6, LC: 0.057915, "0B": 7802e-6, qB: 7722e-6, rB: 0.030888, "1B": 0.169884, MC: 0.258687, NC: 0.042471, "2B": 0.034749, "3B": 0.088803, "4B": 0.169884, "5B": 0.857142, sB: 0.088803, "6B": 0.293436, "7B": 0.922779, "8B": 0.621621, "9B": 0, OC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "HC", "zB", "I", "v", "IC", "J", "JC", "D", "KC", "E", "F", "LC", "A", "0B", "B", "qB", "C", "rB", "K", "1B", "L", "MC", "G", "NC", "2B", "3B", "4B", "5B", "sB", "6B", "7B", "8B", "9B", "OC", ""], E: "Safari", F: { HC: 1205798400, zB: 1226534400, I: 1244419200, v: 1275868800, IC: 131112e4, J: 1343174400, JC: 13824e5, D: 13824e5, KC: 1410998400, E: 1413417600, F: 1443657600, LC: 1458518400, A: 1474329600, "0B": 1490572800, B: 1505779200, qB: 1522281600, C: 1537142400, rB: 1553472e3, K: 1568851200, "1B": 1585008e3, L: 1600214400, MC: 1619395200, G: 1632096e3, NC: 1635292800, "2B": 1639353600, "3B": 1647216e3, "4B": 1652745600, "5B": 1658275200, sB: 1662940800, "6B": 1666569600, "7B": 1670889600, "8B": 1674432e3, "9B": null, OC: null } }, F: { A: { "0": 6702e-6, "1": 6015e-6, "2": 5595e-6, "3": 4393e-6, "4": 3861e-6, "5": 4879e-6, "6": 4879e-6, "7": 3861e-6, "8": 5152e-6, "9": 5014e-6, F: 82e-4, B: 0.016581, C: 4317e-6, G: 685e-5, M: 685e-5, N: 685e-5, O: 5014e-6, w: 6015e-6, g: 4879e-6, x: 6597e-6, y: 6597e-6, z: 0.013434, AB: 9758e-6, BB: 4879e-6, CB: 7722e-6, DB: 4283e-6, EB: 4367e-6, FB: 4534e-6, GB: 3861e-6, HB: 4227e-6, IB: 4418e-6, JB: 4161e-6, KB: 4227e-6, LB: 4725e-6, MB: 0.011583, NB: 8942e-6, OB: 4707e-6, PB: 4827e-6, QB: 4707e-6, RB: 4707e-6, SB: 4326e-6, TB: 8922e-6, UB: 0.014349, VB: 4425e-6, WB: 472e-5, XB: 4425e-6, YB: 4425e-6, ZB: 472e-5, aB: 4532e-6, bB: 4566e-6, cB: 0.02283, dB: 867e-5, eB: 4656e-6, fB: 4642e-6, gB: 3929e-6, hB: 944e-5, iB: 4293e-6, jB: 3929e-6, kB: 4298e-6, h: 0.096692, lB: 4201e-6, mB: 4141e-6, nB: 4257e-6, oB: 3939e-6, pB: 8236e-6, P: 3855e-6, Q: 3939e-6, R: 8514e-6, wB: 3939e-6, S: 3939e-6, T: 3702e-6, U: 7722e-6, V: 3855e-6, W: 3855e-6, X: 3929e-6, Y: 3861e-6, Z: 0.011703, a: 7546e-6, b: 0.011829, c: 0.069498, d: 0.648648, e: 0.370656, PC: 685e-5, QC: 0, RC: 8392e-6, SC: 4706e-6, qB: 6229e-6, AC: 4879e-6, TC: 8786e-6, rB: 472e-5 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "F", "PC", "QC", "RC", "SC", "B", "qB", "AC", "TC", "C", "rB", "G", "M", "N", "O", "w", "g", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "h", "lB", "mB", "nB", "oB", "pB", "P", "Q", "R", "wB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "", "", ""], E: "Opera", F: { "0": 1409616e3, "1": 1413331200, "2": 1417132800, "3": 1422316800, "4": 1425945600, "5": 1430179200, "6": 1433808e3, "7": 1438646400, "8": 1442448e3, "9": 1445904e3, F: 1150761600, PC: 1223424e3, QC: 1251763200, RC: 1267488e3, SC: 1277942400, B: 1292457600, qB: 1302566400, AC: 1309219200, TC: 1323129600, C: 1323129600, rB: 1352073600, G: 1372723200, M: 1377561600, N: 1381104e3, O: 1386288e3, w: 1390867200, g: 1393891200, x: 1399334400, y: 1401753600, z: 1405987200, AB: 1449100800, BB: 1454371200, CB: 1457308800, DB: 146232e4, EB: 1465344e3, FB: 1470096e3, GB: 1474329600, HB: 1477267200, IB: 1481587200, JB: 1486425600, KB: 1490054400, LB: 1494374400, MB: 1498003200, NB: 1502236800, OB: 1506470400, PB: 1510099200, QB: 1515024e3, RB: 1517961600, SB: 1521676800, TB: 1525910400, UB: 1530144e3, VB: 1534982400, WB: 1537833600, XB: 1543363200, YB: 1548201600, ZB: 1554768e3, aB: 1561593600, bB: 1566259200, cB: 1570406400, dB: 1573689600, eB: 1578441600, fB: 1583971200, gB: 1587513600, hB: 1592956800, iB: 1595894400, jB: 1600128e3, kB: 1603238400, h: 161352e4, lB: 1612224e3, mB: 1616544e3, nB: 1619568e3, oB: 1623715200, pB: 1627948800, P: 1631577600, Q: 1633392e3, R: 1635984e3, wB: 1638403200, S: 1642550400, T: 1644969600, U: 1647993600, V: 1650412800, W: 1652745600, X: 1654646400, Y: 1657152e3, Z: 1660780800, a: 1663113600, b: 1668816e3, c: 1668643200, d: 1671062400, e: 1675209600 }, D: { F: "o", B: "o", C: "o", PC: "o", QC: "o", RC: "o", SC: "o", qB: "o", AC: "o", TC: "o", rB: "o" } }, G: { A: { E: 0, zB: 0, UC: 0, BC: 156679e-8, VC: 313358e-8, WC: 313358e-8, XC: 0.0125343, YC: 626717e-8, ZC: 0.0172347, aC: 0.0564045, bC: 470038e-8, cC: 0.0987079, dC: 0.0250687, eC: 0.0235019, fC: 0.0219351, gC: 0.394832, hC: 0.0156679, iC: 0.0360362, jC: 0.0344694, kC: 0.108109, lC: 0.282023, mC: 0.532709, nC: 0.153546, "2B": 0.195849, "3B": 0.233452, "4B": 0.412066, "5B": 1.40071, sB: 1.43988, "6B": 3.51431, "7B": 3.62556, "8B": 2.04623, "9B": 940075e-8 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "zB", "UC", "BC", "VC", "WC", "XC", "E", "YC", "ZC", "aC", "bC", "cC", "dC", "eC", "fC", "gC", "hC", "iC", "jC", "kC", "lC", "mC", "nC", "2B", "3B", "4B", "5B", "sB", "6B", "7B", "8B", "9B", "", ""], E: "Safari on iOS", F: { zB: 1270252800, UC: 1283904e3, BC: 1299628800, VC: 1331078400, WC: 1359331200, XC: 1394409600, E: 1410912e3, YC: 1413763200, ZC: 1442361600, aC: 1458518400, bC: 1473724800, cC: 1490572800, dC: 1505779200, eC: 1522281600, fC: 1537142400, gC: 1553472e3, hC: 1568851200, iC: 1572220800, jC: 1580169600, kC: 1585008e3, lC: 1600214400, mC: 1619395200, nC: 1632096e3, "2B": 1639353600, "3B": 1647216e3, "4B": 1652659200, "5B": 1658275200, sB: 1662940800, "6B": 1666569600, "7B": 1670889600, "8B": 1674432e3, "9B": null } }, H: { A: { oC: 0.993853 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "oC", "", "", ""], E: "Opera Mini", F: { oC: 1426464e3 } }, I: { A: { tB: 0, I: 0.019696, f: 0, pC: 0, qC: 0, rC: 0, sC: 0.0787838, BC: 0.0689359, tC: 0, uC: 0.305287 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "pC", "qC", "rC", "tB", "I", "sC", "BC", "tC", "uC", "f", "", "", ""], E: "Android Browser", F: { pC: 1256515200, qC: 1274313600, rC: 1291593600, tB: 1298332800, I: 1318896e3, sC: 1341792e3, BC: 1374624e3, tC: 1386547200, uC: 1401667200, f: 1673568e3 } }, J: { A: { D: 0, A: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "A", "", "", ""], E: "Blackberry Browser", F: { D: 1325376e3, A: 1359504e3 } }, K: { A: { A: 0, B: 0, C: 0, h: 0.0111391, qB: 0, AC: 0, rB: 0 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "qB", "AC", "C", "rB", "h", "", "", ""], E: "Opera Mobile", F: { A: 1287100800, B: 1300752e3, qB: 1314835200, AC: 1318291200, C: 1330300800, rB: 1349740800, h: 1673827200 }, D: { h: "webkit" } }, L: { A: { H: 42.629 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "H", "", "", ""], E: "Chrome for Android", F: { H: 1675728e3 } }, M: { A: { H: 0.294672 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "H", "", "", ""], E: "Firefox for Android", F: { H: 1676332800 } }, N: { A: { A: 0.0115934, B: 0.022664 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""], E: "IE Mobile", F: { A: 1340150400, B: 1353456e3 } }, O: { A: { vC: 0.896294 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "vC", "", "", ""], E: "UC Browser for Android", F: { vC: 1634688e3 }, D: { vC: "webkit" } }, P: { A: { I: 0.166372, g: 0, wC: 0.0103543, xC: 0.010304, yC: 0.0519911, zC: 0.0103584, "0C": 0.0104443, "0B": 0.0105043, "1C": 0.0311947, "2C": 0.0103982, "3C": 0.0311947, "4C": 0.0311947, "5C": 0.0207965, sB: 0.0727876, "6C": 0.0727876, "7C": 0.0935841, "8C": 1.32057 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "I", "wC", "xC", "yC", "zC", "0C", "0B", "1C", "2C", "3C", "4C", "5C", "sB", "6C", "7C", "8C", "g", "", "", ""], E: "Samsung Internet", F: { I: 1461024e3, wC: 1481846400, xC: 1509408e3, yC: 1528329600, zC: 1546128e3, "0C": 1554163200, "0B": 1567900800, "1C": 1582588800, "2C": 1593475200, "3C": 1605657600, "4C": 1618531200, "5C": 1629072e3, sB: 1640736e3, "6C": 1651708800, "7C": 1659657600, "8C": 1667260800, g: 1677369600 } }, Q: { A: { "1B": 0.12278 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "1B", "", "", ""], E: "QQ Browser", F: { "1B": 1663718400 } }, R: { A: { "9C": 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "9C", "", "", ""], E: "Baidu Browser", F: { "9C": 1663027200 } }, S: { A: { AD: 0.079807, BD: 0 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "AD", "BD", "", "", ""], E: "KaiOS Browser", F: { AD: 1527811200, BD: 1631664e3 } } };
|
|
133769
|
+
}
|
|
133770
|
+
});
|
|
133771
|
+
|
|
133772
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/agents.js
|
|
133773
|
+
var require_agents4 = __commonJS({
|
|
133774
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/agents.js"(exports, module2) {
|
|
133775
|
+
"use strict";
|
|
133776
|
+
var browsers = require_browsers4().browsers;
|
|
133777
|
+
var versions = require_browserVersions4().browserVersions;
|
|
133778
|
+
var agentsData = require_agents3();
|
|
133779
|
+
function unpackBrowserVersions(versionsData) {
|
|
133780
|
+
return Object.keys(versionsData).reduce((usage, version) => {
|
|
133781
|
+
usage[versions[version]] = versionsData[version];
|
|
133782
|
+
return usage;
|
|
133783
|
+
}, {});
|
|
133784
|
+
}
|
|
133785
|
+
module2.exports.agents = Object.keys(agentsData).reduce((map2, key) => {
|
|
133786
|
+
let versionsData = agentsData[key];
|
|
133787
|
+
map2[browsers[key]] = Object.keys(versionsData).reduce((data, entry) => {
|
|
133788
|
+
if (entry === "A") {
|
|
133789
|
+
data.usage_global = unpackBrowserVersions(versionsData[entry]);
|
|
133790
|
+
} else if (entry === "C") {
|
|
133791
|
+
data.versions = versionsData[entry].reduce((list, version) => {
|
|
133792
|
+
if (version === "") {
|
|
133793
|
+
list.push(null);
|
|
133794
|
+
} else {
|
|
133795
|
+
list.push(versions[version]);
|
|
133796
|
+
}
|
|
133797
|
+
return list;
|
|
133798
|
+
}, []);
|
|
133799
|
+
} else if (entry === "D") {
|
|
133800
|
+
data.prefix_exceptions = unpackBrowserVersions(versionsData[entry]);
|
|
133801
|
+
} else if (entry === "E") {
|
|
133802
|
+
data.browser = versionsData[entry];
|
|
133803
|
+
} else if (entry === "F") {
|
|
133804
|
+
data.release_date = Object.keys(versionsData[entry]).reduce(
|
|
133805
|
+
(map22, key2) => {
|
|
133806
|
+
map22[versions[key2]] = versionsData[entry][key2];
|
|
133807
|
+
return map22;
|
|
133808
|
+
},
|
|
133809
|
+
{}
|
|
133810
|
+
);
|
|
133811
|
+
} else {
|
|
133812
|
+
data.prefix = versionsData[entry];
|
|
133813
|
+
}
|
|
133814
|
+
return data;
|
|
133815
|
+
}, {});
|
|
133816
|
+
return map2;
|
|
133817
|
+
}, {});
|
|
133818
|
+
}
|
|
133819
|
+
});
|
|
133820
|
+
|
|
133821
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/lib/statuses.js
|
|
133822
|
+
var require_statuses2 = __commonJS({
|
|
133823
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/lib/statuses.js"(exports, module2) {
|
|
133824
|
+
module2.exports = {
|
|
133825
|
+
1: "ls",
|
|
133826
|
+
// WHATWG Living Standard
|
|
133827
|
+
2: "rec",
|
|
133828
|
+
// W3C Recommendation
|
|
133829
|
+
3: "pr",
|
|
133830
|
+
// W3C Proposed Recommendation
|
|
133831
|
+
4: "cr",
|
|
133832
|
+
// W3C Candidate Recommendation
|
|
133833
|
+
5: "wd",
|
|
133834
|
+
// W3C Working Draft
|
|
133835
|
+
6: "other",
|
|
133836
|
+
// Non-W3C, but reputable
|
|
133837
|
+
7: "unoff"
|
|
133838
|
+
// Unofficial, Editor's Draft or W3C "Note"
|
|
133839
|
+
};
|
|
133840
|
+
}
|
|
133841
|
+
});
|
|
133842
|
+
|
|
133843
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/lib/supported.js
|
|
133844
|
+
var require_supported2 = __commonJS({
|
|
133845
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/lib/supported.js"(exports, module2) {
|
|
133846
|
+
module2.exports = {
|
|
133847
|
+
y: 1 << 0,
|
|
133848
|
+
n: 1 << 1,
|
|
133849
|
+
a: 1 << 2,
|
|
133850
|
+
p: 1 << 3,
|
|
133851
|
+
u: 1 << 4,
|
|
133852
|
+
x: 1 << 5,
|
|
133853
|
+
d: 1 << 6
|
|
133854
|
+
};
|
|
133855
|
+
}
|
|
133856
|
+
});
|
|
133857
|
+
|
|
133858
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/feature.js
|
|
133859
|
+
var require_feature2 = __commonJS({
|
|
133860
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/feature.js"(exports, module2) {
|
|
133861
|
+
"use strict";
|
|
133862
|
+
var statuses = require_statuses2();
|
|
133863
|
+
var supported = require_supported2();
|
|
133864
|
+
var browsers = require_browsers4().browsers;
|
|
133865
|
+
var versions = require_browserVersions4().browserVersions;
|
|
133866
|
+
var MATH2LOG = Math.log(2);
|
|
133867
|
+
function unpackSupport(cipher) {
|
|
133868
|
+
let stats = Object.keys(supported).reduce((list, support) => {
|
|
133869
|
+
if (cipher & supported[support])
|
|
133870
|
+
list.push(support);
|
|
133871
|
+
return list;
|
|
133872
|
+
}, []);
|
|
133873
|
+
let notes = cipher >> 7;
|
|
133874
|
+
let notesArray = [];
|
|
133875
|
+
while (notes) {
|
|
133876
|
+
let note = Math.floor(Math.log(notes) / MATH2LOG) + 1;
|
|
133877
|
+
notesArray.unshift(`#${note}`);
|
|
133878
|
+
notes -= Math.pow(2, note - 1);
|
|
133879
|
+
}
|
|
133880
|
+
return stats.concat(notesArray).join(" ");
|
|
133881
|
+
}
|
|
133882
|
+
function unpackFeature(packed) {
|
|
133883
|
+
let unpacked = { status: statuses[packed.B], title: packed.C };
|
|
133884
|
+
unpacked.stats = Object.keys(packed.A).reduce((browserStats, key) => {
|
|
133885
|
+
let browser = packed.A[key];
|
|
133886
|
+
browserStats[browsers[key]] = Object.keys(browser).reduce(
|
|
133887
|
+
(stats, support) => {
|
|
133888
|
+
let packedVersions = browser[support].split(" ");
|
|
133889
|
+
let unpacked2 = unpackSupport(support);
|
|
133890
|
+
packedVersions.forEach((v) => stats[versions[v]] = unpacked2);
|
|
133891
|
+
return stats;
|
|
133892
|
+
},
|
|
133893
|
+
{}
|
|
133894
|
+
);
|
|
133895
|
+
return browserStats;
|
|
133896
|
+
}, {});
|
|
133897
|
+
return unpacked;
|
|
133898
|
+
}
|
|
133899
|
+
module2.exports = unpackFeature;
|
|
133900
|
+
module2.exports.default = unpackFeature;
|
|
133901
|
+
}
|
|
133902
|
+
});
|
|
133903
|
+
|
|
133904
|
+
// ../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/region.js
|
|
133905
|
+
var require_region2 = __commonJS({
|
|
133906
|
+
"../../../../node_modules/.pnpm/caniuse-lite@1.0.30001460/node_modules/caniuse-lite/dist/unpacker/region.js"(exports, module2) {
|
|
133907
|
+
"use strict";
|
|
133908
|
+
var browsers = require_browsers4().browsers;
|
|
133909
|
+
function unpackRegion(packed) {
|
|
133910
|
+
return Object.keys(packed).reduce((list, browser) => {
|
|
133911
|
+
let data = packed[browser];
|
|
133912
|
+
list[browsers[browser]] = Object.keys(data).reduce((memo, key) => {
|
|
133913
|
+
let stats = data[key];
|
|
133914
|
+
if (key === "_") {
|
|
133915
|
+
stats.split(" ").forEach((version) => memo[version] = null);
|
|
133916
|
+
} else {
|
|
133917
|
+
memo[key] = stats;
|
|
133918
|
+
}
|
|
133919
|
+
return memo;
|
|
133920
|
+
}, {});
|
|
133921
|
+
return list;
|
|
133922
|
+
}, {});
|
|
133923
|
+
}
|
|
133924
|
+
module2.exports = unpackRegion;
|
|
133925
|
+
module2.exports.default = unpackRegion;
|
|
133926
|
+
}
|
|
133927
|
+
});
|
|
133928
|
+
|
|
133737
133929
|
// ../../../toolkit/utils/compiled/browserslist/index.js
|
|
133738
133930
|
var require_browserslist2 = __commonJS({
|
|
133739
133931
|
"../../../toolkit/utils/compiled/browserslist/index.js"(exports, module2) {
|
|
@@ -134917,13 +135109,13 @@ var require_browserslist2 = __commonJS({
|
|
|
134917
135109
|
e2.exports = webpackEmptyContext;
|
|
134918
135110
|
}, 768: (e2) => {
|
|
134919
135111
|
"use strict";
|
|
134920
|
-
e2.exports =
|
|
135112
|
+
e2.exports = require_agents4();
|
|
134921
135113
|
}, 711: (e2) => {
|
|
134922
135114
|
"use strict";
|
|
134923
|
-
e2.exports =
|
|
135115
|
+
e2.exports = require_feature2();
|
|
134924
135116
|
}, 225: (e2) => {
|
|
134925
135117
|
"use strict";
|
|
134926
|
-
e2.exports =
|
|
135118
|
+
e2.exports = require_region2();
|
|
134927
135119
|
}, 147: (e2) => {
|
|
134928
135120
|
"use strict";
|
|
134929
135121
|
e2.exports = require("fs");
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-b71d66058",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"files": [
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
],
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@babel/runtime": "^7.18.0",
|
|
23
|
-
"@modern-js/codesmith": "2.0.
|
|
24
|
-
"@modern-js/codesmith-api-app": "2.0.
|
|
25
|
-
"@modern-js/codesmith-api-json": "2.0.
|
|
26
|
-
"@modern-js/generator-common": "0.0.0-next-0bf5ec13d2",
|
|
27
|
-
"@modern-js/generator-utils": "0.0.0-next-0bf5ec13d2",
|
|
28
|
-
"@scripts/build": "0.0.0-next-0bf5ec13d2",
|
|
29
|
-
"@scripts/jest-config": "0.0.0-next-0bf5ec13d2",
|
|
23
|
+
"@modern-js/codesmith": "2.0.4",
|
|
24
|
+
"@modern-js/codesmith-api-app": "2.0.4",
|
|
25
|
+
"@modern-js/codesmith-api-json": "2.0.4",
|
|
30
26
|
"@types/jest": "^27",
|
|
31
27
|
"@types/node": "^14",
|
|
32
28
|
"jest": "^27",
|
|
33
|
-
"typescript": "^4"
|
|
29
|
+
"typescript": "^4",
|
|
30
|
+
"@modern-js/generator-common": "0.0.0-next-b71d66058",
|
|
31
|
+
"@modern-js/generator-utils": "0.0.0-next-b71d66058",
|
|
32
|
+
"@scripts/jest-config": "0.0.0-next-b71d66058",
|
|
33
|
+
"@scripts/build": "0.0.0-next-b71d66058"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"publishConfig": {
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import path from 'path';
|
|
2
|
+
import { GeneratorContext, GeneratorCore } from '@modern-js/codesmith';
|
|
3
|
+
import { AppAPI } from '@modern-js/codesmith-api-app';
|
|
4
|
+
import { JsonAPI } from '@modern-js/codesmith-api-json';
|
|
5
|
+
import { PackageManager } from '@modern-js/generator-common';
|
|
6
|
+
import { fs } from '@modern-js/generator-utils';
|
|
7
|
+
|
|
8
|
+
const handleTemplateFile = async (
|
|
9
|
+
context: GeneratorContext,
|
|
10
|
+
generator: GeneratorCore,
|
|
11
|
+
) => {
|
|
12
|
+
const { packageManager, packagesInfo } = context.config;
|
|
13
|
+
const jsonAPI = new JsonAPI(generator);
|
|
14
|
+
if (packageManager === PackageManager.Pnpm) {
|
|
15
|
+
const update: Record<string, string> = {};
|
|
16
|
+
Object.entries(packagesInfo || {}).forEach(([name, version]) => {
|
|
17
|
+
update[`pnpm.overrides.${name}`] = version as string;
|
|
18
|
+
});
|
|
19
|
+
await jsonAPI.update(context.materials.default.get('package.json'), {
|
|
20
|
+
query: {},
|
|
21
|
+
update: {
|
|
22
|
+
$set: update,
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
} else {
|
|
26
|
+
const pkgInfo = fs.readJSONSync(
|
|
27
|
+
path.join(context.materials.default.basePath, 'package.json'),
|
|
28
|
+
'utf-8',
|
|
29
|
+
);
|
|
30
|
+
const { dependencies = {}, devDependencies = {} } = pkgInfo;
|
|
31
|
+
|
|
32
|
+
const update: Record<string, string> = {};
|
|
33
|
+
Object.entries(packagesInfo || {}).forEach(([name, version]) => {
|
|
34
|
+
update[`resolutions.${name}`] = version as string;
|
|
35
|
+
if (dependencies[name]) {
|
|
36
|
+
update[`dependencies.${name}`] = version as string;
|
|
37
|
+
}
|
|
38
|
+
if (devDependencies[name]) {
|
|
39
|
+
update[`devDependencies.${name}`] = version as string;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
await jsonAPI.update(context.materials.default.get('package.json'), {
|
|
43
|
+
query: {},
|
|
44
|
+
update: {
|
|
45
|
+
$set: update,
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export default async (context: GeneratorContext, generator: GeneratorCore) => {
|
|
52
|
+
const appApi = new AppAPI(context, generator);
|
|
53
|
+
const { locale } = context.config;
|
|
54
|
+
appApi.i18n.changeLanguage({ locale });
|
|
55
|
+
|
|
56
|
+
if (!(await appApi.checkEnvironment())) {
|
|
57
|
+
// eslint-disable-next-line no-process-exit
|
|
58
|
+
process.exit(1);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
generator.logger.debug(`start run @modern-js/packages-generator`);
|
|
62
|
+
generator.logger.debug(`context=${JSON.stringify(context)}`);
|
|
63
|
+
generator.logger.debug(`context.data=${JSON.stringify(context.data)}`);
|
|
64
|
+
|
|
65
|
+
await handleTemplateFile(context, generator);
|
|
66
|
+
|
|
67
|
+
generator.logger.debug(`forge @modern-js/packages-generator succeed `);
|
|
68
|
+
};
|