@wix/cli 1.1.133 → 1.1.134
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/build/{DevCommand-SWX2D72V.js → DevCommand-4OQRGGV3.js} +10 -10
- package/build/{DevCommand-LDBBVFHI.js → DevCommand-NTBBKMAA.js} +52 -158
- package/build/DevCommand-NTBBKMAA.js.map +1 -0
- package/build/{DevCommand-7MKRENDN.js → DevCommand-WSXE72JB.js} +12 -12
- package/build/{EnvPullCommand-73PE6G6F.js → EnvPullCommand-FSET3QAR.js} +8 -8
- package/build/{EnvRemoveCommand-BWIFL2PF.js → EnvRemoveCommand-FT5NPEKI.js} +7 -7
- package/build/{EnvSetCommand-OXCR6KZW.js → EnvSetCommand-7LPLV7GL.js} +7 -7
- package/build/{GenerateCommand-MFY3XZ3R.js → GenerateCommand-WI7ILK6G.js} +107 -102
- package/build/GenerateCommand-WI7ILK6G.js.map +1 -0
- package/build/{InstallCommand-5BGO6YD5.js → InstallCommand-DGPPZHXV.js} +9 -9
- package/build/{LoginCommand-45KDXRGW.js → LoginCommand-VKQBW5EI.js} +5 -5
- package/build/{LogoutCommand-J7AHAZBJ.js → LogoutCommand-NKY5NWUQ.js} +4 -4
- package/build/{PreviewCommand-ZLXKZAID.js → PreviewCommand-VQCQDGJ2.js} +14 -14
- package/build/{PreviewCommand-RCY6PODY.js → PreviewCommand-W22KLFOH.js} +10 -10
- package/build/{PreviewCommand-M4QGOZIQ.js → PreviewCommand-X7P2AHBY.js} +12 -12
- package/build/{PromoteCommand-P545RBBC.js → PromoteCommand-VDTCKRE4.js} +10 -10
- package/build/{PublishCommand-6447ZL7O.js → PublishCommand-3MDL6QC4.js} +12 -12
- package/build/ReleaseCommand-TP4LUVYC.js +464 -0
- package/build/ReleaseCommand-TP4LUVYC.js.map +1 -0
- package/build/{UninstallCommand-3BGVCWEO.js → UninstallCommand-YPZPH7PM.js} +9 -9
- package/build/{WhoamiCommand-IJNDHARB.js → WhoamiCommand-H4GCFFMW.js} +2 -2
- package/build/{chunk-GR2PWATE.js → chunk-26B5E4UO.js} +2 -2
- package/build/chunk-2IJTJJEM.js +29 -0
- package/build/chunk-2IJTJJEM.js.map +1 -0
- package/build/{chunk-KT3M5OKA.js → chunk-34MTX547.js} +2 -2
- package/build/{chunk-SAUEECUE.js → chunk-3DWQFSNW.js} +2 -2
- package/build/{chunk-6W422UGP.js → chunk-3RVONWI7.js} +2 -2
- package/build/{chunk-OXTKB4SC.js → chunk-4QGQ7FU5.js} +2 -2
- package/build/{chunk-3VM2I3KU.js → chunk-5OQDBYCC.js} +4 -4
- package/build/{chunk-RVMHWFXV.js → chunk-5Z6Q4IJX.js} +320 -236
- package/build/chunk-5Z6Q4IJX.js.map +1 -0
- package/build/{chunk-RVBYFFXK.js → chunk-66VZCA5Y.js} +3 -3
- package/build/chunk-BAXAZXTT.js +144 -0
- package/build/chunk-BAXAZXTT.js.map +1 -0
- package/build/{chunk-D74UNX3A.js → chunk-BEKFXS6A.js} +21 -90
- package/build/chunk-BEKFXS6A.js.map +1 -0
- package/build/{chunk-LHIW7AJD.js → chunk-DQULLGU7.js} +3 -3
- package/build/{chunk-UUC65NV7.js → chunk-DTJ6JGVE.js} +4 -4
- package/build/{chunk-MB36UMSR.js → chunk-HGBT2YDL.js} +3 -3
- package/build/{chunk-PNHDNWUK.js → chunk-HZRGNT6A.js} +32 -12
- package/build/chunk-HZRGNT6A.js.map +1 -0
- package/build/{chunk-NU3PGW4G.js → chunk-JMUBTRYQ.js} +5 -5
- package/build/{chunk-KAEF5TRH.js → chunk-KFP5IROQ.js} +2 -2
- package/build/{chunk-5DPOQEHJ.js → chunk-KJC2IRIO.js} +6 -6
- package/build/{chunk-QO4VD6Y5.js → chunk-KRZQM5IB.js} +2 -2
- package/build/{chunk-JB3ZSQ4V.js → chunk-KUETLEOF.js} +2 -2
- package/build/{chunk-CVORQHI7.js → chunk-MA6ZMAQU.js} +2 -2
- package/build/{chunk-IJ74ZC2Y.js → chunk-MT4UEZWE.js} +30 -10
- package/build/chunk-MT4UEZWE.js.map +1 -0
- package/build/{chunk-QZD3FQNI.js → chunk-MWPS57J5.js} +6 -6
- package/build/{chunk-Z7ECXECD.js → chunk-OWJ2DBNB.js} +2 -2
- package/build/{chunk-6IQOPD7Y.js → chunk-PDB7C6G4.js} +3 -3
- package/build/{chunk-44GJUTL2.js → chunk-PETG4TB5.js} +3 -3
- package/build/{chunk-VA3YF34S.js → chunk-POJ57ZT2.js} +177 -160
- package/build/chunk-POJ57ZT2.js.map +1 -0
- package/build/{chunk-Y2AMOBMY.js → chunk-QKIGR4DS.js} +4 -4
- package/build/{chunk-7OXMU7EW.js → chunk-R5QQXCOY.js} +2 -2
- package/build/{chunk-7OXMU7EW.js.map → chunk-R5QQXCOY.js.map} +1 -1
- package/build/{chunk-NRUBQ5N7.js → chunk-TL7UQCUX.js} +2 -2
- package/build/{chunk-OTBU2MWL.js → chunk-VLGQTAVU.js} +4 -4
- package/build/chunk-XBR2M7HM.js +33 -0
- package/build/chunk-XBR2M7HM.js.map +1 -0
- package/build/{chunk-DJ2UGSXB.js → chunk-YSTEUOSI.js} +2 -2
- package/build/{chunk-L6B6ZZ2H.js → chunk-ZBGLF76X.js} +5 -5
- package/build/{dev-2NFD6QEM.js → dev-KS2OTEXB.js} +16 -16
- package/build/{env-pull-OHEZAUTU.js → env-pull-DS57QSQI.js} +9 -9
- package/build/index.js +17 -17
- package/build/{install-FHCG4U4R.js → install-XHQJGNSY.js} +10 -10
- package/build/{preview-RYHUMXWR.js → preview-CTFYUQYT.js} +11 -11
- package/build/{publish-QZGEHMZ2.js → publish-UYXDXAJ2.js} +12 -12
- package/build/{render-command-CLDVD7ZQ.js → render-command-5VDNAXTP.js} +6 -6
- package/build/{render-command-ZUW2SOXP.js → render-command-GC5M477M.js} +5 -5
- package/build/{render-command-JKKYBTHT.js → render-command-LZAIPJQS.js} +5 -5
- package/build/{render-command-LYNRDGPP.js → render-command-LZLXAPTJ.js} +7 -7
- package/build/{render-command-ZQ3UPX54.js → render-command-ZYQ762CC.js} +5 -5
- package/build/{src-WCL4TDCR.js → src-3KZZZJ3H.js} +13 -13
- package/build/{src-CDV5A6FR.js → src-6UQ5GS34.js} +5 -5
- package/build/{src-JELLX323.js → src-6WPDBAIM.js} +33 -32
- package/build/{src-JELLX323.js.map → src-6WPDBAIM.js.map} +1 -1
- package/build/{src-X6NEARNN.js → src-KS2HXFOE.js} +4 -4
- package/build/{src-DBCKXMSW.js → src-NXE7P7H4.js} +11 -11
- package/build/{sync-types-57HK54CQ.js → sync-types-B47N5WP2.js} +7 -7
- package/build/{uninstall-XFEDEW2Z.js → uninstall-2UZH5ABJ.js} +10 -10
- package/package.json +2 -2
- package/build/DevCommand-LDBBVFHI.js.map +0 -1
- package/build/GenerateCommand-MFY3XZ3R.js.map +0 -1
- package/build/ReleaseCommand-PSXATDOQ.js +0 -186
- package/build/ReleaseCommand-PSXATDOQ.js.map +0 -1
- package/build/chunk-D74UNX3A.js.map +0 -1
- package/build/chunk-IJ74ZC2Y.js.map +0 -1
- package/build/chunk-PNHDNWUK.js.map +0 -1
- package/build/chunk-RVMHWFXV.js.map +0 -1
- package/build/chunk-VA3YF34S.js.map +0 -1
- /package/build/{DevCommand-SWX2D72V.js.map → DevCommand-4OQRGGV3.js.map} +0 -0
- /package/build/{DevCommand-7MKRENDN.js.map → DevCommand-WSXE72JB.js.map} +0 -0
- /package/build/{EnvPullCommand-73PE6G6F.js.map → EnvPullCommand-FSET3QAR.js.map} +0 -0
- /package/build/{EnvRemoveCommand-BWIFL2PF.js.map → EnvRemoveCommand-FT5NPEKI.js.map} +0 -0
- /package/build/{EnvSetCommand-OXCR6KZW.js.map → EnvSetCommand-7LPLV7GL.js.map} +0 -0
- /package/build/{InstallCommand-5BGO6YD5.js.map → InstallCommand-DGPPZHXV.js.map} +0 -0
- /package/build/{LoginCommand-45KDXRGW.js.map → LoginCommand-VKQBW5EI.js.map} +0 -0
- /package/build/{LogoutCommand-J7AHAZBJ.js.map → LogoutCommand-NKY5NWUQ.js.map} +0 -0
- /package/build/{PreviewCommand-ZLXKZAID.js.map → PreviewCommand-VQCQDGJ2.js.map} +0 -0
- /package/build/{PreviewCommand-RCY6PODY.js.map → PreviewCommand-W22KLFOH.js.map} +0 -0
- /package/build/{PreviewCommand-M4QGOZIQ.js.map → PreviewCommand-X7P2AHBY.js.map} +0 -0
- /package/build/{PromoteCommand-P545RBBC.js.map → PromoteCommand-VDTCKRE4.js.map} +0 -0
- /package/build/{PublishCommand-6447ZL7O.js.map → PublishCommand-3MDL6QC4.js.map} +0 -0
- /package/build/{UninstallCommand-3BGVCWEO.js.map → UninstallCommand-YPZPH7PM.js.map} +0 -0
- /package/build/{WhoamiCommand-IJNDHARB.js.map → WhoamiCommand-H4GCFFMW.js.map} +0 -0
- /package/build/{chunk-GR2PWATE.js.map → chunk-26B5E4UO.js.map} +0 -0
- /package/build/{chunk-KT3M5OKA.js.map → chunk-34MTX547.js.map} +0 -0
- /package/build/{chunk-SAUEECUE.js.map → chunk-3DWQFSNW.js.map} +0 -0
- /package/build/{chunk-6W422UGP.js.map → chunk-3RVONWI7.js.map} +0 -0
- /package/build/{chunk-OXTKB4SC.js.map → chunk-4QGQ7FU5.js.map} +0 -0
- /package/build/{chunk-3VM2I3KU.js.map → chunk-5OQDBYCC.js.map} +0 -0
- /package/build/{chunk-RVBYFFXK.js.map → chunk-66VZCA5Y.js.map} +0 -0
- /package/build/{chunk-LHIW7AJD.js.map → chunk-DQULLGU7.js.map} +0 -0
- /package/build/{chunk-UUC65NV7.js.map → chunk-DTJ6JGVE.js.map} +0 -0
- /package/build/{chunk-MB36UMSR.js.map → chunk-HGBT2YDL.js.map} +0 -0
- /package/build/{chunk-NU3PGW4G.js.map → chunk-JMUBTRYQ.js.map} +0 -0
- /package/build/{chunk-KAEF5TRH.js.map → chunk-KFP5IROQ.js.map} +0 -0
- /package/build/{chunk-5DPOQEHJ.js.map → chunk-KJC2IRIO.js.map} +0 -0
- /package/build/{chunk-QO4VD6Y5.js.map → chunk-KRZQM5IB.js.map} +0 -0
- /package/build/{chunk-JB3ZSQ4V.js.map → chunk-KUETLEOF.js.map} +0 -0
- /package/build/{chunk-CVORQHI7.js.map → chunk-MA6ZMAQU.js.map} +0 -0
- /package/build/{chunk-QZD3FQNI.js.map → chunk-MWPS57J5.js.map} +0 -0
- /package/build/{chunk-Z7ECXECD.js.map → chunk-OWJ2DBNB.js.map} +0 -0
- /package/build/{chunk-6IQOPD7Y.js.map → chunk-PDB7C6G4.js.map} +0 -0
- /package/build/{chunk-44GJUTL2.js.map → chunk-PETG4TB5.js.map} +0 -0
- /package/build/{chunk-Y2AMOBMY.js.map → chunk-QKIGR4DS.js.map} +0 -0
- /package/build/{chunk-NRUBQ5N7.js.map → chunk-TL7UQCUX.js.map} +0 -0
- /package/build/{chunk-OTBU2MWL.js.map → chunk-VLGQTAVU.js.map} +0 -0
- /package/build/{chunk-DJ2UGSXB.js.map → chunk-YSTEUOSI.js.map} +0 -0
- /package/build/{chunk-L6B6ZZ2H.js.map → chunk-ZBGLF76X.js.map} +0 -0
- /package/build/{dev-2NFD6QEM.js.map → dev-KS2OTEXB.js.map} +0 -0
- /package/build/{env-pull-OHEZAUTU.js.map → env-pull-DS57QSQI.js.map} +0 -0
- /package/build/{install-FHCG4U4R.js.map → install-XHQJGNSY.js.map} +0 -0
- /package/build/{preview-RYHUMXWR.js.map → preview-CTFYUQYT.js.map} +0 -0
- /package/build/{publish-QZGEHMZ2.js.map → publish-UYXDXAJ2.js.map} +0 -0
- /package/build/{render-command-CLDVD7ZQ.js.map → render-command-5VDNAXTP.js.map} +0 -0
- /package/build/{render-command-ZUW2SOXP.js.map → render-command-GC5M477M.js.map} +0 -0
- /package/build/{render-command-JKKYBTHT.js.map → render-command-LZAIPJQS.js.map} +0 -0
- /package/build/{render-command-LYNRDGPP.js.map → render-command-LZLXAPTJ.js.map} +0 -0
- /package/build/{render-command-ZQ3UPX54.js.map → render-command-ZYQ762CC.js.map} +0 -0
- /package/build/{src-WCL4TDCR.js.map → src-3KZZZJ3H.js.map} +0 -0
- /package/build/{src-CDV5A6FR.js.map → src-6UQ5GS34.js.map} +0 -0
- /package/build/{src-X6NEARNN.js.map → src-KS2HXFOE.js.map} +0 -0
- /package/build/{src-DBCKXMSW.js.map → src-NXE7P7H4.js.map} +0 -0
- /package/build/{sync-types-57HK54CQ.js.map → sync-types-B47N5WP2.js.map} +0 -0
- /package/build/{uninstall-XFEDEW2Z.js.map → uninstall-2UZH5ABJ.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
useDevCenterClient
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HZRGNT6A.js";
|
|
6
6
|
import {
|
|
7
7
|
wixCliAction,
|
|
8
8
|
wixCliAppFlowStepsAnswers
|
|
@@ -15,14 +15,15 @@ import {
|
|
|
15
15
|
EmbedCategory,
|
|
16
16
|
EmbeddedScriptPlacement,
|
|
17
17
|
PanelMode,
|
|
18
|
+
PlatformType,
|
|
18
19
|
Width,
|
|
19
20
|
deploymentTopologySchema,
|
|
20
21
|
getDeploymentTopologyPath,
|
|
21
22
|
useProjectModel
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MT4UEZWE.js";
|
|
23
24
|
import {
|
|
24
25
|
useHttpClient
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3RVONWI7.js";
|
|
26
27
|
import {
|
|
27
28
|
usePanoramaMethodLogger
|
|
28
29
|
} from "./chunk-6GSUU65D.js";
|
|
@@ -39,12 +40,12 @@ import {
|
|
|
39
40
|
serializer,
|
|
40
41
|
useBiLogger,
|
|
41
42
|
useDebugLog
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DQULLGU7.js";
|
|
43
44
|
import {
|
|
44
45
|
I18nProvider,
|
|
45
46
|
Trans,
|
|
46
47
|
useTranslation
|
|
47
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-KUETLEOF.js";
|
|
48
49
|
import {
|
|
49
50
|
Alert,
|
|
50
51
|
Badge,
|
|
@@ -60,7 +61,7 @@ import {
|
|
|
60
61
|
useAsyncCallback,
|
|
61
62
|
useExit,
|
|
62
63
|
use_input_default
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-POJ57ZT2.js";
|
|
64
65
|
import {
|
|
65
66
|
require_react
|
|
66
67
|
} from "./chunk-NRAQAV6T.js";
|
|
@@ -3000,9 +3001,9 @@ ${trace}`);
|
|
|
3000
3001
|
function isMemberExpressionLike(node) {
|
|
3001
3002
|
return (0, _index.isMemberExpression)(node) || (0, _index.isMetaProperty)(node);
|
|
3002
3003
|
}
|
|
3003
|
-
function matchesPattern(member,
|
|
3004
|
+
function matchesPattern(member, match9, allowPartial) {
|
|
3004
3005
|
if (!isMemberExpressionLike(member)) return false;
|
|
3005
|
-
const parts = Array.isArray(
|
|
3006
|
+
const parts = Array.isArray(match9) ? match9 : match9.split(".");
|
|
3006
3007
|
const nodes = [];
|
|
3007
3008
|
let node;
|
|
3008
3009
|
for (node = member; isMemberExpressionLike(node); node = (_object = node.object) != null ? _object : node.meta) {
|
|
@@ -3042,8 +3043,8 @@ ${trace}`);
|
|
|
3042
3043
|
});
|
|
3043
3044
|
exports2.default = buildMatchMemberExpression;
|
|
3044
3045
|
var _matchesPattern = require_matchesPattern();
|
|
3045
|
-
function buildMatchMemberExpression(
|
|
3046
|
-
const parts =
|
|
3046
|
+
function buildMatchMemberExpression(match9, allowPartial) {
|
|
3047
|
+
const parts = match9.split(".");
|
|
3047
3048
|
return (member) => (0, _matchesPattern.default)(member, parts, allowPartial);
|
|
3048
3049
|
}
|
|
3049
3050
|
}
|
|
@@ -3078,9 +3079,9 @@ ${trace}`);
|
|
|
3078
3079
|
Object.defineProperty(exports2, "__esModule", {
|
|
3079
3080
|
value: true
|
|
3080
3081
|
});
|
|
3081
|
-
exports2.default =
|
|
3082
|
+
exports2.default = isType3;
|
|
3082
3083
|
var _index = require_definitions();
|
|
3083
|
-
function
|
|
3084
|
+
function isType3(nodeType, targetType) {
|
|
3084
3085
|
if (nodeType === targetType) return true;
|
|
3085
3086
|
if (nodeType == null) return false;
|
|
3086
3087
|
if (_index.ALIAS_KEYS[targetType]) return false;
|
|
@@ -3473,8 +3474,8 @@ ${trace}`);
|
|
|
3473
3474
|
default:
|
|
3474
3475
|
if (ch >= 48 && ch <= 55) {
|
|
3475
3476
|
const startPos = pos2 - 1;
|
|
3476
|
-
const
|
|
3477
|
-
let octalStr =
|
|
3477
|
+
const match9 = /^[0-7]+/.exec(input.slice(startPos, pos2 + 2));
|
|
3478
|
+
let octalStr = match9[0];
|
|
3478
3479
|
let octal = parseInt(octalStr, 8);
|
|
3479
3480
|
if (octal > 255) {
|
|
3480
3481
|
octalStr = octalStr.slice(0, -1);
|
|
@@ -4315,9 +4316,9 @@ ${errors.join("\n")}`);
|
|
|
4315
4316
|
}
|
|
4316
4317
|
}),
|
|
4317
4318
|
validate: process.env.BABEL_TYPES_8_BREAKING ? function(parent, key2, node) {
|
|
4318
|
-
const
|
|
4319
|
-
if (!
|
|
4320
|
-
const [, parentKey] =
|
|
4319
|
+
const match9 = /\.(\w+)$/.exec(key2.toString());
|
|
4320
|
+
if (!match9) return;
|
|
4321
|
+
const [, parentKey] = match9;
|
|
4321
4322
|
const nonComp = {
|
|
4322
4323
|
computed: false
|
|
4323
4324
|
};
|
|
@@ -4605,9 +4606,9 @@ ${errors.join("\n")}`);
|
|
|
4605
4606
|
}
|
|
4606
4607
|
}),
|
|
4607
4608
|
validate: process.env.BABEL_TYPES_8_BREAKING ? function(parent, key2) {
|
|
4608
|
-
const
|
|
4609
|
-
if (!
|
|
4610
|
-
const [, listKey, index] =
|
|
4609
|
+
const match9 = /(\w+)\[(\d+)\]/.exec(key2.toString());
|
|
4610
|
+
if (!match9) throw new Error("Internal Babel error: malformed key.");
|
|
4611
|
+
const [, listKey, index] = match9;
|
|
4611
4612
|
if (parent[listKey].length > +index + 1) {
|
|
4612
4613
|
throw new TypeError(`RestElement must be last element of ${listKey}`);
|
|
4613
4614
|
}
|
|
@@ -12314,7 +12315,7 @@ Expected ${val.length + 1} quasis but got ${node.quasis.length}`);
|
|
|
12314
12315
|
name += (0, _helperValidatorIdentifier.isIdentifierChar)(c2.codePointAt(0)) ? c2 : "-";
|
|
12315
12316
|
}
|
|
12316
12317
|
name = name.replace(/^[-0-9]+/, "");
|
|
12317
|
-
name = name.replace(/[-\s]+(.)?/g, function(
|
|
12318
|
+
name = name.replace(/[-\s]+(.)?/g, function(match9, c2) {
|
|
12318
12319
|
return c2 ? c2.toUpperCase() : "";
|
|
12319
12320
|
});
|
|
12320
12321
|
if (!(0, _isValidIdentifier.default)(name)) {
|
|
@@ -19622,8 +19623,8 @@ ${str}
|
|
|
19622
19623
|
default:
|
|
19623
19624
|
if (ch >= 48 && ch <= 55) {
|
|
19624
19625
|
const startPos = pos2 - 1;
|
|
19625
|
-
const
|
|
19626
|
-
let octalStr =
|
|
19626
|
+
const match9 = /^[0-7]+/.exec(input.slice(startPos, pos2 + 2));
|
|
19627
|
+
let octalStr = match9[0];
|
|
19627
19628
|
let octal = parseInt(octalStr, 8);
|
|
19628
19629
|
if (octal > 255) {
|
|
19629
19630
|
octalStr = octalStr.slice(0, -1);
|
|
@@ -28754,16 +28755,16 @@ ${str}
|
|
|
28754
28755
|
value: true
|
|
28755
28756
|
});
|
|
28756
28757
|
exports2.default = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;
|
|
28757
|
-
exports2.matchToToken = function(
|
|
28758
|
-
var token2 = { type: "invalid", value:
|
|
28759
|
-
if (
|
|
28760
|
-
else if (
|
|
28761
|
-
else if (
|
|
28762
|
-
else if (
|
|
28763
|
-
else if (
|
|
28764
|
-
else if (
|
|
28765
|
-
else if (
|
|
28766
|
-
else if (
|
|
28758
|
+
exports2.matchToToken = function(match9) {
|
|
28759
|
+
var token2 = { type: "invalid", value: match9[0], closed: void 0 };
|
|
28760
|
+
if (match9[1]) token2.type = "string", token2.closed = !!(match9[3] || match9[4]);
|
|
28761
|
+
else if (match9[5]) token2.type = "comment";
|
|
28762
|
+
else if (match9[6]) token2.type = "comment", token2.closed = !!match9[7];
|
|
28763
|
+
else if (match9[8]) token2.type = "regex";
|
|
28764
|
+
else if (match9[9]) token2.type = "number";
|
|
28765
|
+
else if (match9[10]) token2.type = "name";
|
|
28766
|
+
else if (match9[11]) token2.type = "punctuator";
|
|
28767
|
+
else if (match9[12]) token2.type = "whitespace";
|
|
28767
28768
|
return token2;
|
|
28768
28769
|
};
|
|
28769
28770
|
}
|
|
@@ -28828,11 +28829,11 @@ ${str}
|
|
|
28828
28829
|
return token2.type;
|
|
28829
28830
|
};
|
|
28830
28831
|
tokenize = function* (text) {
|
|
28831
|
-
let
|
|
28832
|
-
while (
|
|
28833
|
-
const token2 = jsTokens.matchToToken(
|
|
28832
|
+
let match9;
|
|
28833
|
+
while (match9 = jsTokens.default.exec(text)) {
|
|
28834
|
+
const token2 = jsTokens.matchToToken(match9);
|
|
28834
28835
|
yield {
|
|
28835
|
-
type: getTokenType(token2,
|
|
28836
|
+
type: getTokenType(token2, match9.index, text),
|
|
28836
28837
|
value: token2.value
|
|
28837
28838
|
};
|
|
28838
28839
|
}
|
|
@@ -31096,14 +31097,14 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
31096
31097
|
if (str.length > 100) {
|
|
31097
31098
|
return;
|
|
31098
31099
|
}
|
|
31099
|
-
var
|
|
31100
|
+
var match9 = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
|
31100
31101
|
str
|
|
31101
31102
|
);
|
|
31102
|
-
if (!
|
|
31103
|
+
if (!match9) {
|
|
31103
31104
|
return;
|
|
31104
31105
|
}
|
|
31105
|
-
var n = parseFloat(
|
|
31106
|
-
var type = (
|
|
31106
|
+
var n = parseFloat(match9[1]);
|
|
31107
|
+
var type = (match9[2] || "ms").toLowerCase();
|
|
31107
31108
|
switch (type) {
|
|
31108
31109
|
case "years":
|
|
31109
31110
|
case "year":
|
|
@@ -31233,19 +31234,19 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
31233
31234
|
args.unshift("%O");
|
|
31234
31235
|
}
|
|
31235
31236
|
let index = 0;
|
|
31236
|
-
args[0] = args[0].replace(/%([a-zA-Z%])/g, (
|
|
31237
|
-
if (
|
|
31237
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match9, format) => {
|
|
31238
|
+
if (match9 === "%%") {
|
|
31238
31239
|
return "%";
|
|
31239
31240
|
}
|
|
31240
31241
|
index++;
|
|
31241
31242
|
const formatter = createDebug.formatters[format];
|
|
31242
31243
|
if (typeof formatter === "function") {
|
|
31243
31244
|
const val = args[index];
|
|
31244
|
-
|
|
31245
|
+
match9 = formatter.call(self2, val);
|
|
31245
31246
|
args.splice(index, 1);
|
|
31246
31247
|
index--;
|
|
31247
31248
|
}
|
|
31248
|
-
return
|
|
31249
|
+
return match9;
|
|
31249
31250
|
});
|
|
31250
31251
|
createDebug.formatArgs.call(self2, args);
|
|
31251
31252
|
const logFn = self2.log || createDebug.log;
|
|
@@ -31479,12 +31480,12 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
31479
31480
|
args.splice(1, 0, c2, "color: inherit");
|
|
31480
31481
|
let index = 0;
|
|
31481
31482
|
let lastC = 0;
|
|
31482
|
-
args[0].replace(/%[a-zA-Z%]/g, (
|
|
31483
|
-
if (
|
|
31483
|
+
args[0].replace(/%[a-zA-Z%]/g, (match9) => {
|
|
31484
|
+
if (match9 === "%%") {
|
|
31484
31485
|
return;
|
|
31485
31486
|
}
|
|
31486
31487
|
index++;
|
|
31487
|
-
if (
|
|
31488
|
+
if (match9 === "%c") {
|
|
31488
31489
|
lastC = index;
|
|
31489
31490
|
}
|
|
31490
31491
|
});
|
|
@@ -34106,13 +34107,13 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
34106
34107
|
return /^[.?#]/.test(input);
|
|
34107
34108
|
}
|
|
34108
34109
|
function parseAbsoluteUrl(input) {
|
|
34109
|
-
const
|
|
34110
|
-
return makeUrl(
|
|
34110
|
+
const match9 = urlRegex.exec(input);
|
|
34111
|
+
return makeUrl(match9[1], match9[2] || "", match9[3], match9[4] || "", match9[5] || "/", match9[6] || "", match9[7] || "");
|
|
34111
34112
|
}
|
|
34112
34113
|
function parseFileUrl(input) {
|
|
34113
|
-
const
|
|
34114
|
-
const path =
|
|
34115
|
-
return makeUrl("file:", "",
|
|
34114
|
+
const match9 = fileRegex.exec(input);
|
|
34115
|
+
const path = match9[2];
|
|
34116
|
+
return makeUrl("file:", "", match9[1] || "", "", isAbsolutePath(path) ? path : "/" + path, match9[3] || "", match9[4] || "");
|
|
34116
34117
|
}
|
|
34117
34118
|
function makeUrl(scheme, user, host, port, path, query, hash) {
|
|
34118
34119
|
return {
|
|
@@ -35625,7 +35626,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
35625
35626
|
return false;
|
|
35626
35627
|
}
|
|
35627
35628
|
}
|
|
35628
|
-
function
|
|
35629
|
+
function isType3(node) {
|
|
35629
35630
|
return isLiteral(node) || isObjectExpression(node) || isArrayExpression(node) || isIdentifier(node) || isMemberExpression(node);
|
|
35630
35631
|
}
|
|
35631
35632
|
var nodes = exports2.nodes = {
|
|
@@ -35661,7 +35662,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
35661
35662
|
VariableDeclaration(node) {
|
|
35662
35663
|
for (let i = 0; i < node.declarations.length; i++) {
|
|
35663
35664
|
const declar = node.declarations[i];
|
|
35664
|
-
let enabled = isHelper(declar.id) && !
|
|
35665
|
+
let enabled = isHelper(declar.id) && !isType3(declar.init);
|
|
35665
35666
|
if (!enabled && declar.init) {
|
|
35666
35667
|
const state = crawl(declar.init);
|
|
35667
35668
|
enabled = isHelper(declar.init) && state.hasCall || state.hasFunction;
|
|
@@ -43242,7 +43243,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
43242
43243
|
isIdentifier,
|
|
43243
43244
|
isLiteral,
|
|
43244
43245
|
isStringLiteral,
|
|
43245
|
-
isType:
|
|
43246
|
+
isType: isType3,
|
|
43246
43247
|
matchesPattern: _matchesPattern
|
|
43247
43248
|
} = _t;
|
|
43248
43249
|
function matchesPattern(pattern, allowPartial) {
|
|
@@ -43272,7 +43273,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
43272
43273
|
};
|
|
43273
43274
|
}
|
|
43274
43275
|
function isNodeType(type) {
|
|
43275
|
-
return
|
|
43276
|
+
return isType3(this.type, type);
|
|
43276
43277
|
}
|
|
43277
43278
|
function canHaveVariableDeclarationOrExpression() {
|
|
43278
43279
|
return (this.key === "init" || this.key === "left") && this.parentPath.isFor();
|
|
@@ -43528,13 +43529,13 @@ ${" ".repeat(indentSize)}`);
|
|
|
43528
43529
|
for (const prop of props) {
|
|
43529
43530
|
if (!prop.isProperty()) continue;
|
|
43530
43531
|
const key2 = prop.get("key");
|
|
43531
|
-
let
|
|
43532
|
+
let match9 = prop.isnt("computed") && key2.isIdentifier({
|
|
43532
43533
|
name: targetName
|
|
43533
43534
|
});
|
|
43534
|
-
|
|
43535
|
+
match9 = match9 || key2.isLiteral({
|
|
43535
43536
|
value: targetName
|
|
43536
43537
|
});
|
|
43537
|
-
if (
|
|
43538
|
+
if (match9) return prop.get("value").resolve(dangerous, resolved);
|
|
43538
43539
|
}
|
|
43539
43540
|
} else if (target.isArrayExpression() && !isNaN(+targetName)) {
|
|
43540
43541
|
const elems = target.get("elements");
|
|
@@ -45950,23 +45951,23 @@ ${" ".repeat(indentSize)}`);
|
|
|
45950
45951
|
return null;
|
|
45951
45952
|
}
|
|
45952
45953
|
options = options || {};
|
|
45953
|
-
var
|
|
45954
|
+
var match9 = null;
|
|
45954
45955
|
if (!options.rtl) {
|
|
45955
|
-
|
|
45956
|
+
match9 = version.match(safeRe[t.COERCE]);
|
|
45956
45957
|
} else {
|
|
45957
45958
|
var next;
|
|
45958
|
-
while ((next = safeRe[t.COERCERTL].exec(version)) && (!
|
|
45959
|
-
if (!
|
|
45960
|
-
|
|
45959
|
+
while ((next = safeRe[t.COERCERTL].exec(version)) && (!match9 || match9.index + match9[0].length !== version.length)) {
|
|
45960
|
+
if (!match9 || next.index + next[0].length !== match9.index + match9[0].length) {
|
|
45961
|
+
match9 = next;
|
|
45961
45962
|
}
|
|
45962
45963
|
safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;
|
|
45963
45964
|
}
|
|
45964
45965
|
safeRe[t.COERCERTL].lastIndex = -1;
|
|
45965
45966
|
}
|
|
45966
|
-
if (
|
|
45967
|
+
if (match9 === null) {
|
|
45967
45968
|
return null;
|
|
45968
45969
|
}
|
|
45969
|
-
return parse3(
|
|
45970
|
+
return parse3(match9[2] + "." + (match9[3] || "0") + "." + (match9[4] || "0"), options);
|
|
45970
45971
|
}
|
|
45971
45972
|
}
|
|
45972
45973
|
});
|
|
@@ -51175,11 +51176,11 @@ ${" ".repeat(indentSize)}`);
|
|
|
51175
51176
|
}
|
|
51176
51177
|
for (var name in all) {
|
|
51177
51178
|
var type = all[name];
|
|
51178
|
-
var
|
|
51179
|
-
if (
|
|
51179
|
+
var match9 = query.match(type.regexp);
|
|
51180
|
+
if (match9) {
|
|
51180
51181
|
node.type = name;
|
|
51181
51182
|
for (var i = 0; i < type.matches.length; i++) {
|
|
51182
|
-
node[type.matches[i]] =
|
|
51183
|
+
node[type.matches[i]] = match9[i + 1];
|
|
51183
51184
|
}
|
|
51184
51185
|
return node;
|
|
51185
51186
|
}
|
|
@@ -54205,23 +54206,23 @@ ${" ".repeat(indentSize)}`);
|
|
|
54205
54206
|
return null;
|
|
54206
54207
|
}
|
|
54207
54208
|
options = options || {};
|
|
54208
|
-
var
|
|
54209
|
+
var match9 = null;
|
|
54209
54210
|
if (!options.rtl) {
|
|
54210
|
-
|
|
54211
|
+
match9 = version.match(safeRe[t.COERCE]);
|
|
54211
54212
|
} else {
|
|
54212
54213
|
var next;
|
|
54213
|
-
while ((next = safeRe[t.COERCERTL].exec(version)) && (!
|
|
54214
|
-
if (!
|
|
54215
|
-
|
|
54214
|
+
while ((next = safeRe[t.COERCERTL].exec(version)) && (!match9 || match9.index + match9[0].length !== version.length)) {
|
|
54215
|
+
if (!match9 || next.index + next[0].length !== match9.index + match9[0].length) {
|
|
54216
|
+
match9 = next;
|
|
54216
54217
|
}
|
|
54217
54218
|
safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;
|
|
54218
54219
|
}
|
|
54219
54220
|
safeRe[t.COERCERTL].lastIndex = -1;
|
|
54220
54221
|
}
|
|
54221
|
-
if (
|
|
54222
|
+
if (match9 === null) {
|
|
54222
54223
|
return null;
|
|
54223
54224
|
}
|
|
54224
|
-
return parse3(
|
|
54225
|
+
return parse3(match9[2] + "." + (match9[3] || "0") + "." + (match9[4] || "0"), options);
|
|
54225
54226
|
}
|
|
54226
54227
|
}
|
|
54227
54228
|
});
|
|
@@ -58668,8 +58669,8 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
58668
58669
|
const lastComment = extractComments(EXTERNAL_SOURCEMAP_REGEX, ast);
|
|
58669
58670
|
if (typeof options.filename === "string" && lastComment) {
|
|
58670
58671
|
try {
|
|
58671
|
-
const
|
|
58672
|
-
const inputMapContent = _fs().readFileSync(_path().resolve(_path().dirname(options.filename),
|
|
58672
|
+
const match9 = EXTERNAL_SOURCEMAP_REGEX.exec(lastComment);
|
|
58673
|
+
const inputMapContent = _fs().readFileSync(_path().resolve(_path().dirname(options.filename), match9[1]), "utf8");
|
|
58673
58674
|
inputMap = _convertSourceMap().fromJSON(inputMapContent);
|
|
58674
58675
|
} catch (err) {
|
|
58675
58676
|
debug("discarding unknown file input sourcemap", err);
|
|
@@ -63801,23 +63802,23 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
63801
63802
|
return null;
|
|
63802
63803
|
}
|
|
63803
63804
|
options = options || {};
|
|
63804
|
-
var
|
|
63805
|
+
var match9 = null;
|
|
63805
63806
|
if (!options.rtl) {
|
|
63806
|
-
|
|
63807
|
+
match9 = version.match(safeRe[t.COERCE]);
|
|
63807
63808
|
} else {
|
|
63808
63809
|
var next;
|
|
63809
|
-
while ((next = safeRe[t.COERCERTL].exec(version)) && (!
|
|
63810
|
-
if (!
|
|
63811
|
-
|
|
63810
|
+
while ((next = safeRe[t.COERCERTL].exec(version)) && (!match9 || match9.index + match9[0].length !== version.length)) {
|
|
63811
|
+
if (!match9 || next.index + next[0].length !== match9.index + match9[0].length) {
|
|
63812
|
+
match9 = next;
|
|
63812
63813
|
}
|
|
63813
63814
|
safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;
|
|
63814
63815
|
}
|
|
63815
63816
|
safeRe[t.COERCERTL].lastIndex = -1;
|
|
63816
63817
|
}
|
|
63817
|
-
if (
|
|
63818
|
+
if (match9 === null) {
|
|
63818
63819
|
return null;
|
|
63819
63820
|
}
|
|
63820
|
-
return parse3(
|
|
63821
|
+
return parse3(match9[2] + "." + (match9[3] || "0") + "." + (match9[4] || "0"), options);
|
|
63821
63822
|
}
|
|
63822
63823
|
}
|
|
63823
63824
|
});
|
|
@@ -66587,13 +66588,13 @@ module.exports = function(api) {
|
|
|
66587
66588
|
var encodedSeparatorRegEx = /%2f|%5c/i;
|
|
66588
66589
|
var emittedPackageWarnings = /* @__PURE__ */ new Set();
|
|
66589
66590
|
var doubleSlashRegEx = /[/\\]{2}/;
|
|
66590
|
-
function emitInvalidSegmentDeprecation(target, request,
|
|
66591
|
+
function emitInvalidSegmentDeprecation(target, request, match9, packageJsonUrl, internal, base, isTarget) {
|
|
66591
66592
|
if (_process().noDeprecation) {
|
|
66592
66593
|
return;
|
|
66593
66594
|
}
|
|
66594
66595
|
const pjsonPath = (0, _url().fileURLToPath)(packageJsonUrl);
|
|
66595
66596
|
const double = doubleSlashRegEx.exec(isTarget ? target : request) !== null;
|
|
66596
|
-
_process().emitWarning(`Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request}" ${request ===
|
|
66597
|
+
_process().emitWarning(`Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request}" ${request === match9 ? "" : `matched to "${match9}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, _url().fileURLToPath)(base)}` : ""}.`, "DeprecationWarning", "DEP0166");
|
|
66597
66598
|
}
|
|
66598
66599
|
function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {
|
|
66599
66600
|
if (_process().noDeprecation) {
|
|
@@ -66703,16 +66704,16 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
66703
66704
|
function exportsNotFound(subpath, packageJsonUrl, base) {
|
|
66704
66705
|
return new ERR_PACKAGE_PATH_NOT_EXPORTED((0, _url().fileURLToPath)(new (_url()).URL(".", packageJsonUrl)), subpath, base && (0, _url().fileURLToPath)(base));
|
|
66705
66706
|
}
|
|
66706
|
-
function throwInvalidSubpath(request,
|
|
66707
|
-
const reason = `request is not a valid match in pattern "${
|
|
66707
|
+
function throwInvalidSubpath(request, match9, packageJsonUrl, internal, base) {
|
|
66708
|
+
const reason = `request is not a valid match in pattern "${match9}" for the "${internal ? "imports" : "exports"}" resolution of ${(0, _url().fileURLToPath)(packageJsonUrl)}`;
|
|
66708
66709
|
throw new ERR_INVALID_MODULE_SPECIFIER(request, reason, base && (0, _url().fileURLToPath)(base));
|
|
66709
66710
|
}
|
|
66710
66711
|
function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {
|
|
66711
66712
|
target = typeof target === "object" && target !== null ? JSON.stringify(target, null, "") : `${target}`;
|
|
66712
66713
|
return new ERR_INVALID_PACKAGE_TARGET((0, _url().fileURLToPath)(new (_url()).URL(".", packageJsonUrl)), subpath, target, internal, base && (0, _url().fileURLToPath)(base));
|
|
66713
66714
|
}
|
|
66714
|
-
function resolvePackageTargetString(target, subpath,
|
|
66715
|
-
if (subpath !== "" && !pattern && target[target.length - 1] !== "/") throw invalidPackageTarget(
|
|
66715
|
+
function resolvePackageTargetString(target, subpath, match9, packageJsonUrl, base, pattern, internal, isPathMap, conditions) {
|
|
66716
|
+
if (subpath !== "" && !pattern && target[target.length - 1] !== "/") throw invalidPackageTarget(match9, target, packageJsonUrl, internal, base);
|
|
66716
66717
|
if (!target.startsWith("./")) {
|
|
66717
66718
|
if (internal && !target.startsWith("../") && !target.startsWith("/")) {
|
|
66718
66719
|
let isURL2 = false;
|
|
@@ -66726,33 +66727,33 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
66726
66727
|
return packageResolve(exportTarget, packageJsonUrl, conditions);
|
|
66727
66728
|
}
|
|
66728
66729
|
}
|
|
66729
|
-
throw invalidPackageTarget(
|
|
66730
|
+
throw invalidPackageTarget(match9, target, packageJsonUrl, internal, base);
|
|
66730
66731
|
}
|
|
66731
66732
|
if (invalidSegmentRegEx.exec(target.slice(2)) !== null) {
|
|
66732
66733
|
if (deprecatedInvalidSegmentRegEx.exec(target.slice(2)) === null) {
|
|
66733
66734
|
if (!isPathMap) {
|
|
66734
|
-
const request = pattern ?
|
|
66735
|
+
const request = pattern ? match9.replace("*", () => subpath) : match9 + subpath;
|
|
66735
66736
|
const resolvedTarget = pattern ? RegExpPrototypeSymbolReplace.call(patternRegEx, target, () => subpath) : target;
|
|
66736
|
-
emitInvalidSegmentDeprecation(resolvedTarget, request,
|
|
66737
|
+
emitInvalidSegmentDeprecation(resolvedTarget, request, match9, packageJsonUrl, internal, base, true);
|
|
66737
66738
|
}
|
|
66738
66739
|
} else {
|
|
66739
|
-
throw invalidPackageTarget(
|
|
66740
|
+
throw invalidPackageTarget(match9, target, packageJsonUrl, internal, base);
|
|
66740
66741
|
}
|
|
66741
66742
|
}
|
|
66742
66743
|
const resolved = new (_url()).URL(target, packageJsonUrl);
|
|
66743
66744
|
const resolvedPath = resolved.pathname;
|
|
66744
66745
|
const packagePath = new (_url()).URL(".", packageJsonUrl).pathname;
|
|
66745
|
-
if (!resolvedPath.startsWith(packagePath)) throw invalidPackageTarget(
|
|
66746
|
+
if (!resolvedPath.startsWith(packagePath)) throw invalidPackageTarget(match9, target, packageJsonUrl, internal, base);
|
|
66746
66747
|
if (subpath === "") return resolved;
|
|
66747
66748
|
if (invalidSegmentRegEx.exec(subpath) !== null) {
|
|
66748
|
-
const request = pattern ?
|
|
66749
|
+
const request = pattern ? match9.replace("*", () => subpath) : match9 + subpath;
|
|
66749
66750
|
if (deprecatedInvalidSegmentRegEx.exec(subpath) === null) {
|
|
66750
66751
|
if (!isPathMap) {
|
|
66751
66752
|
const resolvedTarget = pattern ? RegExpPrototypeSymbolReplace.call(patternRegEx, target, () => subpath) : target;
|
|
66752
|
-
emitInvalidSegmentDeprecation(resolvedTarget, request,
|
|
66753
|
+
emitInvalidSegmentDeprecation(resolvedTarget, request, match9, packageJsonUrl, internal, base, false);
|
|
66753
66754
|
}
|
|
66754
66755
|
} else {
|
|
66755
|
-
throwInvalidSubpath(request,
|
|
66756
|
+
throwInvalidSubpath(request, match9, packageJsonUrl, internal, base);
|
|
66756
66757
|
}
|
|
66757
66758
|
}
|
|
66758
66759
|
if (pattern) {
|
|
@@ -66841,14 +66842,14 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
66841
66842
|
}
|
|
66842
66843
|
return isConditionalSugar;
|
|
66843
66844
|
}
|
|
66844
|
-
function emitTrailingSlashPatternDeprecation(
|
|
66845
|
+
function emitTrailingSlashPatternDeprecation(match9, pjsonUrl, base) {
|
|
66845
66846
|
if (_process().noDeprecation) {
|
|
66846
66847
|
return;
|
|
66847
66848
|
}
|
|
66848
66849
|
const pjsonPath = (0, _url().fileURLToPath)(pjsonUrl);
|
|
66849
|
-
if (emittedPackageWarnings.has(pjsonPath + "|" +
|
|
66850
|
-
emittedPackageWarnings.add(pjsonPath + "|" +
|
|
66851
|
-
_process().emitWarning(`Use of deprecated trailing slash pattern mapping "${
|
|
66850
|
+
if (emittedPackageWarnings.has(pjsonPath + "|" + match9)) return;
|
|
66851
|
+
emittedPackageWarnings.add(pjsonPath + "|" + match9);
|
|
66852
|
+
_process().emitWarning(`Use of deprecated trailing slash pattern mapping "${match9}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, _url().fileURLToPath)(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155");
|
|
66852
66853
|
}
|
|
66853
66854
|
function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
|
|
66854
66855
|
let exports3 = packageConfig.exports;
|
|
@@ -69864,7 +69865,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
69864
69865
|
var makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
|
|
69865
69866
|
exports2.makeRe = makeRe;
|
|
69866
69867
|
exports2.minimatch.makeRe = exports2.makeRe;
|
|
69867
|
-
var
|
|
69868
|
+
var match9 = (list, pattern, options = {}) => {
|
|
69868
69869
|
const mm = new Minimatch(pattern, options);
|
|
69869
69870
|
list = list.filter((f) => mm.match(f));
|
|
69870
69871
|
if (mm.options.nonull && !list.length) {
|
|
@@ -69872,7 +69873,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
69872
69873
|
}
|
|
69873
69874
|
return list;
|
|
69874
69875
|
};
|
|
69875
|
-
exports2.match =
|
|
69876
|
+
exports2.match = match9;
|
|
69876
69877
|
exports2.minimatch.match = exports2.match;
|
|
69877
69878
|
var globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
|
|
69878
69879
|
var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
@@ -76656,10 +76657,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
76656
76657
|
});
|
|
76657
76658
|
}
|
|
76658
76659
|
let shouldIndentNextCharacter = options.indentStart !== false;
|
|
76659
|
-
const replacer = (
|
|
76660
|
-
if (shouldIndentNextCharacter) return `${indentStr}${
|
|
76660
|
+
const replacer = (match9) => {
|
|
76661
|
+
if (shouldIndentNextCharacter) return `${indentStr}${match9}`;
|
|
76661
76662
|
shouldIndentNextCharacter = true;
|
|
76662
|
-
return
|
|
76663
|
+
return match9;
|
|
76663
76664
|
};
|
|
76664
76665
|
this.intro = this.intro.replace(pattern, replacer);
|
|
76665
76666
|
let charIndex = 0;
|
|
@@ -77047,44 +77048,44 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
77047
77048
|
return this.original !== this.toString();
|
|
77048
77049
|
}
|
|
77049
77050
|
_replaceRegexp(searchValue, replacement) {
|
|
77050
|
-
function getReplacement(
|
|
77051
|
+
function getReplacement(match9, str) {
|
|
77051
77052
|
if (typeof replacement === "string") {
|
|
77052
77053
|
return replacement.replace(/\$(\$|&|\d+)/g, (_, i) => {
|
|
77053
77054
|
if (i === "$") return "$";
|
|
77054
|
-
if (i === "&") return
|
|
77055
|
+
if (i === "&") return match9[0];
|
|
77055
77056
|
const num = +i;
|
|
77056
|
-
if (num <
|
|
77057
|
+
if (num < match9.length) return match9[+i];
|
|
77057
77058
|
return `$${i}`;
|
|
77058
77059
|
});
|
|
77059
77060
|
} else {
|
|
77060
|
-
return replacement(...
|
|
77061
|
+
return replacement(...match9, match9.index, str, match9.groups);
|
|
77061
77062
|
}
|
|
77062
77063
|
}
|
|
77063
77064
|
function matchAll(re, str) {
|
|
77064
|
-
let
|
|
77065
|
+
let match9;
|
|
77065
77066
|
const matches = [];
|
|
77066
|
-
while (
|
|
77067
|
-
matches.push(
|
|
77067
|
+
while (match9 = re.exec(str)) {
|
|
77068
|
+
matches.push(match9);
|
|
77068
77069
|
}
|
|
77069
77070
|
return matches;
|
|
77070
77071
|
}
|
|
77071
77072
|
if (searchValue.global) {
|
|
77072
77073
|
const matches = matchAll(searchValue, this.original);
|
|
77073
|
-
matches.forEach((
|
|
77074
|
-
if (
|
|
77074
|
+
matches.forEach((match9) => {
|
|
77075
|
+
if (match9.index != null)
|
|
77075
77076
|
this.overwrite(
|
|
77076
|
-
|
|
77077
|
-
|
|
77078
|
-
getReplacement(
|
|
77077
|
+
match9.index,
|
|
77078
|
+
match9.index + match9[0].length,
|
|
77079
|
+
getReplacement(match9, this.original)
|
|
77079
77080
|
);
|
|
77080
77081
|
});
|
|
77081
77082
|
} else {
|
|
77082
|
-
const
|
|
77083
|
-
if (
|
|
77083
|
+
const match9 = this.original.match(searchValue);
|
|
77084
|
+
if (match9 && match9.index != null)
|
|
77084
77085
|
this.overwrite(
|
|
77085
|
-
|
|
77086
|
-
|
|
77087
|
-
getReplacement(
|
|
77086
|
+
match9.index,
|
|
77087
|
+
match9.index + match9[0].length,
|
|
77088
|
+
getReplacement(match9, this.original)
|
|
77088
77089
|
);
|
|
77089
77090
|
}
|
|
77090
77091
|
return this;
|
|
@@ -77288,8 +77289,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
77288
77289
|
trailingNewline = source2.content.lastChar() === "\n";
|
|
77289
77290
|
});
|
|
77290
77291
|
if (this.intro) {
|
|
77291
|
-
this.intro = indentStr + this.intro.replace(/^[^\n]/gm, (
|
|
77292
|
-
return index > 0 ? indentStr +
|
|
77292
|
+
this.intro = indentStr + this.intro.replace(/^[^\n]/gm, (match9, index) => {
|
|
77293
|
+
return index > 0 ? indentStr + match9 : match9;
|
|
77293
77294
|
});
|
|
77294
77295
|
}
|
|
77295
77296
|
return this;
|
|
@@ -77570,8 +77571,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
77570
77571
|
exports2.escapeRegex = (str) => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1");
|
|
77571
77572
|
exports2.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/");
|
|
77572
77573
|
exports2.removeBackslashes = (str) => {
|
|
77573
|
-
return str.replace(REGEX_REMOVE_BACKSLASH, (
|
|
77574
|
-
return
|
|
77574
|
+
return str.replace(REGEX_REMOVE_BACKSLASH, (match9) => {
|
|
77575
|
+
return match9 === "\\" ? "" : match9;
|
|
77575
77576
|
});
|
|
77576
77577
|
};
|
|
77577
77578
|
exports2.supportsLookbehinds = () => {
|
|
@@ -78188,10 +78189,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
78188
78189
|
push2({ type: "text", value: value2 });
|
|
78189
78190
|
continue;
|
|
78190
78191
|
}
|
|
78191
|
-
const
|
|
78192
|
+
const match9 = /^\\+/.exec(remaining());
|
|
78192
78193
|
let slashes = 0;
|
|
78193
|
-
if (
|
|
78194
|
-
slashes =
|
|
78194
|
+
if (match9 && match9[0].length > 2) {
|
|
78195
|
+
slashes = match9[0].length;
|
|
78195
78196
|
state.index += slashes;
|
|
78196
78197
|
if (slashes % 2 !== 0) {
|
|
78197
78198
|
value2 += "\\";
|
|
@@ -78479,10 +78480,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
78479
78480
|
if (value2 === "$" || value2 === "^") {
|
|
78480
78481
|
value2 = `\\${value2}`;
|
|
78481
78482
|
}
|
|
78482
|
-
const
|
|
78483
|
-
if (
|
|
78484
|
-
value2 +=
|
|
78485
|
-
state.index +=
|
|
78483
|
+
const match9 = REGEX_NON_SPECIAL_CHARS.exec(remaining());
|
|
78484
|
+
if (match9) {
|
|
78485
|
+
value2 += match9[0];
|
|
78486
|
+
state.index += match9[0].length;
|
|
78486
78487
|
}
|
|
78487
78488
|
push2({ type: "text", value: value2 });
|
|
78488
78489
|
continue;
|
|
@@ -78693,11 +78694,11 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
78693
78694
|
case "**/.*":
|
|
78694
78695
|
return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;
|
|
78695
78696
|
default: {
|
|
78696
|
-
const
|
|
78697
|
-
if (!
|
|
78698
|
-
const source3 = create(
|
|
78697
|
+
const match9 = /^(.*?)\.(\w+)$/.exec(str);
|
|
78698
|
+
if (!match9) return;
|
|
78699
|
+
const source3 = create(match9[1]);
|
|
78699
78700
|
if (!source3) return;
|
|
78700
|
-
return source3 + DOT_LITERAL +
|
|
78701
|
+
return source3 + DOT_LITERAL + match9[2];
|
|
78701
78702
|
}
|
|
78702
78703
|
}
|
|
78703
78704
|
};
|
|
@@ -78747,8 +78748,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
78747
78748
|
isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
|
|
78748
78749
|
}
|
|
78749
78750
|
const matcher = (input, returnObject = false) => {
|
|
78750
|
-
const { isMatch, match:
|
|
78751
|
-
const result = { glob, state, regex, posix, input, output, match:
|
|
78751
|
+
const { isMatch, match: match9, output } = picomatch.test(input, regex, options, { glob, posix });
|
|
78752
|
+
const result = { glob, state, regex, posix, input, output, match: match9, isMatch };
|
|
78752
78753
|
if (typeof opts.onResult === "function") {
|
|
78753
78754
|
opts.onResult(result);
|
|
78754
78755
|
}
|
|
@@ -78782,20 +78783,20 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
78782
78783
|
}
|
|
78783
78784
|
const opts = options || {};
|
|
78784
78785
|
const format = opts.format || (posix ? utils.toPosixSlashes : null);
|
|
78785
|
-
let
|
|
78786
|
-
let output =
|
|
78787
|
-
if (
|
|
78786
|
+
let match9 = input === glob;
|
|
78787
|
+
let output = match9 && format ? format(input) : input;
|
|
78788
|
+
if (match9 === false) {
|
|
78788
78789
|
output = format ? format(input) : input;
|
|
78789
|
-
|
|
78790
|
+
match9 = output === glob;
|
|
78790
78791
|
}
|
|
78791
|
-
if (
|
|
78792
|
+
if (match9 === false || opts.capture === true) {
|
|
78792
78793
|
if (opts.matchBase === true || opts.basename === true) {
|
|
78793
|
-
|
|
78794
|
+
match9 = picomatch.matchBase(input, regex, options, posix);
|
|
78794
78795
|
} else {
|
|
78795
|
-
|
|
78796
|
+
match9 = regex.exec(output);
|
|
78796
78797
|
}
|
|
78797
78798
|
}
|
|
78798
|
-
return { isMatch: Boolean(
|
|
78799
|
+
return { isMatch: Boolean(match9), match: match9, output };
|
|
78799
78800
|
};
|
|
78800
78801
|
picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
|
|
78801
78802
|
const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
|
|
@@ -79296,8 +79297,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
79296
79297
|
exports2.escapeRegex = (str) => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1");
|
|
79297
79298
|
exports2.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/");
|
|
79298
79299
|
exports2.removeBackslashes = (str) => {
|
|
79299
|
-
return str.replace(REGEX_REMOVE_BACKSLASH, (
|
|
79300
|
-
return
|
|
79300
|
+
return str.replace(REGEX_REMOVE_BACKSLASH, (match9) => {
|
|
79301
|
+
return match9 === "\\" ? "" : match9;
|
|
79301
79302
|
});
|
|
79302
79303
|
};
|
|
79303
79304
|
exports2.supportsLookbehinds = () => {
|
|
@@ -79914,10 +79915,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
79914
79915
|
push2({ type: "text", value: value2 });
|
|
79915
79916
|
continue;
|
|
79916
79917
|
}
|
|
79917
|
-
const
|
|
79918
|
+
const match9 = /^\\+/.exec(remaining());
|
|
79918
79919
|
let slashes = 0;
|
|
79919
|
-
if (
|
|
79920
|
-
slashes =
|
|
79920
|
+
if (match9 && match9[0].length > 2) {
|
|
79921
|
+
slashes = match9[0].length;
|
|
79921
79922
|
state.index += slashes;
|
|
79922
79923
|
if (slashes % 2 !== 0) {
|
|
79923
79924
|
value2 += "\\";
|
|
@@ -80205,10 +80206,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
80205
80206
|
if (value2 === "$" || value2 === "^") {
|
|
80206
80207
|
value2 = `\\${value2}`;
|
|
80207
80208
|
}
|
|
80208
|
-
const
|
|
80209
|
-
if (
|
|
80210
|
-
value2 +=
|
|
80211
|
-
state.index +=
|
|
80209
|
+
const match9 = REGEX_NON_SPECIAL_CHARS.exec(remaining());
|
|
80210
|
+
if (match9) {
|
|
80211
|
+
value2 += match9[0];
|
|
80212
|
+
state.index += match9[0].length;
|
|
80212
80213
|
}
|
|
80213
80214
|
push2({ type: "text", value: value2 });
|
|
80214
80215
|
continue;
|
|
@@ -80419,11 +80420,11 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
80419
80420
|
case "**/.*":
|
|
80420
80421
|
return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;
|
|
80421
80422
|
default: {
|
|
80422
|
-
const
|
|
80423
|
-
if (!
|
|
80424
|
-
const source3 = create(
|
|
80423
|
+
const match9 = /^(.*?)\.(\w+)$/.exec(str);
|
|
80424
|
+
if (!match9) return;
|
|
80425
|
+
const source3 = create(match9[1]);
|
|
80425
80426
|
if (!source3) return;
|
|
80426
|
-
return source3 + DOT_LITERAL +
|
|
80427
|
+
return source3 + DOT_LITERAL + match9[2];
|
|
80427
80428
|
}
|
|
80428
80429
|
}
|
|
80429
80430
|
};
|
|
@@ -80473,8 +80474,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
80473
80474
|
isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
|
|
80474
80475
|
}
|
|
80475
80476
|
const matcher = (input, returnObject = false) => {
|
|
80476
|
-
const { isMatch, match:
|
|
80477
|
-
const result = { glob, state, regex, posix, input, output, match:
|
|
80477
|
+
const { isMatch, match: match9, output } = picomatch.test(input, regex, options, { glob, posix });
|
|
80478
|
+
const result = { glob, state, regex, posix, input, output, match: match9, isMatch };
|
|
80478
80479
|
if (typeof opts.onResult === "function") {
|
|
80479
80480
|
opts.onResult(result);
|
|
80480
80481
|
}
|
|
@@ -80508,20 +80509,20 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
80508
80509
|
}
|
|
80509
80510
|
const opts = options || {};
|
|
80510
80511
|
const format = opts.format || (posix ? utils.toPosixSlashes : null);
|
|
80511
|
-
let
|
|
80512
|
-
let output =
|
|
80513
|
-
if (
|
|
80512
|
+
let match9 = input === glob;
|
|
80513
|
+
let output = match9 && format ? format(input) : input;
|
|
80514
|
+
if (match9 === false) {
|
|
80514
80515
|
output = format ? format(input) : input;
|
|
80515
|
-
|
|
80516
|
+
match9 = output === glob;
|
|
80516
80517
|
}
|
|
80517
|
-
if (
|
|
80518
|
+
if (match9 === false || opts.capture === true) {
|
|
80518
80519
|
if (opts.matchBase === true || opts.basename === true) {
|
|
80519
|
-
|
|
80520
|
+
match9 = picomatch.matchBase(input, regex, options, posix);
|
|
80520
80521
|
} else {
|
|
80521
|
-
|
|
80522
|
+
match9 = regex.exec(output);
|
|
80522
80523
|
}
|
|
80523
80524
|
}
|
|
80524
|
-
return { isMatch: Boolean(
|
|
80525
|
+
return { isMatch: Boolean(match9), match: match9, output };
|
|
80525
80526
|
};
|
|
80526
80527
|
picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
|
|
80527
80528
|
const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
|
|
@@ -80680,10 +80681,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
80680
80681
|
if (typeof str !== "string" || str === "") {
|
|
80681
80682
|
return false;
|
|
80682
80683
|
}
|
|
80683
|
-
var
|
|
80684
|
-
while (
|
|
80685
|
-
if (
|
|
80686
|
-
str = str.slice(
|
|
80684
|
+
var match9;
|
|
80685
|
+
while (match9 = /(\\).|([@?!+*]\(.*\))/g.exec(str)) {
|
|
80686
|
+
if (match9[2]) return true;
|
|
80687
|
+
str = str.slice(match9.index + match9[0].length);
|
|
80687
80688
|
}
|
|
80688
80689
|
return false;
|
|
80689
80690
|
};
|
|
@@ -84429,17 +84430,17 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
84429
84430
|
for (; ; ) {
|
|
84430
84431
|
skipWhiteSpace.lastIndex = start;
|
|
84431
84432
|
start += skipWhiteSpace.exec(this.input)[0].length;
|
|
84432
|
-
var
|
|
84433
|
-
if (!
|
|
84433
|
+
var match9 = literal2.exec(this.input.slice(start));
|
|
84434
|
+
if (!match9) {
|
|
84434
84435
|
return false;
|
|
84435
84436
|
}
|
|
84436
|
-
if ((
|
|
84437
|
-
skipWhiteSpace.lastIndex = start +
|
|
84437
|
+
if ((match9[1] || match9[2]) === "use strict") {
|
|
84438
|
+
skipWhiteSpace.lastIndex = start + match9[0].length;
|
|
84438
84439
|
var spaceAfter = skipWhiteSpace.exec(this.input), end = spaceAfter.index + spaceAfter[0].length;
|
|
84439
84440
|
var next = this.input.charAt(end);
|
|
84440
84441
|
return next === ";" || next === "}" || lineBreak.test(spaceAfter[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(next) || next === "!" && this.input.charAt(end + 1) === "=");
|
|
84441
84442
|
}
|
|
84442
|
-
start +=
|
|
84443
|
+
start += match9[0].length;
|
|
84443
84444
|
skipWhiteSpace.lastIndex = start;
|
|
84444
84445
|
start += skipWhiteSpace.exec(this.input)[0].length;
|
|
84445
84446
|
if (this.input[start] === ";") {
|
|
@@ -89885,17 +89886,17 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
89885
89886
|
var streamChunksOfRawSource = (source2, onChunk, onSource, onName) => {
|
|
89886
89887
|
let line2 = 1;
|
|
89887
89888
|
const matches = splitIntoLines(source2);
|
|
89888
|
-
let
|
|
89889
|
-
for (
|
|
89890
|
-
onChunk(
|
|
89889
|
+
let match9;
|
|
89890
|
+
for (match9 of matches) {
|
|
89891
|
+
onChunk(match9, line2, 0, -1, -1, -1, -1);
|
|
89891
89892
|
line2++;
|
|
89892
89893
|
}
|
|
89893
|
-
return matches.length === 0 ||
|
|
89894
|
+
return matches.length === 0 || match9.endsWith("\n") ? {
|
|
89894
89895
|
generatedLine: matches.length + 1,
|
|
89895
89896
|
generatedColumn: 0
|
|
89896
89897
|
} : {
|
|
89897
89898
|
generatedLine: matches.length,
|
|
89898
|
-
generatedColumn:
|
|
89899
|
+
generatedColumn: match9.length
|
|
89899
89900
|
};
|
|
89900
89901
|
};
|
|
89901
89902
|
module2.exports = (source2, onChunk, onSource, onName, finalSource) => {
|
|
@@ -90329,19 +90330,19 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
90329
90330
|
let line2 = 1;
|
|
90330
90331
|
let column2 = 0;
|
|
90331
90332
|
if (matches !== null) {
|
|
90332
|
-
for (const
|
|
90333
|
-
const isEndOfLine =
|
|
90334
|
-
if (isEndOfLine &&
|
|
90335
|
-
if (!finalSource) onChunk(
|
|
90333
|
+
for (const match9 of matches) {
|
|
90334
|
+
const isEndOfLine = match9.endsWith("\n");
|
|
90335
|
+
if (isEndOfLine && match9.length === 1) {
|
|
90336
|
+
if (!finalSource) onChunk(match9, line2, column2, -1, -1, -1, -1);
|
|
90336
90337
|
} else {
|
|
90337
|
-
const chunk = finalSource ? void 0 :
|
|
90338
|
+
const chunk = finalSource ? void 0 : match9;
|
|
90338
90339
|
onChunk(chunk, line2, column2, 0, line2, column2, -1);
|
|
90339
90340
|
}
|
|
90340
90341
|
if (isEndOfLine) {
|
|
90341
90342
|
line2++;
|
|
90342
90343
|
column2 = 0;
|
|
90343
90344
|
} else {
|
|
90344
|
-
column2 +=
|
|
90345
|
+
column2 += match9.length;
|
|
90345
90346
|
}
|
|
90346
90347
|
}
|
|
90347
90348
|
}
|
|
@@ -90364,18 +90365,18 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
90364
90365
|
} else {
|
|
90365
90366
|
let line2 = 1;
|
|
90366
90367
|
const matches = splitIntoLines(this._value);
|
|
90367
|
-
let
|
|
90368
|
-
for (
|
|
90369
|
-
onChunk(finalSource ? void 0 :
|
|
90368
|
+
let match9;
|
|
90369
|
+
for (match9 of matches) {
|
|
90370
|
+
onChunk(finalSource ? void 0 : match9, line2, 0, 0, line2, 0, -1);
|
|
90370
90371
|
line2++;
|
|
90371
90372
|
}
|
|
90372
|
-
return matches.length === 0 ||
|
|
90373
|
+
return matches.length === 0 || match9.endsWith("\n") ? {
|
|
90373
90374
|
generatedLine: matches.length + 1,
|
|
90374
90375
|
generatedColumn: 0,
|
|
90375
90376
|
source: finalSource ? this._value : void 0
|
|
90376
90377
|
} : {
|
|
90377
90378
|
generatedLine: matches.length,
|
|
90378
|
-
generatedColumn:
|
|
90379
|
+
generatedColumn: match9.length,
|
|
90379
90380
|
source: finalSource ? this._value : void 0
|
|
90380
90381
|
};
|
|
90381
90382
|
}
|
|
@@ -92648,13 +92649,13 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
92648
92649
|
return input.startsWith("/");
|
|
92649
92650
|
}
|
|
92650
92651
|
function parseAbsoluteUrl(input) {
|
|
92651
|
-
const
|
|
92652
|
+
const match9 = urlRegex.exec(input);
|
|
92652
92653
|
return {
|
|
92653
|
-
scheme:
|
|
92654
|
-
user:
|
|
92655
|
-
host:
|
|
92656
|
-
port:
|
|
92657
|
-
path:
|
|
92654
|
+
scheme: match9[1],
|
|
92655
|
+
user: match9[2] || "",
|
|
92656
|
+
host: match9[3],
|
|
92657
|
+
port: match9[4] || "",
|
|
92658
|
+
path: match9[5] || "/",
|
|
92658
92659
|
relativePath: false
|
|
92659
92660
|
};
|
|
92660
92661
|
}
|
|
@@ -93970,10 +93971,10 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
93970
93971
|
const obj = {};
|
|
93971
93972
|
let lines = src.toString();
|
|
93972
93973
|
lines = lines.replace(/\r\n?/mg, "\n");
|
|
93973
|
-
let
|
|
93974
|
-
while ((
|
|
93975
|
-
const key2 =
|
|
93976
|
-
let value2 =
|
|
93974
|
+
let match9;
|
|
93975
|
+
while ((match9 = LINE.exec(lines)) != null) {
|
|
93976
|
+
const key2 = match9[1];
|
|
93977
|
+
let value2 = match9[2] || "";
|
|
93977
93978
|
value2 = value2.trim();
|
|
93978
93979
|
const maybeQuote = value2[0];
|
|
93979
93980
|
value2 = value2.replace(/^(['"`])([\s\S]*)\1$/mg, "$2");
|
|
@@ -95170,14 +95171,14 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
95170
95171
|
return `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ""}@${host}${port ? `:${port}` : ""}/${path2 ? `${path2}/` : path2}${projectId}`;
|
|
95171
95172
|
}
|
|
95172
95173
|
function dsnFromString2(str) {
|
|
95173
|
-
const
|
|
95174
|
-
if (!
|
|
95174
|
+
const match9 = DSN_REGEX.exec(str);
|
|
95175
|
+
if (!match9) {
|
|
95175
95176
|
consoleSandbox(() => {
|
|
95176
95177
|
console.error(`Invalid Sentry Dsn: ${str}`);
|
|
95177
95178
|
});
|
|
95178
95179
|
return void 0;
|
|
95179
95180
|
}
|
|
95180
|
-
const [protocol, publicKey, pass = "", host = "", port = "", lastPath = ""] =
|
|
95181
|
+
const [protocol, publicKey, pass = "", host = "", port = "", lastPath = ""] = match9.slice(1);
|
|
95181
95182
|
let path2 = "";
|
|
95182
95183
|
let projectId = lastPath;
|
|
95183
95184
|
const split = projectId.split("/");
|
|
@@ -99528,9 +99529,9 @@ Reason: ${reason}`
|
|
|
99528
99529
|
version = version.slice(1);
|
|
99529
99530
|
}
|
|
99530
99531
|
var regex = /^[\^~]?(\d+)(\.\d+)?(\.\d+)?(-.+)?/;
|
|
99531
|
-
var
|
|
99532
|
-
if (
|
|
99533
|
-
return parseInt(
|
|
99532
|
+
var match9 = version.match(regex);
|
|
99533
|
+
if (match9) {
|
|
99534
|
+
return parseInt(match9[1], 10);
|
|
99534
99535
|
}
|
|
99535
99536
|
var coerced = parseInt(version, 10);
|
|
99536
99537
|
if (!Number.isNaN(coerced)) {
|
|
@@ -100185,9 +100186,9 @@ Reason: ${reason}`
|
|
|
100185
100186
|
return _prepareBundleForDebugIdUpload.apply(this, arguments);
|
|
100186
100187
|
}
|
|
100187
100188
|
function determineDebugIdFromBundleSource(code) {
|
|
100188
|
-
var
|
|
100189
|
-
if (
|
|
100190
|
-
return
|
|
100189
|
+
var match9 = code.match(/sentry-dbid-([0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12})/);
|
|
100190
|
+
if (match9) {
|
|
100191
|
+
return match9[1];
|
|
100191
100192
|
} else {
|
|
100192
100193
|
return void 0;
|
|
100193
100194
|
}
|
|
@@ -101348,9 +101349,9 @@ Reason: ${reason}`
|
|
|
101348
101349
|
var ms = new MagicString__default["default"](code, {
|
|
101349
101350
|
filename: chunk.fileName
|
|
101350
101351
|
});
|
|
101351
|
-
var
|
|
101352
|
-
if (
|
|
101353
|
-
ms.appendLeft(
|
|
101352
|
+
var match9 = (_code$match = code.match(COMMENT_USE_STRICT_REGEX)) === null || _code$match === void 0 ? void 0 : _code$match[0];
|
|
101353
|
+
if (match9) {
|
|
101354
|
+
ms.appendLeft(match9.length, codeToInject);
|
|
101354
101355
|
} else {
|
|
101355
101356
|
ms.prepend(codeToInject);
|
|
101356
101357
|
}
|
|
@@ -101380,9 +101381,9 @@ Reason: ${reason}`
|
|
|
101380
101381
|
var ms = new MagicString__default["default"](code, {
|
|
101381
101382
|
filename: chunk.fileName
|
|
101382
101383
|
});
|
|
101383
|
-
var
|
|
101384
|
-
if (
|
|
101385
|
-
ms.appendLeft(
|
|
101384
|
+
var match9 = (_code$match2 = code.match(COMMENT_USE_STRICT_REGEX)) === null || _code$match2 === void 0 ? void 0 : _code$match2[0];
|
|
101385
|
+
if (match9) {
|
|
101386
|
+
ms.appendLeft(match9.length, injectionCode);
|
|
101386
101387
|
} else {
|
|
101387
101388
|
ms.prepend(injectionCode);
|
|
101388
101389
|
}
|
|
@@ -106003,11 +106004,11 @@ ${error.errors.map(formatZodIssue).join("\n")}`,
|
|
|
106003
106004
|
};
|
|
106004
106005
|
}
|
|
106005
106006
|
function dsnFromString(str) {
|
|
106006
|
-
const
|
|
106007
|
-
if (!
|
|
106007
|
+
const match9 = SENTRY_DSN_REGEX.exec(str);
|
|
106008
|
+
if (!match9) {
|
|
106008
106009
|
throw new Error("Invalid DSN");
|
|
106009
106010
|
}
|
|
106010
|
-
const [protocol, publicKey, pass = "", host = "", port = "", lastPath = ""] =
|
|
106011
|
+
const [protocol, publicKey, pass = "", host = "", port = "", lastPath = ""] = match9.slice(1);
|
|
106011
106012
|
let path = "";
|
|
106012
106013
|
let projectId = lastPath;
|
|
106013
106014
|
const split = projectId.split("/");
|
|
@@ -106688,13 +106689,13 @@ var ARMClient = class {
|
|
|
106688
106689
|
};
|
|
106689
106690
|
release = async (appId, componentOverrideId, options) => {
|
|
106690
106691
|
try {
|
|
106691
|
-
const {
|
|
106692
|
+
const { comment, createMinorVersion } = options;
|
|
106692
106693
|
const { data } = await this.httpClient.request(
|
|
106693
106694
|
release({
|
|
106694
106695
|
appId,
|
|
106695
106696
|
componentOverrideId,
|
|
106696
106697
|
createMinorVersion,
|
|
106697
|
-
notes:
|
|
106698
|
+
notes: comment
|
|
106698
106699
|
})
|
|
106699
106700
|
);
|
|
106700
106701
|
return releaseArm2Schema.parse(data).releaseBaseUrl;
|
|
@@ -107008,7 +107009,7 @@ var embeddedScriptConfigSchema = external_exports.object({
|
|
|
107008
107009
|
"An enum indicating where in the page's DOM the HTML code will be injected."
|
|
107009
107010
|
)
|
|
107010
107011
|
}).strict();
|
|
107011
|
-
var
|
|
107012
|
+
var PlatformType2 = (0, import_variant2.variant)({
|
|
107012
107013
|
Site: {},
|
|
107013
107014
|
Editor: {},
|
|
107014
107015
|
Dashboard: {},
|
|
@@ -108231,13 +108232,13 @@ function useUpdateDeploymentTopology(siteId) {
|
|
|
108231
108232
|
model: { projectFolder }
|
|
108232
108233
|
} = useProjectModel();
|
|
108233
108234
|
return useAsyncCallback(async (_, props) => {
|
|
108234
|
-
const { environment,
|
|
108235
|
+
const { environment, siteUrl, armTag } = props;
|
|
108235
108236
|
const topology = await readDeploymentTopology(projectFolder);
|
|
108236
108237
|
topology[environment] = {
|
|
108237
108238
|
id: armTag,
|
|
108238
|
-
site: {
|
|
108239
|
-
main:
|
|
108240
|
-
},
|
|
108239
|
+
site: siteUrl ? {
|
|
108240
|
+
main: siteUrl
|
|
108241
|
+
} : void 0,
|
|
108241
108242
|
dashboard: {
|
|
108242
108243
|
main: `https://manage.wix.com/dashboard/${siteId}?apps-override=${armTag}`
|
|
108243
108244
|
}
|
|
@@ -108258,6 +108259,87 @@ async function readDeploymentTopology(projectFolder) {
|
|
|
108258
108259
|
return {};
|
|
108259
108260
|
}
|
|
108260
108261
|
|
|
108262
|
+
// ../cli-astro-commands/src/components/PreviewCommand/app-flow/useResolvePlatformUrl.ts
|
|
108263
|
+
init_esm_shims();
|
|
108264
|
+
var import_react17 = __toESM(require_react(), 1);
|
|
108265
|
+
var import_variant11 = __toESM(require_lib(), 1);
|
|
108266
|
+
var redirectWithCSMv2FTs = (url, platformType) => {
|
|
108267
|
+
const elgarBaseURL = (0, import_variant11.isType)(platformType, PlatformType.Site) ? `${url.origin}/_api` : "https://apps.wix.com";
|
|
108268
|
+
const elgarRedirectUrl = new URL(`${elgarBaseURL}/elgar-server/redirect`);
|
|
108269
|
+
const petriOvr = [
|
|
108270
|
+
// TODO: Remove once Dev Versions effort is done https://wix.atlassian.net/browse/FEDINF-13336
|
|
108271
|
+
"specs.UseAppsRuntimeCache",
|
|
108272
|
+
"specs.ApplyQueryParamsOverrides",
|
|
108273
|
+
"specs.ExcludeSiteFromSsrCache",
|
|
108274
|
+
// TODO: Remove once Blocks on CLI effort is done
|
|
108275
|
+
"specs.thunderbolt.passWidgetBundleUrls",
|
|
108276
|
+
"specs.thunderbolt.passBlocksWidgetBundleUrls",
|
|
108277
|
+
"specs.blocks-client.useBundledWidgetCode",
|
|
108278
|
+
"specs.blocks-widget-services.usePanelExtension"
|
|
108279
|
+
];
|
|
108280
|
+
for (const spec of petriOvr) {
|
|
108281
|
+
elgarRedirectUrl.searchParams.append("experiments", `${spec}#true`);
|
|
108282
|
+
}
|
|
108283
|
+
elgarRedirectUrl.searchParams.append("redirectToUrl", url.toString());
|
|
108284
|
+
elgarRedirectUrl.searchParams.append("staticsVersions", "{}");
|
|
108285
|
+
return elgarRedirectUrl;
|
|
108286
|
+
};
|
|
108287
|
+
function useResolvePlatformUrl() {
|
|
108288
|
+
const { model } = useProjectModel();
|
|
108289
|
+
const { site } = useSite();
|
|
108290
|
+
return (0, import_react17.useCallback)(
|
|
108291
|
+
({
|
|
108292
|
+
platformType,
|
|
108293
|
+
armTag,
|
|
108294
|
+
openAddPanel
|
|
108295
|
+
}) => {
|
|
108296
|
+
return resolvePlatformUrl(platformType, {
|
|
108297
|
+
openAddPanel,
|
|
108298
|
+
site,
|
|
108299
|
+
appId: model.config.appId,
|
|
108300
|
+
tag: armTag
|
|
108301
|
+
});
|
|
108302
|
+
},
|
|
108303
|
+
[site, model.config.appId]
|
|
108304
|
+
);
|
|
108305
|
+
}
|
|
108306
|
+
function resolvePlatformUrl(platformType, options) {
|
|
108307
|
+
const { site, tag, appId, openAddPanel } = options;
|
|
108308
|
+
const url = (0, import_variant11.match)(platformType, {
|
|
108309
|
+
Dashboard: () => new URL(`dashboard/${site.id}`, "https://manage.wix.com/"),
|
|
108310
|
+
Editor: () => {
|
|
108311
|
+
const editorUrl = new URL(`https://wix.com/editor/${site.id}`);
|
|
108312
|
+
if (openAddPanel) {
|
|
108313
|
+
editorUrl.searchParams.append("deeplink", `addpanel!${appId}`);
|
|
108314
|
+
}
|
|
108315
|
+
return editorUrl;
|
|
108316
|
+
},
|
|
108317
|
+
Site: () => {
|
|
108318
|
+
return site.viewUrl ? new URL(site.viewUrl) : void 0;
|
|
108319
|
+
},
|
|
108320
|
+
Blocks: () => new URL(`https://wix.com/editor/${site.id}`)
|
|
108321
|
+
});
|
|
108322
|
+
if (url) {
|
|
108323
|
+
url.searchParams.append("apps-override", tag);
|
|
108324
|
+
return (0, import_variant11.isOfVariant)(
|
|
108325
|
+
platformType,
|
|
108326
|
+
(0, import_variant11.variantList)([PlatformType.Editor, PlatformType.Site])
|
|
108327
|
+
) ? redirectWithCSMv2FTs(url, platformType).toString() : url.toString();
|
|
108328
|
+
}
|
|
108329
|
+
}
|
|
108330
|
+
|
|
108331
|
+
// ../cli-astro-commands/src/components/PreviewCommand/app-flow/LivesiteLinkForApp.tsx
|
|
108332
|
+
init_esm_shims();
|
|
108333
|
+
var import_react18 = __toESM(require_react(), 1);
|
|
108334
|
+
var LivesiteLinkForApp = ({ armTag }) => {
|
|
108335
|
+
const resolvePlatformUrl2 = useResolvePlatformUrl();
|
|
108336
|
+
const siteUrl = resolvePlatformUrl2({
|
|
108337
|
+
platformType: PlatformType.Site(),
|
|
108338
|
+
armTag
|
|
108339
|
+
});
|
|
108340
|
+
return siteUrl ? /* @__PURE__ */ import_react18.default.createElement(PlatformLink, { url: siteUrl, label: "Site" }) : /* @__PURE__ */ import_react18.default.createElement(Box_default, { marginRight: 1 }, /* @__PURE__ */ import_react18.default.createElement(PointerSmallIcon, null), /* @__PURE__ */ import_react18.default.createElement(Box_default, { marginLeft: 1 }, /* @__PURE__ */ import_react18.default.createElement(Text, { skin: "secondary", underline: true }, "Site (publish your site to enable preview)")));
|
|
108341
|
+
};
|
|
108342
|
+
|
|
108261
108343
|
export {
|
|
108262
108344
|
useARMClient,
|
|
108263
108345
|
useUpdateManifest,
|
|
@@ -108267,7 +108349,9 @@ export {
|
|
|
108267
108349
|
readAppConfig,
|
|
108268
108350
|
saveAppConfig,
|
|
108269
108351
|
SiteSelector,
|
|
108270
|
-
SiteProvider
|
|
108352
|
+
SiteProvider,
|
|
108353
|
+
useResolvePlatformUrl,
|
|
108354
|
+
LivesiteLinkForApp
|
|
108271
108355
|
};
|
|
108272
108356
|
/*! Bundled license information:
|
|
108273
108357
|
|
|
@@ -108323,4 +108407,4 @@ export {
|
|
|
108323
108407
|
*)
|
|
108324
108408
|
*)
|
|
108325
108409
|
*/
|
|
108326
|
-
//# sourceMappingURL=chunk-
|
|
108410
|
+
//# sourceMappingURL=chunk-5Z6Q4IJX.js.map
|