keycloakify 11.3.0-rc.2 → 11.3.0-rc.4

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/main.js CHANGED
@@ -15414,8 +15414,6 @@ function readParams(params) {
15414
15414
  return { commandName, buildContext };
15415
15415
  }
15416
15416
  //# sourceMappingURL=customHandler.js.map
15417
- // EXTERNAL MODULE: ./node_modules/tsafe/esm/is.mjs
15418
- var is = __nccwpck_require__(16453);
15419
15417
  ;// CONCATENATED MODULE: ./dist/bin/shared/customHandler_caller.js
15420
15418
 
15421
15419
 
@@ -15423,7 +15421,6 @@ var is = __nccwpck_require__(16453);
15423
15421
 
15424
15422
 
15425
15423
 
15426
-
15427
15424
  (0,esm_assert/* assert */.h)();
15428
15425
  function callHandlerIfAny(params) {
15429
15426
  const { commandName, buildContext } = params;
@@ -15437,11 +15434,11 @@ function callHandlerIfAny(params) {
15437
15434
  });
15438
15435
  }
15439
15436
  catch (error) {
15440
- (0,esm_assert/* assert */.h)((0,is.is)(error));
15441
- if (error.code === NOT_IMPLEMENTED_EXIT_CODE) {
15437
+ const status = error.status;
15438
+ if (status === NOT_IMPLEMENTED_EXIT_CODE) {
15442
15439
  return;
15443
15440
  }
15444
- process.exit(error.code);
15441
+ process.exit(status);
15445
15442
  }
15446
15443
  process.exit(0);
15447
15444
  }
@@ -15454,6 +15451,8 @@ var getAbsoluteAndInOsFormatPath = __nccwpck_require__(84794);
15454
15451
  var lib = __nccwpck_require__(52300);
15455
15452
  // EXTERNAL MODULE: ./node_modules/tsafe/esm/exclude.mjs
15456
15453
  var exclude = __nccwpck_require__(83101);
15454
+ // EXTERNAL MODULE: ./node_modules/tsafe/esm/is.mjs
15455
+ var is = __nccwpck_require__(16453);
15457
15456
  ;// CONCATENATED MODULE: ./node_modules/tsafe/esm/index.mjs
15458
15457
 
15459
15458
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.3.0-rc.2",
3
+ "version": "11.3.0-rc.4",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,7 +8,6 @@ import {
8
8
  ApiVersion
9
9
  } from "./customHandler";
10
10
  import * as child_process from "child_process";
11
- import { is } from "tsafe/is";
12
11
  import { dirname as pathDirname } from "path";
13
12
  import * as fs from "fs";
14
13
 
@@ -33,14 +32,14 @@ export function callHandlerIfAny(params: {
33
32
  [CUSTOM_HANDLER_ENV_NAMES.BUILD_CONTEXT]: JSON.stringify(buildContext)
34
33
  }
35
34
  });
36
- } catch (error) {
37
- assert(is<child_process.ExecException>(error));
35
+ } catch (error: any) {
36
+ const status = error.status;
38
37
 
39
- if (error.code === NOT_IMPLEMENTED_EXIT_CODE) {
38
+ if (status === NOT_IMPLEMENTED_EXIT_CODE) {
40
39
  return;
41
40
  }
42
41
 
43
- process.exit(error.code);
42
+ process.exit(status);
44
43
  }
45
44
 
46
45
  process.exit(0);