Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gitbeaker/core

Package Overview
Dependencies
Maintainers
1
Versions
263
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 25.3.0-canary.1104.210039534.0 to 25.3.0

16

CHANGELOG.md

@@ -0,1 +1,17 @@

# v25.3.0 (Fri Nov 06 2020)
:tada: This release contains work from a new contributor! :tada:
Thank you, Ilya Dus ([@illyaMs](https://github.com/illyaMs)), for all your work!
#### 🐛 Bug Fix
- refactor: export CommitAction interface [#1307](https://github.com/jdalrymple/gitbeaker/pull/1307) ([@illyaMs](https://github.com/illyaMs))
#### Authors: 1
- Ilya Dus ([@illyaMs](https://github.com/illyaMs))
---
# v25.1.0 (Tue Oct 20 2020)

@@ -2,0 +18,0 @@

3

dist/types/services/Commits.d.ts

@@ -32,3 +32,3 @@ import { BaseService } from '@gitbeaker/requester-utils';

export declare type CommitSchema = CommitSchemaDefault | CommitSchemaCamelized;
interface CommitAction {
export interface CommitAction {
/** The action to perform */

@@ -60,2 +60,1 @@ action: 'create' | 'delete' | 'move' | 'update';

}
export {};

@@ -27,10 +27,10 @@ import { BaseService } from '@gitbeaker/requester-utils';

}
export declare type RepositoryFileSchema<C = true> = C extends true ? RepositoryFileSchemaDefault : RepositoryFileSchemaCamelized;
export declare class RepositoryFiles<C = false> extends BaseService {
export declare type RepositoryFileSchema = RepositoryFileSchemaDefault | RepositoryFileSchemaCamelized;
export declare class RepositoryFiles extends BaseService {
create(projectId: string | number, filePath: string, branch: string, content: string, commitMessage: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>;
edit(projectId: string | number, filePath: string, branch: string, content: string, commitMessage: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>;
remove(projectId: string | number, filePath: string, branch: string, commitMessage: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>;
show(projectId: string | number, filePath: string, ref: string, options?: Sudo): Promise<RepositoryFileSchema<C>>;
show(projectId: string | number, filePath: string, ref: string, options?: Sudo): Promise<RepositoryFileSchema>;
showBlame(projectId: string | number, filePath: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>;
showRaw(projectId: string | number, filePath: string, ref: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>;
}
{
"name": "@gitbeaker/core",
"description": "Core API implementation of the GitLab API. Supports Promises, Async/Await.",
"version": "25.3.0-canary.1104.210039534.0",
"version": "25.3.0",
"author": {

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

"dependencies": {
"@gitbeaker/requester-utils": "25.3.0-canary.1104.210039534.0",
"@gitbeaker/requester-utils": "^25.3.0",
"form-data": "^3.0.0",

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

},
"gitHead": "151136e11a0bf9c987ac7e10f37e9572368f6849"
"gitHead": "94090d65b55225714b6d2c7c8ade5ae9bf7d88f8"
}
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