Huge News!Announcing our $40M Series B led by Abstract Ventures.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 11.0.0-candidate.2 to 11.0.0-candidate.3

build/src/manifest.d.ts

2

build/src/constants.d.ts
export declare const DEFAULT_LABELS: string[];
export declare const GH_API_URL = "https://api.github.com";
export declare const RELEASE_PLEASE = "release-please";
export declare const RELEASE_PLEASE_CONFIG: string;
export declare const RELEASE_PLEASE_MANIFEST: string;

4

build/src/constants.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.RELEASE_PLEASE = exports.GH_API_URL = exports.DEFAULT_LABELS = void 0;
exports.RELEASE_PLEASE_MANIFEST = exports.RELEASE_PLEASE_CONFIG = exports.RELEASE_PLEASE = exports.GH_API_URL = exports.DEFAULT_LABELS = void 0;
exports.DEFAULT_LABELS = ['autorelease: pending'];
exports.GH_API_URL = 'https://api.github.com';
exports.RELEASE_PLEASE = 'release-please';
exports.RELEASE_PLEASE_CONFIG = `${exports.RELEASE_PLEASE}-config.json`;
exports.RELEASE_PLEASE_MANIFEST = `.${exports.RELEASE_PLEASE}-manifest.json`;
//# sourceMappingURL=constants.js.map

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

import { ChangelogSection } from './conventional-commits';
import { Checkpoint } from './util/checkpoint';
export { ReleaseCandidate, ReleasePR } from './release-pr';

@@ -36,2 +37,11 @@ interface GitHubOptions {

}
interface ManifestOptions {
configFile?: string;
manifestFile?: string;
}
export interface ManifestConstructorOptions extends ReleaserConstructorOptions, ManifestOptions {
checkpoint?: Checkpoint;
}
export interface ManifestFactoryOptions extends GitHubFactoryOptions, ManifestOptions {
}
export interface ReleasePRConstructorOptions extends ReleasePROptions, ReleaserConstructorOptions {

@@ -38,0 +48,0 @@ labels?: string[];

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

updateContent(content) {
return content.replace(/version ?= ?[0-9]+\.[0-9]+\.[0-9](-\w+)?/, `version = ${this.version}`);
return content.replace(/(version ?= ?)[0-9]+\.[0-9]+\.[0-9](?:-\w+)?/, `$1${this.version}`);
}

@@ -29,0 +29,0 @@ }

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

updateContent(content) {
return content.replace(/version ?= ?["'][0-9]+\.[0-9]+\.[0-9](-\w+)?["']/, `version = "${this.version}"`);
return content.replace(/(version ?= ?["'])[0-9]+\.[0-9]+\.[0-9](?:-\w+)?(["'])/, `$1${this.version}$2`);
}

@@ -29,0 +29,0 @@ }

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

updateContent(content) {
return content.replace(/__version__ ?= ?["'][0-9]+\.[0-9]+\.[0-9](-\w+)?["']/, `__version__ = "${this.version}"`);
return content.replace(/(__version__ ?= ?["'])[0-9]+\.[0-9]+\.[0-9](?:-\w+)?(["'])/, `$1${this.version}$2`);
}

@@ -29,0 +29,0 @@ }

@@ -5,2 +5,3 @@ export declare enum CheckpointType {

}
export declare function checkpoint(msg: string, type: CheckpointType): void;
export declare type Checkpoint = (msg: string, type: CheckpointType) => void;
export declare const checkpoint: Checkpoint;

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

})(CheckpointType = exports.CheckpointType || (exports.CheckpointType = {}));
function checkpoint(msg, type) {
exports.checkpoint = function (msg, type) {
const prefix = type === CheckpointType.Success

@@ -32,4 +32,3 @@ ? chalk.green(figures.tick)

}
}
exports.checkpoint = checkpoint;
};
//# sourceMappingURL=checkpoint.js.map
{
"name": "release-please",
"version": "11.0.0-candidate.2",
"version": "11.0.0-candidate.3",
"description": "generate release PRs based on the conventionalcommits.org spec",

@@ -5,0 +5,0 @@ "main": "./build/src/index.js",

@@ -122,3 +122,3 @@ <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"/>

steps:
- uses: GoogleCloudPlatform/release-please-action@v1.3.0
- uses: GoogleCloudPlatform/release-please-action@v2
with:

@@ -150,3 +150,3 @@ token: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: GoogleCloudPlatform/release-please-action@v1.3.0
- uses: GoogleCloudPlatform/release-please-action@v2
id: release

@@ -153,0 +153,0 @@ with:

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