chore: upgrade dependencies, typescript, and docs

This commit is contained in:
Filip Skokan
2024-12-02 17:02:57 +01:00
parent 70f122aacc
commit 40e5cba094
18 changed files with 222 additions and 540 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is
## Indexable
\[`parameter`: `string`\]: [`JsonValue`](../type-aliases/JsonValue.md) \| `undefined`
\[`parameter`: `string`\]: `undefined` \| [`JsonValue`](../type-aliases/JsonValue.md)
## Properties
+4
View File
@@ -10,6 +10,10 @@ A subset of the [IANA OAuth Client Metadata
registry](https://www.iana.org/assignments/oauth-parameters/oauth-parameters.xhtml#client-metadata)
that has an effect on how the Client functions
## Indexable
\[`metadata`: `string`\]: `undefined` \| [`JsonValue`](../type-aliases/JsonValue.md)
## Properties
### client\_id
+1 -1
View File
@@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is
## Indexable
\[`claim`: `string`\]: [`JsonValue`](../type-aliases/JsonValue.md) \| `undefined`
\[`claim`: `string`\]: `undefined` \| [`JsonValue`](../type-aliases/JsonValue.md)
## Properties
@@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is
## Indexable
\[`parameter`: `string`\]: [`JsonValue`](../type-aliases/JsonValue.md) \| `undefined`
\[`parameter`: `string`\]: `undefined` \| [`JsonValue`](../type-aliases/JsonValue.md)
## Properties
@@ -59,6 +59,16 @@ Note: Presence of [allowInsecureRequests](../functions/allowInsecureRequests.md)
the use of insecure HTTP requests for the Authorization Server Metadata
discovery request itself.
#### Parameters
| Parameter | Type |
| ------ | ------ |
| `config` | [`Configuration`](../classes/Configuration.md) |
#### Returns
`void`
#### Example
Disable the HTTPS-only restriction for the discovery call and subsequently
+1 -1
View File
@@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is
## Indexable
\[`claim`: `string`\]: [`JsonValue`](../type-aliases/JsonValue.md) \| `undefined`
\[`claim`: `string`\]: `undefined` \| [`JsonValue`](../type-aliases/JsonValue.md)
## Properties
+1 -1
View File
@@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is
## Indexable
\[`claim`: `string`\]: [`JsonValue`](../type-aliases/JsonValue.md) \| `undefined`
\[`claim`: `string`\]: `undefined` \| [`JsonValue`](../type-aliases/JsonValue.md)
## Properties
+1 -1
View File
@@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is
## Indexable
\[`parameter`: `string`\]: [`JsonValue`](../type-aliases/JsonValue.md) \| `undefined`
\[`parameter`: `string`\]: `undefined` \| [`JsonValue`](../type-aliases/JsonValue.md)
## Properties
+1 -1
View File
@@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is
## Indexable
\[`metadata`: `string`\]: `string` \| `undefined`
\[`metadata`: `string`\]: `undefined` \| `string`
## Properties
+4
View File
@@ -12,6 +12,10 @@ Authorization Server Metadata
[IANA OAuth Authorization Server Metadata registry](https://www.iana.org/assignments/oauth-parameters/oauth-parameters.xhtml#authorization-server-metadata)
## Indexable
\[`metadata`: `string`\]: `undefined` \| [`JsonValue`](../type-aliases/JsonValue.md)
## Properties
### issuer
+1 -1
View File
@@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is
## Indexable
\[`parameter`: `string`\]: [`JsonValue`](../type-aliases/JsonValue.md) \| `undefined`
\[`parameter`: `string`\]: `undefined` \| [`JsonValue`](../type-aliases/JsonValue.md)
## Properties
+1 -1
View File
@@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is
## Indexable
\[`claim`: `string`\]: [`JsonValue`](../type-aliases/JsonValue.md) \| `undefined`
\[`claim`: `string`\]: `undefined` \| [`JsonValue`](../type-aliases/JsonValue.md)
## Properties
+1 -1
View File
@@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is
## Indexable
\[`claim`: `string`\]: [`JsonValue`](../type-aliases/JsonValue.md) \| `undefined`
\[`claim`: `string`\]: `undefined` \| [`JsonValue`](../type-aliases/JsonValue.md)
## Properties
@@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is
## Indexable
\[`parameter`: [`Lowercase`](https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html#lowercasestringtype)\<`string`\>\]: `string` \| `undefined`
\[`parameter`: [`Lowercase`](https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html#lowercasestringtype)\<`string`\>\]: `undefined` \| `string`
## Properties
+157 -491
View File
File diff suppressed because it is too large Load Diff
+12 -12
View File
@@ -85,37 +85,37 @@
},
"dependencies": {
"jose": "^5.9.6",
"oauth4webapi": "^3.1.3"
"oauth4webapi": "^3.1.4"
},
"devDependencies": {
"@koa/cors": "^5.0.0",
"@types/connect-ensure-login": "^0.1.9",
"@types/cookie-parser": "^1.4.7",
"@types/cookie-parser": "^1.4.8",
"@types/express": "^5.0.0",
"@types/express-session": "^1.18.0",
"@types/express-session": "^1.18.1",
"@types/koa__cors": "^5.0.0",
"@types/node": "^22.9.0",
"@types/node": "^22.10.1",
"@types/passport": "^1.0.17",
"@types/qunit": "^2.19.12",
"archiver": "^7.0.1",
"ava": "^6.2.0",
"chrome-launcher": "^1.1.2",
"edge-runtime": "^3.0.5",
"edge-runtime": "^4.0.0",
"esbuild": "^0.24.0",
"ky": "^1.7.2",
"oidc-provider": "^8.5.3",
"oidc-provider": "^8.6.0",
"patch-package": "^8.0.0",
"prettier": "^3.3.3",
"prettier": "^3.4.1",
"prettier-plugin-jsdoc": "^1.3.0",
"puppeteer-core": "^23.8.0",
"puppeteer-core": "^23.9.0",
"qunit": "^2.22.0",
"raw-body": "^3.0.0",
"selfsigned": "^2.4.1",
"tsx": "^4.19.2",
"typedoc": "^0.26.11",
"typedoc-plugin-markdown": "^4.2.10",
"typedoc-plugin-mdn-links": "^3.3.7",
"typescript": "^5.6.3",
"typedoc": "^0.27.2",
"typedoc-plugin-markdown": "^4.3.1",
"typedoc-plugin-mdn-links": "^4.0.3",
"typescript": "^5.7.2",
"undici": "^6.21.0"
}
}
@@ -1,59 +1,57 @@
diff --git a/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.declarationTitle.js b/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.declarationTitle.js
index 6de7529..4f50e8f 100644
index a4b8d3f..42b597e 100644
--- a/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.declarationTitle.js
+++ b/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.declarationTitle.js
@@ -62,5 +62,5 @@ function declarationTitle(model) {
@@ -58,5 +58,5 @@ export function declarationTitle(model) {
md.push(';');
}
const result = md.join('');
- return useCodeBlocks ? (0, markdown_1.codeBlock)(result) : `> ${result}`;
+ return useCodeBlocks ? (0, markdown_1.codeBlock)(result) : `• ${result}`;
- return useCodeBlocks ? codeBlock(result) : `> ${result}`;
+ return useCodeBlocks ? codeBlock(result) : `• ${result}`;
}
diff --git a/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.hierarchy.js b/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.hierarchy.js
index 32811a5..c314e54 100644
index 8171418..e059d00 100644
--- a/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.hierarchy.js
+++ b/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.hierarchy.js
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.hierarchy = hierarchy;
const markdown_1 = require("../../../libs/markdown");
function hierarchy(model, options) {
@@ -1,5 +1,6 @@
import { heading, unorderedList } from '../../../libs/markdown/index.js';
export function hierarchy(model, options) {
+ return ''
const md = [];
const getHierarchy = (hModel) => {
const parent = !hModel.isTarget
diff --git a/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.inheritance.js b/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.inheritance.js
index 7116469..469a57b 100644
index 3bac9b3..147c793 100644
--- a/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.inheritance.js
+++ b/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.inheritance.js
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.inheritance = inheritance;
const markdown_1 = require("../../../libs/markdown");
function inheritance(model, options) {
@@ -1,5 +1,6 @@
import { heading } from '../../../libs/markdown/index.js';
export function inheritance(model, options) {
+ return ''
const md = [];
if (model.implementationOf) {
if (options.headingLevel !== -1) {
diff --git a/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.signatureTitle.js b/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.signatureTitle.js
index b7e8baf..accc8e9 100644
index c86b11c..aaa4ca7 100644
--- a/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.signatureTitle.js
+++ b/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/member.signatureTitle.js
@@ -32,5 +32,5 @@ function signatureTitle(model, options) {
@@ -35,5 +35,5 @@ export function signatureTitle(model, options) {
md.push(`: ${this.partials.someType(model.type)}`);
}
const result = md.join('');
- return useCodeBlocks ? (0, markdown_1.codeBlock)(result) : `> ${result}`;
+ return useCodeBlocks ? (0, markdown_1.codeBlock)(result) : `▸ ${result}`;
- return useCodeBlocks ? codeBlock(result) : `> ${result}`;
+ return useCodeBlocks ? codeBlock(result) : `▸ ${result}`;
}
diff --git a/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/page.pageTitle.js b/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/page.pageTitle.js
index d1473ac..a829f9b 100644
index 013d284..ca3fa07 100644
--- a/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/page.pageTitle.js
+++ b/node_modules/typedoc-plugin-markdown/dist/theme/context/partials/page.pageTitle.js
@@ -6,7 +6,7 @@ function pageTitle() {
const textContentMappings = this.options.getValue('textContentMappings');
@@ -15,7 +15,7 @@ export function pageTitle() {
const page = this.page;
if (page.model?.url === page.project.url) {
- return this.helpers.getProjectName(textContentMappings['title.indexPage'], page);
+ return this.helpers.getProjectName(textContentMappings['title.indexPage'], page) + '\n\n[💗 Help the project](https://github.com/sponsors/panva)\n\nSupport from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by [becoming a sponsor](https://github.com/sponsors/panva).\n\n';
}
const name = this.partials.memberTitle(page.model);
const kind = this.internationalization.kindSingularString(page.model.kind);
if (typeof indexPageTitle === 'string') {
- return this.helpers.getProjectName(indexPageTitle, page);
+ return this.helpers.getProjectName(indexPageTitle, page) + '\n\n[💗 Help the project](https://github.com/sponsors/panva)\n\nSupport from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by [becoming a sponsor](https://github.com/sponsors/panva).\n\n';
}
return indexPageTitle({
projectName: page?.project?.name,