@code-hike/mdx
Advanced tools
Comparing version 0.3.0--canary.103.faafeb2.0 to 0.3.0--canary.105.d3f27ad.0
@@ -550,2 +550,3 @@ 'use strict'; | ||
} | ||
var commentRegex = /\/\/\s+(\w+)(\S*)\s*(.*)/; | ||
function getCommentData(line) { | ||
@@ -559,4 +560,7 @@ var _a; | ||
} | ||
var commentRegex = /\/\/\s+(\w+)(\S*)\s*(.*)/; | ||
var _b = __read(commentRegex.exec(comment), 4), key = _b[1], focusString = _b[2], data = _b[3]; | ||
var result = commentRegex.exec(comment); | ||
if (!result) { | ||
return {}; | ||
} | ||
var _b = __read(result, 4), key = _b[1], focusString = _b[2], data = _b[3]; | ||
return { | ||
@@ -563,0 +567,0 @@ key: key, |
@@ -536,2 +536,3 @@ import { highlight } from '@code-hike/highlighter'; | ||
} | ||
var commentRegex = /\/\/\s+(\w+)(\S*)\s*(.*)/; | ||
function getCommentData(line) { | ||
@@ -545,4 +546,7 @@ var _a; | ||
} | ||
var commentRegex = /\/\/\s+(\w+)(\S*)\s*(.*)/; | ||
var _b = __read(commentRegex.exec(comment), 4), key = _b[1], focusString = _b[2], data = _b[3]; | ||
var result = commentRegex.exec(comment); | ||
if (!result) { | ||
return {}; | ||
} | ||
var _b = __read(result, 4), key = _b[1], focusString = _b[2], data = _b[3]; | ||
return { | ||
@@ -549,0 +553,0 @@ key: key, |
{ | ||
"name": "@code-hike/mdx", | ||
"version": "0.3.0--canary.103.faafeb2.0", | ||
"version": "0.3.0--canary.105.d3f27ad.0", | ||
"main": "dist/index.cjs.js", | ||
@@ -20,3 +20,3 @@ "typings": "dist/index.d.ts", | ||
"devDependencies": { | ||
"@code-hike/script": "0.3.0--canary.103.faafeb2.0", | ||
"@code-hike/script": "0.3.0--canary.105.d3f27ad.0", | ||
"@types/react": "^17.0.2", | ||
@@ -26,8 +26,8 @@ "react": "^17.0.2" | ||
"dependencies": { | ||
"@code-hike/highlighter": "0.3.0--canary.103.faafeb2.0", | ||
"@code-hike/mini-browser": "0.3.0--canary.103.faafeb2.0", | ||
"@code-hike/mini-editor": "0.3.0--canary.103.faafeb2.0", | ||
"@code-hike/scroller": "0.3.0--canary.103.faafeb2.0", | ||
"@code-hike/smooth-code": "0.3.0--canary.103.faafeb2.0", | ||
"@code-hike/utils": "0.3.0--canary.103.faafeb2.0", | ||
"@code-hike/highlighter": "0.3.0--canary.105.d3f27ad.0", | ||
"@code-hike/mini-browser": "0.3.0--canary.105.d3f27ad.0", | ||
"@code-hike/mini-editor": "0.3.0--canary.105.d3f27ad.0", | ||
"@code-hike/scroller": "0.3.0--canary.105.d3f27ad.0", | ||
"@code-hike/smooth-code": "0.3.0--canary.105.d3f27ad.0", | ||
"@code-hike/utils": "0.3.0--canary.105.d3f27ad.0", | ||
"@codesandbox/sandpack-client": "^0.1.20", | ||
@@ -58,3 +58,3 @@ "estree-util-value-to-estree": "^1.3.0", | ||
}, | ||
"gitHead": "faafeb2c8feb34106587779a61ce09010ef7238f" | ||
"gitHead": "d3f27aded88764d43892bb074815fd8fc089bf4c" | ||
} |
154986
3322
+ Added@code-hike/classer@0.3.0--canary.105.d3f27ad.0(transitive)
+ Added@code-hike/highlighter@0.3.0--canary.105.d3f27ad.0(transitive)
+ Added@code-hike/mini-browser@0.3.0--canary.105.d3f27ad.0(transitive)
+ Added@code-hike/mini-editor@0.3.0--canary.105.d3f27ad.0(transitive)
+ Added@code-hike/mini-frame@0.3.0--canary.105.d3f27ad.0(transitive)
+ Added@code-hike/mini-terminal@0.3.0--canary.105.d3f27ad.0(transitive)
+ Added@code-hike/scroller@0.3.0--canary.105.d3f27ad.0(transitive)
+ Added@code-hike/smooth-code@0.3.0--canary.105.d3f27ad.0(transitive)
+ Added@code-hike/utils@0.3.0--canary.105.d3f27ad.0(transitive)
- Removed@code-hike/classer@0.3.0--canary.103.faafeb2.0(transitive)
- Removed@code-hike/highlighter@0.3.0--canary.103.faafeb2.0(transitive)
- Removed@code-hike/mini-browser@0.3.0--canary.103.faafeb2.0(transitive)
- Removed@code-hike/mini-editor@0.3.0--canary.103.faafeb2.0(transitive)
- Removed@code-hike/mini-frame@0.3.0--canary.103.faafeb2.0(transitive)
- Removed@code-hike/mini-terminal@0.3.0--canary.103.faafeb2.0(transitive)
- Removed@code-hike/scroller@0.3.0--canary.103.faafeb2.0(transitive)
- Removed@code-hike/smooth-code@0.3.0--canary.103.faafeb2.0(transitive)
- Removed@code-hike/utils@0.3.0--canary.103.faafeb2.0(transitive)