keycloakify 11.8.0 → 11.8.2

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- exports.id = 33;
3
- exports.ids = [33];
2
+ exports.id = 226;
3
+ exports.ids = [226];
4
4
  exports.modules = {
5
5
 
6
6
  /***/ 50689:
@@ -774,23 +774,6 @@ function typeGuard(value, isMatched) {
774
774
  }
775
775
  //# sourceMappingURL=typeGuard.js.map
776
776
 
777
- /***/ }),
778
-
779
- /***/ 23483:
780
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
781
-
782
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
783
- /* harmony export */ "Y": () => (/* binding */ objectKeys)
784
- /* harmony export */ });
785
- /** https://docs.tsafe.dev/objectKeys */
786
- function objectKeys(o) {
787
- return Object.keys(o);
788
- }
789
-
790
-
791
- //# sourceMappingURL=objectKeys.mjs.map
792
-
793
-
794
777
  /***/ }),
795
778
 
796
779
  /***/ 76030:
package/bin/355.index.js CHANGED
@@ -173,7 +173,7 @@ __webpack_require__.r(__webpack_exports__);
173
173
  /* harmony import */ var tsafe_id__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(38469);
174
174
  /* harmony import */ var _addSyncExtensionsToPostinstallScript__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80339);
175
175
  /* harmony import */ var _tools_runPrettier__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48433);
176
- /* harmony import */ var _tools_npmInstall__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50030);
176
+ /* harmony import */ var _tools_npmInstall__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(63046);
177
177
  /* harmony import */ var child_process__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(32081);
178
178
  /* harmony import */ var child_process__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(child_process__WEBPACK_IMPORTED_MODULE_6__);
179
179
  /* harmony import */ var zod__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(52300);
package/bin/363.index.js CHANGED
@@ -506,8 +506,8 @@ var SemVer = __webpack_require__(12171);
506
506
  var same = __webpack_require__(33805);
507
507
  // EXTERNAL MODULE: ./dist/bin/tools/runPrettier.js
508
508
  var runPrettier = __webpack_require__(48433);
509
- // EXTERNAL MODULE: ./dist/bin/tools/npmInstall.js
510
- var npmInstall = __webpack_require__(50030);
509
+ // EXTERNAL MODULE: ./dist/bin/tools/npmInstall.js + 1 modules
510
+ var npmInstall = __webpack_require__(63046);
511
511
  // EXTERNAL MODULE: external "path"
512
512
  var external_path_ = __webpack_require__(71017);
513
513
  ;// CONCATENATED MODULE: ./dist/bin/sync-extensions/installExtensionModulesPeerDependencies.js
@@ -1084,29 +1084,48 @@ function getNodeModulesBinDirPath() {
1084
1084
 
1085
1085
  /***/ }),
1086
1086
 
1087
- /***/ 50030:
1087
+ /***/ 63046:
1088
1088
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1089
1089
 
