Skip to content

Commit dc4ce60

Browse files
authored
Unscope detect-port (#2483)
Resolves #2481
1 parent c78c1fa commit dc4ce60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-dev-utils/WebpackDevServerUtils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const fs = require('fs');
1313
const path = require('path');
1414
const url = require('url');
1515
const chalk = require('chalk');
16-
const detect = require('@timer/detect-port');
16+
const detect = require('detect-port-alt');
1717
const inquirer = require('inquirer');
1818
const clearConsole = require('./clearConsole');
1919
const formatWebpackMessages = require('./formatWebpackMessages');

packages/react-dev-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
"webpackHotDevClient.js"
3434
],
3535
"dependencies": {
36-
"@timer/detect-port": "1.1.3",
3736
"address": "1.0.1",
3837
"anser": "1.3.0",
3938
"babel-code-frame": "6.22.0",
4039
"chalk": "1.1.3",
4140
"cross-spawn": "4.0.2",
41+
"detect-port-alt": "1.1.3",
4242
"escape-string-regexp": "1.0.5",
4343
"filesize": "3.3.0",
4444
"gzip-size": "3.0.0",

0 commit comments

Comments
 (0)