Update all
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @types/js-combinatorics | 0.5.31 -> 0.5.32 |
||||
| @types/long | 4.0.0 -> 4.0.1 |
||||
| @types/mocha | 5.2.6 -> 5.2.7 |
||||
| @types/node | 10.12.27 -> 10.17.60 |
||||
| @types/request-promise-native | 1.0.15 -> 1.0.17 |
||||
| @types/rimraf | 2.0.2 -> 2.0.4 |
||||
| js-combinatorics | ^0.5.4 -> ^0.6.0 |
||||
| mocha (source) | 6.0.2 -> 6.2.3 |
||||
| parcel | 1.11.0 -> 1.12.4 |
||||
| prettier (source) | 1.16.4 -> 1.19.1 |
||||
| pretty-quick | 1.10.0 -> 1.11.1 |
||||
| rimraf | 2.6.3 -> 2.7.1 |
||||
| tslint (source) | 5.13.0 -> 5.20.1 |
||||
| typescript (source) | 3.3.3333 -> 3.9.9 |
||||
| vscode-languageserver-types | 3.14.0 -> 3.16.0 |
Release Notes
mochajs/mocha
v6.2.3
:lock: Security Fixes
v6.2.2
:bug: Fixes
-
#4025: Fix duplicate
EVENT_RUN_ENDevents upon uncaught exception (@juergba) -
#4051: Fix "unhide" function in
htmlreporter (browser) (@pec9399) - #4063: Fix use of esm in Node.js v8.x (@boneskull)
- #4033: Fix output when multiple async exceptions are thrown (@juergba)
:book: Documentation
- #4046: Site accessibility fixes (@Mia-jeong)
- #4026: Update docs for custom reporters in browser (@Lindsay-Needs-Sleep)
- #3971: Adopt new OpenJS Foundation Code of Conduct (@craigtaub)
v6.2.1
:bug: Fixes
- #3955: tty.getWindowSize is not a function inside a "worker_threads" worker (@1999)
- #3970: remove extraGlobals() (@juergba)
- #3984: Update yargs-unparser to v1.6.0 (@juergba)
- #3983: Package 'esm': spawn child-process for correct loading (@juergba)
- #3986: Update yargs to v13.3.0 and yargs-parser to v13.1.1 (@juergba)
:book: Documentation
- #3886: fix styles on mochajs.org (@outsideris)
- #3966: Remove jsdoc index.html placeholder from eleventy file structure and fix broken link in jsdoc tutorial (@Munter)
- #3765: Add Matomo to website (@MarioDiaz98)
- #3947: Clarify effect of .skip() (@oliversalzburg)
v6.2.0
:tada: Enhancements
- #3827: Do not fork child-process if no Node flags are present (@boneskull)
- #3725: Base reporter store ref to console.log, see mocha/wiki (@craigtaub)
:bug: Fixes
-
#3942: Fix "No test files found" Error when file is passed via
--file(@gabegorelick) -
#3914: Modify Mocha constructor to accept options
globalorglobals(@pascalpp) -
#3894: Fix parsing of config files with
_mochabinary (@juergba) - #3834: Fix CLI parsing with default values (@boneskull, @juergba)
-
#3831: Fix
--timeout/--slowstring values and duplicate arguments (@boneskull, @juergba)
:book: Documentation
- #3906: Document option to define custom report name for XUnit reporter (@pkuczynski)
- #3889: Adds doc links for mocha-examples (@craigtaub)
- #3887: Fix broken links (@toyjhlee)
- #3841: Fix anchors to configuration section (@trescube)
:mag: Coverage
-
#3915, #3929: Increase tests coverage for
--watchoptions (@geigerzaehler)
:nut_and_bolt: Other
-
#3953: Collect test files later, prepares improvements to the
--watchmode behavior (@geigerzaehler) - #3939: Upgrade for npm audit (@boneskull)
-
#3930: Extract
runWatchinto separate module (@geigerzaehler) -
#3922: Add
mocha.min.jsfile to stacktrace filter (@brian-lagerman) - #3919: Update CI config files to use Node-12.x (@plroebuck)
- #3892: Rework reporter tests (@plroebuck)
-
#3872: Rename
--excludeto--ignoreand create alias (@boneskull) - #3963: Hide stacktrace when cli args are missing (@outsideris)
- #3956: Do not redeclare variable in docs array example (@DanielRuf)
-
#3957: Remove duplicate line-height property in
mocha.css(@DanielRuf) - #3960: Don't re-initialize grep option on watch re-run (@geigerzaehler)
v6.1.4
:lock: Security Fixes
- #3877: Upgrade js-yaml, addressing code injection vulnerability (@bjornstar)
v6.1.3
:bug: Fixes
-
#3863: Fix
yargs-related global scope pollution (@inukshuk) -
#3869: Fix failure when installed w/
pnpm(@boneskull)
v6.1.2
:bug: Fixes
- #3867: Re-publish v6.1.1 from POSIX OS to avoid dropped executable flags (@boneskull)
v6.1.1
:bug: Fixes
- #3866: Fix Windows End-of-Line publishing issue (@juergba & @cspotcode)
v6.1.0
:lock: Security Fixes
- #3845: Update dependency "js-yaml" to v3.13.0 per npm security advisory (@plroebuck)
:tada: Enhancements
-
#3766: Make reporter constructor support optional
optionsparameter (@plroebuck) -
#3760: Add support for config files with
.jsoncextension (@sstephant)
:fax: Deprecations
These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
:bug: Fixes
- #3829: Use cwd-relative pathname to load config file (@plroebuck)
-
#3745: Fix async calls of
this.skip()in "before each" hooks (@juergba) -
#3669: Enable
--allow-uncaughtfor uncaught exceptions thrown inside hooks (@givanse)
and some regressions:
-
#3848: Fix
Suitecloning by copyingrootproperty (@fatso83) - #3816: Guard against undefined timeout option (@boneskull)
- #3814: Update "yargs" in order to avoid deprecation message (@boneskull)
- #3788: Fix support for multiple node flags (@aginzberg)
:book: Documentation
- mochajs/mocha-examples: New repository of working examples of common configurations using mocha (@craigtaub)
- #3850: Remove pound icon showing on header hover on docs (@jd2rogers2)
- #3812: Add autoprefixer to documentation page CSS (@Munter)
- #3811: Update doc examples "tests.html" (@DavidLi119)
- #3807: Mocha website HTML tweaks (@plroebuck)
- #3793: Update config file example ".mocharc.yml" (@cspotcode)
:nut_and_bolt: Other
- #3830: Replace dependency "findup-sync" with "find-up" for faster startup (@cspotcode)
- #3799: Update devDependencies to fix many npm vulnerabilities (@XhmikosR)
parcel-bundler/parcel
v1.12.4
v1.12.3
- Downgrade all internal Babel packages to
<7.4.0because of bugs in that release.
v1.12.2
- Fix depth option for detailed report
v1.12.1
Fixed
- Correctly build dependency URLs (for CSS) Details
- Fix bug with original null mappings Details
- Regenerate all bundles and trigger an HMR page reload when a new bundle is created Details
- Unescaped "." in regex for JSAsset Details
- Open the specified host Details
v1.12.0
Added
- CSS/Sass/LESS sourcemaps Details
- Add Markdown support Details
- Unhandled HMR updates should cause a page reload Details
- Enables jsx plugin in case jsx syntax is used in js files Details
- Add disabling of autoinstall globally via environment variable Details
- Add support for
chrome-extension://protocol to bundle-url.js Details - Add support for Firefox's 'moz-extension://' protocol, to bundle-url.js Details
- Generate source map files with long extentions (e.g. .js.map) Details
- upgrade htmlnano dep Details
- Default port to process.env.PORT Details
- Inline process.browser for better code elimination Details
- Detect files added to/removed from directories. Details
- Implement depth option for detailed report Details
Fixed
- Resolve package.browser in subfolders (with backslashes) Details
- fix chokidar ignored regex Details
- Defer throwing asset errors until after dependencies are handled. Details
- fix(sourcemaps): Handle null mappings properly Details
- Use Buffer.from Details
- addURLDependency: use always relative path Details
- reexporting + renaming when scopehoisting Details
- Fix and reenable windows scope-hoisting tests Details
- Fix for typescript asset invalidation Details
- Fix hang up when a lot of parallel operation request the file system Details
- Fix localRequire with package/path requests Details
- Refactor htmlnano tests to test for filesize Details
- pug Deprecated pretty Details
- Fix pug test Details
- Use the test to assert this.child.killed rather than checking time difference Details
- Improve tests: symlink tests, Kotlin tests, and maybe test-util module Details
- Handle empty html files Details
- Fix HTMLAsset dependency tag with empty src value Details
- Allow dotfiles to be served Details
- Fix sourceMappingURL for bundles with multiple entry points Details
- Fix absolute path importing in sass Details
- Fix dependency list parsing in RustAsset for paths on Windows Details
- For scope hoisting, Asset IDs cannot contain + or / (base64) Details
- Send CORS headers when a file does not exist Details
- Prevent circular deps from causing a stack overflow in HMR runtime Details
- Fix postcss modules composes imports Details
- fix: set default pragmaFrag option for JSX Details
- Remove unnecessary return await Details
- Fix scopehositing with nested dynamic imports Details
- eslint: enable no-return-await Details
- Throw meaningful error on undefined exports Details
- Add helpful plugin errors Details
- Fix HMR failure with js error on load Details
prettier/prettier
v1.19.1
CLI
Fix --stdin regression in 1.19.0 (#6894 by @lydell)
// Prettier stable
$ echo "test" | prettier --stdin --parser babel
[error] regeneratorRuntime is not defined
// Prettier master
$ echo "test" | prettier --stdin --parser babel
test;
TypeScript
Fix formatting of union type as arrow function return type (#6896 by @thorn0)
// Input
export const getVehicleDescriptor = async (
vehicleId: string,
): Promise<Collections.Parts.PrintedCircuitBoardAssembly['attributes'] | undefined> => {}
// Prettier stable
export const getVehicleDescriptor = async (
vehicleId: string
): Promise<| Collections.Parts.PrintedCircuitBoardAssembly["attributes"]
| undefined> => {};
// Prettier master
export const getVehicleDescriptor = async (
vehicleId: string
): Promise<
Collections.Parts.PrintedCircuitBoardAssembly["attributes"] | undefined
> => {};
v1.19.0
v1.18.2
-
TypeScript: only add trailing commas in tuples for
--trailing-comma=all(#6199 by @duailibe)In Prettier 1.18 we added trailing commas in tuples when
--trailing-comma=all, but it was also adding for--trailing-comma=es5.
v1.18.1
-
TypeScript: Add trailing comma in tsx, only for arrow function (#6190 by @sosukesuzuki)
Prettier inserts a trailing comma to single type parameter for arrow functions in tsx, since v 1.18. But, this feature inserts a trailing comma to type parameter for besides arrow functions too (e.g, function , interface). This change fix it.
// Input interface Interface1<T> { one: "one"; } function function1<T>() { return "one"; } // Output (Prettier 1.18.0) interface Interface1<T,> { one: "one"; } function function1<T,>() { return "one"; } // Output (Prettier 1.18.1) interface Interface1<T> { one: "one"; } function function1<T>() { return "one"; } -
Config: Match dotfiles in config overrides (#6194 by @duailibe)
When using
overridesin the config file, Prettier was not matching dotfiles (files that start with.). This was fixed in 1.18.1
v1.18.0
v1.17.1
-
Range: Fix ranged formatting not using the correct line width (#6050 by @mathieulj)
// Input function f() { if (true) { call("this line is 79 chars", "long", "it should", "stay as single line"); } } // Output (Prettier 1.17.0 run with --range-start 30 --range-end 110) function f() { if (true) { call( "this line is 79 chars", "long", "it should", "stay as single line" ); } } // Output (Prettier 1.17.0 run without range) function f() { if (true) { call("this line is 79 chars", "long", "it should", "stay as single line"); } } // Output (Prettier 1.17.1 with and without range) function f() { if (true) { call("this line is 79 chars", "long", "it should", "stay as single line"); } } -
JavaScript: Fix closure compiler typecasts ([#5947] by @jridgewell)
If a closing parenthesis follows after a typecast in an inner expression, the typecast would wrap everything to the that following parenthesis.
// Input test(/** @​type {!Array} */(arrOrString).length); test(/** @​type {!Array} */((arrOrString)).length + 1); // Output (Prettier 1.17.0) test(/** @​type {!Array} */ (arrOrString.length)); test(/** @​type {!Array} */ (arrOrString.length + 1)); // Output (Prettier 1.17.1) test(/** @​type {!Array} */ (arrOrString).length); test(/** @​type {!Array} */ (arrOrString).length + 1); -
JavaScript: respect parenthesis around optional chaining before await (#6087 by @evilebottnawi)
// Input async function myFunction() { var x = (await foo.bar.blah)?.hi; } // Output (Prettier 1.17.0) async function myFunction() { var x = await foo.bar.blah?.hi; } // Output (Prettier 1.17.1) async function myFunction() { var x = (await foo.bar.blah)?.hi; } -
Handlebars: Fix {{else}}{{#if}} into {{else if}} merging (#6080 by @dcyriller)
// Input {{#if a}} a {{else}} {{#if c}} c {{/if}} e {{/if}} // Output (Prettier 1.17.0) {{#if a}} a {{else if c}} c e {{/if}} // Output (Prettier 1.17.1) Code Sample {{#if a}} a {{else}} {{#if c}} c {{/if}} e {{/if}} -
JavaScript: Improved multiline closure compiler typecast comment detection (#6070 by @yangsu)
Previously, multiline closure compiler typecast comments with lines that start with * weren't flagged correctly and the subsequent parenthesis were stripped. Prettier 1.17.1 fixes this issue.
// Input const style =/** * @​type {{ * width: number, * }} */({ width, }); // Output (Prettier 1.17.0) const style =/** * @​type {{ * width: number, * }} */ { width, }; // Output (Prettier 1.17.1) const style =/** * @​type {{ * width: number, * }} */({ width, });
v1.17.0
palantir/tslint
v5.20.1
No changes from v5.20.0, just re-released to correctly mark with the latest dist-tag on NPM.
v5.20.0
- [bugfix] fix
strict-boolean-expressionsfalse positive with"ignore-rhs"option (#4833) - [bugfix] fix
no-unnecessary-type-assertionno error when"strict": truein compiler flags (#4841) - [bugfix] "ignore" option for
file-name-casingrule works correctly (#4848) - [bugfix] fix
array-typefalse positive for simple parenthesized types with "array-simple" option (#4844) - [new-rule-option]
object-literal-shorthandsupports{"property"?: "never", "method"?: "never"}as config options (#4842) - [new-rule-option]:
allow-genericsoption forinvalid-voidrule (#4839) - [new-rule-option]
check-super-callsoption forunnecessary-constructorrule (#4813) - [chore] Upgrade
diffdependency to v4.0.1 (#4845, #4852)
Thanks to our contributors!
- Bas Bosman
- Tanmoy Bhowmik
- David Zulaica
- Maxime Kjaer
- @guidsdo
- Pavel Birukov
- Josh Goldberg
- Akshaya Srivatsa
v5.19.0
- [bugfix] relax
promise-function-asyncfor short parenthesized arrow functions (#4765) - [bugfix] fix
no-async-without-awaitfalse positive for abstract methods (#4782) - [bugfix] fix
strict-comparisonsfalse positive fornullandundefinedliterals (#4786) - [bugfix] improve
no-angle-bracket-type-assertionautofix semantics with more parentheses (#4823) - [enhancement] add BigInt support to
restrict-plus-operandsrule (#4814) - [enhancement]
await-promisenow supports new TypeScript 3.6 AST API symbols for async iterators (#4800) - [new-rule-option]
check-stringsandcheck-regexoptions formax-line-lengthrule (#4798) - [new-rule-option]
variable-declaration-ignore-functionoption fortypedefrule (#4769) - [new-rule-option]
ignore-blank-linesoption forobject-literal-sort-keysrule (#4808) - [new-rule]
no-for-in(#4747) - [new-rule]
invalid-void(#4736) - [new-rule]
strict-string-expressionsreports errors on type coercions found in string expressions (#4807) - [new-rule]
no-promise-as-boolean(#4790) - [docs] link to OSS fellowship medium post in README (#4821)
Thanks to our contributors!
- Josh Pike
- Tanmoy Bhowmik
- Michael Withagen
- Evgeniy Timokhov
- Vitalij Krotov
- Josh Goldberg
- Veda
- Guido
- Robert Fink
- Max Sysoev
v5.18.0
- [feature] New
--print-configCLI flag (#4744) - [bugfix]
no-unnecessary-type-assertionno longer flagsx!non-null assertions if--strictNullChecksis not enabled (#3724) - [bugfix]
quotemarkhandles unbalanced quotes more gracefully without crashing (#4344) - [docs] Add tslint-playground link to README and bug report template (#4150)
- [enhancement]
no-magic-numbersrule ignores arguments passed into default Number methods (#3668) - [new-fixer]
comment-format(#3583) - [new-rule-option]
"allow-trailing-lowercase"option forcomment-formatrule (#3583) - [new-rule-option]
"ignore-accessors"foradjacent-overload-signaturesto ignore getters / setters overloads (#3718) - [new-rule]
no-async-without-await(#3945) - [new-rule]
strict-comparisons(#4519)
Thanks to our contributors!
- Josh Goldberg
- smoehrle
- Mateusz Witkowski
- Andy Hanson
- John Wiseheart
- Eran Shabi
- Tibor Blenessy
- AndreasGassmann
- Ryan Waskiewicz
- Isabelle
v5.17.0
- [bugfix]
quotemarkbacktic option now ignores enum members, use strict declarations, lookup types, and strings containing octal escape sequences. (#4693) - [bugfix]
no-redundant-jsdocno longer errors onJSDocThisTag(#4690) - [chore] Update devDependency mocha from v3.2.0 to v6.1.4 (#4669) (#4674)
- [chore] Update devDependency js-yaml from ^3.13.0 to ^3.13.1 (#4663)
- [chore] Update deprecated devDependency github to @octokit/rest (#4673)
- [chore] Update devDependency nyc from v13.3.0 to v14.1.1 (#4699)
- [deprecation]
no-use-before-declarerule for typescript >= 2.9.0 (#4695) - [documentation] Minor fix for
variable-namerule metadata (#4731) - [documentation] Fixed
no-unused-variableargument count (#4683) - [enhancement] Allow const assertions in
no-object-literal-type-assertion(#4681) - [new-fixer]
unnecessary-constructor(#4694)
Thanks to our contributors!
- Bjorn Stromberg
- Vitaliy Agoshkov
- knafteN
- Bowen Ni
- Waseem Ahmad
- Åsmund Grammeltvedt
- Eric Ferreira
- Zhen Tian
- Tom Lakesman
- zachkirsch
v5.16.0
- [bugfix] Excuse more
quotemarkbacktick edge cases and fix behavior for TS < 2.7.1 (#4642) - [bugfix] Fix regression in
interface-namerule related to numeric characters in interface names (#4655, #4626) - [enhancement] Update
nycfrom v10.2.0 to v13.3.0 (#4633) - [enhancement] Migrate from deprecated babel-code-frame package to new @babel/code-frame package (#4632)
- [enhancement] Improve error message for
restrict-plus-operandsrule. (#4635) - [enhancement]
comment-formatrule now whitelists//regioncomments generated by JetBrains IDE (#4609) - [enhancement] Relax
no-null-undefined-unionrule. (#4625) - [new-rule-option]
allow-else-ifoption forunnecessary-elserule (#4599) - [documentation] Fix "identifer" typo in custom rules docs (#4657)
- [documentation] Fix code example for
switch-defaultrule (#4650) - [documentation] Fix documentation example for prose formatter (#4656)
- [documentation]
no-parameter-properties: fix unclear rule description (#4629) - [documentation] Fix typo in rule docs generation (#4638)
Thanks to our contributors!
- Oleg Artene
- William Neely
- Bjorn Stromberg
- Matthew Barry
- Neha Rathi
- Vincent Langlet
- rarenal
- Greg Jednaszewski
- Adam Postma
- Eric Ferreira
- Evgeniy Timokhov
- Martin Probst
v5.15.0
- [api]
WalkContextandAbstractWalkertype parameter defaults tovoid(#2600) - [bugfix]
no-void-expressionnow allows conditional expressions (#4606) - [bugfix] fix linebreak handling in
ordered-imports(#4583) - [bugfix] fix
static-thisfalse positive for higher order components (#4580) - [bugfix] Fixed crash in
unnecessary-elsefrom blankifstatements (#4603) - [bugfix] Fixed false positive in
unnecessary-elseafter non-jumping statement (#4603) - [bugfix]
interface-namenow handles interface starting with "I18n" correctly (#4486) - [bugfix]
no-string-throwfix inserts whitespace if not present afterthrowkeyword (#4540) - [bugfix]
quotemark: fix some edge cases forbacktickoption (#4618) - [bugfix]
unnecessary-constructor: don't flag non-private constructors that are actually necessary (#4619) - [enhancement] Upgrade js-yaml to avoid security issue (#4595)
- [new-rule-option]
allow-single-line-commentsoption forfile-headerrule (#4560) - [new-rule-option]
ignore-rest-argsoption forno-anyrule (#4581) - [new-rule]
no-null-undefined-union(#4589)
Thanks to our contributors!
- Max Belsky
- Steve Moser
- Christian Flach
- Roman Rogowski
- Terry
- Luke
- Andy Hanson
- Vitalij Krotov
- Josh Goldberg
- Vincent Langlet
- Neha Rathi
- Eric Ferreira
v5.14.0
Configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box.
This PR has been generated by WhiteSource Renovate. View repository job log here.
bors r+
bors r-
I'm gonna wait until all the branches are up to date.