@opensumi/ide-core-browser 2.27.1 → 2.27.2-next-1701084305.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/markdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAkD,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpH,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,eAAO,MAAM,UAAU,YAAa,MAAM,GAAG,MAAM,SAAS,WAAW,cAAc,YAAY,cAAc,KAAG,MAAM,SAKrH,CAAC;AAEJ,eAAO,MAAM,cAAc,YAAa,MAAM,YAAY,cAAc,KAAG,MAe1E,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/markdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAkD,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpH,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,eAAO,MAAM,UAAU,YACZ,MAAM,GAAG,MAAM,SAAS,WACxB,cAAc,YACb,cAAc,KACvB,MAAM,SAKN,CAAC;AAEJ,eAAO,MAAM,cAAc,YAAa,MAAM,YAAY,cAAc,KAAG,MAe1E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/markdown/index.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAE1B,yEAA+F;AAC/F,8DAAoH;AAI7G,MAAM,UAAU,GAAG,CAAC,OAAiC,EAAE,MAAuB,EAAE,OAAwB,EAAmB,EAAE,CAClI,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,CAC5B,8BAAC,sBAAa,IAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE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EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,CACpC,qBAAqB,yBAAgB,KAAK,IAAI,sCAAsC,KAAK,KAAK,IAAI,MAAM,CAAC;IAE3G,OAAO,IAAA,sBAAM,EAAC,OAAO,kBACnB,GAAG,EAAE,IAAI,EACT,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,KAAK,EACf,UAAU,EAAE,IAAI,EAChB,WAAW,EAAE,KAAK,EAClB,QAAQ,IACL,CAAC,OAAO,IAAI,EAAE,CAAC,EAClB,CAAC;AACL,CAAC,CAAC;AAfW,QAAA,cAAc,kBAezB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-core-browser",
3
- "version": "2.27.1",
3
+ "version": "2.27.2-next-1701084305.0",
4
4
  "description": "@opensumi/ide-core-browser",
5
5
  "files": [
6
6
  "lib",
@@ -18,9 +18,9 @@
18
18
  "build": "tsc --build ../../configs/ts/references/tsconfig.core-browser.json"
19
19
  },
20
20
  "dependencies": {
21
- "@opensumi/ide-components": "2.27.1",
22
- "@opensumi/ide-connection": "2.27.1",
23
- "@opensumi/ide-core-common": "2.27.1",
21
+ "@opensumi/ide-components": "2.27.2-next-1701084305.0",
22
+ "@opensumi/ide-connection": "2.27.2-next-1701084305.0",
23
+ "@opensumi/ide-core-common": "2.27.2-next-1701084305.0",
24
24
  "@opensumi/vscode-debugprotocol": "1.49.0-beta.1",
25
25
  "@vscode/codicons": "0.0.27",
26
26
  "ajv": "^6.10.0",
@@ -50,5 +50,5 @@
50
50
  "peerDependencies": {
51
51
  "react": ">=16.8.6"
52
52
  },
53
- "gitHead": "0f82e782cc44517c7fd81ea615de9f772eb61475"
53
+ "gitHead": "dca5a22848285ed115c5b12d591452802654f15d"
54
54
  }
@@ -5,7 +5,11 @@ import { createMarkedRenderer, toMarkdownHtml as toHtml, IMarkedOptions } from '
5
5
 
6
6
  import { IOpenerService } from '../opener';
7
7
 
8
- export const toMarkdown = (message: string | React.ReactNode, opener?: IOpenerService, options?: IMarkedOptions): React.ReactNode =>
8
+ export const toMarkdown = (
9
+ message: string | React.ReactNode,
10
+ opener?: IOpenerService,
11
+ options?: IMarkedOptions,
12
+ ): React.ReactNode =>
9
13
  typeof message === 'string' ? (
10
14
  <RenderWrapper opener={opener} html={toMarkdownHtml(message, options)}></RenderWrapper>
11
15
  ) : (