Socket
Socket
Sign inDemoInstall

@gitbeaker/core

Package Overview
Dependencies
Maintainers
1
Versions
253
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gitbeaker/core - npm Package Compare versions

Comparing version 27.0.1 to 28.0.0

25

CHANGELOG.md

@@ -0,1 +1,26 @@

# v28.0.0 (Mon Dec 28 2020)
:tada: This release contains work from a new contributor! :tada:
Thank you, Martin Helmich ([@martin-helmich](https://github.com/martin-helmich)), for all your work!
#### 💥 Breaking Change
- Replacing BaseService 'url' constructor argument with 'prefixUrl' for clarity [#1412](https://github.com/jdalrymple/gitbeaker/pull/1412) ([@jdalrymple](https://github.com/jdalrymple))
#### 💥 Feature
- Implement "Commits.signature" method [#1386](https://github.com/jdalrymple/gitbeaker/pull/1386) ([@martin-helmich](https://github.com/martin-helmich) [@jdalrymple](https://github.com/jdalrymple))
#### 🐛 Bug Fix
- Fixing incorrect scoping of the createRequesterFn function [#1413](https://github.com/jdalrymple/gitbeaker/pull/1413) ([@jdalrymple](https://github.com/jdalrymple))
#### Authors: 2
- Justin Dalrymple ([@jdalrymple](https://github.com/jdalrymple))
- Martin Helmich ([@martin-helmich](https://github.com/martin-helmich))
---
# v27.0.0 (Fri Dec 18 2020)

@@ -2,0 +27,0 @@

@@ -46,2 +46,35 @@ import { BaseService } from '@gitbeaker/requester-utils';

}
export interface GPGSignature {
signature_type: 'PGP';
verification_status: 'verified' | 'unverified';
gpg_key_id: number;
gpg_key_primary_keyid: string;
gpg_key_user_name: string;
gpg_key_user_email: string;
gpg_key_subkey_id: number | null;
commit_source: string;
}
export interface X509Signature {
signature_type: 'X509';
verification_status: 'verified' | 'unverified';
x509_certificate: {
id: number;
subject: string;
subject_key_identifier: string;
email: string;
serial_number: string;
certificate_status: string;
x509_issuer: {
id: number;
subject: string;
subject_key_identifier: string;
crl_url: string;
};
};
commit_source: string;
}
export interface MissingSignature {
message: string;
}
export declare type CommitSignature = GPGSignature | X509Signature | MissingSignature;
export declare class Commits extends BaseService {

@@ -60,2 +93,3 @@ all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>;

mergeRequests(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>;
signature(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise<CommitSignature>;
}

6

package.json
{
"name": "@gitbeaker/core",
"description": "Core API implementation of the GitLab API. Supports Promises, Async/Await.",
"version": "27.0.1",
"version": "28.0.0",
"author": {

@@ -12,3 +12,3 @@ "name": "Justin Dalrymple"

"dependencies": {
"@gitbeaker/requester-utils": "^27.0.1",
"@gitbeaker/requester-utils": "^28.0.0",
"form-data": "^3.0.0",

@@ -56,3 +56,3 @@ "li": "^1.3.0",

},
"gitHead": "beaf43f89fac714214e0a24a6898b4700c760410"
"gitHead": "65d87cb6671f403599e775753613c811d7919416"
}

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

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