Skip to content
Permalink
Browse files

chore: bump dependencies (#1208)

  • Loading branch information
bradzacher committed Nov 15, 2019
1 parent e2008e3 commit 74192f86236501a8a0c170d37af692f6c97f0830
@@ -58,13 +58,34 @@
"profile": "https://github.com/j-f1",
"contributions": []
},
{
"login": "a-tarasyuk",
"name": "Alexander T.",
"avatar_url": "https://avatars0.githubusercontent.com/u/509265?v=4",
"profile": "https://github.com/a-tarasyuk",
"contributions": []
},
{
"login": "uniqueiniquity",
"name": "Ben Lichtman",
"avatar_url": "https://avatars1.githubusercontent.com/u/9092011?v=4",
"profile": "https://github.com/uniqueiniquity",
"contributions": []
},
{
"login": "scottohara",
"name": "Scott O'Hara",
"avatar_url": "https://avatars3.githubusercontent.com/u/289327?v=4",
"profile": "https://github.com/scottohara",
"contributions": []
},
{
"login": "JoshuaKGoldberg",
"name": "Josh Goldberg",
"avatar_url": "https://avatars1.githubusercontent.com/u/3335181?v=4",
"profile": "https://github.com/JoshuaKGoldberg",
"contributions": []
},
{
"login": "kaicataldo",
"name": "Kai Cataldo",
@@ -86,13 +107,6 @@
"profile": "https://github.com/mysticatea",
"contributions": []
},
{
"login": "JoshuaKGoldberg",
"name": "Josh Goldberg",
"avatar_url": "https://avatars1.githubusercontent.com/u/3335181?v=4",
"profile": "https://github.com/JoshuaKGoldberg",
"contributions": []
},
{
"login": "azz",
"name": "Lucas Azzola",
@@ -114,13 +128,6 @@
"profile": "https://github.com/ikatyang",
"contributions": []
},
{
"login": "scottohara",
"name": "Scott O'Hara",
"avatar_url": "https://avatars3.githubusercontent.com/u/289327?v=4",
"profile": "https://github.com/scottohara",
"contributions": []
},
{
"login": "macklinu",
"name": "mackie",
@@ -177,27 +184,41 @@
"profile": "https://github.com/octogonz",
"contributions": []
},
{
"login": "Retsam",
"name": "Retsam",
"avatar_url": "https://avatars0.githubusercontent.com/u/2281166?v=4",
"profile": "https://github.com/Retsam",
"contributions": []
},
{
"login": "mightyiam",
"name": "Shahar Dawn Or",
"avatar_url": "https://avatars2.githubusercontent.com/u/635591?v=4",
"profile": "https://github.com/mightyiam",
"contributions": []
},
{
"login": "a-tarasyuk",
"name": "Alexander T.",
"avatar_url": "https://avatars0.githubusercontent.com/u/509265?v=4",
"profile": "https://github.com/a-tarasyuk",
"contributions": []
},
{
"login": "webschik",
"name": "Denys Kniazevych",
"avatar_url": "https://avatars2.githubusercontent.com/u/1665314?v=4",
"profile": "https://github.com/webschik",
"contributions": []
},
{
"login": "Validark",
"name": "Niles",
"avatar_url": "https://avatars2.githubusercontent.com/u/15217173?v=4",
"profile": "https://github.com/Validark",
"contributions": []
},
{
"login": "pablobirukov",
"name": "Pavel Birukov ",
"avatar_url": "https://avatars2.githubusercontent.com/u/1861546?v=4",
"profile": "https://github.com/pablobirukov",
"contributions": []
},
{
"login": "flying-sheep",
"name": "Philipp A.",
@@ -16,39 +16,42 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/all-contri
<tr>
<td align="center"><a href="https://github.com/nzakas"><img src="https://avatars3.githubusercontent.com/u/38546?v=4" width="100px;" alt="Nicholas C. Zakas"/><br /><sub><b>Nicholas C. Zakas</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/j-f1"><img src="https://avatars2.githubusercontent.com/u/25517624?v=4" width="100px;" alt="Jed Fox"/><br /><sub><b>Jed Fox</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/a-tarasyuk"><img src="https://avatars0.githubusercontent.com/u/509265?v=4" width="100px;" alt="Alexander T."/><br /><sub><b>Alexander T.</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/uniqueiniquity"><img src="https://avatars1.githubusercontent.com/u/9092011?v=4" width="100px;" alt="Ben Lichtman"/><br /><sub><b>Ben Lichtman</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/kaicataldo"><img src="https://avatars2.githubusercontent.com/u/7041728?v=4" width="100px;" alt="Kai Cataldo"/><br /><sub><b>Kai Cataldo</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/Pajn"><img src="https://avatars1.githubusercontent.com/u/817422?v=4" width="100px;" alt="Rasmus Eneman"/><br /><sub><b>Rasmus Eneman</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/scottohara"><img src="https://avatars3.githubusercontent.com/u/289327?v=4" width="100px;" alt="Scott O'Hara"/><br /><sub><b>Scott O'Hara</b></sub></a><br /></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/mysticatea"><img src="https://avatars2.githubusercontent.com/u/1937871?v=4" width="100px;" alt="Toru Nagashima"/><br /><sub><b>Toru Nagashima</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/JoshuaKGoldberg"><img src="https://avatars1.githubusercontent.com/u/3335181?v=4" width="100px;" alt="Josh Goldberg"/><br /><sub><b>Josh Goldberg</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/kaicataldo"><img src="https://avatars2.githubusercontent.com/u/7041728?v=4" width="100px;" alt="Kai Cataldo"/><br /><sub><b>Kai Cataldo</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/Pajn"><img src="https://avatars1.githubusercontent.com/u/817422?v=4" width="100px;" alt="Rasmus Eneman"/><br /><sub><b>Rasmus Eneman</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/mysticatea"><img src="https://avatars2.githubusercontent.com/u/1937871?v=4" width="100px;" alt="Toru Nagashima"/><br /><sub><b>Toru Nagashima</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/azz"><img src="https://avatars3.githubusercontent.com/u/1297597?v=4" width="100px;" alt="Lucas Azzola"/><br /><sub><b>Lucas Azzola</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/dannyfritz"><img src="https://avatars1.githubusercontent.com/u/315788?v=4" width="100px;" alt="Danny Fritz"/><br /><sub><b>Danny Fritz</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/ikatyang"><img src="https://avatars1.githubusercontent.com/u/8341033?v=4" width="100px;" alt="Ika"/><br /><sub><b>Ika</b></sub></a><br /></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/scottohara"><img src="https://avatars3.githubusercontent.com/u/289327?v=4" width="100px;" alt="Scott O'Hara"/><br /><sub><b>Scott O'Hara</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/dannyfritz"><img src="https://avatars1.githubusercontent.com/u/315788?v=4" width="100px;" alt="Danny Fritz"/><br /><sub><b>Danny Fritz</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/ikatyang"><img src="https://avatars1.githubusercontent.com/u/8341033?v=4" width="100px;" alt="Ika"/><br /><sub><b>Ika</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/macklinu"><img src="https://avatars1.githubusercontent.com/u/2344137?v=4" width="100px;" alt="mackie"/><br /><sub><b>mackie</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/lukyth"><img src="https://avatars3.githubusercontent.com/u/7040242?v=4" width="100px;" alt="Kanitkorn Sujautra"/><br /><sub><b>Kanitkorn Sujautra</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/ldrick"><img src="https://avatars3.githubusercontent.com/u/3674067?v=4" width="100px;" alt="Ricky Lippmann"/><br /><sub><b>Ricky Lippmann</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/SimenB"><img src="https://avatars1.githubusercontent.com/u/1404810?v=4" width="100px;" alt="Simen Bekkhus"/><br /><sub><b>Simen Bekkhus</b></sub></a><br /></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/SimenB"><img src="https://avatars1.githubusercontent.com/u/1404810?v=4" width="100px;" alt="Simen Bekkhus"/><br /><sub><b>Simen Bekkhus</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/gavinbarron"><img src="https://avatars2.githubusercontent.com/u/7122716?v=4" width="100px;" alt="Gavin Barron"/><br /><sub><b>Gavin Barron</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/platinumazure"><img src="https://avatars0.githubusercontent.com/u/284282?v=4" width="100px;" alt="Kevin Partington"/><br /><sub><b>Kevin Partington</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/duailibe"><img src="https://avatars3.githubusercontent.com/u/1574588?v=4" width="100px;" alt="Lucas Duailibe"/><br /><sub><b>Lucas Duailibe</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/octogonz"><img src="https://avatars0.githubusercontent.com/u/4673363?v=4" width="100px;" alt="Pete Gonzalez"/><br /><sub><b>Pete Gonzalez</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/mightyiam"><img src="https://avatars2.githubusercontent.com/u/635591?v=4" width="100px;" alt="Shahar Dawn Or"/><br /><sub><b>Shahar Dawn Or</b></sub></a><br /></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/a-tarasyuk"><img src="https://avatars0.githubusercontent.com/u/509265?v=4" width="100px;" alt="Alexander T."/><br /><sub><b>Alexander T.</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/Retsam"><img src="https://avatars0.githubusercontent.com/u/2281166?v=4" width="100px;" alt="Retsam"/><br /><sub><b>Retsam</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/mightyiam"><img src="https://avatars2.githubusercontent.com/u/635591?v=4" width="100px;" alt="Shahar Dawn Or"/><br /><sub><b>Shahar Dawn Or</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/webschik"><img src="https://avatars2.githubusercontent.com/u/1665314?v=4" width="100px;" alt="Denys Kniazevych"/><br /><sub><b>Denys Kniazevych</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/Validark"><img src="https://avatars2.githubusercontent.com/u/15217173?v=4" width="100px;" alt="Niles"/><br /><sub><b>Niles</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/pablobirukov"><img src="https://avatars2.githubusercontent.com/u/1861546?v=4" width="100px;" alt="Pavel Birukov "/><br /><sub><b>Pavel Birukov </b></sub></a><br /></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/flying-sheep"><img src="https://avatars0.githubusercontent.com/u/291575?v=4" width="100px;" alt="Philipp A."/><br /><sub><b>Philipp A.</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/g-plane"><img src="https://avatars1.githubusercontent.com/u/17216317?v=4" width="100px;" alt="Pig Fang"/><br /><sub><b>Pig Fang</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/ThomasdenH"><img src="https://avatars0.githubusercontent.com/u/3889750?v=4" width="100px;" alt="Thomas den Hollander"/><br /><sub><b>Thomas den Hollander</b></sub></a><br /></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/madbence"><img src="https://avatars2.githubusercontent.com/u/296735?v=4" width="100px;" alt="Bence Dányi"/><br /><sub><b>Bence Dányi</b></sub></a><br /></td>
</tr>
</table>
@@ -22,7 +22,7 @@
"cz": "git-cz",
"check:docs": "lerna run check:docs",
"check:configs": "lerna run check:configs",
"generate-contributors": "yarn ts-node ./tools/generate-contributors.ts && yarn all-contributors generate",
"generate-contributors": "yarn ts-node --transpile-only ./tools/generate-contributors.ts && yarn all-contributors generate",
"format": "prettier --write \"./**/*.{ts,js,json,md}\"",
"format-check": "prettier --list-different \"./**/*.{ts,js,json,md}\"",
"integration-tests": "./tests/integration/run-all-tests.sh",
@@ -53,33 +53,32 @@
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@commitlint/travis-cli": "^8.1.0",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.2",
"all-contributors-cli": "^6.8.1",
"@types/jest": "^24.0.23",
"@types/node": "^12.12.7",
"all-contributors-cli": "^6.11.0",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.2.2",
"eslint": "^6.6.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-eslint-plugin": "^2.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.15.2",
"glob": "^7.1.4",
"husky": "^3.0.4",
"eslint-plugin-jest": "^23.0.4",
"husky": "^3.0.9",
"isomorphic-fetch": "^2.2.1",
"jest": "^24.9.0",
"lerna": "^3.16.4",
"lint-staged": "^9.2.5",
"lerna": "^3.18.4",
"lint-staged": "^9.4.3",
"opencollective-postinstall": "^2.0.2",
"prettier": "^1.18.2",
"prettier": "^1.19.1",
"ts-jest": "^24.0.0",
"ts-node": "^8.3.0",
"tslint": "^5.19.0",
"typescript": ">=3.2.1 <3.8.0 || >3.7.0-dev.0"
"ts-node": "^8.5.0",
"tslint": "^5.20.1",
"typescript": ">=3.2.1 <3.8.0"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"resolutions": {
"typescript": "^3.7.0-dev.20191021"
"typescript": "^3.7.2"
}
}
@@ -74,7 +74,7 @@ Incorrect code for `"array-simple"`:

