authup 0.11.1 → 0.12.1

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020-2022 Peter Placzek
3
+ Copyright (c) 2023 Peter Placzek
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -14,7 +14,7 @@ const fs_1 = __importDefault(require("fs"));
14
14
  const path_1 = __importDefault(require("path"));
15
15
  const rc9_1 = require("rc9");
16
16
  async function readConfig(directoryPath) {
17
- directoryPath ??= process.cwd();
17
+ directoryPath ?? (directoryPath = process.cwd());
18
18
  const filePath = path_1.default.resolve(directoryPath, 'authup.conf');
19
19
  try {
20
20
  await fs_1.default.promises.access(filePath);
@@ -1 +1 @@
1
- {"version":3,"file":"read.js","sourceRoot":"","sources":["../../src/config/read.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;AAEH,4CAAoB;AACpB,gDAAwB;AACxB,6BAA4B;AAGrB,KAAK,UAAU,UAAU,CAC5B,aAAsB;IAEtB,aAAa,KAAK,OAAO,CAAC,GAAG,EAAE,CAAC;IAEhC,MAAM,QAAQ,GAAG,cAAI,CAAC,OAAO,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;IAE5D,IAAI;QACA,MAAM,YAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;KACtC;IAAC,OAAO,CAAC,EAAE;QACR,OAAO,EAAE,CAAC;KACb;IAED,MAAM,IAAI,GAAG,MAAM,YAAE,CAAC,QAAQ,CAAC,QAAQ,CACnC,QAAQ,EACR,EAAE,QAAQ,EAAE,OAAO,EAAE,CACxB,CAAC;IAEF,OAAO,IAAA,WAAK,EAAC,IAAI,CAAC,CAAC;AACvB,CAAC;AAnBD,gCAmBC"}
1
+ {"version":3,"file":"read.js","sourceRoot":"","sources":["../../src/config/read.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;AAEH,4CAAoB;AACpB,gDAAwB;AACxB,6BAA4B;AAGrB,KAAK,UAAU,UAAU,CAC5B,aAAsB;IAEtB,aAAa,KAAb,aAAa,GAAK,OAAO,CAAC,GAAG,EAAE,EAAC;IAEhC,MAAM,QAAQ,GAAG,cAAI,CAAC,OAAO,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;IAE5D,IAAI;QACA,MAAM,YAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;KACtC;IAAC,OAAO,CAAC,EAAE;QACR,OAAO,EAAE,CAAC;KACb;IAED,MAAM,IAAI,GAAG,MAAM,YAAE,CAAC,QAAQ,CAAC,QAAQ,CACnC,QAAQ,EACR,EAAE,QAAQ,EAAE,OAAO,EAAE,CACxB,CAAC;IAEF,OAAO,IAAA,WAAK,EAAC,IAAI,CAAC,CAAC;AACvB,CAAC;AAnBD,gCAmBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authup",
3
- "version": "0.11.1",
3
+ "version": "0.12.1",
4
4
  "description": "This is the CLI for the authup framework.",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -30,9 +30,9 @@
30
30
  },
31
31
  "homepage": "https://github.com/Tada5hi/authup#readme",
32
32
  "dependencies": {
33
- "@authup/common": "^0.11.1",
34
- "@authup/server": "^0.11.1",
35
- "@authup/ui": "^0.11.1",
33
+ "@authup/common": "^0.12.1",
34
+ "@authup/server": "^0.12.1",
35
+ "@authup/ui": "^0.12.1",
36
36
  "cac": "^6.7.14",
37
37
  "chalk": "^4.1.2",
38
38
  "consola": "^2.15.3",
@@ -45,5 +45,5 @@
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "a0c5453a92e4db4a6a3e0ade2bf930853d3a3267"
48
+ "gitHead": "ad092766b62d0a0891dfe88a7dd4a9e5d2fdf66d"
49
49
  }