File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 9
9
" lib"
10
10
],
11
11
"dependencies" : {
12
+ "babel-plugin-syntax-object-rest-spread" : " ^6.13.0" ,
12
13
"find-up" : " ^2.1.0" ,
13
- "istanbul-lib-instrument" : " ^1.7.5 " ,
14
+ "istanbul-lib-instrument" : " ^1.8.0 " ,
14
15
"test-exclude" : " ^4.1.1"
15
16
},
16
17
"devDependencies" : {
Original file line number Diff line number Diff line change 1
1
import { realpathSync } from 'fs'
2
2
import { dirname } from 'path'
3
3
import { programVisitor } from 'istanbul-lib-instrument'
4
+ import babelSyntaxObjectRestSpread from 'babel-plugin-syntax-object-rest-spread'
4
5
5
6
const testExclude = require ( 'test-exclude' )
6
7
const findUp = require ( 'find-up' )
@@ -23,7 +24,7 @@ function makeShouldSkip () {
23
24
let config = { }
24
25
if ( Object . keys ( opts ) . length > 0 ) {
25
26
// explicitly configuring options in babel
26
- // takes precendence .
27
+ // takes precedence .
27
28
config = opts
28
29
} else if ( nycConfig . include || nycConfig . exclude ) {
29
30
// nyc was configured in a parent process (keep these settings).
@@ -52,6 +53,7 @@ function makeShouldSkip () {
52
53
function makeVisitor ( { types : t } ) {
53
54
const shouldSkip = makeShouldSkip ( )
54
55
return {
56
+ inherits : babelSyntaxObjectRestSpread ,
55
57
visitor : {
56
58
Program : {
57
59
enter ( path ) {
You can’t perform that action at this time.
0 commit comments