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

release-please

Package Overview
Dependencies
Maintainers
2
Versions
383
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

release-please - npm Package Compare versions

Comparing version 12.5.0 to 12.6.0

2

build/src/bin/release-please.d.ts

@@ -17,2 +17,4 @@ #!/usr/bin/env node

} & {
"graphql-url": string;
} & {
"default-branch": string | undefined;

@@ -19,0 +21,0 @@ }, "fork"> & {

@@ -178,2 +178,4 @@ #!/usr/bin/env node

argv.apiUrl = coerce_option_1.coerceOption(argv.apiUrl);
if (argv.graphqlUrl)
argv.graphqlUrl = coerce_option_1.coerceOption(argv.graphqlUrl);
})

@@ -192,2 +194,7 @@ .option('debug', {

})
.option('graphql-url', {
describe: 'URL to use when making GraphQL requests',
default: constants_1.GH_GRAPHQL_URL,
type: 'string',
})
.option('default-branch', {

@@ -194,0 +201,0 @@ describe: 'The branch to open release PRs against and tag releases on',

export declare const DEFAULT_LABELS: string[];
export declare const GH_API_URL = "https://api.github.com";
export declare const GH_GRAPHQL_URL = "https://api.github.com";
export declare const RELEASE_PLEASE = "release-please";

@@ -4,0 +5,0 @@ export declare const RELEASE_PLEASE_CONFIG: string;

3

build/src/constants.js

@@ -16,5 +16,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.MAX_ISSUE_BODY_SIZE = exports.RELEASE_PLEASE_MANIFEST = exports.RELEASE_PLEASE_CONFIG = exports.RELEASE_PLEASE = exports.GH_API_URL = exports.DEFAULT_LABELS = void 0;
exports.MAX_ISSUE_BODY_SIZE = exports.RELEASE_PLEASE_MANIFEST = exports.RELEASE_PLEASE_CONFIG = exports.RELEASE_PLEASE = exports.GH_GRAPHQL_URL = exports.GH_API_URL = exports.DEFAULT_LABELS = void 0;
exports.DEFAULT_LABELS = ['autorelease: pending'];
exports.GH_API_URL = 'https://api.github.com';
exports.GH_GRAPHQL_URL = 'https://api.github.com';
exports.RELEASE_PLEASE = 'release-please';

@@ -21,0 +22,0 @@ exports.RELEASE_PLEASE_CONFIG = `${exports.RELEASE_PLEASE}-config.json`;

@@ -100,3 +100,3 @@ "use strict";

function getGitHubFactoryOpts(options) {
const { repoUrl, defaultBranch, fork, token, apiUrl, octokitAPIs, ...remaining } = options;
const { repoUrl, defaultBranch, fork, token, apiUrl, graphqlUrl, octokitAPIs, ...remaining } = options;
return [

@@ -109,2 +109,3 @@ {

apiUrl,
graphqlUrl,
octokitAPIs,

@@ -111,0 +112,0 @@ },

@@ -101,2 +101,3 @@ import { Changes } from 'code-suggester';

apiUrl: string;
graphqlUrl: string;
fork: boolean;

@@ -103,0 +104,0 @@ repositoryDefaultBranch?: string;

@@ -555,2 +555,3 @@ "use strict";

this.apiUrl = options.apiUrl || constants_1.GH_API_URL;
this.graphqlUrl = options.graphqlUrl || constants_1.GH_GRAPHQL_URL;
if (options.octokitAPIs === undefined) {

@@ -584,3 +585,3 @@ this.octokit = new rest_1.Octokit({

opts = Object.assign(opts, {
url: `${this.apiUrl}/graphql`,
url: `${this.graphqlUrl}/graphql`,
headers: {

@@ -587,0 +588,0 @@ authorization: `token ${this.token}`,

@@ -14,2 +14,3 @@ import { OctokitAPIs, GitHub, GitHubTag } from './github';

apiUrl?: string;
graphqlUrl?: string;
octokitAPIs?: OctokitAPIs;

@@ -16,0 +17,0 @@ }

{
"name": "release-please",
"version": "12.5.0",
"version": "12.6.0",
"description": "generate release PRs based on the conventionalcommits.org spec",

@@ -9,3 +9,3 @@ "main": "./build/src/index.js",

"test": "cross-env ENVIRONMENT=test c8 mocha --recursive --timeout=5000 build/test",
"docs-test": "echo add docs tests",
"docs": "echo add docs tests",
"test:snap": "SNAPSHOT_UPDATE=1 npm test",

@@ -12,0 +12,0 @@ "clean": "gts clean",

@@ -221,2 +221,4 @@ <img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

| `--signoff` | Add [`Signed-off-by`](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---signoff) line at the end of the commit log message using the user and email provided. (format "Name \<email@example.com\>") |
| `--api-url` | URL to use when making API requests [default: "https://api.github.com"] |
| `--graphql-url` | URL to use when making GraphQL requests [default: "https://api.github.com"] |

@@ -236,2 +238,4 @@ ### Creating a release on GitHub

| `--path` | create a release from a path other than the repository's root |
| `--api-url` | URL to use when making API requests [default: "https://api.github.com"] |
| `--graphql-url` | URL to use when making GraphQL requests [default: "https://api.github.com"] |

@@ -238,0 +242,0 @@ ### Running as a GitHub App

Sorry, the diff of this file is too big to display

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