Meta tweaks

This commit is contained in:
Sindre Sorhus 2019-06-30 15:15:27 +07:00
parent f04dffa575
commit 4f4820ef2f
4 changed files with 10 additions and 13 deletions

View file

@ -1,4 +1,5 @@
language: node_js
node_js:
- '12'
- '10'
- '8'

View file

@ -47,18 +47,18 @@
],
"devDependencies": {
"@sindresorhus/tsconfig": "^0.4.0",
"@types/jsdom": "^12.2.3",
"@types/node": "^12.0.0",
"@types/jsdom": "^12.2.4",
"@types/node": "^12.0.10",
"@types/zen-observable": "^0.8.0",
"@typescript-eslint/eslint-plugin": "^1.5.0",
"@typescript-eslint/parser": "^1.10.2",
"@typescript-eslint/eslint-plugin": "^1.11.0",
"@typescript-eslint/parser": "^1.11.0",
"ava": "^2.1.0",
"del-cli": "^2.0.0",
"eslint-config-xo-typescript": "^0.14.0",
"eslint-config-xo-typescript": "^0.15.0",
"jsdom": "^15.0.0",
"rxjs": "^6.4.0",
"tempy": "^0.3.0",
"ts-node": "^8.0.3",
"ts-node": "^8.3.0",
"typescript": "^3.4.1",
"xo": "^0.24.0",
"zen-observable": "^0.8.8"
@ -88,6 +88,8 @@
"rules": {
"import/first": "off",
"import/newline-after-import": "off",
"@typescript-eslint/promise-function-async": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/explicit-function-return-type": "off"
}
}

View file

@ -458,13 +458,8 @@ The most common mistakes I noticed in these modules was using `instanceof` for t
- [has-emoji](https://github.com/sindresorhus/has-emoji) - Check whether a string has any emoji
## Created by
## Maintainers
- [Sindre Sorhus](https://github.com/sindresorhus)
- [Giora Guttsait](https://github.com/gioragutt)
- [Brandon Smith](https://github.com/brandon93s)
## License
MIT

View file

@ -141,7 +141,6 @@ is.nullOrUndefined = (value: unknown): value is null | undefined => is.null_(val
is.object = (value: unknown): value is object => !is.nullOrUndefined(value) && (is.function_(value) || isObject(value));
is.iterable = (value: unknown): value is IterableIterator<unknown> => !is.nullOrUndefined(value) && is.function_((value as IterableIterator<unknown>)[Symbol.iterator]);
// eslint-disable-next-line no-use-extend-native/no-use-extend-native
is.asyncIterable = (value: unknown): value is AsyncIterableIterator<unknown> => !is.nullOrUndefined(value) && is.function_((value as AsyncIterableIterator<unknown>)[Symbol.asyncIterator]);
is.generator = (value: unknown): value is Generator => is.iterable(value) && is.function_(value.next) && is.function_(value.throw);