@superdoc/sdk 2.9.0-next.5 → 2.9.0

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.
@@ -428,7 +428,7 @@ function stripExcludedActionSentences(line, excludedActions) {
428
428
  }
429
429
  let result = kept.join('').trimEnd();
430
430
  // Losing the first sentence must not lose the bullet marker with it.
431
- if (result && /^- /.test(line) && !/^- /.test(result))
431
+ if (result && line.startsWith('- ') && !result.startsWith('- '))
432
432
  result = `- ${result}`;
433
433
  // Nothing left beyond the marker means the whole line was about excluded
434
434
  // actions — drop it entirely rather than leaving an empty bullet.
@@ -424,7 +424,7 @@ function stripExcludedActionSentences(line, excludedActions) {
424
424
  }
425
425
  let result = kept.join('').trimEnd();
426
426
  // Losing the first sentence must not lose the bullet marker with it.
427
- if (result && /^- /.test(line) && !/^- /.test(result))
427
+ if (result && line.startsWith('- ') && !result.startsWith('- '))
428
428
  result = `- ${result}`;
429
429
  // Nothing left beyond the marker means the whole line was about excluded
430
430
  // actions — drop it entirely rather than leaving an empty bullet.
@@ -3,6 +3,6 @@
3
3
  // AUTO-GENERATED by scripts/embed-version.mjs — DO NOT EDIT.
4
4
  // Source of truth: package.json. Regenerated on every SDK build so the
5
5
  // SDK retains its own version identity when bundled into another package.
6
- const SDK_VERSION = '2.9.0-next.5';
6
+ const SDK_VERSION = '2.9.0';
7
7
 
8
8
  exports.SDK_VERSION = SDK_VERSION;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.9.0-next.5";
1
+ export declare const SDK_VERSION = "2.9.0";
@@ -1,4 +1,4 @@
1
1
  // AUTO-GENERATED by scripts/embed-version.mjs — DO NOT EDIT.
2
2
  // Source of truth: package.json. Regenerated on every SDK build so the
3
3
  // SDK retains its own version identity when bundled into another package.
4
- export const SDK_VERSION = '2.9.0-next.5';
4
+ export const SDK_VERSION = '2.9.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc/sdk",
3
- "version": "2.9.0-next.5",
3
+ "version": "2.9.0",
4
4
  "description": "Node SDK for SuperDoc, wrapping the SuperDoc CLI to read and edit .docx files from JavaScript and TypeScript.",
5
5
  "private": false,
6
6
  "license": "AGPL-3.0",
@@ -37,11 +37,11 @@
37
37
  "typescript": "^5.9.2"
38
38
  },
39
39
  "optionalDependencies": {
40
- "@superdoc/sdk-darwin-arm64": "2.9.0-next.5",
41
- "@superdoc/sdk-darwin-x64": "2.9.0-next.5",
42
- "@superdoc/sdk-linux-x64": "2.9.0-next.5",
43
- "@superdoc/sdk-linux-arm64": "2.9.0-next.5",
44
- "@superdoc/sdk-windows-x64": "2.9.0-next.5"
40
+ "@superdoc/sdk-darwin-arm64": "2.9.0",
41
+ "@superdoc/sdk-darwin-x64": "2.9.0",
42
+ "@superdoc/sdk-linux-x64": "2.9.0",
43
+ "@superdoc/sdk-linux-arm64": "2.9.0",
44
+ "@superdoc/sdk-windows-x64": "2.9.0"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"