mike-works / modern-javascript Goto Github PK
View Code? Open in Web Editor NEW👨🏫 Mike's Modern JavaScript course
Home Page: https://mike.works/course/modern-javascript-437a5c3
License: BSD 3-Clause "New" or "Revised" License
👨🏫 Mike's Modern JavaScript course
Home Page: https://mike.works/course/modern-javascript-437a5c3
License: BSD 3-Clause "New" or "Revised" License
Branch | Build failing 🚨 |
---|---|
Dependency | webpack-dev-server |
Current Version | 2.11.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
webpack-dev-server is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
Our third attempt to fix compatibility with old browsers (#1273), this time we'll get it right.
The new version differs by 3 commits.
83c1625
2.11.1
3aa15aa
Merge pull request #1273 from yyx990803/master
b78e249
fix: pin strip-ansi to 3.x for ES5 compat
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | css-loader |
Current Version | 0.28.8 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
css-loader is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 3 commits.
630579d
chore(release): 0.28.9
604bd4b
chore(package): update dependencies
d1d8221
fix: ignore invalid URLs (url()
) (#663)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | greenkeeper-lockfile |
Current Version | 1.12.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
greenkeeper-lockfile is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency |
eslint-plugin-react
|
Current Version | 7.7.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
react-in-jsx-scope
(#1758)require-default-props
(#1724 @Miziak)forbid-component-props
(#1732 @ThiefMaster)no-unused-prop-types
(#1681 @bvaughn)sort-comp
(#1767 @joe-denea)no-typos
prevState
and nextState
to no-unused-state
(#1759)componentWillMount
, componentWillReceiveProps
and componentWillUpdate
lifecycle methods in no-deprecated
(#1750 @sergei-startsev)no-typos
false positive on custom PropType
classes (#1389 @brettdh)boolean-prop-naming
to handle required props (#1389 @louisscruz)jsx-curly-brace-presence
to allow whitespace JSX container (#1717 @sharmilajesupaul)jsx-no-bind
to handle ternary conditions (#1722 @gwenaellarmet)The new version differs by 65 commits.
fb7411d
Update CHANGELOG and bump version
b5865e8
Replace static status badge by a dynamic one
79f32b1
Fix Code Climate badge in README
ab803e5
Update CHANGELOG and bump version
b26d1cc
Add prevState and nextState support to no-unused-state (fixes #1759)
3aac310
Add support for React 16.3 lifecycle methods to no-typos
5f3f04f
Merge pull request #1783 from chentsulin/patch-1
26dc5a6
fix typo containing
9519938
Add getSnapshotBeforeUpdate support to no-unused-prop-types (fixes #1751)
d51b0cc
Add fragment support to react-in-jsx-scope (fixes #1758)
fb7ce94
Merge pull request #1771 from joe-denea/master
230b0ad
[Tests] fix appveyor
768013e
Add support for React 16.3 lifecycle methods
d68ef96
Merge pull request #1750 from sergei-startsev/no-deprecated
8973758
[Tests] fix linting errors
There are 65 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency |
webpack-bundle-analyzer
|
Current Version | 2.11.2 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
webpack-bundle-analyzer is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 3 commits.
c9aa406
v2.11.3
12501d5
Merge pull request #177 from webpack-contrib/filter-out-missing-modules
e55d7bd
Filter out modules that are not part of parsed bundle
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
A few students ran into some node-sass issues when using node 8.4
Branch | Build failing 🚨 |
---|---|
Dependency |
[uglifyjs-webpack-plugin](https://github.com/webpack-contrib/uglifyjs-webpack-plugin)
|
Current Version | 1.2.5 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
uglifyjs-webpack-plugin is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 7 commits.
1521c82
chore(release): 1.2.6
120e4b0
docs: fix broken markdown (#315)
4f50156
fix: return missing important information (#306)
6ab0918
fix: disable inline optimization by default (#308)
3ca5eaf
fix: perf regression (#305)
3f0767b
fix: don't use a worker farm unless more than one process is required (#280)
dbebb3b
fix: improve isSouceMap
check (#284)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository. View logs.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@babel/cli
, @babel/core
, @babel/preset-env
, @babel/preset-react
)@types/react
, @types/react-dom
)@babel/cli
, @babel/core
, @babel/preset-env
, @babel/preset-react
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@types/jest
, babel-jest
, jest
, jest-cli
)@types/react
, @types/react-dom
, react
, react-dom
)package.json
@babel/cli 7.16.0
@babel/core 7.16.0
@babel/preset-env 7.16.4
@babel/preset-react 7.16.0
@babel/preset-stage-2 7.8.3
@mike-works/js-lib-renovate-config 2.0.0
@mike-works/workshop-semantic-release-config 1.0.0
@types/jest 23.3.14
@types/react 16.14.21
@types/react-dom 16.9.14
babel-core 7.0.0-bridge.0
babel-eslint 10.1.0
babel-jest 24.9.0
babel-loader 8.2.3
babel-plugin-module-resolver 3.2.0
compression 1.7.4
compression-webpack-plugin 2.0.0
css-loader 3.6.0
eslint 5.16.0
eslint-loader 2.2.1
eslint-plugin-react 7.27.1
jest 24.9.0
jest-cli 24.9.0
node-fetch 2.6.7
node-sass 4.14.1
react 16.14.0
react-dom 16.14.0
regenerator 0.14.7
regenerator-runtime 0.13.9
sass-loader 7.3.1
scripty 1.9.1
semantic-release 15.14.0
style-loader 0.23.1
travis-deploy-once 5.0.11
uglify-js-es6 2.8.9
uglifyjs-webpack-plugin 2.2.0
webpack 4.46.0
webpack-bundle-analyzer 3.9.0
webpack-cli 3.3.12
webpack-dev-middleware 3.7.3
webpack-dev-server 3.11.3
.travis.yml
node 8.17.0
Branch | Build failing 🚨 |
---|---|
Dependency |
[babel-eslint](https://github.com/babel/babel-eslint)
|
Current Version | 8.2.3 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
babel-eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 11 commits.
2bd8508
8.2.4
5881648
Add test for template string with object with template string inside (#639)
476426a
Support OptionalMemberExpression with scope too (#634)
92874d4
Drop node4 in travis
d2ac299
Bump Babel deps
e63962d
refactor: rename babylon to @babel/parser
873f02f
Fix converting template types to handle nested templates (#610)
74a3207
Fix token types for experimental operators (#632)
e802577
Add support for the optional chaining operator (#630)
ebc46e1
don't require unpad per test fixture, fixes #572 (#618)
9641e4b
updates readme for latest eslint & babel-eslint (#607) [skip ci]
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | babel-loader |
Current Version | 7.1.4 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
babel-loader is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 3 commits.
f3bfed9
7.1.5
fa91723
Merge pull request #638 from lencioni/7.x-md4
19fb463
Use MD4 instead of SHA1 for filename hashes
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | uglifyjs-webpack-plugin |
Current Version | 1.1.6 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
uglifyjs-webpack-plugin is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 4 commits.
75943e1
chore(release): 1.1.7
2343274
fix(index): reduce memory consumption (cacheKey.hash
) (#215)
7d1b487
test: update snapshots (#214)
f66f6f0
docs(README): mangle.props
instead of mangle.properties
(#207)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Add a test asserting that calling context is as expected when spy is in place
Branch | Build failing 🚨 |
---|---|
Dependency | @types/jest |
Current Version | 22.0.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
@types/jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency |
react-dom
|
Current Version | 16.3.2 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
react-dom is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
React.unstable_Profiler
component for measuring performance. (@bvaughn in #12745)getDerivedStateFromProps()
regardless of the reason for re-rendering. (@acdlite in #12600 and #12802)forwardRef()
on a deeper setState()
. (@gaearon in #12690)propTypes
on a context provider component. (@nicolevy in #12658)react-lifecycles-compat
in <StrictMode>
. (@bvaughn in #12644)forwardRef()
render function has propTypes
or defaultProps
. (@bvaughn in #12644)forwardRef()
and context consumers are displayed in the component stack. (@sophiebits in #12777)getDerivedStateFromProps()
support to match the new React DOM behavior. (@koba04 in #12676)testInstance.parent
crash when the parent is a fragment or another special node. (@gaearon in #12813)forwardRef()
components are now discoverable by the test renderer traversal methods. (@gaearon in #12725)setState()
updaters that return null
or undefined
. (@koba04 in #12756)There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
On registry https://registry.npmjs.org/
, the "latest" version (v5.0.11) of dependency travis-deploy-once
has the following deprecation notice:
We recommend to use Travis Build Stages instead
Marking the latest version of an npm package as deprecated results in the entire package being considered deprecated, so contact the package author you think this is a mistake.
Affected package file(s): package.json
If you don't care about this, you can close this issue and not be warned about travis-deploy-once
's deprecation again. If you would like to completely disable all future deprecation warnings then add the following to your config:
"suppressNotifications": ["deprecationWarningIssues"]
Branch | Build failing 🚨 |
---|---|
Dependency | @types/react |
Current Version | 16.0.34 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
@types/react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency |
react
|
Current Version | 16.3.2 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
react is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
React.unstable_Profiler
component for measuring performance. (@bvaughn in #12745)getDerivedStateFromProps()
regardless of the reason for re-rendering. (@acdlite in #12600 and #12802)forwardRef()
on a deeper setState()
. (@gaearon in #12690)propTypes
on a context provider component. (@nicolevy in #12658)react-lifecycles-compat
in <StrictMode>
. (@bvaughn in #12644)forwardRef()
render function has propTypes
or defaultProps
. (@bvaughn in #12644)forwardRef()
and context consumers are displayed in the component stack. (@sophiebits in #12777)getDerivedStateFromProps()
support to match the new React DOM behavior. (@koba04 in #12676)testInstance.parent
crash when the parent is a fragment or another special node. (@gaearon in #12813)forwardRef()
components are now discoverable by the test renderer traversal methods. (@gaearon in #12725)setState()
updaters that return null
or undefined
. (@koba04 in #12756)There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency |
@types/react-dom
|
Current Version | 16.0.5 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
@types/react-dom is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | compression-webpack-plugin |
Current Version | 1.1.3 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
compression-webpack-plugin is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | compression |
Current Version | 1.7.2 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
compression is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 22 commits.
becc1c0
1.7.3
2742fe9
docs: fix threshold documentation to match implementation
fd7a4d4
deps: [email protected]
5bca5aa
deps: compressible@~2.0.14
c43c578
build: [email protected]
6160662
build: [email protected]
d3c8269
build: [email protected]
7ebf291
build: [email protected]
b3f7aa5
build: [email protected]
363cbf6
build: [email protected]
5fe805f
build: [email protected]
45eac05
build: [email protected]
b1ecb6e
build: [email protected]
2ce6799
tests: use after module for flow control
52fa9c1
tests: fix backpressure tests
There are 22 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency |
@types/react
|
Current Version | 16.3.14 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
@types/react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | eslint-plugin-react |
Current Version | 7.5.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 106 commits.
7b742d0
Update CHANGELOG and bump version
692cdc8
Merge pull request #1643 from ljharb/fix_crossorigin
c558451
Merge pull request #1651 from xjmdoo/master
f4cab9a
Merge pull request #1652 from lfades/fix/no-typos
20dff22
Adds more checks to MethodDefinition case and adds new test case for default parser
942a92c
merged one of the previous tests and added 2 new tests for the default parser
1d12044
Merge pull request #1650 from xinminlabs/add-missing-meta-to-jsx-tag-spacing
8360ffa
support isRequired for custom props and call expressions
f9cc10d
prop-types doesn't check nextProps of componentWillReceiveProps
d3840a5
add missing meta to jsx-tag-spacing
36beb6d
Merge pull request #1483 from b0gok/jsx-sort-default-props
c2c7a2a
Merge pull request #1616 from jaaberg/jsx-no-literals-binary
e24b53f
Add tests and examples with multiple spreads
558576c
Add more tests with spread, add examples
8237551
Merge pull request #1645 from nirnaor/master
There are 106 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency |
greenkeeper-lockfile
|
Current Version | 1.15.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
greenkeeper-lockfile is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 1 commits.
a89874f
fix: force push when amending
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.
Since we did not receive a CI status on the greenkeeper/initial
branch, we assume that you still need to configure it.
If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/
.
We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
System Information
Describe the bug
There seems to be updates that has happened to babel and webpack, causing build to fail.
Fixing the bug:
TLDR: The below 4 steps helped me with fixing the build failures. Not sure if it is the correct changes to be made
> node_modules/.bin/webpack-dev-server --colors --quiet --env $1
The CLI moved into a separate package: webpack-cli
Please install 'webpack-cli' in addition to webpack itself to use the CLI
-> When using npm: npm i -D webpack-cli
-> When using yarn: yarn add -D webpack-cli
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'webpack-cli/bin/config-yargs'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/webpack-dev-server/bin/webpack-dev-server.js:84:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
Since webpack v4 the extract-text-webpack-plugin should not be used for css. Use mini-css-extract-plugin instead.
> node_modules/.bin/webpack-dev-server --colors --quiet --env $1
(node:53919) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
/Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/webpack/lib/Chunk.js:849
throw new Error(
^
Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead
at Chunk.get (/Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/webpack/lib/Chunk.js:849:9)
at /Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/extract-text-webpack-plugin/dist/index.js:176:48
at Array.forEach (<anonymous>)
at /Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/extract-text-webpack-plugin/dist/index.js:171:18
at AsyncSeriesHook.eval [as callAsync] (eval at create (/Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:7:1)
at AsyncSeriesHook.lazyCompileHook (/Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/tapable/lib/Hook.js:154:20)
at Compilation.seal (/Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/webpack/lib/Compilation.js:1242:27)
at hooks.make.callAsync.err (/Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/webpack/lib/Compiler.js:546:17)
at _err0 (eval at create (/Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:11:1)
at _addModuleChain (/Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/webpack/lib/Compilation.js:1093:12)
at processModuleDependencies.err (/Users/syeung/Documents/Development/training/mj/modern-javascript/node_modules/webpack/lib/Compilation.js:1005:9)
at process._tickCallback (internal/process/next_tick.js:61:11)
mini-css-extract-plugin
and modifying module.js
and plugin.js
to use MiniCssExtracterPlugin
instead of ExtractTextPlugin
> node_modules/.bin/webpack-dev-server --colors --env $1
ℹ 「wds」: Project is running at http://localhost:3000/
ℹ 「wds」: webpack output is served from /assets/
ℹ 「wds」: Content not from webpack is served from /Users/syeung/Documents/Development/training/modern-javascript/exercises/color-1
✖ 「wdm」: Hash: 4be158e1e9b87eaf19fc
Version: webpack 4.28.3
Time: 4822ms
Built at: 2019-01-01 11:16:15
4 assets
Entrypoint main = main.css main.js main.css.map main.js.map
[2] multi (webpack)-dev-server/client?http://localhost:3000 ../../public/styles/app.scss ./src/index.js ./styles/app.scss 64 bytes {0} [built]
[3] (webpack)-dev-server/client?http://localhost:3000 7.78 KiB {0} [built]
[4] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/url/url.js 22.8 KiB {0} [built]
[5] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/punycode/punycode.js 14.3 KiB {0} [built]
[7] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/url/util.js 314 bytes {0} [built]
[8] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/querystring-es3/index.js 127 bytes {0} [built]
[11] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/strip-ansi/index.js 161 bytes {0} [built]
[13] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/loglevel/lib/loglevel.js 7.68 KiB {0} [built]
[14] (webpack)-dev-server/client/socket.js 1.05 KiB {0} [built]
[16] (webpack)-dev-server/client/overlay.js 3.58 KiB {0} [built]
[21] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {0} [built]
[23] (webpack)/hot/emitter.js 75 bytes {0} [built]
[25] /Users/syeung/Documents/Development/training/modern-javascript/public/styles/app.scss 39 bytes {0} [built]
[26] ./src/index.js 2.36 KiB {0} [built] [failed] [1 error]
[27] ./styles/app.scss 39 bytes {0} [built]
+ 15 hidden modules
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/
ERROR in ./src/index.js
Module build failed (from /Users/syeung/Documents/Development/training/modern-javascript/node_modules/babel-loader/lib/index.js):
Error: Plugin/Preset files are not allowed to export objects, only functions. In /Users/syeung/Documents/Development/training/modern-javascript/node_modules/babel-preset-react/lib/index.js
at createDescriptor (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/config-descriptors.js:178:11)
at items.map (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/config-descriptors.js:109:50)
at Array.map (<anonymous>)
at createDescriptors (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
at createPresetDescriptors (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/config-descriptors.js:101:10)
at presets (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/config-descriptors.js:47:19)
at mergeChainOpts (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/config-chain.js:320:26)
at /Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/config-chain.js:283:7
at buildRootChain (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/config-chain.js:120:22)
at loadPrivatePartialConfig (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/partial.js:85:55)
at Object.loadPartialConfig (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/partial.js:110:18)
at Object.<anonymous> (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/babel-loader/lib/index.js:140:26)
at Generator.next (<anonymous>)
at asyncGeneratorStep (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/babel-loader/lib/index.js:3:103)
at _next (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/babel-loader/lib/index.js:5:194)
at /Users/syeung/Documents/Development/training/modern-javascript/node_modules/babel-loader/lib/index.js:5:364
@ multi (webpack)-dev-server/client?http://localhost:3000 ../../public/styles/app.scss ./src/index.js ./styles/app.scss main[2]
Child mini-css-extract-plugin ../../node_modules/css-loader/index.js!../../node_modules/sass-loader/lib/loader.js!styles/app.scss:
Entrypoint mini-css-extract-plugin = *
[0] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/css-loader!/Users/syeung/Documents/Development/training/modern-javascript/node_modules/sass-loader/lib/loader.js!./styles/app.scss 165 bytes {0} [built]
[1] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/css-loader/lib/css-base.js 2.21 KiB {0} [built]
Child mini-css-extract-plugin ../../node_modules/css-loader/index.js!../../node_modules/sass-loader/lib/loader.js!../../public/styles/app.scss:
Entrypoint mini-css-extract-plugin = *
[0] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/css-loader!/Users/syeung/Documents/Development/training/modern-javascript/node_modules/sass-loader/lib/loader.js!/Users/syeung/Documents/Development/training/modern-javascript/public/styles/app.scss 354 bytes {0} [built]
[1] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/css-loader/lib/css-base.js 2.21 KiB {0} [built]
ℹ 「wdm」: Failed to compile.
I found this is due babel-preset-react
moving to @babel/preset-react
: babel/babel#6808 (comment)
This seems to hold true for a few other dependencies:
babel-core => @babel/core
babel-preset-env => @babel/preset-env
babel-preset-stage-2 =>@babel/preset-stage-2
So yarn adding the dependencies above and updating .babelrc
to:
{
"presets": [
"@babel/preset-react",
[
"@babel/preset-env",
{
"targets": {
"browsers": [
"last 2 versions",
"safari >= 7"
]
}
}
],
"@babel/preset-stage-2"
]
}
"@babel/preset-stage-2"
from .babelrc
The error:
> node_modules/.bin/webpack-dev-server --colors --env $1
ℹ 「wds」: Project is running at http://localhost:3000/
ℹ 「wds」: webpack output is served from /assets/
ℹ 「wds」: Content not from webpack is served from /Users/syeung/Documents/Development/training/modern-javascript/exercises/color-1
✖ 「wdm」: Hash: 309c80e50b4307867152
Version: webpack 4.28.3
Time: 5142ms
Built at: 2019-01-01 11:45:05
4 assets
Entrypoint main = main.css main.js main.css.map main.js.map
[2] multi (webpack)-dev-server/client?http://localhost:3000 ../../public/styles/app.scss ./src/index.js ./styles/app.scss 64 bytes {0} [built]
[3] (webpack)-dev-server/client?http://localhost:3000 7.78 KiB {0} [built]
[4] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/url/url.js 22.8 KiB {0} [built]
[5] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/punycode/punycode.js 14.3 KiB {0} [built]
[7] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/url/util.js 314 bytes {0} [built]
[8] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/querystring-es3/index.js 127 bytes {0} [built]
[11] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/strip-ansi/index.js 161 bytes {0} [built]
[13] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/loglevel/lib/loglevel.js 7.68 KiB {0} [built]
[14] (webpack)-dev-server/client/socket.js 1.05 KiB {0} [built]
[16] (webpack)-dev-server/client/overlay.js 3.58 KiB {0} [built]
[21] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {0} [built]
[23] (webpack)/hot/emitter.js 75 bytes {0} [built]
[25] /Users/syeung/Documents/Development/training/modern-javascript/public/styles/app.scss 39 bytes {0} [built]
[26] ./src/index.js 3.2 KiB {0} [built] [failed] [1 error]
[27] ./styles/app.scss 39 bytes {0} [built]
+ 15 hidden modules
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/
ERROR in ./src/index.js
Module build failed (from /Users/syeung/Documents/Development/training/modern-javascript/node_modules/babel-loader/lib/index.js):
Error: [BABEL] /Users/syeung/Documents/Development/training/modern-javascript/exercises/color-1/src/index.js:
As of v7.0.0-beta.55, we've removed Babel's Stage presets.
Please consider reading our blog post on this decision at
https://babeljs.io/blog/2018/07/27/removing-babels-stage-presets
for more details. TL;DR is that it's more beneficial in the
long run to explicitly add which proposals to use.
For a more automatic migration, we have updated babel-upgrade,
https://github.com/babel/babel-upgrade to do this for you with
"npx babel-upgrade".
If you want the same configuration as before:
{
"plugins": [
// Stage 2
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions",
// Stage 3
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
["@babel/plugin-proposal-class-properties", { "loose": false }],
"@babel/plugin-proposal-json-strings"
]
}
If you're using the same configuration across many separate projects,
keep in mind that you can also create your own custom presets with
whichever plugins and presets you're looking to use.
module.exports = function() {
return {
plugins: [
require("@babel/plugin-syntax-dynamic-import"),
[require("@babel/plugin-proposal-decorators"), { "legacy": true }],
[require("@babel/plugin-proposal-class-properties"), { "loose": false }],
],
presets: [
// ...
],
};
};
(While processing: "/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/preset-stage-2/lib/index.js")
at _default (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/preset-stage-2/lib/index.js:9:9)
at loadDescriptor (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/full.js:165:14)
at cachedFunction (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/caching.js:33:19)
at loadPresetDescriptor (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/full.js:235:63)
at config.presets.reduce (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/full.js:77:21)
at Array.reduce (<anonymous>)
at recurseDescriptors (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/full.js:74:38)
at loadFullConfig (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/config/full.js:108:6)
at process.nextTick (/Users/syeung/Documents/Development/training/modern-javascript/node_modules/@babel/core/lib/transform.js:28:33)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
@ multi (webpack)-dev-server/client?http://localhost:3000 ../../public/styles/app.scss ./src/index.js ./styles/app.scss main[2]
Child mini-css-extract-plugin ../../node_modules/css-loader/index.js!../../node_modules/sass-loader/lib/loader.js!styles/app.scss:
Entrypoint mini-css-extract-plugin = *
[0] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/css-loader!/Users/syeung/Documents/Development/training/modern-javascript/node_modules/sass-loader/lib/loader.js!./styles/app.scss 165 bytes {0} [built]
[1] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/css-loader/lib/css-base.js 2.21 KiB {0} [built]
Child mini-css-extract-plugin ../../node_modules/css-loader/index.js!../../node_modules/sass-loader/lib/loader.js!../../public/styles/app.scss:
Entrypoint mini-css-extract-plugin = *
[0] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/css-loader!/Users/syeung/Documents/Development/training/modern-javascript/node_modules/sass-loader/lib/loader.js!/Users/syeung/Documents/Development/training/modern-javascript/public/styles/app.scss 354 bytes {0} [built]
[1] /Users/syeung/Documents/Development/training/modern-javascript/node_modules/css-loader/lib/css-base.js 2.21 KiB {0} [built]
ℹ 「wdm」: Failed to compile.
Expected behavior
Build the app without failure
Branch | Build failing 🚨 |
---|---|
Dependency |
regenerator
|
Current Version | 0.12.3 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
regenerator is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 3 commits.
98f7f43
Publish
d22f3a7
Add a package-lock.json file.
5013ba2
Preserve the location of the replaced yield nodes. (#344)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | node-sass |
Current Version | 4.9.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
node-sass is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
--source-map
(@ascorbic, #1026)OS | Architecture | Node |
---|---|---|
Windows | x86 & x64 | 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 |
OSX | x64 | 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 |
Linux* | x86 & x64 | 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8**, 9**, 10**^ |
Alpine Linux | x64 | 4, 6, 7, 8, 9, 10 |
FreeBSD 10+ | amd64 | 4, 6, 8, 9, 10 |
FreeBSD 10+ | i386 | 4, 6, 8, 9, 10 |
*Linux support refers to Ubuntu, Debian, and CentOS 5+
** Node 8 and 9 are not supported on CentOS 5
^ Only available on x64
The new version differs by 21 commits.
240e8da
4.9.1
cc6ff42
Restore old node to CI
ef713a7
Bump [email protected]
62fd84a
chore: Add info for "Pinned" label
d3aebe7
Create CODE_OF_CONDUCT.md
18d198e
typo: node-sas -> node-sass
64fdacf
chore: Add link to 2355 on PR template
8040cb7
docs: add more 404 binding install info
a3ac021
Clean out duplicate ISSUE template
e0a92f6
docs: Cleanup issue templates
94ce852
Be even more explicit that Node 10 needs 4.9
91973ed
chore: Add compile issue details to bug template
e23531d
Update issue templates using builder
8878118
docs: Add Feature request issue template
043e2bc
docs: Move and update Installation template
There are 21 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | eslint |
Current Version | 4.15.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
.eslintrc.*
(fixes #9535) (#9847) (Kevin Partington)The new version differs by 22 commits.
33ca1ea
4.16.0
1a9ddee
Build: changelog update for 4.16.0
e26a25f
Update: allow continue instead of if wrap in guard-for-in (fixes #7567) (#9796)
af043eb
Update: Add NewExpression support to comma-style (#9591)
4f898c7
Build: Fix JSDoc syntax errors (#9813)
13bcf3c
Fix: Removing curly quotes in no-eq-null report message (#9852)
b96fb31
Docs: configuration hierarchy for CLIEngine options (fixes #9526) (#9855)
8ccbdda
Docs: Clarify that -c configs merge with .eslintrc.*
(fixes #9535) (#9847)
978574f
Docs: Fix examples for no-useless-escape (#9853)
cd5681d
Chore: Deactivate consistent-docs-url in internal rules folder (#9815)
2e87ddd
Docs: Sync messageId examples' style with other examples (#9816)
1d61930
Update: use doctrine range information in valid-jsdoc (#9831)
133336e
Update: fix indent behavior on template literal arguments (fixes #9061) (#9820)
ea1b15d
Fix: avoid crashing on malformed configuration comments (fixes #9373) (#9819)
add1e70
Update: fix indent bug on comments in ternary expressions (fixes #9729) (#9818)
There are 22 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency |
jest-cli
|
Current Version | 22.4.3 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
jest-cli is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.