Skip to content

Commit

Permalink
Switch time-require to @ladjs/time-require
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylettuce authored and novemberborn committed Dec 28, 2017
1 parent 965cbc6 commit 4e8f827
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion cli.js
Expand Up @@ -8,7 +8,7 @@ if (importLocal(__filename)) {
debug('Using local install of AVA');
} else {
if (debug.enabled) {
require('time-require'); // eslint-disable-line import/no-unassigned-import
require('@ladjs/time-require'); // eslint-disable-line import/no-unassigned-import
}

try {
Expand Down
4 changes: 2 additions & 2 deletions lib/process-adapter.js
Expand Up @@ -48,13 +48,13 @@ if (opts.tty) {
}

if (debug.enabled) {
// Forward the `time-require` `--sorted` flag.
// Forward the `@ladjs/time-require` `--sorted` flag.
// Intended for internal optimization tests only.
if (opts._sorted) {
process.argv.push('--sorted');
}

require('time-require'); // eslint-disable-line import/no-unassigned-import
require('@ladjs/time-require'); // eslint-disable-line import/no-unassigned-import
}

const sourceMapCache = new Map();
Expand Down
92 changes: 46 additions & 46 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -65,6 +65,7 @@
"@ava/babel-preset-transform-test-files": "^3.0.0",
"@ava/write-file-atomic": "^2.2.0",
"@concordance/react": "^1.0.0",
"@ladjs/time-require": "^0.1.4",
"ansi-escapes": "^3.0.0",
"ansi-styles": "^3.1.0",
"arr-flatten": "^1.0.1",
Expand Down Expand Up @@ -140,7 +141,6 @@
"strip-bom-buf": "^1.0.0",
"supertap": "^1.0.0",
"supports-color": "^5.0.0",
"time-require": "^0.1.2",
"trim-off-newlines": "^1.0.1",
"unique-temp-dir": "^1.0.0",
"update-notifier": "^2.3.0"
Expand Down

0 comments on commit 4e8f827

Please sign in to comment.