@keycloakify/svelte 0.1.4 → 0.1.5
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.
|
@@ -19,7 +19,7 @@ export const modules = {
|
|
|
19
19
|
|
|
20
20
|
const __dirname = path__WEBPACK_IMPORTED_MODULE_1__.dirname(url__WEBPACK_IMPORTED_MODULE_2__.fileURLToPath(import.meta.url));
|
|
21
21
|
function getThisCodebaseRootDirPath_rec(dirPath) {
|
|
22
|
-
if (
|
|
22
|
+
if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(path__WEBPACK_IMPORTED_MODULE_1__.join(dirPath, 'LICENSE'))) {
|
|
23
23
|
return dirPath;
|
|
24
24
|
}
|
|
25
25
|
return getThisCodebaseRootDirPath_rec(path__WEBPACK_IMPORTED_MODULE_1__.join(dirPath, '..'));
|
|
@@ -695,7 +695,7 @@ async function command(params) {
|
|
|
695
695
|
|
|
696
696
|
const __dirname = path__WEBPACK_IMPORTED_MODULE_1__.dirname(url__WEBPACK_IMPORTED_MODULE_2__.fileURLToPath(import.meta.url));
|
|
697
697
|
function getThisCodebaseRootDirPath_rec(dirPath) {
|
|
698
|
-
if (
|
|
698
|
+
if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(path__WEBPACK_IMPORTED_MODULE_1__.join(dirPath, 'LICENSE'))) {
|
|
699
699
|
return dirPath;
|
|
700
700
|
}
|
|
701
701
|
return getThisCodebaseRootDirPath_rec(path__WEBPACK_IMPORTED_MODULE_1__.join(dirPath, '..'));
|
|
@@ -160,7 +160,7 @@ async function command(params) {
|
|
|
160
160
|
|
|
161
161
|
const __dirname = path__WEBPACK_IMPORTED_MODULE_1__.dirname(url__WEBPACK_IMPORTED_MODULE_2__.fileURLToPath(import.meta.url));
|
|
162
162
|
function getThisCodebaseRootDirPath_rec(dirPath) {
|
|
163
|
-
if (
|
|
163
|
+
if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(path__WEBPACK_IMPORTED_MODULE_1__.join(dirPath, 'LICENSE'))) {
|
|
164
164
|
return dirPath;
|
|
165
165
|
}
|
|
166
166
|
return getThisCodebaseRootDirPath_rec(path__WEBPACK_IMPORTED_MODULE_1__.join(dirPath, '..'));
|
|
@@ -776,7 +776,7 @@ async function command(params) {
|
|
|
776
776
|
|
|
777
777
|
const __dirname = path__WEBPACK_IMPORTED_MODULE_1__.dirname(url__WEBPACK_IMPORTED_MODULE_2__.fileURLToPath(import.meta.url));
|
|
778
778
|
function getThisCodebaseRootDirPath_rec(dirPath) {
|
|
779
|
-
if (
|
|
779
|
+
if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(path__WEBPACK_IMPORTED_MODULE_1__.join(dirPath, 'LICENSE'))) {
|
|
780
780
|
return dirPath;
|
|
781
781
|
}
|
|
782
782
|
return getThisCodebaseRootDirPath_rec(path__WEBPACK_IMPORTED_MODULE_1__.join(dirPath, '..'));
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ import * as url from 'url';
|
|
|
5
5
|
const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
|
|
6
6
|
|
|
7
7
|
function getThisCodebaseRootDirPath_rec(dirPath: string): string {
|
|
8
|
-
if (
|
|
8
|
+
if (fs.existsSync(path.join(dirPath, 'LICENSE'))) {
|
|
9
9
|
return dirPath;
|
|
10
10
|
}
|
|
11
11
|
return getThisCodebaseRootDirPath_rec(path.join(dirPath, '..'));
|