keycloakify 11.8.21 → 11.8.22

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/bin/363.index.js CHANGED
@@ -313,12 +313,12 @@ async function getExtensionModuleFileSourceCodeReadyToBeCopied(params) {
313
313
  `This file has been claimed for ownership from ${extensionModuleName} version ${extensionModuleVersion}.`,
314
314
  `To relinquish ownership and restore this file to its original content, run the following command:`,
315
315
  ``,
316
- `$ npx keycloakify own --path '${path}' --revert`
316
+ `$ npx keycloakify own --path "${path}" --revert`
317
317
  ]
318
318
  : [
319
319
  `WARNING: Before modifying this file, run the following command:`,
320
320
  ``,
321
- `$ npx keycloakify own --path '${path}'`,
321
+ `$ npx keycloakify own --path "${path}"`,
322
322
  ``,
323
323
  `This file is provided by ${extensionModuleName} version ${extensionModuleVersion}.`,
324
324
  `It was copied into your repository by the postinstall script: \`keycloakify sync-extensions\`.`
package/bin/main.js CHANGED
@@ -151,6 +151,7 @@ function crawl(params) {
151
151
  function getAbsoluteAndInOsFormatPath(params) {
152
152
  const { pathIsh, cwd } = params;
153
153
  let pathOut = pathIsh;
154
+ pathOut = pathOut.replace(/^['"]/, "").replace(/['"]$/, "");
154
155
  pathOut = pathOut.replace(/\//g, path__WEBPACK_IMPORTED_MODULE_0__.sep);
155
156
  if (pathOut.startsWith("~")) {
156
157
  pathOut = pathOut.replace("~", os__WEBPACK_IMPORTED_MODULE_1__.homedir());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.8.21",
3
+ "version": "11.8.22",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,12 +45,12 @@ export async function getExtensionModuleFileSourceCodeReadyToBeCopied(params: {
45
45
  `This file has been claimed for ownership from ${extensionModuleName} version ${extensionModuleVersion}.`,
46
46
  `To relinquish ownership and restore this file to its original content, run the following command:`,
47
47
  ``,
48
- `$ npx keycloakify own --path '${path}' --revert`
48
+ `$ npx keycloakify own --path "${path}" --revert`
49
49
  ]
50
50
  : [
51
51
  `WARNING: Before modifying this file, run the following command:`,
52
52
  ``,
53
- `$ npx keycloakify own --path '${path}'`,
53
+ `$ npx keycloakify own --path "${path}"`,
54
54
  ``,
55
55
  `This file is provided by ${extensionModuleName} version ${extensionModuleVersion}.`,
56
56
  `It was copied into your repository by the postinstall script: \`keycloakify sync-extensions\`.`
@@ -14,6 +14,8 @@ export function getAbsoluteAndInOsFormatPath(params: {
14
14
 
15
15
  let pathOut = pathIsh;
16
16
 
17
+ pathOut = pathOut.replace(/^['"]/, "").replace(/['"]$/, "");
18
+
17
19
  pathOut = pathOut.replace(/\//g, pathSep);
18
20
 
19
21
  if (pathOut.startsWith("~")) {
@@ -200,6 +200,7 @@ var external_os_ = __nccwpck_require__(37);
200
200
  function getAbsoluteAndInOsFormatPath(params) {
201
201
  const { pathIsh, cwd } = params;
202
202
  let pathOut = pathIsh;
203
+ pathOut = pathOut.replace(/^['"]/, "").replace(/['"]$/, "");
203
204
  pathOut = pathOut.replace(/\//g, external_path_.sep);
204
205
  if (pathOut.startsWith("~")) {
205
206
  pathOut = pathOut.replace("~", external_os_.homedir());