From 182a99169741de552b18344cf65630e6fcded144 Mon Sep 17 00:00:00 2001 From: Michael Wedl Date: Fri, 10 May 2024 12:50:55 +0200 Subject: [PATCH 1/3] Collab HTTP fallback error handling --- api/src/reportcreator_api/utils/channels.py | 8 ++++++++ frontend/src/utils/collab.ts | 18 +++++++++--------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/api/src/reportcreator_api/utils/channels.py b/api/src/reportcreator_api/utils/channels.py index bb7f79ca9..25ca0c03c 100644 --- a/api/src/reportcreator_api/utils/channels.py +++ b/api/src/reportcreator_api/utils/channels.py @@ -8,6 +8,7 @@ from rest_framework.response import Response from reportcreator_api.pentests.models.collab import CollabEvent +from reportcreator_api.utils import logging from reportcreator_api.utils.utils import omit_keys @@ -64,6 +65,7 @@ async def post(self, request, *args, **kwargs): consumer = await self.get_consumer(action='write', client_id=data['client_id']) # Dispatch incoming messages + error = None for msg in request.data.get('messages', []): msg_type = msg.get('type') if msg_type == 'collab.ping': @@ -72,6 +74,12 @@ async def post(self, request, *args, **kwargs): await consumer.receive_json(msg) except ValidationError: continue + except Exception as ex: + logging.exception(ex) + # Raise error after processing all events + error = ex + if error: + raise error # Get events since version (including responses to incoming messages) events = CollabEvent.objects \ diff --git a/frontend/src/utils/collab.ts b/frontend/src/utils/collab.ts index 1d7364550..4fce963bf 100644 --- a/frontend/src/utils/collab.ts +++ b/frontend/src/utils/collab.ts @@ -389,11 +389,13 @@ export function connectionHttpFallback(storeState: CollabStoreState, } } - async function disconnect() { + async function disconnect(opts?: { skipSendPendingMessages?: boolean }) { clearInterval(sendInterval.value); sendInterval.value = undefined; - await sendPendingMessages(); + if (!opts?.skipSendPendingMessages) { + await sendPendingMessages(); + } connectionInfo.connectionState = CollabConnectionState.CLOSED; } @@ -412,11 +414,10 @@ export function connectionHttpFallback(storeState: CollabStoreState, } async function sendPendingMessages() { - let messagesRestore = [...pendingMessages.value] as CollabEvent[]|undefined; + const messages = [...pendingMessages.value] pendingMessages.value = []; try { - const messages = [...(messagesRestore || [])]; for (const [p, s] of storeState.perPathState.entries()) { if (s.unconfirmedTextUpdates.length > 0) { messages.push({ @@ -436,17 +437,16 @@ export function connectionHttpFallback(storeState: CollabStoreState, messages, } }); - messagesRestore = undefined storeState.version = res.version; storeState.awareness.clients = res.clients; for (const m of res.messages) { onReceiveMessage(m); } - } catch (e) { - if (messagesRestore) { - pendingMessages.value = messagesRestore; - } + } catch (error) { + // Disconnect on error + connectionInfo.connectionError = { error }; + disconnect({ skipSendPendingMessages: true }); } } From e13863df80c573e3916ad6c924b14e9b614c914e Mon Sep 17 00:00:00 2001 From: Michael Wedl Date: Fri, 10 May 2024 12:51:07 +0200 Subject: [PATCH 2/3] Update nginx timeouts --- deploy/sysreptor.nginx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/sysreptor.nginx b/deploy/sysreptor.nginx index 1d022f553..4ac098e1b 100644 --- a/deploy/sysreptor.nginx +++ b/deploy/sysreptor.nginx @@ -24,9 +24,9 @@ server { ssl_stapling on; ssl_stapling_verify on; - # Large timeouts for long running websocket connections - proxy_read_timeout 8h; - proxy_send_timeout 8h; + # Timeouts for long running websocket connections and long PDF rendering tasks + proxy_read_timeout 5m; + proxy_send_timeout 5m; client_max_body_size 0; location / { From 21c1ec5ce97c62ddba79857002ae469cd93b6870 Mon Sep 17 00:00:00 2001 From: Michael Wedl Date: Fri, 10 May 2024 12:51:31 +0200 Subject: [PATCH 3/3] Update md dependencies --- frontend/NOTICE | 541 +++++++++++------------------------ frontend/package-lock.json | 4 +- rendering/NOTICE | 543 +++++++++++------------------------- rendering/package-lock.json | 4 +- 4 files changed, 325 insertions(+), 767 deletions(-) diff --git a/frontend/NOTICE b/frontend/NOTICE index b4141c521..37514cf4f 100644 --- a/frontend/NOTICE +++ b/frontend/NOTICE @@ -1682,7 +1682,7 @@ let cacheControl = { `kv-asset-handler` sets and evaluates etags as [strong validators](https://developer.mozilla.org/en-US/docs/Web/HTTP/Conditional_requests#Strong_validation). To preserve `etag` integrity, the format of the value deviates from the [RFC2616 recommendation to enclose the `etag` with quotation marks](https://tools.ietf.org/html/rfc2616#section-3.11). This is intentional. Cloudflare cache applies the `W/` prefix to all `etags` that use quoted-strings -- a process that converts the `etag` to a "weak validator" when served to a client. -@codemirror/autocomplete 6.15.0 +@codemirror/autocomplete 6.16.0 MIT MIT License @@ -1757,7 +1757,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@codemirror/lang-html 6.4.8 +@codemirror/lang-html 6.4.9 MIT MIT License @@ -1807,7 +1807,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@codemirror/lang-markdown 6.2.4 +@codemirror/lang-markdown 6.2.5 MIT MIT License @@ -1957,7 +1957,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@codemirror/view 6.26.2 +@codemirror/view 6.26.3 MIT MIT License @@ -3203,7 +3203,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@lezer/javascript 1.4.14 +@lezer/javascript 1.4.16 MIT MIT License @@ -3554,6 +3554,30 @@ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +@npmcli/fs 3.1.1 +ISC + + +ISC License + +Copyright npm, Inc. + +Permission to use, copy, modify, and/or distribute this +software for any purpose with or without fee is hereby +granted, provided that the above copyright notice and this +permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND NPM DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO +EVENT SHALL NPM BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE +USE OR PERFORMANCE OF THIS SOFTWARE. + + @npmcli/git 5.0.4 ISC The ISC License @@ -14283,9 +14307,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -cytoscape 3.28.1 +cytoscape 3.29.2 MIT -Copyright (c) 2016-2023, The Cytoscape Consortium. +Copyright (c) 2016-2024, The Cytoscape Consortium. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in @@ -15151,7 +15175,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -dayjs 1.11.10 +dayjs 1.11.11 MIT MIT License @@ -16777,7 +16801,7 @@ THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -dompurify 3.1.0 +dompurify 3.1.2 (MPL-2.0 OR Apache-2.0) DOMPurify Copyright 2024 Dr.-Ing. Mario Heiderich, Cure53 @@ -17497,7 +17521,7 @@ Permission to use, copy, modify, and/or distribute this software for any purpose THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -elkjs 0.9.2 +elkjs 0.9.3 EPL-2.0 # Eclipse Public License - v 2.0 @@ -21955,7 +21979,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -hast-util-raw 9.0.2 +hast-util-raw 9.0.3 MIT (The MIT License) @@ -22332,29 +22356,6 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -heap 0.2.7 -MIT -The MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - highlight.js 11.9.0 BSD-3-Clause BSD 3-Clause License @@ -25407,6 +25408,35 @@ This library is a fork of 'better-json-errors' by Kat Marchán, extended and distributed under the terms of the MIT license above. +json-parse-even-better-errors 3.0.2 +MIT +Copyright 2017 Kat Marchán +Copyright npm, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +--- + +This library is a fork of 'better-json-errors' by Kat Marchán, extended and +distributed under the terms of the MIT license above. + + json-schema-traverse 0.4.1 MIT MIT License @@ -28076,179 +28106,30 @@ abide by its terms. [micromark]: https://github.com/micromark/micromark -micromark-core-commonmark 2.0.0 +micromark-core-commonmark 2.0.1 MIT -# micromark-core-commonmark - -[![Build][build-badge]][build] -[![Coverage][coverage-badge]][coverage] -[![Downloads][downloads-badge]][downloads] -[![Size][bundle-size-badge]][bundle-size] -[![Sponsors][sponsors-badge]][opencollective] -[![Backers][backers-badge]][opencollective] -[![Chat][chat-badge]][chat] - -[micromark][] constructs that make up the core of CommonMark. -Some of these can be [turned off][disable], but they are often essential to -markdown and weird things might happen. - -## Contents - -* [What is this?](#what-is-this) -* [When should I use this?](#when-should-i-use-this) -* [Install](#install) -* [Use](#use) -* [API](#api) -* [Types](#types) -* [Compatibility](#compatibility) -* [Security](#security) -* [Contribute](#contribute) -* [License](#license) - -## What is this? - -This package exposes the default constructs. - -## When should I use this? - -This package is useful when you are making your own micromark extensions. - -## Install - -This package is [ESM only][esm]. -In Node.js (version 16+), install with [npm][]: - -```sh -npm install micromark-core-commonmark -``` - -In Deno with [`esm.sh`][esmsh]: - -```js -import * as core from 'https://esm.sh/micromark-core-commonmark@1' -``` - -In browsers with [`esm.sh`][esmsh]: - -```html - -``` - -## Use - -```js -import {autolink} from 'micromark-core-commonmark' - -console.log(autolink) // Do things with `autolink`. -``` - -## API - -This module exports the following identifiers: `attention`, `autolink`, -`blankLine`, `blockQuote`, `characterEscape`, `characterReference`, -`codeFenced`, `codeIndented`, `codeText`, `content`, `definition`, -`hardBreakEscape`, `headingAtx`, `htmlFlow`, `htmlText`, `labelEnd`, -`labelStartImage`, `labelStartLink`, `lineEnding`, `list`, `setextUnderline`, -`thematicBreak`. -There is no default export. - -Each identifier refers to a [construct][]. - -See the code for more on the exported constructs. - -## Types - -This package is fully typed with [TypeScript][]. -It exports no additional types. - -## Compatibility - -Projects maintained by the unified collective are compatible with maintained -versions of Node.js. - -When we cut a new major release, we drop support for unmaintained versions of -Node. -This means we try to keep the current release line, -`micromark-core-commonmark@^2`, compatible with Node.js 16. -This package works with `micromark@^3`. - -## Security - -This package is safe. -See [`security.md`][securitymd] in [`micromark/.github`][health] for how to -submit a security report. - -## Contribute - -See [`contributing.md`][contributing] in [`micromark/.github`][health] for ways -to get started. -See [`support.md`][support] for ways to get help. - -This project has a [code of conduct][coc]. -By interacting with this repository, organisation, or community you agree to -abide by its terms. - -## License - -[MIT][license] © [Titus Wormer][author] - - - -[build-badge]: https://github.com/micromark/micromark/workflows/main/badge.svg - -[build]: https://github.com/micromark/micromark/actions - -[coverage-badge]: https://img.shields.io/codecov/c/github/micromark/micromark.svg - -[coverage]: https://codecov.io/github/micromark/micromark - -[downloads-badge]: https://img.shields.io/npm/dm/micromark-core-commonmark.svg - -[downloads]: https://www.npmjs.com/package/micromark-core-commonmark - -[bundle-size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=micromark-core-commonmark - -[bundle-size]: https://bundlejs.com/?q=micromark-core-commonmark - -[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg - -[backers-badge]: https://opencollective.com/unified/backers/badge.svg - -[opencollective]: https://opencollective.com/unified - -[npm]: https://docs.npmjs.com/cli/install - -[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c - -[esmsh]: https://esm.sh - -[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg - -[chat]: https://github.com/micromark/micromark/discussions - -[license]: https://github.com/micromark/micromark/blob/main/license - -[author]: https://wooorm.com - -[health]: https://github.com/micromark/.github - -[securitymd]: https://github.com/micromark/.github/blob/main/security.md - -[contributing]: https://github.com/micromark/.github/blob/main/contributing.md - -[support]: https://github.com/micromark/.github/blob/main/support.md - -[coc]: https://github.com/micromark/.github/blob/main/code-of-conduct.md +(The MIT License) -[disable]: https://github.com/micromark/micromark#case-turn-off-constructs +Copyright (c) Titus Wormer -[construct]: https://github.com/micromark/micromark#constructs +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: -[typescript]: https://www.typescriptlang.org +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. -[micromark]: https://github.com/micromark/micromark +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. micromark-extension-gfm-autolink-literal 2.0.0 @@ -35822,189 +35703,30 @@ abide by its terms. [api-subtokenize]: #subtokenizeevents -micromark-util-subtokenize 2.0.0 +micromark-util-subtokenize 2.0.1 MIT -# micromark-util-subtokenize - -[![Build][build-badge]][build] -[![Coverage][coverage-badge]][coverage] -[![Downloads][downloads-badge]][downloads] -[![Size][bundle-size-badge]][bundle-size] -[![Sponsors][sponsors-badge]][opencollective] -[![Backers][backers-badge]][opencollective] -[![Chat][chat-badge]][chat] - -[micromark][] utility to tokenize subtokens. - -## Contents - -* [What is this?](#what-is-this) -* [When should I use this?](#when-should-i-use-this) -* [Install](#install) -* [Use](#use) -* [API](#api) - * [`subtokenize(events)`](#subtokenizeevents) -* [Types](#types) -* [Compatibility](#compatibility) -* [Security](#security) -* [Contribute](#contribute) -* [License](#license) - -## What is this? - -This package exposes a micromark internal that you probably don’t need. - -## When should I use this? - -This package might be useful when you are making your own micromark extensions. - -## Install - -This package is [ESM only][esm]. -In Node.js (version 16+), install with [npm][]: - -```sh -npm install micromark-util-subtokenize -``` - -In Deno with [`esm.sh`][esmsh]: - -```js -import {subtokenize} from 'https://esm.sh/micromark-util-subtokenize@1' -``` - -In browsers with [`esm.sh`][esmsh]: - -```html - -``` - -## Use - -```js -import {subtokenize} from 'micromark-util-subtokenize' - -/** - * Content is transparent: it’s parsed right now. That way, definitions are also - * parsed right now: before text in paragraphs (specifically, media) are parsed. - * - * @type {Resolver} - */ -function resolveContent(events) { - subtokenize(events) - return events -} -``` - -## API - -This module exports the identifiers [`subtokenize`][api-subtokenize]. -There is no default export. - -### `subtokenize(events)` - -Tokenize subcontent. - -###### Parameters - -* `events` (`Array`) - — list of events - -###### Returns - -Whether subtokens were found (`boolean`). - -## Types - -This package is fully typed with [TypeScript][]. -It exports no additional types. - -## Compatibility - -Projects maintained by the unified collective are compatible with maintained -versions of Node.js. - -When we cut a new major release, we drop support for unmaintained versions of -Node. -This means we try to keep the current release line, -`micromark-util-subtokenize@^2`, compatible with Node.js 16. -This package works with `micromark@^3`. - -## Security - -This package is safe. -See [`security.md`][securitymd] in [`micromark/.github`][health] for how to -submit a security report. - -## Contribute - -See [`contributing.md`][contributing] in [`micromark/.github`][health] for ways -to get started. -See [`support.md`][support] for ways to get help. - -This project has a [code of conduct][coc]. -By interacting with this repository, organisation, or community you agree to -abide by its terms. - -## License - -[MIT][license] © [Titus Wormer][author] - - - -[build-badge]: https://github.com/micromark/micromark/workflows/main/badge.svg - -[build]: https://github.com/micromark/micromark/actions - -[coverage-badge]: https://img.shields.io/codecov/c/github/micromark/micromark.svg - -[coverage]: https://codecov.io/github/micromark/micromark - -[downloads-badge]: https://img.shields.io/npm/dm/micromark-util-subtokenize.svg - -[downloads]: https://www.npmjs.com/package/micromark-util-subtokenize - -[bundle-size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=micromark-util-subtokenize - -[bundle-size]: https://bundlejs.com/?q=micromark-util-subtokenize - -[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg - -[backers-badge]: https://opencollective.com/unified/backers/badge.svg - -[opencollective]: https://opencollective.com/unified - -[npm]: https://docs.npmjs.com/cli/install - -[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c - -[esmsh]: https://esm.sh - -[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg - -[chat]: https://github.com/micromark/micromark/discussions - -[license]: https://github.com/micromark/micromark/blob/main/license - -[author]: https://wooorm.com - -[health]: https://github.com/micromark/.github - -[securitymd]: https://github.com/micromark/.github/blob/main/security.md - -[contributing]: https://github.com/micromark/.github/blob/main/contributing.md - -[support]: https://github.com/micromark/.github/blob/main/support.md +(The MIT License) -[coc]: https://github.com/micromark/.github/blob/main/code-of-conduct.md +Copyright (c) Titus Wormer -[typescript]: https://www.typescriptlang.org +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: -[micromark]: https://github.com/micromark/micromark +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. -[api-subtokenize]: #subtokenizeevents +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. micromark-util-symbol 1.1.0 @@ -38146,6 +37868,25 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +minipass 7.1.0 +ISC +The ISC License + +Copyright (c) 2017-2023 npm, Inc., Isaac Z. Schlueter, and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + minizlib 2.1.2 MIT Minizlib was created by Isaac Z. Schlueter. @@ -39601,6 +39342,25 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +nopt 7.2.1 +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + normalize-package-data 2.5.0 BSD-2-Clause This package contains code originally written by Isaac Z. Schlueter. @@ -48135,6 +47895,25 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +semver 7.6.1 +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + send 0.18.0 MIT (The MIT License) @@ -51159,7 +50938,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -stylis 4.3.1 +stylis 4.3.2 MIT MIT License diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 48153d286..2462c22fe 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -54,13 +54,13 @@ "name": "reportcreator-markdown", "version": "0.1.0", "dependencies": { - "@codemirror/commands": "~6.3", + "@codemirror/commands": "~6.5", "@codemirror/lang-css": "~6.2", "@codemirror/lang-html": "~6.4", "@codemirror/lang-markdown": "~6.2", "@codemirror/lang-vue": "~0.1.3", "@codemirror/language": "~6.10", - "@codemirror/lint": "~6.5", + "@codemirror/lint": "~6.7", "@codemirror/merge": "~6.6", "@codemirror/state": "~6.4", "@codemirror/view": "~6.26", diff --git a/rendering/NOTICE b/rendering/NOTICE index a04d5b99e..85998d0ef 100644 --- a/rendering/NOTICE +++ b/rendering/NOTICE @@ -46,7 +46,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@codemirror/autocomplete 6.15.0 +@codemirror/autocomplete 6.16.0 MIT MIT License @@ -121,7 +121,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@codemirror/lang-html 6.4.8 +@codemirror/lang-html 6.4.9 MIT MIT License @@ -171,7 +171,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@codemirror/lang-markdown 6.2.4 +@codemirror/lang-markdown 6.2.5 MIT MIT License @@ -321,7 +321,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@codemirror/view 6.26.2 +@codemirror/view 6.26.3 MIT MIT License @@ -509,7 +509,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@lezer/javascript 1.4.14 +@lezer/javascript 1.4.16 MIT MIT License @@ -683,6 +683,30 @@ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +@npmcli/fs 3.1.1 +ISC + + +ISC License + +Copyright npm, Inc. + +Permission to use, copy, modify, and/or distribute this +software for any purpose with or without fee is hereby +granted, provided that the above copyright notice and this +permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND NPM DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO +EVENT SHALL NPM BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE +USE OR PERFORMANCE OF THIS SOFTWARE. + + @pkgjs/parseargs 0.11.0 MIT Apache License @@ -2160,9 +2184,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -cytoscape 3.28.1 +cytoscape 3.29.2 MIT -Copyright (c) 2016-2023, The Cytoscape Consortium. +Copyright (c) 2016-2024, The Cytoscape Consortium. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in @@ -2928,7 +2952,7 @@ const zoom = d3.zoom().on('zoom', (zoomEvent) => { ``` -dayjs 1.11.10 +dayjs 1.11.11 MIT MIT License @@ -3106,7 +3130,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -dompurify 3.1.0 +dompurify 3.1.2 (MPL-2.0 OR Apache-2.0) DOMPurify Copyright 2024 Dr.-Ing. Mario Heiderich, Cure53 @@ -3714,7 +3738,7 @@ Original Code is [東アジアの文字幅 (East Asian Width) の判定 - 中途 console.log(eaw.length('¢₩。ᅵㄅ뀀¢⟭a⊙①بف')) // 19 -elkjs 0.9.2 +elkjs 0.9.3 EPL-2.0 # Eclipse Public License - v 2.0 @@ -4422,7 +4446,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -hast-util-raw 9.0.2 +hast-util-raw 9.0.3 MIT (The MIT License) @@ -4775,29 +4799,6 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -heap 0.2.7 -MIT -The MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - highlight.js 11.9.0 BSD-3-Clause BSD 3-Clause License @@ -5281,6 +5282,35 @@ This library is a fork of 'better-json-errors' by Kat Marchán, extended and distributed under the terms of the MIT license above. +json-parse-even-better-errors 3.0.2 +MIT +Copyright 2017 Kat Marchán +Copyright npm, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +--- + +This library is a fork of 'better-json-errors' by Kat Marchán, extended and +distributed under the terms of the MIT license above. + + jsonfile 6.1.0 MIT (The MIT License) @@ -5633,7 +5663,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -lru-cache 10.2.0 +lru-cache 10.2.2 ISC The ISC License @@ -6315,179 +6345,30 @@ abide by its terms. [micromark]: https://github.com/micromark/micromark -micromark-core-commonmark 2.0.0 +micromark-core-commonmark 2.0.1 MIT -# micromark-core-commonmark - -[![Build][build-badge]][build] -[![Coverage][coverage-badge]][coverage] -[![Downloads][downloads-badge]][downloads] -[![Size][bundle-size-badge]][bundle-size] -[![Sponsors][sponsors-badge]][opencollective] -[![Backers][backers-badge]][opencollective] -[![Chat][chat-badge]][chat] - -[micromark][] constructs that make up the core of CommonMark. -Some of these can be [turned off][disable], but they are often essential to -markdown and weird things might happen. - -## Contents - -* [What is this?](#what-is-this) -* [When should I use this?](#when-should-i-use-this) -* [Install](#install) -* [Use](#use) -* [API](#api) -* [Types](#types) -* [Compatibility](#compatibility) -* [Security](#security) -* [Contribute](#contribute) -* [License](#license) - -## What is this? - -This package exposes the default constructs. - -## When should I use this? - -This package is useful when you are making your own micromark extensions. - -## Install - -This package is [ESM only][esm]. -In Node.js (version 16+), install with [npm][]: - -```sh -npm install micromark-core-commonmark -``` - -In Deno with [`esm.sh`][esmsh]: - -```js -import * as core from 'https://esm.sh/micromark-core-commonmark@1' -``` - -In browsers with [`esm.sh`][esmsh]: - -```html - -``` - -## Use - -```js -import {autolink} from 'micromark-core-commonmark' - -console.log(autolink) // Do things with `autolink`. -``` - -## API - -This module exports the following identifiers: `attention`, `autolink`, -`blankLine`, `blockQuote`, `characterEscape`, `characterReference`, -`codeFenced`, `codeIndented`, `codeText`, `content`, `definition`, -`hardBreakEscape`, `headingAtx`, `htmlFlow`, `htmlText`, `labelEnd`, -`labelStartImage`, `labelStartLink`, `lineEnding`, `list`, `setextUnderline`, -`thematicBreak`. -There is no default export. - -Each identifier refers to a [construct][]. - -See the code for more on the exported constructs. - -## Types - -This package is fully typed with [TypeScript][]. -It exports no additional types. - -## Compatibility - -Projects maintained by the unified collective are compatible with maintained -versions of Node.js. - -When we cut a new major release, we drop support for unmaintained versions of -Node. -This means we try to keep the current release line, -`micromark-core-commonmark@^2`, compatible with Node.js 16. -This package works with `micromark@^3`. - -## Security - -This package is safe. -See [`security.md`][securitymd] in [`micromark/.github`][health] for how to -submit a security report. - -## Contribute - -See [`contributing.md`][contributing] in [`micromark/.github`][health] for ways -to get started. -See [`support.md`][support] for ways to get help. - -This project has a [code of conduct][coc]. -By interacting with this repository, organisation, or community you agree to -abide by its terms. - -## License - -[MIT][license] © [Titus Wormer][author] - - - -[build-badge]: https://github.com/micromark/micromark/workflows/main/badge.svg - -[build]: https://github.com/micromark/micromark/actions - -[coverage-badge]: https://img.shields.io/codecov/c/github/micromark/micromark.svg - -[coverage]: https://codecov.io/github/micromark/micromark - -[downloads-badge]: https://img.shields.io/npm/dm/micromark-core-commonmark.svg - -[downloads]: https://www.npmjs.com/package/micromark-core-commonmark - -[bundle-size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=micromark-core-commonmark - -[bundle-size]: https://bundlejs.com/?q=micromark-core-commonmark - -[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg - -[backers-badge]: https://opencollective.com/unified/backers/badge.svg - -[opencollective]: https://opencollective.com/unified - -[npm]: https://docs.npmjs.com/cli/install - -[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c - -[esmsh]: https://esm.sh - -[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg - -[chat]: https://github.com/micromark/micromark/discussions - -[license]: https://github.com/micromark/micromark/blob/main/license - -[author]: https://wooorm.com - -[health]: https://github.com/micromark/.github - -[securitymd]: https://github.com/micromark/.github/blob/main/security.md - -[contributing]: https://github.com/micromark/.github/blob/main/contributing.md - -[support]: https://github.com/micromark/.github/blob/main/support.md - -[coc]: https://github.com/micromark/.github/blob/main/code-of-conduct.md +(The MIT License) -[disable]: https://github.com/micromark/micromark#case-turn-off-constructs +Copyright (c) Titus Wormer -[construct]: https://github.com/micromark/micromark#constructs +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: -[typescript]: https://www.typescriptlang.org +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. -[micromark]: https://github.com/micromark/micromark +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. micromark-extension-gfm-autolink-literal 2.0.0 @@ -14061,189 +13942,30 @@ abide by its terms. [api-subtokenize]: #subtokenizeevents -micromark-util-subtokenize 2.0.0 +micromark-util-subtokenize 2.0.1 MIT -# micromark-util-subtokenize - -[![Build][build-badge]][build] -[![Coverage][coverage-badge]][coverage] -[![Downloads][downloads-badge]][downloads] -[![Size][bundle-size-badge]][bundle-size] -[![Sponsors][sponsors-badge]][opencollective] -[![Backers][backers-badge]][opencollective] -[![Chat][chat-badge]][chat] - -[micromark][] utility to tokenize subtokens. - -## Contents - -* [What is this?](#what-is-this) -* [When should I use this?](#when-should-i-use-this) -* [Install](#install) -* [Use](#use) -* [API](#api) - * [`subtokenize(events)`](#subtokenizeevents) -* [Types](#types) -* [Compatibility](#compatibility) -* [Security](#security) -* [Contribute](#contribute) -* [License](#license) - -## What is this? - -This package exposes a micromark internal that you probably don’t need. - -## When should I use this? - -This package might be useful when you are making your own micromark extensions. - -## Install - -This package is [ESM only][esm]. -In Node.js (version 16+), install with [npm][]: - -```sh -npm install micromark-util-subtokenize -``` - -In Deno with [`esm.sh`][esmsh]: - -```js -import {subtokenize} from 'https://esm.sh/micromark-util-subtokenize@1' -``` - -In browsers with [`esm.sh`][esmsh]: - -```html - -``` - -## Use - -```js -import {subtokenize} from 'micromark-util-subtokenize' - -/** - * Content is transparent: it’s parsed right now. That way, definitions are also - * parsed right now: before text in paragraphs (specifically, media) are parsed. - * - * @type {Resolver} - */ -function resolveContent(events) { - subtokenize(events) - return events -} -``` - -## API - -This module exports the identifiers [`subtokenize`][api-subtokenize]. -There is no default export. - -### `subtokenize(events)` - -Tokenize subcontent. - -###### Parameters - -* `events` (`Array`) - — list of events - -###### Returns - -Whether subtokens were found (`boolean`). - -## Types - -This package is fully typed with [TypeScript][]. -It exports no additional types. - -## Compatibility - -Projects maintained by the unified collective are compatible with maintained -versions of Node.js. - -When we cut a new major release, we drop support for unmaintained versions of -Node. -This means we try to keep the current release line, -`micromark-util-subtokenize@^2`, compatible with Node.js 16. -This package works with `micromark@^3`. - -## Security - -This package is safe. -See [`security.md`][securitymd] in [`micromark/.github`][health] for how to -submit a security report. - -## Contribute - -See [`contributing.md`][contributing] in [`micromark/.github`][health] for ways -to get started. -See [`support.md`][support] for ways to get help. - -This project has a [code of conduct][coc]. -By interacting with this repository, organisation, or community you agree to -abide by its terms. - -## License - -[MIT][license] © [Titus Wormer][author] - - - -[build-badge]: https://github.com/micromark/micromark/workflows/main/badge.svg - -[build]: https://github.com/micromark/micromark/actions - -[coverage-badge]: https://img.shields.io/codecov/c/github/micromark/micromark.svg - -[coverage]: https://codecov.io/github/micromark/micromark - -[downloads-badge]: https://img.shields.io/npm/dm/micromark-util-subtokenize.svg - -[downloads]: https://www.npmjs.com/package/micromark-util-subtokenize - -[bundle-size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=micromark-util-subtokenize - -[bundle-size]: https://bundlejs.com/?q=micromark-util-subtokenize - -[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg - -[backers-badge]: https://opencollective.com/unified/backers/badge.svg - -[opencollective]: https://opencollective.com/unified - -[npm]: https://docs.npmjs.com/cli/install - -[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c - -[esmsh]: https://esm.sh - -[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg - -[chat]: https://github.com/micromark/micromark/discussions - -[license]: https://github.com/micromark/micromark/blob/main/license - -[author]: https://wooorm.com - -[health]: https://github.com/micromark/.github - -[securitymd]: https://github.com/micromark/.github/blob/main/security.md - -[contributing]: https://github.com/micromark/.github/blob/main/contributing.md - -[support]: https://github.com/micromark/.github/blob/main/support.md +(The MIT License) -[coc]: https://github.com/micromark/.github/blob/main/code-of-conduct.md +Copyright (c) Titus Wormer -[typescript]: https://www.typescriptlang.org +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: -[micromark]: https://github.com/micromark/micromark +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. -[api-subtokenize]: #subtokenizeevents +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. micromark-util-symbol 1.1.0 @@ -15949,6 +15671,25 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +minipass 7.1.0 +ISC +The ISC License + +Copyright (c) 2017-2023 npm, Inc., Isaac Z. Schlueter, and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + mkdirp 1.0.4 MIT Copyright James Halliday (mail@substack.net) and Isaac Z. Schlueter (i@izs.me) @@ -16091,6 +15832,25 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +nopt 7.2.1 +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + normalize-package-data 5.0.0 BSD-2-Clause This package contains code originally written by Isaac Z. Schlueter. @@ -18481,6 +18241,25 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +semver 7.6.1 +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + shebang-command 2.0.0 MIT MIT License @@ -19084,7 +18863,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -stylis 4.3.1 +stylis 4.3.2 MIT MIT License diff --git a/rendering/package-lock.json b/rendering/package-lock.json index 0411b71dd..085ba7160 100644 --- a/rendering/package-lock.json +++ b/rendering/package-lock.json @@ -27,13 +27,13 @@ "name": "reportcreator-markdown", "version": "0.1.0", "dependencies": { - "@codemirror/commands": "~6.3", + "@codemirror/commands": "~6.5", "@codemirror/lang-css": "~6.2", "@codemirror/lang-html": "~6.4", "@codemirror/lang-markdown": "~6.2", "@codemirror/lang-vue": "~0.1.3", "@codemirror/language": "~6.10", - "@codemirror/lint": "~6.5", + "@codemirror/lint": "~6.7", "@codemirror/merge": "~6.6", "@codemirror/state": "~6.4", "@codemirror/view": "~6.26",