comment-block-transformer 0.2.1 → 0.2.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.2.2](https://github.com/DavidWells/markdown-magic/compare/comment-block-transformer@0.2.1...comment-block-transformer@0.2.2) (2025-11-12)
7
+
8
+ **Note:** Version bump only for package comment-block-transformer
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.2.1](https://github.com/DavidWells/markdown-magic/compare/comment-block-transformer@0.2.0...comment-block-transformer@0.2.1) (2025-11-03)
7
15
 
8
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comment-block-transformer",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Transform markdown blocks based on configured transforms",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "release:major": "pnpm run build && pnpm version major && pnpm publish"
16
16
  },
17
17
  "dependencies": {
18
- "comment-block-parser": "1.1.0"
18
+ "comment-block-parser": "1.1.1"
19
19
  },
20
20
  "devDependencies": {
21
21
  "typescript": "^5.0.0",
@@ -24,5 +24,5 @@
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
- "gitHead": "ddedd0639200db28f1b1d0e3b805603ffaa234ee"
27
+ "gitHead": "c67e6884103de807711ff608e100e1e0a211c2d8"
28
28
  }
package/src/index.js CHANGED
@@ -197,7 +197,6 @@ async function blockTransformer(inputText, config) {
197
197
  tempContent = returnedContent
198
198
  }
199
199
  }
200
-
201
200
  /* Apply trailing middleware */
202
201
  const afterContent = await applyMiddleware({
203
202
  ...match,
@@ -263,7 +262,7 @@ async function blockTransformer(inputText, config) {
263
262
  if (!context.isMultiline && fix.indexOf('\n') > -1) {
264
263
  fixWrapper = '\n'
265
264
  }
266
-
265
+
267
266
  // console.log('updatedText', block.value)
268
267
 
269
268
  const indent = addLeadingNewline + indentString(fix, preserveIndent) + addTrailingNewline
package/tsconfig.json CHANGED
@@ -6,5 +6,5 @@
6
6
  "declarationDir": "./types"
7
7
  },
8
8
  "include": ["src/**/*"],
9
- "exclude": ["node_modules", "dist", "test"]
9
+ "exclude": ["node_modules", "dist", "test", "**/*.test.js", "**/*.bench.js"]
10
10
  }