New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

code-suggester

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-suggester - npm Package Compare versions

Comparing version 2.1.4 to 2.2.0

1

build/src/github/commit-and-push.js

@@ -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,

3

build/src/index.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc