Comparing version 10.2.0 to 10.2.1
@@ -0,1 +1,8 @@ | ||
## [10.2.1](https://github.com/jdalrymple/node-gitlab/compare/10.2.0...10.2.1) (2019-08-28) | ||
### Bug Fixes | ||
* Adding proper support for the buffer responses ([8bbab73](https://github.com/jdalrymple/node-gitlab/commit/8bbab73)) | ||
# [10.2.0](https://github.com/jdalrymple/node-gitlab/compare/10.1.2...10.2.0) (2019-08-22) | ||
@@ -2,0 +9,0 @@ |
@@ -74,1 +74,5 @@ import * as APIServices from './services'; | ||
export declare const Gitlab: import("./infrastructure").Bundle<typeof APIServices, "Groups" | "GroupAccessRequests" | "GroupBadges" | "GroupCustomAttributes" | "GroupIssueBoards" | "GroupMembers" | "GroupMilestones" | "GroupProjects" | "GroupVariables" | "Epics" | "EpicIssues" | "EpicNotes" | "EpicDiscussions" | "Users" | "UserCustomAttributes" | "UserEmails" | "UserImpersonationTokens" | "UserKeys" | "UserGPGKeys" | "Branches" | "Commits" | "CommitDiscussions" | "ContainerRegistry" | "DeployKeys" | "Deployments" | "Environments" | "Issues" | "IssueAwardEmojis" | "IssueNotes" | "IssueDiscussions" | "Jobs" | "Labels" | "MergeRequests" | "MergeRequestAwardEmojis" | "MergeRequestDiscussions" | "MergeRequestNotes" | "Pipelines" | "PipelineSchedules" | "PipelineScheduleVariables" | "Projects" | "ProjectAccessRequests" | "ProjectBadges" | "ProjectCustomAttributes" | "ProjectImportExport" | "ProjectIssueBoards" | "ProjectHooks" | "ProjectMembers" | "ProjectMilestones" | "ProjectSnippets" | "ProjectSnippetNotes" | "ProjectSnippetDiscussions" | "ProjectSnippetAwardEmojis" | "ProtectedBranches" | "ProtectedTags" | "ProjectVariables" | "PushRules" | "Releases" | "ReleaseLinks" | "Repositories" | "RepositoryFiles" | "Runners" | "Services" | "Tags" | "Triggers" | "Todos" | "ApplicationSettings" | "BroadcastMessages" | "Events" | "FeatureFlags" | "GeoNodes" | "GitignoreTemplates" | "GitLabCIYMLTemplates" | "Keys" | "Licence" | "LicenceTemplates" | "Lint" | "Namespaces" | "NotificationSettings" | "Markdown" | "PagesDomains" | "Search" | "SidekiqMetrics" | "Snippets" | "SystemHooks" | "Version" | "Wikis">; | ||
export declare type UsersBundle = InstanceType<typeof UsersBundle>; | ||
export declare type GroupsBundle = InstanceType<typeof GroupsBundle>; | ||
export declare type ProjectsBundle = InstanceType<typeof ProjectsBundle>; | ||
export declare type Gitlab = InstanceType<typeof Gitlab>; |
{ | ||
"name": "gitlab", | ||
"description": "Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.", | ||
"version": "10.2.0", | ||
"version": "10.2.1", | ||
"author": { | ||
@@ -48,3 +48,3 @@ "name": "Justin Dalrymple", | ||
"rollup-plugin-terser": "^5.1.1", | ||
"rollup-plugin-typescript2": "^0.22.1", | ||
"rollup-plugin-typescript2": "^0.23.0", | ||
"semantic-release": "^15.13.24", | ||
@@ -59,3 +59,3 @@ "ts-jest": "24.0.2", | ||
"engines": { | ||
"node": ">=12.0.0" | ||
"node": ">=10.0.0" | ||
}, | ||
@@ -62,0 +62,0 @@ "files": [ |
@@ -438,2 +438,15 @@ [![npm @latest](https://img.shields.io/npm/v/gitlab.svg)](https://www.npmjs.com/package/gitlab) | ||
### Misc | ||
#### Non JSON/Text Responses | ||
For responses such as file data that may be returned from the API, the data is exposed as a buffer. For example when trying to write a file, this can be done like: | ||
``` | ||
let bufferedData = await api.Jobs.downloadLatestArtifactFile(project.id, "test", "job_test); | ||
fs.writeFileSync("test.zip", bufferedData); | ||
``` | ||
## Development | ||
@@ -440,0 +453,0 @@ |
Sorry, the diff of this file is too big to display
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
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
364524
2165
576