Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit c88cd1d

Browse files
authored
Merge pull request #3001 from trufflesuite/update-debugger-wp
Dependency update: Bump webpack to ^4 for debugger
2 parents c07d166 + ff46b3f commit c88cd1d

File tree

4 files changed

+19
-46
lines changed

4 files changed

+19
-46
lines changed

packages/debugger/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@
6565
"ganache-core": "2.10.2",
6666
"istanbul-instrumenter-loader": "^3.0.1",
6767
"mocha": "5.2.0",
68-
"mocha-webpack": "^1.1.0",
68+
"mocha-webpack": "2.0.0-beta.0",
6969
"nyc": "^13.0.1",
7070
"remotedev-server": "^0.3.1",
71-
"webpack": "^3.8.1",
71+
"webpack": "^4.43.0",
72+
"webpack-cli": "^3.3.11",
7273
"webpack-dev-middleware": "^2.0.4",
7374
"webpack-merge": "^4.1.1",
7475
"webpack-node-externals": "^1.6.0",

packages/debugger/webpack/webpack.config-dev.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const merge = require("webpack-merge");
55
const commonConfig = require("./webpack.config-common.js");
66

77
const debuggerConfig = merge(commonConfig, {
8+
mode: "development",
89
plugins: [
910
new webpack.DefinePlugin({
1011
"process.env.NODE_ENV": JSON.stringify("development")
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
const webpack = require("webpack");
21
const merge = require("webpack-merge");
32

43
const commonConfig = require("./webpack.config-common.js");
54

65
const debuggerConfig = merge(commonConfig, {
7-
plugins: [
8-
new webpack.DefinePlugin({
9-
"process.env.NODE_ENV": JSON.stringify("production")
10-
})
11-
]
6+
mode: "production"
127
});
138

149
module.exports = debuggerConfig;

yarn.lock

Lines changed: 14 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,14 +1946,6 @@ any-promise@1.3.0, any-promise@^1.0.0, any-promise@^1.3.0:
19461946
resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f"
19471947
integrity sha1-q8av7tzqUugJzcA3au0845Y10X8=
19481948

1949-
anymatch@^1.3.0:
1950-
version "1.3.2"
1951-
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a"
1952-
integrity sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==
1953-
dependencies:
1954-
micromatch "^2.1.5"
1955-
normalize-path "^2.0.0"
1956-
19571949
anymatch@^2.0.0:
19581950
version "2.0.0"
19591951
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb"
@@ -2198,7 +2190,7 @@ astral-regex@^1.0.0:
21982190
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9"
21992191
integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==
22002192

2201-
async-each@^1.0.0, async-each@^1.0.1:
2193+
async-each@^1.0.1:
22022194
version "1.0.3"
22032195
resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf"
22042196
integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==
@@ -3728,22 +3720,6 @@ cheerio@^1.0.0-rc.2:
37283720
lodash "^4.15.0"
37293721
parse5 "^3.0.1"
37303722

3731-
chokidar@^1.6.1:
3732-
version "1.7.0"
3733-
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468"
3734-
integrity sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=
3735-
dependencies:
3736-
anymatch "^1.3.0"
3737-
async-each "^1.0.0"
3738-
glob-parent "^2.0.0"
3739-
inherits "^2.0.1"
3740-
is-binary-path "^1.0.0"
3741-
is-glob "^2.0.0"
3742-
path-is-absolute "^1.0.0"
3743-
readdirp "^2.0.0"
3744-
optionalDependencies:
3745-
fsevents "^1.0.0"
3746-
37473723
chokidar@^2.0.2, chokidar@^2.1.8:
37483724
version "2.1.8"
37493725
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917"
@@ -6867,7 +6843,7 @@ fs.realpath@^1.0.0:
68676843
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
68686844
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
68696845

6870-
fsevents@^1.0.0, fsevents@^1.2.7:
6846+
fsevents@^1.2.7:
68716847
version "1.2.11"
68726848
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.11.tgz#67bf57f4758f02ede88fb2a1712fef4d15358be3"
68736849
integrity sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==
@@ -10293,7 +10269,7 @@ methods@~1.1.2:
1029310269
resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
1029410270
integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=
1029510271

10296-
micromatch@^2.1.5, micromatch@^2.3.7:
10272+
micromatch@^2.3.7:
1029710273
version "2.3.11"
1029810274
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565"
1029910275
integrity sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=
@@ -10511,16 +10487,16 @@ mkdirp@^0.5.3:
1051110487
dependencies:
1051210488
minimist "^1.2.5"
1051310489

10514-
mocha-webpack@^1.1.0:
10515-
version "1.1.0"
10516-
resolved "https://registry.yarnpkg.com/mocha-webpack/-/mocha-webpack-1.1.0.tgz#292158fc191641c943c1ee615329504f47c4b0ba"
10517-
integrity sha512-brmE0tR6G5JbEzZXspJmF/uZm2J/YM/69M3VS6ND76i6wXbebFpE+bQDaehilK8CZanNSsTCcqTTLh1PZuRKJw==
10490+
mocha-webpack@2.0.0-beta.0:
10491+
version "2.0.0-beta.0"
10492+
resolved "https://registry.yarnpkg.com/mocha-webpack/-/mocha-webpack-2.0.0-beta.0.tgz#d85fc9a70f82a4ad595b7702a1181605dfa59549"
10493+
integrity sha512-2ezbW0h5cYWr874F/hzytQCqINxk+GVelMY4xWTSHwwH1LrPAOzjlUljZ+/PhpaP6QeqYbL5x5vK/bnaXqkfEw==
1051810494
dependencies:
1051910495
babel-runtime "^6.18.0"
1052010496
chalk "^2.3.0"
10521-
chokidar "^1.6.1"
10497+
chokidar "^2.0.2"
1052210498
glob-parent "^3.1.0"
10523-
globby "^6.1.0"
10499+
globby "^7.1.1"
1052410500
interpret "^1.0.1"
1052510501
is-glob "^4.0.0"
1052610502
loader-utils "^1.1.0"
@@ -10532,7 +10508,7 @@ mocha-webpack@^1.1.0:
1053210508
source-map-support "^0.5.0"
1053310509
strip-ansi "^4.0.0"
1053410510
toposort "^1.0.0"
10535-
yargs "^4.8.0"
10511+
yargs "^11.0.0"
1053610512

1053710513
mocha@5.2.0:
1053810514
version "5.2.0"
@@ -10994,7 +10970,7 @@ normalize-path@^1.0.0:
1099410970
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-1.0.0.tgz#32d0e472f91ff345701c15a8311018d3b0a90379"
1099510971
integrity sha1-MtDkcvkf80VwHBWoMRAY07CpA3k=
1099610972

10997-
normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1:
10973+
normalize-path@^2.0.1, normalize-path@^2.1.1:
1099810974
version "2.1.1"
1099910975
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
1100010976
integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=
@@ -12465,7 +12441,7 @@ readdir-scoped-modules@^1.0.0:
1246512441
graceful-fs "^4.1.2"
1246612442
once "^1.3.0"
1246712443

12468-
readdirp@^2.0.0, readdirp@^2.2.1:
12444+
readdirp@^2.2.1:
1246912445
version "2.2.1"
1247012446
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525"
1247112447
integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==
@@ -16007,7 +15983,7 @@ webpack-sources@^1.0.1, webpack-sources@^1.4.0, webpack-sources@^1.4.1:
1600715983
source-list-map "^2.0.0"
1600815984
source-map "~0.6.1"
1600915985

16010-
webpack@^3.0.0, webpack@^3.8.1:
15986+
webpack@^3.0.0:
1601115987
version "3.12.0"
1601215988
resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.12.0.tgz#3f9e34360370602fcf639e97939db486f4ec0d74"
1601315989
integrity sha512-Sw7MdIIOv/nkzPzee4o0EdvCuPmxT98+vVpIvwtcwcF1Q4SDSNp92vwcKc4REe7NItH9f1S4ra9FuQ7yuYZ8bQ==
@@ -16583,7 +16559,7 @@ yargs@^14.0.0, yargs@^14.2.2:
1658316559
y18n "^4.0.0"
1658416560
yargs-parser "^15.0.0"
1658516561

16586-
yargs@^4.7.1, yargs@^4.8.0:
16562+
yargs@^4.7.1:
1658716563
version "4.8.1"
1658816564
resolved "https://registry.yarnpkg.com/yargs/-/yargs-4.8.1.tgz#c0c42924ca4aaa6b0e6da1739dfb216439f9ddc0"
1658916565
integrity sha1-wMQpJMpKqmsObaFznfshZDn53cA=

0 commit comments

Comments
 (0)