ryugi-artifacts 1.31.0 → 1.31.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/dist/cli.cjs CHANGED
@@ -987,7 +987,7 @@ async function main(argv) {
987
987
  }, emit);
988
988
  }
989
989
  if (command === "--version" || command === "-v") {
990
- console.log("1.31.0");
990
+ console.log("1.31.1");
991
991
  return 0;
992
992
  }
993
993
  if (command === "--help" || command === "-h") {
package/dist/server.cjs CHANGED
@@ -5424,7 +5424,7 @@ function customAlphabet(alphabet, defaultSize = 21) {
5424
5424
  }
5425
5425
  var nanoid = customAlphabet(urlAlphabet);
5426
5426
 
5427
- // node_modules/.pnpm/@haklex+rich-litexml@0.54.2_typescript@5.9.3/node_modules/@haklex/rich-litexml/dist/src-BcPLrM3G.js
5427
+ // node_modules/.pnpm/@haklex+rich-litexml@0.54.3_typescript@5.9.3/node_modules/@haklex/rich-litexml/dist/src-CwO17cE7.js
5428
5428
  var impl = null;
5429
5429
  function registerParseHTML(fn5) {
5430
5430
  impl = fn5;
@@ -6701,6 +6701,7 @@ var INLINE_TAGS = /* @__PURE__ */ new Set([
6701
6701
  "strong",
6702
6702
  "em",
6703
6703
  "del",
6704
+ "strike",
6704
6705
  "a",
6705
6706
  "mention",
6706
6707
  "tag",
@@ -17571,7 +17572,7 @@ function Document4() {
17571
17572
  }
17572
17573
  setPrototypeOf(Document4, Document2).prototype = Document2.prototype;
17573
17574
 
17574
- // node_modules/.pnpm/@haklex+rich-litexml@0.54.2_typescript@5.9.3/node_modules/@haklex/rich-litexml/dist/node.mjs
17575
+ // node_modules/.pnpm/@haklex+rich-litexml@0.54.3_typescript@5.9.3/node_modules/@haklex/rich-litexml/dist/node.mjs
17575
17576
  registerParseHTML((html) => parseHTML2(html).document);
17576
17577
 
17577
17578
  // node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/index.js
@@ -53030,7 +53031,7 @@ decorateMethods(EphemeralStoreWasm.prototype, [
53030
53031
  ]);
53031
53032
  decorateMethods(UndoManager.prototype, ["undo", "redo"]);
53032
53033
 
53033
- // node_modules/.pnpm/@haklex+rich-collab-loro@0.54.2_lexical@0.52.0_typescript@5.9.3__loro-crdt@1.16.4/node_modules/@haklex/rich-collab-loro/dist/index.mjs
53034
+ // node_modules/.pnpm/@haklex+rich-collab-loro@0.54.3_lexical@0.52.0_typescript@5.9.3__loro-crdt@1.16.4/node_modules/@haklex/rich-collab-loro/dist/index.mjs
53034
53035
  function transformOffset(previous, next, offset) {
53035
53036
  const limit = Math.min(previous.length, next.length);
53036
53037
  let prefix = 0;
@@ -84445,7 +84446,7 @@ var UNORDERED_LIST2 = mod28.UNORDERED_LIST;
84445
84446
  var isTableRowDivider2 = mod28.isTableRowDivider;
84446
84447
  var registerMarkdownShortcuts2 = mod28.registerMarkdownShortcuts;
84447
84448
 
84448
- // node_modules/.pnpm/@haklex+rich-headless@0.54.2_lexical@0.52.0_typescript@5.9.3__typescript@5.9.3/node_modules/@haklex/rich-headless/dist/transformers.mjs
84449
+ // node_modules/.pnpm/@haklex+rich-headless@0.54.3_lexical@0.52.0_typescript@5.9.3__typescript@5.9.3/node_modules/@haklex/rich-headless/dist/transformers.mjs
84449
84450
  var NEVER = /a^/;
84450
84451
  var NOOP = () => {
84451
84452
  };
@@ -87117,7 +87118,7 @@ var signal2 = mod43.signal;
87117
87118
  var untracked2 = mod43.untracked;
87118
87119
  var watchedSignal3 = mod43.watchedSignal;
87119
87120
 
87120
- // node_modules/.pnpm/@haklex+rich-headless@0.54.2_lexical@0.52.0_typescript@5.9.3__typescript@5.9.3/node_modules/@haklex/rich-headless/dist/index.mjs
87121
+ // node_modules/.pnpm/@haklex+rich-headless@0.54.3_lexical@0.52.0_typescript@5.9.3__typescript@5.9.3/node_modules/@haklex/rich-headless/dist/index.mjs
87121
87122
  var builtinNodes = [
87122
87123
  HeadingNode2,
87123
87124
  QuoteNode2,
@@ -91642,7 +91643,7 @@ function openReady(payload) {
91642
91643
  }
91643
91644
 
91644
91645
  // package.json
91645
- var version = "1.31.0";
91646
+ var version = "1.31.1";
91646
91647
 
91647
91648
  // src/server/main.ts
91648
91649
  async function main() {
@@ -1 +1 @@
1
- import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{n as t,t as n}from"./jsx-runtime-CldxteV5.js";import{a as r}from"./useSandboxFrame-DJc_WnFq.js";import{t as i}from"./index.js";import a from"./CloudDocument-F3ikpU1A.js";import{DocumentView as o,t as s}from"./DocumentPage-DJWzglCT.js";var c=e(t(),1),l=`1.31.0`,u=e=>/^(\d+)\.(\d+)\./.exec(e??``)?.slice(1,3).join(`.`)??null;function d(e,t){let n=u(e);return n!==null&&n===u(t)}var f=(e,t)=>`电脑上的 ryugi 是 ${t??`未知版本`},网页是 ${e},版本对上之前只能评论`,p=n();function m({id:e,state:t,contentBase:n,liveContentBase:u,comments:m}){let{transport:h,presence:g}=s(e,u??n??``),_=g?.online??!1;r(e,{online:g?.online??null});let[v,y]=(0,c.useState)(!1);if((0,c.useEffect)(()=>{_&&y(!0)},[_]),!h||!(v||_))return!t||!n?(0,p.jsx)(i,{children:g===null?`正在连接…`:`还没发布。电脑在线时,这里会实时显示。`}):(0,p.jsx)(a,{id:e,state:t,contentBase:n,comments:m,offline:g!==null&&!_});let b=_&&d(l,g?.version??null),x=_&&!b?f(l,g?.version??null):null;return(0,p.jsx)(o,{id:e,transport:h,live:_,cloud:{online:_,canEdit:b,reason:x}})}export{m as default};
1
+ import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{n as t,t as n}from"./jsx-runtime-CldxteV5.js";import{a as r}from"./useSandboxFrame-DJc_WnFq.js";import{t as i}from"./index.js";import a from"./CloudDocument-F3ikpU1A.js";import{DocumentView as o,t as s}from"./DocumentPage-DJWzglCT.js";var c=e(t(),1),l=`1.31.1`,u=e=>/^(\d+)\.(\d+)\./.exec(e??``)?.slice(1,3).join(`.`)??null;function d(e,t){let n=u(e);return n!==null&&n===u(t)}var f=(e,t)=>`电脑上的 ryugi 是 ${t??`未知版本`},网页是 ${e},版本对上之前只能评论`,p=n();function m({id:e,state:t,contentBase:n,liveContentBase:u,comments:m}){let{transport:h,presence:g}=s(e,u??n??``),_=g?.online??!1;r(e,{online:g?.online??null});let[v,y]=(0,c.useState)(!1);if((0,c.useEffect)(()=>{_&&y(!0)},[_]),!h||!(v||_))return!t||!n?(0,p.jsx)(i,{children:g===null?`正在连接…`:`还没发布。电脑在线时,这里会实时显示。`}):(0,p.jsx)(a,{id:e,state:t,contentBase:n,comments:m,offline:g!==null&&!_});let b=_&&d(l,g?.version??null),x=_&&!b?f(l,g?.version??null):null;return(0,p.jsx)(o,{id:e,transport:h,live:_,cloud:{online:_,canEdit:b,reason:x}})}export{m as default};