Skip to content

Commit

Permalink
Remove unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbranch committed Aug 11, 2019
1 parent 59bc2b8 commit 98f9766
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 107 deletions.
104 changes: 6 additions & 98 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"jest": "^24.5.0",
"mdast-util-to-hast": "^6.0.1",
"prettier": "^1.17.0",
"rehype-raw": "^4.0.1",
"rehype-stringify": "^6.0.0",
"remark-parse": "^7.0.1",
"remark-rehype": "^5.0.0",
Expand All @@ -59,7 +58,6 @@
"loglevel": "^1.6.3",
"oniguruma": "^7.2.0",
"plist": "^3.0.1",
"rehype-format": "^2.3.2",
"unist-util-visit": "^1.4.0",
"vscode-textmate": "^4.1.0"
},
Expand Down
8 changes: 1 addition & 7 deletions test/gatsby-remark-vscode.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ const glob = require('glob');
const path = require('path');
const request = require('request');
const unified = require('unified');
const raw = require('rehype-raw');
const reparseHast = require('hast-util-raw');
const mdastToHast = require('mdast-util-to-hast');
const remark = require('remark-parse');
const rehype = require('remark-rehype');
const format = require('rehype-format');
const stringify = require('rehype-stringify');
const decompress = require('decompress');
const createPlugin = require('../src');
Expand Down Expand Up @@ -297,10 +294,7 @@ describe('integration tests', () => {
const defaultOptions = require('./integration/options');
const processor = unified()
.use(remark, { commonmark: true })
// @ts-ignore
.use(rehype, { allowDangerousHTML: true })
.use(raw)
.use(format)
// @ts-ignore
.use(stringify, { sanitize: false });

const cases = glob.sync('integration/cases/**/*.md', { cwd: __dirname }).map(name => {
Expand Down

0 comments on commit 98f9766

Please sign in to comment.