Skip to content

Commit 594e69a

Browse files
committed
Update dev-dependencies
1 parent a0d1cb1 commit 594e69a

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ var yellow = ansiColor(33, 39)
2020
var green = ansiColor(32, 39)
2121

2222
// ANSI color regex.
23-
/* eslint-disable-next-line no-control-regex */
24-
var colorExpression = /(?:(?:\u001B\[)|\u009B)(?:\d{1,3})?(?:(?:;\d{0,3})*)?[A-M|f-m]|\u001B[A-M]/g
23+
/* eslint-disable no-control-regex */
24+
var colorExpression =
25+
/(?:(?:\u001B\[)|\u009B)(?:\d{1,3})?(?:(?:;\d{0,3})*)?[A-M|f-m]|\u001B[A-M]/g
26+
/* eslint-enable no-control-regex */
2527

2628
/**
2729
* Inspects a node, without using color.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,20 @@
4848
"@types/tape": "^4.0.0",
4949
"c8": "^7.0.0",
5050
"chalk": "^4.0.0",
51-
"hastscript": "^6.0.0",
51+
"hastscript": "^7.0.0",
5252
"prettier": "^2.0.0",
5353
"remark-cli": "^9.0.0",
5454
"remark-preset-wooorm": "^8.0.0",
5555
"retext": "^7.0.0",
5656
"rimraf": "^3.0.0",
57-
"strip-ansi": "^6.0.0",
57+
"strip-ansi": "^7.0.0",
5858
"tape": "^5.0.0",
5959
"type-coverage": "^2.0.0",
6060
"typescript": "^4.0.0",
61-
"unist-builder": "^2.0.0",
62-
"xast-util-from-xml": "^1.0.0",
63-
"xastscript": "^2.0.0",
64-
"xo": "^0.38.0"
61+
"unist-builder": "^3.0.0",
62+
"xast-util-from-xml": "^2.0.0",
63+
"xastscript": "^3.0.0",
64+
"xo": "^0.39.0"
6565
},
6666
"scripts": {
6767
"prepack": "npm run build && npm run format",

test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import test from 'tape'
22
import chalk from 'chalk'
33
import strip from 'strip-ansi'
4-
import u from 'unist-builder'
5-
import h from 'hastscript'
6-
import x from 'xastscript'
4+
import {u} from 'unist-builder'
5+
import {h} from 'hastscript'
6+
import {x} from 'xastscript'
77
// @ts-ignore remove when typed.
88
import retext from 'retext'
99
// @ts-ignore remove when typed.
10-
import fromXml from 'xast-util-from-xml'
10+
import {fromXml} from 'xast-util-from-xml'
1111
import {inspect, inspectColor, inspectNoColor} from './index.js'
1212

1313
var chalkEnabled = new chalk.Instance({level: 1})

0 commit comments

Comments
 (0)