```ts
const a: (string | number)[] = ['a', 'b'];
const b: ({ prop: string })[] = [{ prop: 'a' }];
const b: { prop: string }[] = [{ prop: 'a' }];
const c: (() => void)[] = [() => {}];
const d: Array<MyType> = ['a', 'b'];
const e: Array<string> = ['a', 'b'];
@@ -31,7 +31,10 @@ await promise;
async function returnsPromise() {
return 'value';
}
returnsPromise().then(() => {}, () => {});
returnsPromise().then(
() => {},
() => {},
);
Promise.reject('value').catch(() => {});
```
@@ -500,7 +500,7 @@ type Foo = [number] | [number, number];
type Foo = [number] & [number, number];
type Foo = [number] | [number, number] & [string, string];
type Foo = [number] | ([number, number] & [string, string]);
```

Examples of **incorrect** code for the `{ "allowTupleTypes": "in-unions" }` option:
@@ -30,27 +30,27 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc -b tsconfig.build.json",
"check:docs": "../../node_modules/.bin/ts-node --files ./tools/validate-docs/index.ts",
"check:configs": "../../node_modules/.bin/ts-node --files ./tools/validate-configs/index.ts",
"check:docs": "../../node_modules/.bin/ts-node --files --transpile-only ./tools/validate-docs/index.ts",
"check:configs": "../../node_modules/.bin/ts-node --files --transpile-only ./tools/validate-configs/index.ts",
"clean": "tsc -b tsconfig.build.json --clean",
"format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore",
"generate:configs": "../../node_modules/.bin/ts-node --files tools/generate-configs.ts",
"generate:configs": "../../node_modules/.bin/ts-node --files --transpile-only tools/generate-configs.ts",
"lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'",
"test": "jest --coverage",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
"@typescript-eslint/experimental-utils": "2.7.0",
"eslint-utils": "^1.4.2",
"eslint-utils": "^1.4.3",
"functional-red-black-tree": "^1.0.1",
"regexpp": "^2.0.1",
"regexpp": "^3.0.0",
"tsutils": "^3.17.1"
},
"devDependencies": {
"@types/json-schema": "^7.0.3",
"@types/marked": "^0.6.5",
"@types/marked": "^0.7.1",
"@types/prettier": "^1.18.2",
"chalk": "^2.4.2",
"chalk": "^3.0.0",
"marked": "^0.7.0",
"prettier": "*",
"typescript": "*"
@@ -239,7 +239,8 @@ export default util.createRule<Options, MessageIds>({
type: AST_NODE_TYPES.ObjectExpression,
properties: (node.members as (
| TSESTree.TSEnumMember
| TSESTree.TypeElement)[]).map(
| TSESTree.TypeElement
)[]).map(
member =>
TSPropertySignatureToProperty(member) as TSESTree.Property,
),
@@ -9,16 +9,15 @@ type ParsedOptions =
allowUnderscorePrefix: boolean;
};
type Options = [

| 'never'
| 'always'
| {
prefixWithI?: 'never';
}
| {
prefixWithI: 'always';
allowUnderscorePrefix?: boolean;
},
| 'never'
| 'always'
| {
prefixWithI?: 'never';
}
| {
prefixWithI: 'always';
allowUnderscorePrefix?: boolean;
},
];
type MessageIds = 'noPrefix' | 'alwaysPrefix';

@@ -9,13 +9,12 @@ type Option = 'never' | 'always';
type FuncOption = Option | 'ignore';

export type Options = [

| Option
| Partial<{
anonymous: FuncOption;
named: FuncOption;
asyncArrow: FuncOption;
}>,
| Option
| Partial<{
anonymous: FuncOption;
named: FuncOption;
asyncArrow: FuncOption;
}>,
];
export type MessageIds = 'unexpected' | 'missing';

@@ -52,10 +52,10 @@ export default util.createRule<Options, MessageIds>({
create(context, [{ lib, path, types }]) {
let programNode: TSESTree.Node;
const sourceCode = context.getSourceCode();
const references: ({
const references: {
comment: TSESTree.Comment;
importName: string;
})[] = [];
}[] = [];

function hasMatchingReference(source: TSESTree.Literal): void {
references.forEach(reference => {
@@ -9,7 +9,6 @@ function parseReadme(): marked.Tokens.Table {
);
const readme = marked.lexer(readmeRaw, {
gfm: true,
tables: true,
silent: false,
});

0 comments on commit 74192f8

Please sign in to comment.
You can’t perform that action at this time.