Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Dec 23, 2019
1 parent b2f8ace commit 94c966f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,33 +57,33 @@
"type-fest": "^0.8.0"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^0.6.0",
"@sindresorhus/tsconfig": "^0.7.0",
"@types/duplexer3": "^0.1.0",
"@types/express": "^4.17.2",
"@types/lolex": "^5.1.0",
"@types/node": "^12.12.14",
"@types/node": "^13.1.0",

This comment has been minimized.

Copy link
@kibertoad

kibertoad Dec 27, 2019

Isn't this change a bit dangerous? You could start relying on 13-specific api quirks.

This comment has been minimized.

Copy link
@sindresorhus

sindresorhus Dec 27, 2019

Author Owner

We test Got on all the Node.js versions, so it would show up in tests if so.

"@types/proxyquire": "^1.3.28",
"@types/sinon": "^7.0.13",
"@types/tough-cookie": "^2.3.5",
"@typescript-eslint/eslint-plugin": "2.10.0",
"@typescript-eslint/parser": "2.10.0",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"ava": "^2.4.0",
"coveralls": "^3.0.4",
"create-test-server": "^3.0.1",
"del-cli": "^3.0.0",
"delay": "^4.3.0",
"eslint-config-xo-typescript": "^0.23.0",
"eslint-config-xo-typescript": "^0.24.1",
"express": "^4.17.1",
"form-data": "^3.0.0",
"get-port": "^5.0.0",
"keyv": "^4.0.0",
"lolex": "^5.1.1",
"nock": "^11.3.4",
"np": "^5.1.3",
"nyc": "^14.0.0",
"nyc": "^15.0.0",
"p-event": "^4.0.0",
"proxyquire": "^2.0.1",
"sinon": "^7.5.0",
"sinon": "^8.0.1",
"slow-stream": "0.0.4",
"tempy": "^0.3.0",
"tough-cookie": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ For browser usage, we recommend [Ky](https://github.com/sindresorhus/ky) by the
- [Instances with custom defaults](#instances)
- [Composable](documentation/advanced-creation.md#merging-instances)
- [Plugins](documentation/lets-make-a-plugin.md)
- [Electron support](#useelectronnet)
- [Used by 3000+ packages and 1.6M+ repos](https://github.com/sindresorhus/got/network/dependents)
- Actively maintained

Expand Down Expand Up @@ -452,6 +451,8 @@ Custom request function. The main purpose of this is to [support HTTP2 using a w
Type: `boolean`\
Default: `false`

[**Deprecated**](https://github.com/sindresorhus/got#electron-support-has-been-deprecated)

When used in Electron, Got will use [`electron.net`](https://electronjs.org/docs/api/net/) instead of the Node.js `http` module. According to the Electron docs, it should be fully compatible, but it's not entirely. See [#443](https://github.com/sindresorhus/got/issues/443) and [#461](https://github.com/sindresorhus/got/issues/461).

###### throwHttpErrors
Expand Down Expand Up @@ -1425,7 +1426,6 @@ Some of the Got features may not work properly. See [#899](https://github.com/si
|-----------------------|:------------------:|:------------------:|:--------------------:|:------------------------:|:------------------:|:----------------------:|
| HTTP/2 support | :grey_question: | :x: | :x: | :x: | :x: | :heavy_check_mark:\*\* |
| Browser support | :x: | :x: | :heavy_check_mark:\* | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Electron support | :x: | :x: | :x: | :x: | :x: | :x: |
| Promise API | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Stream API | :heavy_check_mark: | :heavy_check_mark: | Node.js only | :x: | :x: | :heavy_check_mark: |
| Request cancelation | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Expand Down

0 comments on commit 94c966f

Please sign in to comment.