Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Nov 9, 2019
1 parent 8b2a3ff commit 22d9d0a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,26 @@
"devDependencies": {
"bail": "^1.0.0",
"browserify": "^16.0.0",
"bundle-collapser": "^1.3.0",
"camelcase": "^5.0.0",
"clone": "^2.0.0",
"dtslint": "^0.9.0",
"execa": "^2.0.3",
"dtslint": "^2.0.0",
"execa": "^3.0.0",
"lerna": "^3.0.0",
"mdast-util-assert": "^2.0.0",
"mdast-util-compact": "^1.0.0",
"mdast-zone": "^3.0.1",
"mdast-zone": "^3.0.0",
"nyc": "^14.0.0",
"prettier": "^1.14.3",
"prettier": "^1.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.11.0",
"tinyify": "^2.4.3",
"typescript": "^3.2.4",
"unified": "^8.3.2",
"unist-builder": "^1.0.4",
"unist-util-remove-position": "^1.1.0",
"tape": "^4.0.0",
"tinyify": "^2.0.0",
"typescript": "^3.0.0",
"unified": "^8.0.0",
"unist-builder": "^2.0.0",
"unist-util-remove-position": "^1.0.0",
"unist-util-visit": "^2.0.0",
"vfile": "^4.0.1",
"wcwidth": "^1.0.1",
"vfile": "^4.0.0",
"wcwidth": "^1.0.0",
"xo": "^0.25.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/remark-stringify/lib/macro/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function block(node) {
if (
prev.type === 'list' &&
((child.type === 'list' && prev.ordered === child.ordered) ||
(child.type === 'code' && (!child.lang && !fences)))
(child.type === 'code' && !child.lang && !fences))
) {
values.push(gap)
} else {
Expand Down
6 changes: 2 additions & 4 deletions packages/remark-stringify/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ unified().use(remarkStringify)
unified().use(remarkStringify, inferredStringifyOptions)

// These cannot be automatically inferred by TypeScript
const nonInferredStringifyOptions: Partial<
remarkStringify.RemarkStringifyOptions
> = {
const nonInferredStringifyOptions: Partial<remarkStringify.RemarkStringifyOptions> = {
fence: '~',
bullet: '+',
listItemIndent: 'tab',
Expand All @@ -41,7 +39,7 @@ function gap(this: unified.Processor) {

function heading(this: unified.Processor, node: Node, parent?: Parent) {
// FIXME: remove need for explicit 'as' casting
const headingNode = node as (Node & {depth: number})
const headingNode = node as Node & {depth: number}
return (
(headingNode.depth === 2 ? '\n' : '') +
original.apply(this, [node, parent])
Expand Down

0 comments on commit 22d9d0a

Please sign in to comment.