1090
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1091
- /* harmony export */ "c": () => (/* binding */ npmInstall)
1092
- /* harmony export */ });
1093
- /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57147);
1094
- /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
1095
- /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71017);
1096
- /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
1097
- /* harmony import */ var child_process__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(32081);
1098
- /* harmony import */ var child_process__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(child_process__WEBPACK_IMPORTED_MODULE_2__);
1099
- /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78818);
1100
- /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_3__);
1101
- /* harmony import */ var zod__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(52300);
1102
- /* harmony import */ var tsafe_assert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29041);
1103
- /* harmony import */ var tsafe_id__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(38469);
1104
- /* harmony import */ var tsafe_objectKeys__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(23483);
1105
- /* harmony import */ var _getAbsoluteAndInOsFormatPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84794);
1106
- /* harmony import */ var tsafe_exclude__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(83101);
1107
- /* harmony import */ var _fs_rmSync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(89693);
1108
- /* harmony import */ var evt_tools_Deferred__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(50689);
1109
- /* harmony import */ var evt_tools_Deferred__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(evt_tools_Deferred__WEBPACK_IMPORTED_MODULE_7__);
1090
+
1091
+ // EXPORTS
1092
+ __webpack_require__.d(__webpack_exports__, {
1093
+ "c": () => (/* binding */ npmInstall)
1094
+ });
1095
+
1096
+ // EXTERNAL MODULE: external "fs"
1097
+ var external_fs_ = __webpack_require__(57147);
1098
+ // EXTERNAL MODULE: external "path"
1099
+ var external_path_ = __webpack_require__(71017);
1100
+ // EXTERNAL MODULE: external "child_process"
1101
+ var external_child_process_ = __webpack_require__(32081);
1102
+ // EXTERNAL MODULE: ./node_modules/chalk/source/index.js
1103
+ var source = __webpack_require__(78818);
1104
+ var source_default = /*#__PURE__*/__webpack_require__.n(source);
1105
+ // EXTERNAL MODULE: ./node_modules/zod/lib/index.mjs
1106
+ var lib = __webpack_require__(52300);
1107
+ // EXTERNAL MODULE: ./node_modules/tsafe/esm/assert.mjs + 1 modules
1108
+ var assert = __webpack_require__(29041);
1109
+ // EXTERNAL MODULE: ./node_modules/tsafe/esm/id.mjs
1110
+ var id = __webpack_require__(38469);
1111
+ ;// CONCATENATED MODULE: ./node_modules/tsafe/esm/objectKeys.mjs
1112
+ /** https://docs.tsafe.dev/objectKeys */
1113
+ function objectKeys(o) {
1114
+ return Object.keys(o);
1115
+ }
1116
+
1117
+
1118
+ //# sourceMappingURL=objectKeys.mjs.map
1119
+
1120
+ // EXTERNAL MODULE: ./dist/bin/tools/getAbsoluteAndInOsFormatPath.js
1121
+ var getAbsoluteAndInOsFormatPath = __webpack_require__(84794);
1122
+ // EXTERNAL MODULE: ./node_modules/tsafe/esm/exclude.mjs
1123
+ var exclude = __webpack_require__(83101);
1124
+ // EXTERNAL MODULE: ./dist/bin/tools/fs.rmSync.js
1125
+ var fs_rmSync = __webpack_require__(89693);
1126
+ // EXTERNAL MODULE: ./node_modules/evt/tools/Deferred.js
1127
+ var Deferred = __webpack_require__(50689);
1128
+ ;// CONCATENATED MODULE: ./dist/bin/tools/npmInstall.js
1110
1129
 
1111
1130
 
1112
1131
 
@@ -1145,8 +1164,8 @@ async function npmInstall(params) {
1145
1164
  }
1146
1165
  ];
1147
1166
  for (const packageManager of packageMangers) {
1148
- if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync((0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, packageManager.lockFileBasename)) ||
1149
- fs__WEBPACK_IMPORTED_MODULE_0__.existsSync((0,path__WEBPACK_IMPORTED_MODULE_1__.join)(process.cwd(), packageManager.lockFileBasename))) {
1167
+ if (external_fs_.existsSync((0,external_path_.join)(packageJsonDirPath, packageManager.lockFileBasename)) ||
1168
+ external_fs_.existsSync((0,external_path_.join)(process.cwd(), packageManager.lockFileBasename))) {
1150
1169
  return packageManager.binName;
1151
1170
  }
1152
1171
  }
@@ -1161,7 +1180,7 @@ async function npmInstall(params) {
1161
1180
  if (garronejLinkInfos === undefined) {
1162
1181
  break install_without_breaking_links;
1163
1182
  }
1164
- console.log(chalk__WEBPACK_IMPORTED_MODULE_3___default().green("Installing in a way that won't break the links..."));
1183
+ console.log(source_default().green("Installing in a way that won't break the links..."));
1165
1184
  await installWithoutBreakingLinks({
1166
1185
  packageJsonDirPath,
1167
1186
  garronejLinkInfos
@@ -1175,13 +1194,13 @@ async function npmInstall(params) {
1175
1194
  });
1176
1195
  }
1177
1196
  catch (_a) {
1178
- console.log(chalk__WEBPACK_IMPORTED_MODULE_3___default().yellow(`\`${packageManagerBinName} install\` failed, continuing anyway...`));
1197
+ console.log(source_default().yellow(`\`${packageManagerBinName} install\` failed, continuing anyway...`));
1179
1198
  }
1180
1199
  }
