@shikijs/transformers 2.4.0 → 2.4.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.
Files changed (2) hide show
  1. package/dist/index.mjs +6 -6
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -429,6 +429,12 @@ function transformerRemoveNotationEscape() {
429
429
  };
430
430
  }
431
431
 
432
+ function isTab(part) {
433
+ return part === " ";
434
+ }
435
+ function isSpace(part) {
436
+ return part === " " || part === " ";
437
+ }
432
438
  function separateContinuousSpaces(inputs) {
433
439
  const result = [];
434
440
  let current = "";
@@ -451,12 +457,6 @@ function separateContinuousSpaces(inputs) {
451
457
  bump();
452
458
  return result;
453
459
  }
454
- function isTab(part) {
455
- return part === " ";
456
- }
457
- function isSpace(part) {
458
- return part === " " || part === " ";
459
- }
460
460
  function splitSpaces(parts, type, renderContinuousSpaces = true) {
461
461
  if (type === "all")
462
462
  return parts;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/transformers",
3
3
  "type": "module",
4
- "version": "2.4.0",
4
+ "version": "2.4.2",
5
5
  "description": "Collective of common transformers transformers for Shiki",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -30,8 +30,8 @@
30
30
  "dist"
31
31
  ],
32
32
  "dependencies": {
33
- "@shikijs/core": "2.4.0",
34
- "@shikijs/types": "2.4.0"
33
+ "@shikijs/core": "2.4.2",
34
+ "@shikijs/types": "2.4.2"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "unbuild",