Skip to content

Commit

Permalink
Update @types/prismjs and add import statement to MarkdownToHtmlCompo…
Browse files Browse the repository at this point in the history
…nent (#11)
  • Loading branch information
jfcere authored Mar 26, 2017
1 parent 1c0994f commit 88f7793
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"vsicons.presets.angular": false
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"private": false,
"dependencies": {
"@types/marked": "0.0.28",
"@types/prismjs": "^1.4.18",
"@types/prismjs": "^1.6.0",
"marked": "^0.3.6",
"prismjs": "^1.6.0"
},
Expand Down
1 change: 1 addition & 0 deletions src/app/markdown-to-html/markdown-to-html.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AfterViewInit, Component, ElementRef, Input, OnChanges, SimpleChanges }
import { MarkdownToHtmlService } from './markdown-to-html.service';

import * as marked from 'marked';
import * as Prism from 'prismjs';

import 'prismjs/prism';
import 'prismjs/components/prism-c';
Expand Down
15 changes: 4 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@
version "6.0.65"
resolved "https://registry.yarnpkg.com/@types/node/-/node-6.0.65.tgz#c00faa7ffcfc9842b5dd7bf650872562504d5670"

"@types/prismjs@^1.4.18":
version "1.4.18"
resolved "https://registry.yarnpkg.com/@types/prismjs/-/prismjs-1.4.18.tgz#3941877a78a27ce37011d6f28e404e388c97fe6c"
"@types/prismjs@^1.6.0":
version "1.6.0"
resolved "https://registry.yarnpkg.com/@types/prismjs/-/prismjs-1.6.0.tgz#99439af87fca94310869fea517646b363810edcf"

"@types/q@^0.0.32":
version "0.0.32"
Expand Down Expand Up @@ -5187,20 +5187,13 @@ write-file-atomic@^1.1.2:
imurmurhash "^0.1.4"
slide "^1.1.5"

[email protected]:
[email protected], ws@^1.0.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/ws/-/ws-1.1.1.tgz#082ddb6c641e85d4bb451f03d52f06eabdb1f018"
dependencies:
options ">=0.0.5"
ultron "1.0.x"

ws@^1.0.1:
version "1.1.4"
resolved "https://registry.yarnpkg.com/ws/-/ws-1.1.4.tgz#57f40d036832e5f5055662a397c4de76ed66bf61"
dependencies:
options ">=0.0.5"
ultron "1.0.x"

[email protected]:
version "1.0.0"
resolved "https://registry.yarnpkg.com/wtf-8/-/wtf-8-1.0.0.tgz#392d8ba2d0f1c34d1ee2d630f15d0efb68e1048a"
Expand Down

0 comments on commit 88f7793

Please sign in to comment.