Skip to content

Commit 1f59b05

Browse files
authored
Dependency updates
* Remove ts-node related tests * Remove unused lolex dependency * Update dev dependencies * Update dependencies
1 parent 489b13e commit 1f59b05

File tree

12 files changed

+439
-468
lines changed

12 files changed

+439
-468
lines changed

package-lock.json

+421-389
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+17-19
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"ansi-styles": "^4.2.1",
6060
"arrgv": "^1.0.2",
6161
"arrify": "^2.0.1",
62-
"chalk": "^3.0.0",
62+
"chalk": "^4.0.0",
6363
"chokidar": "^3.3.1",
6464
"chunkd": "^2.0.1",
6565
"ci-info": "^2.0.0",
@@ -75,9 +75,9 @@
7575
"currently-unhandled": "^0.4.1",
7676
"debug": "^4.1.1",
7777
"del": "^5.1.0",
78-
"emittery": "^0.5.1",
78+
"emittery": "^0.6.0",
7979
"equal-length": "^1.0.0",
80-
"figures": "^3.1.0",
80+
"figures": "^3.2.0",
8181
"globby": "^11.0.0",
8282
"ignore-by-default": "^1.0.0",
8383
"import-local": "^3.0.2",
@@ -90,11 +90,11 @@
9090
"md5-hex": "^3.0.1",
9191
"ms": "^2.1.2",
9292
"ora": "^4.0.3",
93-
"p-map": "^3.0.0",
94-
"picomatch": "^2.2.1",
93+
"p-map": "^4.0.0",
94+
"picomatch": "^2.2.2",
9595
"pkg-conf": "^3.1.0",
9696
"plur": "^4.0.0",
97-
"pretty-ms": "^6.0.0",
97+
"pretty-ms": "^6.0.1",
9898
"read-pkg": "^5.2.0",
9999
"resolve-cwd": "^3.0.0",
100100
"slash": "^3.0.0",
@@ -105,34 +105,32 @@
105105
"temp-dir": "^2.0.0",
106106
"trim-off-newlines": "^1.0.1",
107107
"update-notifier": "^4.1.0",
108-
"write-file-atomic": "^3.0.1",
109-
"yargs": "^15.1.0"
108+
"write-file-atomic": "^3.0.3",
109+
"yargs": "^15.3.1"
110110
},
111111
"devDependencies": {
112112
"@ava/babel": "^1.0.1",
113-
"@sinonjs/fake-timers": "^6.0.0",
114-
"ansi-escapes": "^4.3.0",
113+
"@sinonjs/fake-timers": "^6.0.1",
114+
"ansi-escapes": "^4.3.1",
115115
"delay": "^4.3.0",
116116
"esm": "^3.2.25",
117117
"execa": "^4.0.0",
118118
"get-stream": "^5.1.0",
119-
"lolex": "^5.1.2",
120-
"nyc": "^15.0.0",
119+
"nyc": "^15.0.1",
121120
"p-event": "^4.1.0",
122121
"proxyquire": "^2.1.3",
123-
"react": "^16.12.0",
124-
"react-test-renderer": "^16.12.0",
122+
"react": "^16.13.1",
123+
"react-test-renderer": "^16.13.1",
125124
"replace-string": "^3.0.0",
126-
"sinon": "^8.1.1",
125+
"sinon": "^9.0.1",
127126
"source-map-fixtures": "^2.1.0",
128-
"tap": "^14.10.6",
127+
"tap": "^14.10.7",
129128
"temp-write": "^4.0.0",
130-
"tempy": "^0.4.0",
129+
"tempy": "^0.5.0",
131130
"touch": "^3.1.0",
132-
"ts-node": "^8.6.2",
133131
"tsd": "^0.11.0",
134132
"typescript": "^3.7.5",
135-
"xo": "^0.28.1",
133+
"xo": "^0.28.2",
136134
"zen-observable": "^0.8.15"
137135
},
138136
"xo": {

test-tap/fixture/report/typescript/build-error.ts

-2
This file was deleted.

test-tap/fixture/report/typescript/package.json

-1
This file was deleted.

test-tap/fixture/report/typescript/tsconfig.json

-5
This file was deleted.

test-tap/fixture/ts-node/package.json

-6
This file was deleted.

test-tap/fixture/ts-node/test.ts

-5
This file was deleted.

test-tap/helper/report.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -94,20 +94,13 @@ const run = (type, reporter, match = []) => {
9494
snapshotDir: false,
9595
chalkOptions: {level: 1}
9696
};
97-
let pattern = '*.js';
98-
99-
if (type === 'typescript') {
100-
options.extensions.push('ts');
101-
options.require = ['ts-node/register'];
102-
pattern = '*.ts';
103-
}
10497

10598
options.globs = normalizeGlobs({extensions: options.extensions, providers: []});
10699

107100
const api = createApi(options);
108101
api.on('run', plan => reporter.startRun(plan));
109102

110-
const files = globby.sync(pattern, {
103+
const files = globby.sync('*.js', {
111104
absolute: true,
112105
brace: true,
113106
case: false,
@@ -149,5 +142,4 @@ exports.timeoutInSingleFile = reporter => run('timeoutInSingleFile', reporter);
149142
exports.timeoutInMultipleFiles = reporter => run('timeoutInMultipleFiles', reporter);
150143
exports.timeoutWithMatch = reporter => run('timeoutWithMatch', reporter, ['*needle*']);
151144
exports.watch = reporter => run('watch', reporter);
152-
exports.typescript = reporter => run('typescript', reporter);
153145
exports.edgeCases = reporter => run('edgeCases', reporter);

test-tap/reporters/mini.js

-1
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,4 @@ test('mini reporter - failFast run', run('failFast'));
4646
test('mini reporter - second failFast run', run('failFast2'));
4747
test('mini reporter - only run', run('only'));
4848
test('mini reporter - watch mode run', run('watch'));
49-
test('mini reporter - typescript', run('typescript', [report.sanitizers.lineEndings]));
5049
test('mini reporter - edge cases', run('edgeCases'));

test-tap/reporters/mini.typescript.log

-16
This file was deleted.

test-tap/reporters/verbose.js

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ test('verbose reporter - failFast run', run('failFast'));
3535
test('verbose reporter - second failFast run', run('failFast2'));
3636
test('verbose reporter - only run', run('only'));
3737
test('verbose reporter - watch mode run', run('watch'));
38-
test('verbose reporter - typescript', run('typescript', [report.sanitizers.lineEndings]));
3938
test('verbose reporter - edge cases', run('edgeCases'));
4039

4140
test('verbose reporter - timeout', t => {

test-tap/reporters/verbose.typescript.log

-14
This file was deleted.

0 commit comments

Comments
 (0)