code-suggester
Advanced tools
Comparing version 2.1.4 to 2.2.0
@@ -110,2 +110,3 @@ "use strict"; | ||
async function updateRef(octokit, origin, newSha, force) { | ||
logger_1.logger.info(`Updating reference heads/${origin.branch} to ${newSha}`); | ||
await octokit.git.updateRef({ | ||
@@ -112,0 +113,0 @@ owner: origin.owner, |
import { Changes, CreatePullRequestUserOptions, FileDiffContent, CreateReviewCommentUserOptions } from './types'; | ||
export { Changes } from './types'; | ||
import { Octokit } from '@octokit/rest'; | ||
export { getChanges, getDiffString } from './bin/handle-git-dir-change'; | ||
/** | ||
@@ -53,2 +54,2 @@ * Given a set of suggestions, make all the multiline inline review comments on a given pull request given | ||
} | Map<string, string | null>): Changes; | ||
export { createPullRequest, parseTextFiles }; | ||
export { createPullRequest, parseTextFiles, CreateReviewCommentUserOptions, CreatePullRequestUserOptions, }; |
@@ -27,2 +27,5 @@ "use strict"; | ||
const labels_1 = require("./github/labels"); | ||
var handle_git_dir_change_1 = require("./bin/handle-git-dir-change"); | ||
Object.defineProperty(exports, "getChanges", { enumerable: true, get: function () { return handle_git_dir_change_1.getChanges; } }); | ||
Object.defineProperty(exports, "getDiffString", { enumerable: true, get: function () { return handle_git_dir_change_1.getDiffString; } }); | ||
/** | ||
@@ -29,0 +32,0 @@ * Given a set of suggestions, make all the multiline inline review comments on a given pull request given |
# Changelog | ||
## [2.2.0](https://github.com/googleapis/code-suggester/compare/v2.1.4...v2.2.0) (2022-02-28) | ||
### Features | ||
* **action:** build as an javascript action ([#331](https://github.com/googleapis/code-suggester/issues/331)) ([257305d](https://github.com/googleapis/code-suggester/commit/257305dda334af0e9c54b4617df5ec02485ab83e)), closes [#141](https://github.com/googleapis/code-suggester/issues/141) | ||
### [2.1.4](https://github.com/googleapis/code-suggester/compare/v2.1.3...v2.1.4) (2022-02-23) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "code-suggester", | ||
"description": "Library to propose code changes", | ||
"version": "2.1.4", | ||
"version": "2.2.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "Google LLC", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
178947
2229