Skip to content

Commit

Permalink
build(release): compiled action for 1.1.18
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
semantic-release-bot committed Nov 2, 2020
1 parent cb252a5 commit 8696dde
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ async function sendRequestWithRetries(state, request, options, createdAt, retrie
}
}

const VERSION = "2.10.0";
const VERSION = "2.10.1";

const createAppAuth = function createAppAuth(options) {
const log = Object.assign({
Expand Down Expand Up @@ -3238,7 +3238,7 @@ module.exports = isString;

Object.defineProperty(exports, '__esModule', { value: true });

const VERSION = "2.4.0";
const VERSION = "2.6.0";

/**
* Some “list” response that can be paginated have a different response structure
Expand Down Expand Up @@ -3291,26 +3291,23 @@ function iterator(octokit, route, parameters) {
let url = options.url;
return {
[Symbol.asyncIterator]: () => ({
next() {
if (!url) {
return Promise.resolve({
done: true
});
}

return requestMethod({
async next() {
if (!url) return {
done: true
};
const response = await requestMethod({
method,
url,
headers
}).then(normalizePaginatedListResponse).then(response => {
// `response.headers.link` format:
// '<https://api.github.com/users/aseemk/followers?page=2>; rel="next", <https://api.github.com/users/aseemk/followers?page=2>; rel="last"'
// sets `url` to undefined if "next" URL is not present or `link` header is not set
url = ((response.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1];
return {
value: response
};
});
const normalizedResponse = normalizePaginatedListResponse(response); // `response.headers.link` format:
// '<https://api.github.com/users/aseemk/followers?page=2>; rel="next", <https://api.github.com/users/aseemk/followers?page=2>; rel="last"'
// sets `url` to undefined if "next" URL is not present or `link` header is not set

url = ((normalizedResponse.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1];
return {
value: normalizedResponse
};
}

})
Expand Down Expand Up @@ -3348,6 +3345,10 @@ function gather(octokit, results, iterator, mapFn) {
});
}

const composePaginateRest = Object.assign(paginate, {
iterator
});

/**
* @param octokit Octokit instance
* @param options Options passed to Octokit constructor
Expand All @@ -3362,6 +3363,7 @@ function paginateRest(octokit) {
}
paginateRest.VERSION = VERSION;

exports.composePaginateRest = composePaginateRest;
exports.paginateRest = paginateRest;
//# sourceMappingURL=index.js.map

Expand Down Expand Up @@ -8645,7 +8647,7 @@ function _objectSpread2(target) {
return target;
}

const VERSION = "3.3.2";
const VERSION = "3.3.3";

const noop = () => Promise.resolve(); // @ts-ignore

Expand Down

0 comments on commit 8696dde

Please sign in to comment.