Skip to content

Commit 2474b8f

Browse files
committed
fix: semantic-release
1 parent 47cdc67 commit 2474b8f

File tree

8 files changed

+668
-681
lines changed

8 files changed

+668
-681
lines changed

.circleci/config.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
version: 2
2+
jobs:
3+
test:
4+
docker:
5+
- image: circleci/node:latest
6+
working_directory: ~/repo
7+
steps:
8+
- checkout
9+
10+
- restore_cache:
11+
keys:
12+
- v1-dependencies-{{ checksum "package.json" }}
13+
- v1-dependencies-
14+
- run: yarn install
15+
- save_cache:
16+
paths:
17+
- node_modules
18+
key: v1-dependencies-{{ checksum "package.json" }}
19+
- run: yarn test
20+
21+
release:
22+
docker:
23+
- image: circleci/node:latest
24+
steps:
25+
- checkout
26+
- restore_cache:
27+
keys:
28+
- v1-dependencies-{{ checksum "package.json" }}
29+
- v1-dependencies-
30+
- run: yarn install
31+
- run: npx semantic-release
32+
33+
workflows:
34+
version: 2
35+
test_and_release:
36+
jobs:
37+
- test
38+
- release:
39+
requires:
40+
- test
41+
filters:
42+
branches:
43+
only:
44+
- master

.github/ISSUE_TEMPLATE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Please search open/closed issues before submitting since someone might have aske
66
If you have a support request or question please submit them to one of this resources:
77
88
* Stack Overflow: http://stackoverflow.com/questions/tagged/request+node.js using the tags `node.js` & `request`
9-
* Gitter community: https://gitter.im/request/request?utm_source=newissue
9+
* Gitter community: https://gitter.im/cypress-io/request?utm_source=newissue
1010
* Also have a look at the Readme for more information on how to get support:
11-
https://github.com/request/request/blob/master/README.md
11+
https://github.com/cypress-io/request/blob/master/README.md
1212
1313
Issues on GitHub are only related to problems of request itself and we cannot answer
1414
support questions here.

.travis.yml

-21
This file was deleted.

CHANGELOG.md

+605-605
Large diffs are not rendered by default.

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ These are just guidelines, not rules, use your best judgment and feel free to pr
1010
## Submitting an Issue
1111

