@gitbeaker/core
Advanced tools
Comparing version 27.0.1 to 28.0.0
@@ -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>; | ||
} |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
601657
8769
+ Added@gitbeaker/requester-utils@28.4.1(transitive)
+ Addedform-data@4.0.0(transitive)
+ Addedquery-string@7.1.3(transitive)
- Removed@gitbeaker/requester-utils@27.0.1(transitive)
- Removedquery-string@6.14.1(transitive)