1181
1200
  async function runPackageManagerInstall(params) {
1182
1201
  const { packageManagerBinName, cwd } = params;
1183
- const dCompleted = new evt_tools_Deferred__WEBPACK_IMPORTED_MODULE_7__.Deferred();
1184
- const child = child_process__WEBPACK_IMPORTED_MODULE_2__.spawn(packageManagerBinName, ["install"], {
1202
+ const dCompleted = new Deferred.Deferred();
1203
+ const child = external_child_process_.spawn(packageManagerBinName, ["install"], {
1185
1204
  cwd,
1186
1205
  env: process.env,
1187
1206
  shell: true
@@ -1204,8 +1223,8 @@ async function runPackageManagerInstall(params) {
1204
1223
  }
1205
1224
  function getGarronejLinkInfos(params) {
1206
1225
  const { packageJsonDirPath } = params;
1207
- const nodeModuleDirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, "node_modules");
1208
- if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(nodeModuleDirPath)) {
1226
+ const nodeModuleDirPath = (0,external_path_.join)(packageJsonDirPath, "node_modules");
1227
+ if (!external_fs_.existsSync(nodeModuleDirPath)) {
1209
1228
  return undefined;
1210
1229
  }
1211
1230
  const linkedModuleNames = [];
@@ -1213,7 +1232,7 @@ function getGarronejLinkInfos(params) {
1213
1232
  const getIsLinkedByGarronejScript = (path) => {
1214
1233
  let realPath;
1215
1234
  try {
1216
- realPath = fs__WEBPACK_IMPORTED_MODULE_0__.readlinkSync(path);
1235
+ realPath = external_fs_.readlinkSync(path);
1217
1236
  }
1218
1237
  catch (_a) {
1219
1238
  return false;
@@ -1226,17 +1245,17 @@ function getGarronejLinkInfos(params) {
1226
1245
  if (yarnHomeDirPath !== undefined) {
1227
1246
  break set_yarnHomeDirPath;
1228
1247
  }
1229
- const [firstElement] = (0,_getAbsoluteAndInOsFormatPath__WEBPACK_IMPORTED_MODULE_5__/* .getAbsoluteAndInOsFormatPath */ .c)({
1248
+ const [firstElement] = (0,getAbsoluteAndInOsFormatPath/* getAbsoluteAndInOsFormatPath */.c)({
1230
1249
  pathIsh: realPath,
1231
- cwd: (0,path__WEBPACK_IMPORTED_MODULE_1__.dirname)(path)
1250
+ cwd: (0,external_path_.dirname)(path)
1232
1251
  }).split(".yarn_home");
1233
- yarnHomeDirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(firstElement, ".yarn_home");
1252
+ yarnHomeDirPath = (0,external_path_.join)(firstElement, ".yarn_home");
1234
1253
  }
1235
1254
  return true;
1236
1255
  };
1237
- for (const basename of fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync(nodeModuleDirPath)) {
1238
- const path = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModuleDirPath, basename);
1239
- if (fs__WEBPACK_IMPORTED_MODULE_0__.lstatSync(path).isSymbolicLink()) {
1256
+ for (const basename of external_fs_.readdirSync(nodeModuleDirPath)) {
1257
+ const path = (0,external_path_.join)(nodeModuleDirPath, basename);
1258
+ if (external_fs_.lstatSync(path).isSymbolicLink()) {
1240
1259
  if (basename.startsWith("@")) {
1241
1260
  return undefined;
1242
1261
  }
@@ -1246,13 +1265,13 @@ function getGarronejLinkInfos(params) {
1246
1265
  linkedModuleNames.push(basename);
1247
1266
  continue;
1248
1267
  }
1249
- if (!fs__WEBPACK_IMPORTED_MODULE_0__.lstatSync(path).isDirectory()) {
1268
+ if (!external_fs_.lstatSync(path).isDirectory()) {
1250
1269
  continue;
1251
1270
  }
1252
1271
  if (basename.startsWith("@")) {
1253
- for (const subBasename of fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync(path)) {
1254
- const subPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(path, subBasename);
1255
- if (!fs__WEBPACK_IMPORTED_MODULE_0__.lstatSync(subPath).isSymbolicLink()) {
1272
+ for (const subBasename of external_fs_.readdirSync(path)) {
1273
+ const subPath = (0,external_path_.join)(path, subBasename);
1274
+ if (!external_fs_.lstatSync(subPath).isSymbolicLink()) {
1256
1275
  continue;
1257
1276
  }
1258
1277
  if (!getIsLinkedByGarronejScript(subPath)) {
@@ -1270,17 +1289,17 @@ function getGarronejLinkInfos(params) {
1270
1289
  async function installWithoutBreakingLinks(params) {
1271
1290
  const { packageJsonDirPath, garronejLinkInfos: { linkedModuleNames, yarnHomeDirPath } } = params;
1272
1291
  const parsedPackageJson = (() => {
1273
- const packageJsonFilePath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, "package.json");
1292
+ const packageJsonFilePath = (0,external_path_.join)(packageJsonDirPath, "package.json");
1274
1293
  const zParsedPackageJson = (() => {
1275
- const zTargetType = zod__WEBPACK_IMPORTED_MODULE_8__.z.object({
1276
- scripts: zod__WEBPACK_IMPORTED_MODULE_8__.z.record(zod__WEBPACK_IMPORTED_MODULE_8__.z.string()).optional()
1294
+ const zTargetType = lib.z.object({
1295
+ scripts: lib.z.record(lib.z.string()).optional()
1277
1296
  });
1278
- tsafe_assert__WEBPACK_IMPORTED_MODULE_4__/* .assert */ .h;
1279
- return (0,tsafe_id__WEBPACK_IMPORTED_MODULE_9__.id)(zTargetType);
1297
+ assert/* assert */.h;
1298
+ return (0,id.id)(zTargetType);
1280
1299
  })();
1281
- const parsedPackageJson = JSON.parse(fs__WEBPACK_IMPORTED_MODULE_0__.readFileSync(packageJsonFilePath).toString("utf8"));
1300
+ const parsedPackageJson = JSON.parse(external_fs_.readFileSync(packageJsonFilePath).toString("utf8"));
1282
1301
  zParsedPackageJson.parse(parsedPackageJson);
1283
- (0,tsafe_assert__WEBPACK_IMPORTED_MODULE_4__/* .assert */ .h)((0,tsafe_assert__WEBPACK_IMPORTED_MODULE_4__.is)(parsedPackageJson));
1302
+ (0,assert/* assert */.h)((0,assert.is)(parsedPackageJson));
1284
1303
  return parsedPackageJson;
1285
1304
  })();
1286
1305
  const isImplementedScriptByName = {
@@ -1291,7 +1310,7 @@ async function installWithoutBreakingLinks(params) {
1291
1310
  if (parsedPackageJson.scripts === undefined) {
1292
1311
  break delete_postinstall_script;
1293
1312
  }
1294
- for (const scriptName of (0,tsafe_objectKeys__WEBPACK_IMPORTED_MODULE_10__/* .objectKeys */ .Y)(isImplementedScriptByName)) {
1313
+ for (const scriptName of objectKeys(isImplementedScriptByName)) {
1295
1314
  if (parsedPackageJson.scripts[scriptName] === undefined) {
1296
1315
  continue;
1297
1316
  }
@@ -1299,14 +1318,14 @@ async function installWithoutBreakingLinks(params) {
1299
1318
  delete parsedPackageJson.scripts[scriptName];
1300
1319
  }
1301
1320
  }
1302
- const tmpProjectDirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(yarnHomeDirPath, "tmpProject");
1303
- if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(tmpProjectDirPath)) {
1304
- (0,_fs_rmSync__WEBPACK_IMPORTED_MODULE_6__/* .rmSync */ .a)(tmpProjectDirPath, { recursive: true });
1321
+ const tmpProjectDirPath = (0,external_path_.join)(yarnHomeDirPath, "tmpProject");
1322
+ if (external_fs_.existsSync(tmpProjectDirPath)) {
1323
+ (0,fs_rmSync/* rmSync */.a)(tmpProjectDirPath, { recursive: true });
1305
1324
  }
1306
- fs__WEBPACK_IMPORTED_MODULE_0__.mkdirSync(tmpProjectDirPath, { recursive: true });
1307
- fs__WEBPACK_IMPORTED_MODULE_0__.writeFileSync((0,path__WEBPACK_IMPORTED_MODULE_1__.join)(tmpProjectDirPath, "package.json"), JSON.stringify(parsedPackageJson, undefined, 4));
1325
+ external_fs_.mkdirSync(tmpProjectDirPath, { recursive: true });
1326
+ external_fs_.writeFileSync((0,external_path_.join)(tmpProjectDirPath, "package.json"), JSON.stringify(parsedPackageJson, undefined, 4));
1308
1327
  const YARN_LOCK = "yarn.lock";
1309
- fs__WEBPACK_IMPORTED_MODULE_0__.copyFileSync((0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, YARN_LOCK), (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(tmpProjectDirPath, YARN_LOCK));
1328
+ external_fs_.copyFileSync((0,external_path_.join)(packageJsonDirPath, YARN_LOCK), (0,external_path_.join)(tmpProjectDirPath, YARN_LOCK));
1310
1329
  await runPackageManagerInstall({
1311
1330
  packageManagerBinName: "yarn",
1312
1331
  cwd: tmpProjectDirPath
@@ -1316,18 +1335,18 @@ async function installWithoutBreakingLinks(params) {
1316
1335
  {
1317
1336
  const { getAreSameVersions } = (() => {
1318
1337
  const zParsedPackageJson = (() => {
1319
- const zTargetType = zod__WEBPACK_IMPORTED_MODULE_8__.z.object({
1320
- version: zod__WEBPACK_IMPORTED_MODULE_8__.z.string()
1338
+ const zTargetType = lib.z.object({
1339
+ version: lib.z.string()
1321
1340
  });
1322
- tsafe_assert__WEBPACK_IMPORTED_MODULE_4__/* .assert */ .h;
1323
- return (0,tsafe_id__WEBPACK_IMPORTED_MODULE_9__.id)(zTargetType);
1341
+ assert/* assert */.h;
1342
+ return (0,id.id)(zTargetType);
1324
1343
  })();
1325
1344
  function readVersion(params) {
1326
1345
  const { moduleDirPath } = params;
1327
- const packageJsonFilePath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(moduleDirPath, "package.json");
1328
- const packageJson = JSON.parse(fs__WEBPACK_IMPORTED_MODULE_0__.readFileSync(packageJsonFilePath).toString("utf8"));
1346
+ const packageJsonFilePath = (0,external_path_.join)(moduleDirPath, "package.json");
1347
+ const packageJson = JSON.parse(external_fs_.readFileSync(packageJsonFilePath).toString("utf8"));
1329
1348
  zParsedPackageJson.parse(packageJson);
1330
- (0,tsafe_assert__WEBPACK_IMPORTED_MODULE_4__/* .assert */ .h)((0,tsafe_assert__WEBPACK_IMPORTED_MODULE_4__.is)(packageJson));
1349
+ (0,assert/* assert */.h)((0,assert.is)(packageJson));
1331
1350
  return packageJson.version;
1332
1351
  }
1333
1352
  function getAreSameVersions(params) {
@@ -1337,44 +1356,44 @@ async function installWithoutBreakingLinks(params) {
1337
1356
  }
1338
1357
  return { getAreSameVersions };
1339
1358
  })();
1340
- const nodeModulesDirPath_tmpProject = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(tmpProjectDirPath, "node_modules");
1341
- const nodeModulesDirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, "node_modules");
1342
- const modulePaths = fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync(nodeModulesDirPath_tmpProject)
1359
+ const nodeModulesDirPath_tmpProject = (0,external_path_.join)(tmpProjectDirPath, "node_modules");
1360
+ const nodeModulesDirPath = (0,external_path_.join)(packageJsonDirPath, "node_modules");
1361
+ const modulePaths = external_fs_.readdirSync(nodeModulesDirPath_tmpProject)
1343
1362
  .map(basename => {
1344
1363
  if (basename.startsWith(".")) {
1345
1364
  return undefined;
1346
1365
  }
1347
- const path = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModulesDirPath_tmpProject, basename);
1366
+ const path = (0,external_path_.join)(nodeModulesDirPath_tmpProject, basename);
1348
1367
  if (basename.startsWith("@")) {
1349
- return fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync(path)
1368
+ return external_fs_.readdirSync(path)
1350
1369
  .map(subBasename => {
1351
1370
  if (subBasename.startsWith(".")) {
1352
1371
  return undefined;
1353
1372
  }
1354
- const subPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(path, subBasename);
1355
- if (!fs__WEBPACK_IMPORTED_MODULE_0__.lstatSync(subPath).isDirectory()) {
1373
+ const subPath = (0,external_path_.join)(path, subBasename);
1374
+ if (!external_fs_.lstatSync(subPath).isDirectory()) {
1356
1375
  return undefined;
1357
1376
  }
1358
1377
  return {
1359
1378
  moduleName: `${basename}/${subBasename}`,
1360
1379
  moduleDirPath_tmpProject: subPath,
1361
- moduleDirPath: (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModulesDirPath, basename, subBasename)
1380
+ moduleDirPath: (0,external_path_.join)(nodeModulesDirPath, basename, subBasename)
1362
1381
  };
1363
1382
  })
1364
- .filter((0,tsafe_exclude__WEBPACK_IMPORTED_MODULE_11__/* .exclude */ .D)(undefined));
1383
+ .filter((0,exclude/* exclude */.D)(undefined));
1365
1384
  }
1366
- if (!fs__WEBPACK_IMPORTED_MODULE_0__.lstatSync(path).isDirectory()) {
1385
+ if (!external_fs_.lstatSync(path).isDirectory()) {
1367
1386
  return undefined;
1368
1387
  }
1369
1388
  return [
1370
1389
  {
1371
1390
  moduleName: basename,
1372
1391
  moduleDirPath_tmpProject: path,
1373
- moduleDirPath: (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModulesDirPath, basename)
1392
+ moduleDirPath: (0,external_path_.join)(nodeModulesDirPath, basename)
1374
1393
  }
1375
1394
  ];
1376
1395
  })
1377
- .filter((0,tsafe_exclude__WEBPACK_IMPORTED_MODULE_11__/* .exclude */ .D)(undefined))
1396
+ .filter((0,exclude/* exclude */.D)(undefined))
1378
1397
  .flat();
1379
1398
  for (const { moduleName, moduleDirPath, moduleDirPath_tmpProject } of modulePaths) {
1380
1399
  if (linkedModuleNames.includes(moduleName)) {
@@ -1382,7 +1401,7 @@ async function installWithoutBreakingLinks(params) {
1382
1401
  }
1383
1402
  let doesTargetModuleExist = false;
1384
1403
  skip_condition: {
1385
- if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(moduleDirPath)) {
1404
+ if (!external_fs_.existsSync(moduleDirPath)) {
1386
1405
  break skip_condition;
1387
1406
  }
1388
1407
  doesTargetModuleExist = true;
@@ -1396,39 +1415,39 @@ async function installWithoutBreakingLinks(params) {
1396
1415
  continue;
1397
1416
  }
1398
1417
  if (doesTargetModuleExist) {
1399
- (0,_fs_rmSync__WEBPACK_IMPORTED_MODULE_6__/* .rmSync */ .a)(moduleDirPath, { recursive: true });
1418
+ (0,fs_rmSync/* rmSync */.a)(moduleDirPath, { recursive: true });
1400
1419
  }
1401
1420
  {
1402
- const dirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.dirname)(moduleDirPath);
1403
- if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(dirPath)) {
1404
- fs__WEBPACK_IMPORTED_MODULE_0__.mkdirSync(dirPath, { recursive: true });
1421
+ const dirPath = (0,external_path_.dirname)(moduleDirPath);
1422
+ if (!external_fs_.existsSync(dirPath)) {
1423
+ external_fs_.mkdirSync(dirPath, { recursive: true });
1405
1424
  }
1406
1425
  }
1407
- fs__WEBPACK_IMPORTED_MODULE_0__.renameSync(moduleDirPath_tmpProject, moduleDirPath);
1426
+ external_fs_.renameSync(moduleDirPath_tmpProject, moduleDirPath);
1408
1427
  }
1409
1428
  move_bin: {
1410
- const binDirPath_tmpProject = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModulesDirPath_tmpProject, ".bin");
1411
- const binDirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModulesDirPath, ".bin");
1412
- if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(binDirPath_tmpProject)) {
1429
+ const binDirPath_tmpProject = (0,external_path_.join)(nodeModulesDirPath_tmpProject, ".bin");
1430
+ const binDirPath = (0,external_path_.join)(nodeModulesDirPath, ".bin");
1431
+ if (!external_fs_.existsSync(binDirPath_tmpProject)) {
1413
1432
  break move_bin;
1414
1433
  }
1415
- for (const basename of fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync(binDirPath_tmpProject)) {
1416
- const path_tmpProject = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(binDirPath_tmpProject, basename);
1417
- const path = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(binDirPath, basename);
1418
- if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(path)) {
1434
+ for (const basename of external_fs_.readdirSync(binDirPath_tmpProject)) {
1435
+ const path_tmpProject = (0,external_path_.join)(binDirPath_tmpProject, basename);
1436
+ const path = (0,external_path_.join)(binDirPath, basename);
1437
+ if (external_fs_.existsSync(path)) {
1419
1438
  continue;
1420
1439
  }
1421
- fs__WEBPACK_IMPORTED_MODULE_0__.renameSync(path_tmpProject, path);
1440
+ external_fs_.renameSync(path_tmpProject, path);
1422
1441
  }
1423
1442
  }
1424
1443
  }
1425
- fs__WEBPACK_IMPORTED_MODULE_0__.cpSync((0,path__WEBPACK_IMPORTED_MODULE_1__.join)(tmpProjectDirPath, YARN_LOCK), (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, YARN_LOCK));
1426
- (0,_fs_rmSync__WEBPACK_IMPORTED_MODULE_6__/* .rmSync */ .a)(tmpProjectDirPath, { recursive: true });
1427
- for (const scriptName of (0,tsafe_objectKeys__WEBPACK_IMPORTED_MODULE_10__/* .objectKeys */ .Y)(isImplementedScriptByName)) {
1444
+ external_fs_.cpSync((0,external_path_.join)(tmpProjectDirPath, YARN_LOCK), (0,external_path_.join)(packageJsonDirPath, YARN_LOCK));
1445
+ (0,fs_rmSync/* rmSync */.a)(tmpProjectDirPath, { recursive: true });
1446
+ for (const scriptName of objectKeys(isImplementedScriptByName)) {
1428
1447
  if (!isImplementedScriptByName[scriptName]) {
1429
1448
  continue;
1430
1449
  }
1431
- child_process__WEBPACK_IMPORTED_MODULE_2__.execSync(`yarn run ${scriptName}`, {
1450
+ external_child_process_.execSync(`yarn run ${scriptName}`, {
1432
1451
  cwd: packageJsonDirPath,
1433
1452
  stdio: "inherit"
1434
1453
  });