1212
1. Provide a small self **sufficient** code example to **reproduce** the issue.
13-
2. Run your test code using [request-debug](https://github.com/request/request-debug) and copy/paste the results inside the issue.
13+
2. Run your test code using [request-debug](https://github.com/cypress-io/request-debug) and copy/paste the results inside the issue.
1414
3. You should **always** use fenced code blocks when submitting code examples or any other formatted output:
1515
<pre>
1616
```js

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
[![npm package](https://nodei.co/npm/request.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/request/)
55

6-
[![Build status](https://img.shields.io/travis/request/request/master.svg?style=flat-square)](https://travis-ci.org/request/request)
7-
[![Coverage](https://img.shields.io/codecov/c/github/request/request.svg?style=flat-square)](https://codecov.io/github/request/request?branch=master)
8-
[![Coverage](https://img.shields.io/coveralls/request/request.svg?style=flat-square)](https://coveralls.io/r/request/request)
9-
[![Dependency Status](https://img.shields.io/david/request/request.svg?style=flat-square)](https://david-dm.org/request/request)
6+
[![Build status](https://img.shields.io/travis/cypress-io/request/master.svg?style=flat-square)](https://travis-ci.org/cypress-io/request)
7+
[![Coverage](https://img.shields.io/codecov/c/github/cypress-io/request.svg?style=flat-square)](https://codecov.io/github/cypress-io/request?branch=master)
8+
[![Coverage](https://img.shields.io/coveralls/cypress-io/request.svg?style=flat-square)](https://coveralls.io/r/cypress-io/request)
9+
[![Dependency Status](https://img.shields.io/david/cypress-io/request.svg?style=flat-square)](https://david-dm.org/cypress-io/request)
1010
[![Known Vulnerabilities](https://snyk.io/test/npm/request/badge.svg?style=flat-square)](https://snyk.io/test/npm/request)
11-
[![Gitter](https://img.shields.io/badge/gitter-join_chat-blue.svg?style=flat-square)](https://gitter.im/request/request?utm_source=badge)
11+
[![Gitter](https://img.shields.io/badge/gitter-join_chat-blue.svg?style=flat-square)](https://gitter.im/cypress-io/request?utm_source=badge)
1212

1313

1414
## Super simple to use
@@ -148,9 +148,9 @@ You can still use intermediate proxies, the requests will still follow HTTP forw
148148
`request` supports both streaming and callback interfaces natively. If you'd like `request` to return a Promise instead, you can use an alternative interface wrapper for `request`. These wrappers can be useful if you prefer to work with Promises, or if you'd like to use `async`/`await` in ES2017.
149149

150150
Several alternative interfaces are provided by the request team, including:
151-
- [`request-promise`](https://github.com/request/request-promise) (uses [Bluebird](https://github.com/petkaantonov/bluebird) Promises)
152-
- [`request-promise-native`](https://github.com/request/request-promise-native) (uses native Promises)
153-
- [`request-promise-any`](https://github.com/request/request-promise-any) (uses [any-promise](https://www.npmjs.com/package/any-promise) Promises)
151+
- [`request-promise`](https://github.com/cypress-io/request-promise) (uses [Bluebird](https://github.com/petkaantonov/bluebird) Promises)
152+
- [`request-promise-native`](https://github.com/cypress-io/request-promise-native) (uses native Promises)
153+
- [`request-promise-any`](https://github.com/cypress-io/request-promise-any) (uses [any-promise](https://www.npmjs.com/package/any-promise) Promises)
154154

155155
Also, [`util.promisify`](https://nodejs.org/api/util.html#util_util_promisify_original), which is available from Node.js v8.0 can be used to convert a regular function that takes a callback to return a promise instead.
156156

@@ -352,7 +352,7 @@ custom `User-Agent` header as well as https.
352352
const request = require('request');
353353

354354
const options = {
355-
url: 'https://api.github.com/repos/request/request',
355+
url: 'https://api.github.com/repos/cypress-io/request',
356356
headers: {
357357
'User-Agent': 'request'
358358
}
@@ -679,7 +679,7 @@ request.get({
679679

680680
The `ca` value can be an array of certificates, in the event you have a private or internal corporate public-key infrastructure hierarchy. For example, if you want to connect to https://api.some-server.com which presents a key chain consisting of:
681681
1. its own public key, which is signed by:
682-
2. an intermediate "Corp Issuing Server", that is in turn signed by:
682+
2. an intermediate "Corp Issuing Server", that is in turn signed by:
683683
3. a root CA "Corp Root CA";
684684

685685
you can configure your request as follows:
@@ -947,7 +947,7 @@ Function that returns the specified response header field using a [case-insensit
947947
```js
948948
request('http://www.google.com', function (error, response, body) {
949949
// print the Content-Type header even if the server returned it as 'content-type' (lowercase)
950-
console.log('Content-Type is:', response.caseless.get('Content-Type'));
950+
console.log('Content-Type is:', response.caseless.get('Content-Type'));
951951
});
952952
```
953953

@@ -967,7 +967,7 @@ There are at least three ways to debug the operation of `request`:
967967
2. Set `require('request').debug = true` at any time (this does the same thing
968968
as #1).
969969

970-
3. Use the [request-debug module](https://github.com/request/request-debug) to
970+
3. Use the [request-debug module](https://github.com/cypress-io/request-debug) to
971971
view request and response headers and bodies.
972972

973973
[back to top](#table-of-contents)

disabled.appveyor.yml

-36
This file was deleted.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "request",
3-
"description": "Simplified HTTP request client.",
2+
"name": "@cypress/request",
3+
"description": "Cypress's fork of a simplified HTTP request client.",
44
"keywords": [
55
"http",
66
"simple",
@@ -11,10 +11,10 @@
1111
"author": "Mikeal Rogers <[email protected]>",
1212
"repository": {
1313
"type": "git",
14-
"url": "https://github.com/request/request.git"
14+
"url": "https://github.com/cypress-io/request.git"
1515
},
1616
"bugs": {
17-
"url": "http://github.com/request/request/issues"
17+
"url": "http://github.com/cypress-io/request/issues"
1818
},
1919
"license": "Apache-2.0",
2020
"engines": {

0 commit comments

Comments
 (0)