@meistrari/chat-nuxt 4.5.1-rc.3 → 4.5.1-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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
3
  "configKey": "chatNuxt",
4
- "version": "4.5.1-rc.3",
4
+ "version": "4.5.1-rc.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -54,7 +54,7 @@ function parsePositiveInt(value) {
54
54
  export function citationCacheKey(ref) {
55
55
  return `${ref.namespace}/${ref.id}`;
56
56
  }
57
- const BARE_CITE_REWRITE_REGEX = /\[[ \t]*(cite:\/\/[^\s"'<>`\[\]()*~]+)[ \t]*\](?!\()|(?<!\]\()(?<!<)(?<!\]:[ \t]*)(cite:\/\/[^\s"'<>`\[\]()*~]+)(?!\]\()/gi;
57
+ const BARE_CITE_REWRITE_REGEX = /\[[ \t]*(cite:\/\/[^\s"'<>`\[\]()*~]+)[ \t]*\](?!\()|(?<!\]\()(?<!<)(?<!\]:[ \t]*)(cite:\/\/[^\s"'<>`\[\]()*~]+)(?![^\s"'<>`\[\]()*~])(?!\]\()/gi;
58
58
  const MARKDOWN_CODE_REGEX = /(```|~~~)[\s\S]*?(?:\1|$)|``+[^`]*``+|`[^`]*`/g;
59
59
  export function linkifyBareCitations(text) {
60
60
  if (!text.toLowerCase().includes(CITE_SCHEME))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
- "version": "4.5.1-rc.3",
3
+ "version": "4.5.1-rc.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {