Update CHANGELOG.md and package.json for 6.2.0-beta (#865)

This commit is contained in:
Andrii Dieiev 2019-05-19 02:23:45 +03:00 коммит произвёл GitHub
Родитель f85d5f6dbc
Коммит 6530da9d93
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 23 добавлений и 6 удалений

Просмотреть файл

@ -1,5 +1,22 @@
# Changelog
## [6.2.0-beta](https://github.com/Microsoft/tslint-microsoft-contrib/releases/tag/6.2.0-beta)
[All Issues](https://github.com/Microsoft/tslint-microsoft-contrib/issues?q=milestone%3A6.2.0-beta)
- [#859](https://github.com/microsoft/tslint-microsoft-contrib/issues/859) no-string-based-x rules throw errors in Vue SFC
- [#856](https://github.com/microsoft/tslint-microsoft-contrib/issues/856) False positive for prefer-array-literal when using `Array` from other namespace
- [#844](https://github.com/microsoft/tslint-microsoft-contrib/issues/844) Update w3 reference in the react-a11y-role rule
- [#841](https://github.com/microsoft/tslint-microsoft-contrib/issues/841) Rule react-a11y-input-elements incorrectly requiring value for file input
- [#839](https://github.com/microsoft/tslint-microsoft-contrib/issues/839) prefer-array-literal: catch new Array(10) but not Array(10)
- [#836](https://github.com/microsoft/tslint-microsoft-contrib/issues/836) react-a11y-no-onchange should allow onChange when onBlur is present
- [#830](https://github.com/microsoft/tslint-microsoft-contrib/issues/830) Add case sensitivity to 'import-name' rule
- [#822](https://github.com/microsoft/tslint-microsoft-contrib/issues/822) prefer-array-literal: how can one specify the size of the array?
- [#814](https://github.com/microsoft/tslint-microsoft-contrib/issues/814) export-name does not work with kebab/snake case
- [#813](https://github.com/microsoft/tslint-microsoft-contrib/issues/813) react-bind-this-issue doesn't detect bind decorators defined after usage
- [#279](https://github.com/microsoft/tslint-microsoft-contrib/issues/279) new a11y rule: mouse-events-have-key-events
- [#252](https://github.com/microsoft/tslint-microsoft-contrib/issues/252) new security rule: detect-child-process
## [6.1.0](https://github.com/Microsoft/tslint-microsoft-contrib/releases/tag/6.1.0)
[All Issues](https://github.com/Microsoft/tslint-microsoft-contrib/issues?q=milestone%3A6.1.0)

Просмотреть файл

@ -141,7 +141,7 @@ We recommend you specify exact versions of lint libraries, including `tslint-mic
<code>child_process.exec(cmd)</code> runs <code>cmd</code> as a shell command which could allow an attacker to execute malicious code injected into <code>cmd</code>.
Instead of <code>child_process.exec(cmd)</code> you should use <code>child_process.spawn(cmd)</code> or specify the command as a literal, e.g. <code>child_process.exec('ls')</code>.
</td>
<td>@next</td>
<td>6.2.0-beta</td>
</tr>
<tr>
<td>
@ -835,12 +835,12 @@ We recommend you specify exact versions of lint libraries, including `tslint-mic
Since 2.0.10, this rule can be configured to allow <code>Array</code> type parameters.
To ignore type parameters, configure the rule with the values: <code>[true, {"allow-type-parameters": true}]</code>.
<br />
Since @next, you can lift restriction on <code>Array</code> constructor calls with a single argument (to create empty array of a given length). If type information is available - rule will allow only a single argument of <code>number</code> type.
Since 6.2.0-beta, you can lift restriction on <code>Array</code> constructor calls with a single argument (to create empty array of a given length). If type information is available - rule will allow only a single argument of <code>number</code> type.
To allow empty array creation, configure the rule with the values: <code>[true, {"allow-size-argument": true}]</code>.
<br />
This rule has some overlap with the <a href="https://palantir.github.io/tslint/rules/array-type">TSLint array-type rule</a>; however, the version here catches more instances.
</td>
<td>1.0, 2.0.10, @next</td>
<td>1.0, 2.0.10, 6.2.0-beta</td>
</tr>
<tr>
<td>
@ -1008,7 +1008,7 @@ We recommend you specify exact versions of lint libraries, including `tslint-mic
<td>
For accessibility of your website, elements with mouseOver/mouseOut should be accompanied by onFocus/onBlur keyboard events.
</td>
<td>@next</td>
<td>6.2.0-beta</td>
</tr>
<tr>
<td>

2
package-lock.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "tslint-microsoft-contrib",
"version": "6.1.0",
"version": "6.2.0-beta",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "tslint-microsoft-contrib",
"version": "6.1.0",
"version": "6.2.0-beta",
"description": "TSLint Rules for Microsoft",
"repository": {
"type": "git",