oauth2-cli 0.1.0 → 0.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # oauth2-cli
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 6e6a22a: sky-api, bump deps
8
+
9
+ ## 0.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - b6001cc: fix open dep
14
+
3
15
  ## 0.1.0
4
16
 
5
17
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oauth2-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Acquire API access tokens via OAuth 2.0 within CLI tools",
5
5
  "homepage": "https://github.com/battis/oauth-cli/tree/main/packages/oauth2-cli#readme",
6
6
  "repository": {
@@ -18,7 +18,8 @@
18
18
  "dependencies": {
19
19
  "async-mutex": "^0.5.0",
20
20
  "express": "^4.21.1",
21
- "openid-client": "^6.1.3",
21
+ "open": "^10.1.0",
22
+ "openid-client": "^6.1.7",
22
23
  "@battis/oauth2-configure": "0.1.0"
23
24
  },
24
25
  "devDependencies": {
@@ -27,8 +28,7 @@
27
28
  "@types/express": "^5.0.0",
28
29
  "del-cli": "^6.0.0",
29
30
  "npm-run-all": "^4.1.5",
30
- "open": "^10.1.0",
31
- "typescript": "^5.6.3"
31
+ "typescript": "^5.7.2"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "ejs": "*"
@@ -1,6 +1,5 @@
1
1
  import * as Configuration from '@battis/oauth2-configure';
2
2
  import { Mutex } from 'async-mutex';
3
- import open from 'open';
4
3
  import * as client from 'openid-client';
5
4
  import { FileStorage } from './FileStorage.js';
6
5
  import * as Localhost from './Localhost.js';
package/views/error.ejs CHANGED
@@ -31,7 +31,7 @@
31
31
  <div class="wrapper">
32
32
  <div class="center container">
33
33
  <h1>Error Authorizing</h1>
34
- <div class="alert alert-error" role="alert">
34
+ <div class="alert alert-danger" role="alert">
35
35
  <% if (typeof error === 'string') { %><%= error %><<% } else { %>
36
36
  <pre><%= JSON.stringify(error,null,2) %></pre>
37
37
  <% } %>