I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
Release Notes
1.6.0: Config File, JSX
I want to give a special shout out to @azz who has been maintaining the repository and implementing a bunch of the changes in this release as I had less time to devote to prettier due to vacation and switching team :)
Highlights
Configuration
Implement cosmiconfig for workspace configuration (#2434) by @azz
Since the very first release of prettier, people have asked for a .prettierrc
file. We've been trying to have as few options as possible and tried to avoid being one more .dotfile
that you have to have when starting a new project.
But, the truth is, we need to have some way to configure prettier that can be kept in sync with all the integrations. By not having one, we pushed the problem to them and saw a bunch of incompatible ways of handling the problem. So now, it's handled by prettier itself.
// .prettierrc
{
"trailingComma": "es5",
"singleQuote": true
}
For more information on configuration file support, see the README.
Along with telling what configuration to use, you can write a file .prettierignore
to tell which files not to convert.
# .prettierignore
dist/
package.json
JSX
Improve JSX Formatting (#2398) by @suchipi
The last big friction point from people trying to adopt prettier was around how JSX was being printed. We went through all the issues that were raised and made a bunch of changes:
- Arrow Function Expressions returning JSX will now add parens when the JSX breaks
// Before
const Component = props =>
<div>
Hello {props.name}!
</div>;
// After
const Component = props => (
<div>
Hello {props.name}!
</div>
);
- Conditional expressions within (or containing) JSX are formatted in a different way using parenthesis
// Before
<div>
{props.isVisible
? <BaseForm
url="/auth/google"
method="GET"
/>
: <Placeholder />}
</div>;
// After
<div>
{props.isVisible ? (
<BaseForm
url="/auth/google"
method="GET"
/>
) : (
<Placeholder />
)}
</div>
- JSX in logical expressions (|| or &&) is always wrapped in parens when the JSX breaks
// Before
<div>
{props.isVisible &&
<BaseForm
url="/auth/google"
method="GET"
/>}
</div>;
// After
<div>
{props.isVisible && (
<BaseForm
url="/auth/google"
method="GET"
/>
)}
</div>
Hopefully this is going to be more in line with how the majority of the community is writing JSX and we can have prettier be used in more place ;)
Inline single expressions in JSX (#2442) by @karl
With JSX, we started by respecting a lot of line breaks that were in the original source. This had the advantage of doing fewer changes to your codebase but chipped away the value of a consistent pretty printer as the same semantic code could be written in two ways.
During each new release we've tightened this and made decisions around how to always print a piece of code. The latest of those is what happens if there's a single child in a JSX object, we're now always going to inline it.
// Before
return (
<div>
{this.props.test}
</div>
);
return <div>{this.props.test}</div>;
// After
return <div>{this.props.test}</div>;
return <div>{this.props.test}</div>;
Ensure there is a line break after leading JSX white space (#2348) by @karl
Leading JSX empty spaces are now on their own line. It looked weird to have them before a tag as it "indented" it differently compared to the rest.
// Before
<span className="d1">
{' '}<a
href="https://github.schibsted.io/finn/troika"
className="link"
/>
</span>
// After
<span className="d1">
{' '}
<a
href="https://github.schibsted.io/finn/troika"
className="link"
/>
</span>
Other Changes
JSON
Use babylon.parseExpression for JSON (#2476) by @josephfrazier
We used to use a strict JSON parser that would throw if there was a comment or a trailing comma. This was inconvenient as many JSON files in practice are parsed using JavaScript or json5 that are not as strict. Now, we have relaxed this and are using the JavaScript parser to parse and print JSON. This means that comments will be maintained if there were some.
Note that this is purely additive, if your original file was JSON compliant, it will keep printing a valid JSON.
// Before
Syntax error
// After
{ / some comment / "a": 1 }
JavaScript
Add more supervisory parens (#2423) by @azz
Parenthesis are a hot topic because they are not part of the AST, so prettier ignores all the ones you are putting and re-creating them from scratch. We went through all the things that people reported and came up with a few edge cases that were very confusing when comparisons were chained and %
was mixed with *
or /
.
One thing that we are not changing is the fact that we remove extra parenthesis around combinations of basic arithmetic operators: +-*/
.
// Before
x !== y === z;
x * y % z;
// After
(x !== y) === z;
(x * y) % z;
Implement prettier-ignore inside JSX (#2487) by @azz
It's useful to be able to ignore pieces of JSX, it's now possible to add a comment inside of a JSX expression to ignore the formatting of the next element.
// Before
<Component>
{/*prettier-ignore*/}
<span ugly format="" />
</Component>
// Before
<Component>
{/prettier-ignore/}
<span ugly format='' />
</Component>
Do not swallow prettier-ignore comments (#2664)
In order to support some edge cases, in the internals, we have the ability to avoid printing comments in a generic way and print them in the call site instead. It turns out that when we used prettier-ignore
, we didn't print the comments at all! This is now fixed.
// Before
push(
<td> :)
</td>,
);
// After
push(
// prettier-ignore
<td> :)
</td>,
);
Fix indentation of a do-while condition (#2359) by @jsnajdr
It took 6 months for someone to report that do-while were broken when the while condition is multi-line, it confirms my hunch that this construct is not widely used in practice.
// Before
do {} while (
someVeryLongFunc(
someVeryLongArgA,
someVeryLongArgB,
someVeryLongArgC
)
);
// After
do {} while (
someVeryLongFunc(
someVeryLongArgA,
someVeryLongArgB,
someVeryLongArgC
)
);
Break sequence expressions (#2388) by @bakkot
Another underused feature of JavaScript is sequence expressions. We used to do a bad job at printing them when they would go multi-line, this has been corrected :)
// Before
(a = b ? c : "lllllllllllllllllllllll"), (a = b
? c
: "lllllllllllllllllllllll"), (a = b ? c : "lllllllllllllllllllllll"), (a = b
? c
: "lllllllllllllllllllllll"), (a = b ? c : "lllllllllllllllllllllll");
// After
(a = b ? c : 'lllllllllllllllllllllll'),
(a = b ? c : 'lllllllllllllllllllllll'),
(a = b ? c : 'lllllllllllllllllllllll'),
(a = b ? c : 'lllllllllllllllllllllll'),
(a = b ? c : 'lllllllllllllllllllllll')
Trim trailing whitespace from comments (#2494) by @azz
We took the stance with prettier to remove all the trailing whitespaces. We used to not touch comments because it's user generated, but that doesn't mean that they should have whitespace :)
// Before
// There is some space here ->______________
// After
// There is some space here ->
Fix interleaved comments in class decorators (#2660, #2661)
Our handling for comments inside of the class declaration was very naive, we would just move all the comments to the top. We now are more precise and respect the comments that are interleaved inside of decorators and around extends
.
// Before
// A
// B
// C
@Foo()
@Bar()
class Bar {}
// After
// A
@Foo()
// B
@Bar()
// C
class Bar {}
Improve bind expression formatting (#2493) by @azz
Bind expressions are being discussed at TC39 and we figured we could print it with prettier. We used to be very naive about it and just chain it. Now, we use the same logic as we have for method chaining with the .
operator for it. We also fixed some edge cases where it would output invalid code.
// Before
observable::filter(data => data.someTest)::throttle(() =>
interval(10)::take(1)::takeUntil(observable::filter(data => someOtherTest))
)::map(someFunction);
// After
observable
::filter(data => data.someTest)
::throttle(() =>
interval(10)::take(1)::takeUntil(observable::filter(data => someOtherTest))
)
::map(someFunction);
Add support for printing optional catch binding (#2570) by @existentialism
It's being discussed at TC39 to be able to make the argument of a catch(e)
optional. Let's make sure we can support it in prettier if people use it.
// Before
Syntax error
// After
try {} catch {}
Add support for printing optional chaining syntax (#2572) by @azz
Another new proposal being discussed at TC39 is an optional chaining syntax. This is currently a stage 1 proposal, so the syntax may change at any time.
obj?.prop // optional static property access
obj?.[expr] // optional dynamic property access
func?.(...args) // optional function or method call
Handle Closure Compiler type cast syntax correctly (#2484) by @yangsu
Comments are tricky to get right, but especially when they have meaning based on where they are positioned. We're now special casing the way we deal with comments used as type cast for Closure Compiler such that they keep having the same semantics.
// Before
let assignment /** @type {string} */ = getValue();
// After
let assignment = /** @type {string} */ (getValue());
Inline first computed property lookup in member chain (#2670) by @azz
It looks kind of odd to have a computed property lookup on the next line, so we added a special case to inline it.
// Before
data
[key]('foo')
.then(() => console.log('bar'))
.catch(() => console.log('baz'));
// After
data[key]('foo')
.then(() => console.log('bar'))
.catch(() => console.log('baz'));
Flow
The flow team introduced two very exciting features under a new syntax. We now support them in prettier. I've personally been waiting for opaque types for a veerrryyyy long time!
// Before
Syntax error
// After
opaque type ID = string;
export type * from "module";
Strip away unnecessary quotes in keys in type objects and interfaces (#2643)
We've been doing this on JavaScript objects since the early days of prettier but forgot to apply the same thing to Flow and TypeScript types.
// Before
type A = {
"string": "A";
}
// After
type A = {
string: "A";
}
Print TypeParameter even when unary function type (#2406) by @danwang
Oopsy, we were dropping the generic in this very specific case.
// Before
type myFunction = A => B;
// After
type myFunction = <T>(A) => B;
Keep parens around FunctionTypeAnnotation inside ArrayTypeAnnotation (#2561) by @azz
Parenthesis... someday we'll get all of them fixed :)
// Before
const actionArray: () => void[] = [];
// After
const actionArray: (() => void)[] = [];
TypeScript
Support TypeScript 2.5 RC (#2672) by @azz
TypeScript 2.5 RC was recently announced, allowing you to use the upcoming "optional catch binding" syntax in TypeScript, too. π
Don't add namespace keyword to global declaration (#2329) by @azz
// Before
namespace global {
export namespace JSX { }
}
// After
global {
export namespace JSX {}
}
Fix <this.Component /> (#2472) by @backus
Thanks to the untyped and permissive nature of JavaScript, we've been able to concat undefined to a string and get some interesting code as a result. Now fixed for this case :)
// Before
<undefined.Author />
// After
<this.Author />
Allow type assertions to hug (#2439) by @azz
We want to make sure that all the special cases that we added for JavaScript and Flow also work for TypeScript constructs. In this case, objects should also hug if they are wrapped in a as
operator.
// Before
const state = JSON.stringify(
{
next: window.location.href,
nonce,
} as State
);
// After
const state = JSON.stringify({
next: window.location.href,
nonce,
} as State);
Remove parens for type assertions in binary expressions (#2419) by @azz
Most of the time we add parenthesis for correctness but in this case, we added them for nothing, so we can just get rid of them and have a cleaner code :)
// Before
(<x>a) || {};
// After
<x>a || {};
Print parens around type assertion as LHS in assignment (#2525) by @azz
Yet another case of missing parenthesis. Thankfully we're getting very few of them nowadays and they are for extremely rare edge cases.
// Before
foo.bar as Baz = [bar];
// After
(foo.bar as Baz) = [bar];
Print declare for TSInterfaceDeclaration (#2574) by @existentialism
The declare
keyword doesn't do anything for interface
so we never put it there. However, it felt weird if you were in a declaration file and seeing everything have declare
before it except for interfaces. So now we reprint declare
if it was there in the first place.
// Before
interface Dictionary<T> {
[index: string]: T
}
// After
declare interface Dictionary<T> {
[index: string]: T
}
CSS
Normalize quotes in CSS (#2624) by @lydell
In order to get a first version of CSS to ship, we kept string quotes as is. We are now respecting the singleQuote
option of prettier. The difficulty here was to make sure that we output correct code for all the crazy escapes, unicode characters, emoji, special rules like charset which only work with double quotes...
// Before
div {
content: "abc";
}
// After
div {
content: 'abc';
}
Normalize numbers in CSS (#2627) by @lydell
Another place where we can reuse the logic we've done for JavaScript to improve CSS printing.
// Before
border: 1px solid rgba(0., 0.0, .0, .3);
// After
border: 1px solid rgba(0, 0, 0, 0.3);
Quote unquoted CSS attribute values in selectors (#2644) by @lydell
I can never quite remember the rules behind quotes around attributes so we're now always putting quotes there.
// Before
a[id=test] {}
// After
a[id="test"] {}
Add support for css keyword (#2337) by @zanza00
// Before
const header = css`.top-bar {background: black;margin: 0;position: fixed;}`
// After
const header = css</span></span> <span class="pl-s"> .top-bar {</span> <span class="pl-s"> background: black;</span> <span class="pl-s"> margin: 0;</span> <span class="pl-s"> position: fixed;</span> <span class="pl-s"> }</span> <span class="pl-s"><span class="pl-pds">
;
Support styled-components with existing component (#2552, #2619) by @azz
styled-components has a lot of different variants for tagging template literals as CSS. It's not ideal that we've got to encode all those ways inside of prettier but since we started, might as well do it for real.
styled(ExistingComponent)`
css: property;
`;
styled.button.attr({})</span></span> <span class="pl-s"> border: rebeccapurple;</span> <span class="pl-s"><span class="pl-pds">
;
Trim whitespace in descendant combinator (#2411) by @azz
The CSS parsers we use do not give us a 100% semantic tree: in many occasions they bail and just give us what is being entered. It's up to us to make sure we clean this up while maintaining correctness. In this case, we just printed spaces between selectors as is but we know it's correct to always replace it by a single space.
// Before
.hello
.<span class="pl-smi">how</span><span class="pl-k">-</span>you<span class="pl-k">-</span>doin {
height: 42;
}
// After
.hello .how-you-doin {
height: 42;
}
Strip BOM before parsing (#2373) by @azz
I still have nightmares from dealing with BOM in a previous life. Thankfully, in 2017 it's no longer a big issue as most tooling is now aware of it. Thanks @azz for fixing an edge cases related to CSS parsing.
// Before
[BOM]/* Block comment *
html {
content: "#{1}";
}
// After
[BOM]/* Block comment */
html {
content: "#{1}";
}
GraphQL
Add support for range-formatting GraphQL (#2319) by @josephfrazier
If you tried to use the range formatting feature in a GraphQL file, it would throw an exception, now it properly worked again and only reformats the piece you selected.
Add .gql
file extension to be parsed as GraphQL (#2357) by @rrdelaney
At Facebook, we use .graphql
extension but it looks like it's common to have .gql
as well, doesn't cost a lot to support it in the heuristic that figures out what parser to use.
CLI
Support multiple patterns with ignore pattern (#2356) by @evilebottnawi
It was already possible to have multiple glob patterns but they would be additive, with this change, you can add a glob pattern to ignore some files. It should be very handy to ignore folders that are deeply nested.
prettier --write '{**/*,*}.{js,jsx,json}' '!vendor/**'
Make --list-different to work with --stdin (#2393) by @josephfrazier
This is a handy way of knowing if prettier would print a piece of code in a different way. We already had all the concepts in place, we just needed to wire them up correctly.
$ echo 'call ( ) ;' | prettier --list-different
(stdin)
$ echo $?
1
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Version 4.15.0 of eslint was just published.
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.
Status Details
- β continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Release Notes
v4.15.0
- 6ab04b5 New: Add context.report({ messageId }) (fixes #6740) (#9165) (Jed Fox)
- fc7f404 Docs: add url to each of the rules (refs #6582) (#9788) (Patrick McElhaney)
- fc44da9 Docs: fix sort-imports rule block language (#9805) (ferhat elmas)
- 65f0176 New: CLIEngine#getRules() (refs #6582) (#9782) (Patrick McElhaney)
- c64195f Update: More detailed assert message for rule-tester (#9769) (Weijia Wang)
- 9fcfabf Fix: no-extra-parens false positive (fixes: #9755) (#9795) (Erin)
- 61e5fa0 Docs: Add table of contents to Node.js API docs (#9785) (Patrick McElhaney)
- 4c87f42 Fix: incorrect error messages of no-unused-vars (fixes #9774) (#9791) (akouryy)
- bbabf34 Update: add
ignoreComments
option to indent
rule (fixes #9018) (#9752) (Kevin Partington)
- db431cb Docs: HTTP -> HTTPS (fixes #9768) (#9768) (Ronald Eddy Jr)
- cbf0fb9 Docs: describe how to feature-detect scopeManager/visitorKeys support (#9764) (Teddy Katz)
- f7dcb70 Docs: Add note about "patch release pending" label to maintainer guide (#9763) (Teddy Katz)
Commits
The new version differs by 14 commits.
e14ceb0
4.15.0
2dfc3bd
Build: changelog update for 4.15.0
6ab04b5
New: Add context.report({ messageId }) (fixes #6740) (#9165)
fc7f404
Docs: add url to each of the rules (refs #6582) (#9788)
fc44da9
Docs: fix sort-imports rule block language (#9805)
65f0176
New: CLIEngine#getRules() (refs #6582) (#9782)
c64195f
Update: More detailed assert message for rule-tester (#9769)
9fcfabf
Fix: no-extra-parens false positive (fixes: #9755) (#9795)
61e5fa0
Docs: Add table of contents to Node.js API docs (#9785)
4c87f42
Fix: incorrect error messages of no-unused-vars (fixes #9774) (#9791)
bbabf34
Update: add ignoreComments
option to indent
rule (fixes #9018) (#9752)
db431cb
Docs: HTTP -> HTTPS (fixes #9768) (#9768)
cbf0fb9
Docs: describe how to feature-detect scopeManager/visitorKeys support (#9764)
f7dcb70
Docs: Add note about "patch release pending" label to maintainer guide (#9763)
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Version 2.10.0 of webpack-dev-server was just published.
Branch
|
Build failing π¨
|
Dependency
|
webpack-dev-server
|
Current Version
|
2.9.7
|
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.
Status Details
- β continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Release Notes
v2.10.0
Version 2.10.0 adds the transpilation of the client scripts via babel to ES5 which restores backwards compatibility (that was removed in 2.8.0) to very old or out of date browsers.
Important webpack-dev-server has entered a maintenance-only mode. We won't be accepting any new features or major modifications. We'll still welcome pull requests for fixes however, and will continue to address any bugs that arise. Announcement with specifics pending.
Bugfixes
- iOS Safari 10 bug where SockJS couldn't be found (#1238)
reportTime
option (#1209)
- don't mutate stats configuration (#1174)
- enable progress from config (#1181)
Updates
- transpile client bundles with babel (#1242)
- dependency updates (ce30460)
- Increase minimum
marked
version for ReDos vuln (#1255)
- Update sockjs dependency to fix auditjs security vulnerability warning
Commits
The new version differs by 13 commits.
ca8b5aa
2.10.0 (#1258)
17355f0
transpile client bundles with babel (#1242)
ce30460
rolling back webpack-dev-midddleware 2.0, as it's node6+
00e8500
updating deps and patching as necessary
082ddae
maint only mode
c9c61f2
fix(package): Increase minimum marked
version for ReDos vuln (#1255)
aab49de
iOS Safari 10 bug where SockJS couldn't be found (#1238)
a168b81
feat: reportTime
option (#1209)
32c3ceb
don't mutate stats configuration (#1174)
ef18fc8
Update sockjs dependency to fix auditjs security vulnerability warning (#1178)
7e89442
enable progress from config (#1181)
e8964d1
add --progress cli test (#1182)
a9327e5
Fix typos (#1236)
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Version 1.13.2 of prettier was just published.
This version is covered by your current version range and after updating it in your project the build failed.
prettier 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.
Status Details
- β continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
FAQ and help
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 the whole action to breadcrumb. Normally people add payload to their action, this way, we can make a report more "reproducible". I believe right now we're only adding action.type
in breadcrumb.
Version 7.11.0 of eslint-plugin-react was just published.
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.
Status Details
- β continuous-integration/travis-ci/push: The Travis CI build failed (Details).
Release Notes
v7.11.0
Added
Fixed
destructuring-assignment
: Ignore class properties (#1909, @alexzherdev)
destructuring-assignment
, component detection: ignore components with confidence = 0 (#1907, @alexzherdev)
boolean-prop-naming
: Handle inline Flow type (#1905, @alexzherdev)
jsx-props-no-multi-spaces
: Handle member expressions ([#1890][], @alexzherdev)
sort-comp
: Allow methods to belong to any matching group (#1858, @nosilleg)
jsx-sort-props
: Fix reservedFirst
(#1883, @fleischie)
prop-types
: (flow) Stop crashing on undefined or null properties (#1860, @nicholas-l)
no-unknown-property
: Make attribute "charset" valid (#1863, @silvenon)
no-deprecated
: report identifier AST node instead of the class node (#1854, @jsnajdr)
button-has-type
: Account for pragma (#1851, @alexzherdev)
button-has-type
: improve error message when an identifier is used as the value (#1874, @ljharb)
- support JSXText nodes alongside Literal nodes (@ljharb)
Changed
Commits
The new version differs by 65 commits.
599c028
Update CHANGELOG and bump version
1eccf7f
Merge pull request #1924 from alexzherdev/1775-one-expression-options
c1c3d19
Merge pull request #1911 from alexzherdev/1674-prop-types-refactoring
3567c5b
[New] Add allow option to jsx-one-expression-per-line
9258d79
Merge pull request #1918 from BenRichter/patch-1
bc9a8ea
Update jsx-props-no-multi-spaces.md
a466a77
Merge pull request #1909 from alexandernanberg/fix/class-property-destructure-assignment
50cd5a6
Clean up and code review
5b5ebfa
Made prop-types pass
f2fdaa3
Extract declared propTypes detection code
9dbb834
Merge pull request #1914 from alexzherdev/is-function-helper
7edc982
Fix lint error
ef36ba9
Add a helper function for determining function-like expressions
4382aa5
fix: destructuring-assignment ignore class properties
efe0c0c
Merge pull request #1907 from alexzherdev/1637-destructuring-assignment-greedy
There are 65 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
API has changed.
Uncaught TypeError: e.setDataCallback is not a function
@sentry/browser
is the latest version of Sentry SDK. I tried to upgrade my project, but my application fails to run with an error Raven.setDataCallback is not a function
. That's because the Sentry API changed significantly and this library would have to be updated...
Currently this is the source of a potential memory leak (see #50), since Raven will continue to hold a reference our original dataCallback
which has the store implicitly bound into it.
Additionally, we hard code where in the context we put the state, (data.extra.state
), so the second call will cause any context provided by the first call to be overwritten.
I can foresee a possible use case where a user might have n different Redux stores on a given page, and might want to record context about all of them so let's have the warning include a link to our documentation where we can explain these things and give people a chance to request support for multiple calls.
I'll wrap the link in an http://bit.ly URL shortener so that we can track how many people are hitting the warning and clicking through.
I've implemented this library in my Redux middleware and it's generally working quite well.
However, I've also set up some React Error Boundaries that report to my Sentry.io instance, as per https://blog.sentry.io/2017/09/28/react-16-error-boundaries.
When I manually trigger Raven.captureException
in my Error Boundary component as per the blog post, an exception is logged on Sentry, but without the componentStack
part being in the extra
part of the data that is being sent to Sentry. The state
is there as expected.
If I inspect the network request that's being made to Sentry, it's the same. The state
is there, but the property that was added to extra
in the captureException
call has been discarded.
Version 3.1.6 of webpack-dev-server was just published.
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.
Status Details
- β continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).
Release Notes
v3.1.6
Bug Fixes
- bin: handle
process
signals correctly when the server isn't ready yet (#1432) (334c3a5)
- examples/cli: correct template path in
open-page
example (#1401) (df30727)
- schema: allow the
output
filename to be a {Function}
(#1409) (e2220c4)
Commits
The new version differs by 21 commits.
0e1f0c1
chore(release): 3.1.6
aaabeb8
test(cli): remove outdated dependency lock test
4e27954
chore(package): update yargs
v11.0.0...12.0.1 (dependencies
)
c4a1038
chore(package): update devDependencies
(#1474)
3e764c5
chore(package): update webpack-dev-middleware
v3.1.3...v3.2.0 (dependencies
) (#1473)
c854743
chore(package): update webpack-log
v1.1.2...v2.0.0 (dependencies
) (#1472)
c760c44
ci(travis): add build stages (#1467)
b445b68
chore(package): add release
script (scripts
) (#1461)
334c3a5
fix(bin): handle process
signals correctly when the server isn't ready yet (#1432)
e2220c4
fix(schema): allow the output
filename to be a {Function}
(#1409)
807c846
refactor: drop array-includes
5b6bb5e
Merge pull request #1460 from webpack/docs/maintenance
b838274
Merge pull request #1462 from webpack/chore/codeowners
1707e9e
chore(.github/CODEOWNERS): add code owners
6c1d8d8
docs(readme): remove obsolete maintenance note
There are 21 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Recommend Projects
-
-
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. πππ
-
Recommend Topics
-
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.
-
Recommend Org
-
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.
-