@pluv/crdt-loro 2.2.3 → 2.2.5

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @pluv/crdt-loro@2.2.3 build /home/runner/work/pluv/pluv/packages/crdt-loro
2
+ > @pluv/crdt-loro@2.2.5 build /home/runner/work/pluv/pluv/packages/crdt-loro
3
3
  > tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  ESM dist/index.mjs 14.35 KB
12
- ESM ⚡️ Build success in 81ms
13
- CJS dist/index.js 15.55 KB
14
- CJS ⚡️ Build success in 82ms
12
+ ESM ⚡️ Build success in 71ms
13
+ CJS dist/index.js 15.54 KB
14
+ CJS ⚡️ Build success in 71ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 3927ms
16
+ DTS ⚡️ Build success in 4010ms
17
17
  DTS dist/index.d.mts 4.60 KB
18
18
  DTS dist/index.d.ts 4.60 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @pluv/crdt-loro
2
2
 
3
+ ## 2.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - @pluv/crdt@2.2.5
8
+ - @pluv/types@2.2.5
9
+
10
+ ## 2.2.4
11
+
12
+ ### Patch Changes
13
+
14
+ - @pluv/crdt@2.2.4
15
+ - @pluv/types@2.2.4
16
+
3
17
  ## 2.2.3
4
18
 
5
19
  ### Patch Changes
package/dist/index.js CHANGED
@@ -69,7 +69,7 @@ var import_loro_crdt3 = require("loro-crdt");
69
69
 
70
70
  // src/utils/oneLine.ts
71
71
  var oneLine = (strings, ...values) => {
72
- return strings.map((str) => str.replace(/\s+/g, " ").trim()).reduce((acc, str, i) => acc + str + (i < values.length ? values[i] : ""), "").replace(/\s+/g, " ").trim();
72
+ return strings.map((str) => str.replace(/\s+/g, " ")).reduce((acc, str, i) => acc + str + (i < values.length ? values[i] : ""), "").replace(/\s+/g, " ").trim();
73
73
  };
74
74
 
75
75
  // src/doc/builder.ts
package/dist/index.mjs CHANGED
@@ -60,7 +60,7 @@ import {
60
60
 
61
61
  // src/utils/oneLine.ts
62
62
  var oneLine = (strings, ...values) => {
63
- return strings.map((str) => str.replace(/\s+/g, " ").trim()).reduce((acc, str, i) => acc + str + (i < values.length ? values[i] : ""), "").replace(/\s+/g, " ").trim();
63
+ return strings.map((str) => str.replace(/\s+/g, " ")).reduce((acc, str, i) => acc + str + (i < values.length ? values[i] : ""), "").replace(/\s+/g, " ").trim();
64
64
  };
65
65
 
66
66
  // src/doc/builder.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/crdt-loro",
3
- "version": "2.2.3",
3
+ "version": "2.2.5",
4
4
  "description": "loro for @pluv/io",
5
5
  "author": "leedavidcs",
6
6
  "license": "MIT",
@@ -19,8 +19,8 @@
19
19
  "dependencies": {
20
20
  "@types/node": "^22.15.21",
21
21
  "js-base64": "^3.7.7",
22
- "@pluv/crdt": "^2.2.3",
23
- "@pluv/types": "^2.2.3"
22
+ "@pluv/crdt": "^2.2.5",
23
+ "@pluv/types": "^2.2.5"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "loro-crdt": "^1.0.0"
@@ -30,8 +30,8 @@
30
30
  "loro-crdt": "^1.5.6",
31
31
  "tsup": "^8.5.0",
32
32
  "typescript": "^5.8.3",
33
- "@pluv/tsconfig": "^2.2.3",
34
- "eslint-config-pluv": "^2.2.3"
33
+ "@pluv/tsconfig": "^2.2.5",
34
+ "eslint-config-pluv": "^2.2.5"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "tsup src/index.ts --format esm,cjs --dts",
@@ -1,6 +1,6 @@
1
1
  export const oneLine = (strings: TemplateStringsArray, ...values: unknown[]): string => {
2
2
  return strings
3
- .map((str) => str.replace(/\s+/g, " ").trim())
3
+ .map((str) => str.replace(/\s+/g, " "))
4
4
  .reduce((acc, str, i) => acc + str + (i < values.length ? values[i] : ""), "")
5
5
  .replace(/\s+/g, " ")
6
6
  .trim();