chore(deps-dev): downgraded nyc from 15.1.0 to 14.1.1

This commit is contained in:
Lam Wei Li 2022-07-26 17:02:24 +08:00
parent d32677a539
commit 87b3897686
No known key found for this signature in database
GPG Key ID: 90F6ABECF080D7BF
3 changed files with 486 additions and 1234 deletions

1712
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -65,7 +65,7 @@
"fs-extra": "^8.1.0",
"husky": "^8.0.1",
"is-ci": "^3.0.1",
"nyc": "^15.1.0",
"nyc": "^14.1.1",
"prettier": "^2.7.1",
"proxyquire": "^2.1.3",
"tap": "^14.11.0",

View File

@ -6,10 +6,8 @@ sandbox.configure({
if (this.filename.indexOf('node_modules') > -1) {
return source;
}
const nyc = new (require('nyc'))({});
return nyc
.instrumenter()
.instrumentSync(source, this.filename, { registerMap: () => {} });
const nyc = new (require('nyc'))();
return nyc.instrumenter().instrumentSync(source, this.filename);
},
},
});