@yaebal/split 0.0.1 → 0.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaebal/split",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "yaebal split — break long messages into Telegram-sized chunks.",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -16,7 +16,7 @@
16
16
  "src"
17
17
  ],
18
18
  "dependencies": {
19
- "@yaebal/core": "0.0.1"
19
+ "@yaebal/core": "0.0.5"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "latest"
package/src/index.test.ts CHANGED
@@ -27,6 +27,6 @@ test("a single line longer than max is hard-split", () => {
27
27
 
28
28
  test("does not split when exactly at the limit", () => {
29
29
  const text = "a".repeat(100);
30
-
30
+
31
31
  assert.deepEqual(split(text, 100), [text]);
32
32
  });
package/src/index.ts CHANGED
@@ -68,7 +68,7 @@ export function splitter(max = MAX_MESSAGE_LENGTH): Plugin<Context, SplitControl
68
68
  return out;
69
69
  },
70
70
  };
71
-
71
+
72
72
  return control;
73
73
  });
74
74
  }