@gitbeaker/node
Advanced tools
Comparing version 21.0.1 to 21.1.0
@@ -1,3 +0,17 @@ | ||
# v20.0.0 (Fri Jun 12 2020) | ||
# v21.1.0 (Sun Jun 14 2020) | ||
#### 🐛 Bug Fix | ||
- Fixing missing CLI tests and modifyServices function [#886](https://github.com/jdalrymple/gitbeaker/pull/886) ([@jdalrymple](https://github.com/jdalrymple)) | ||
- Updating CHANGELOG.md \[skip ci\] ([@jdalrymple](https://github.com/jdalrymple)) | ||
- v21.0.1 ([@jdalrymple](https://github.com/jdalrymple)) | ||
#### Authors: 1 | ||
- Justin Dalrymple ([@jdalrymple](https://github.com/jdalrymple)) | ||
--- | ||
# v21.0.1 (Fri Jun 12 2020) | ||
#### 👷🏼♀️ Technical Debt | ||
@@ -98,2 +112,2 @@ | ||
- [@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]) | ||
- [@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]) |
@@ -15,2 +15,2 @@ import*as e from"@gitbeaker/core";import{createInstance as s,defaultRequest as t,modifyServices as r}from"@gitbeaker/requester-utils";import o from"got";import n from"form-data";import{decamelizeKeys as i}from"xcase";import{Agent as a}from"https"; | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */function u(e,s,t,r){return new(t||(t=Promise))((function(o,n){function i(e){try{u(r.next(e))}catch(e){n(e)}}function a(e){try{u(r.throw(e))}catch(e){n(e)}}function u(e){var s;e.done?o(e.value):(s=e.value,s instanceof t?s:new t((function(e){e(s)}))).then(i,a)}u((r=r.apply(e,s||[])).next())}))}function c(e,s){var t,r,o,n,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return function(a){return function(n){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,r&&(o=2&n[0]?r.return:n[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,n[1])).done)return o;switch(r=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return i.label++,{value:n[1],done:!1};case 5:i.label++,r=n[1],n=[0];continue;case 7:n=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==n[0]&&2!==n[0])){i=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]<o[3])){i.label=n[1];break}if(6===n[0]&&i.label<o[1]){i.label=o[1],o=n;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(n);break}o[2]&&i.ops.pop(),i.trys.pop();continue}n=s.call(e,i)}catch(e){n=[6,e],r=0}finally{t=o=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,a])}}}var p=r(e,[{requester:s((function(e,s){var r=void 0===s?{}:s,o=r.body,u=r.query,c=r.sudo,p=r.method,l=t(e,{body:o,query:u,sudo:c,method:p});return"object"!=typeof o||o instanceof n||(l.json=i(o),delete l.body),e.url.includes("https")&&(l.agent={https:new a({rejectUnauthorized:e.rejectUnauthorized})}),l}),(function(e,s){return u(this,void 0,void 0,(function(){var t,r,n,i,a;return c(this,(function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,o(e,s)];case 1:return t=u.sent(),[3,3];case 2:throw(r=u.sent()).response&&(n=r.response.body,r.description=n.error||n.message),r;case 3:return i=t.statusCode,a=t.headers,[2,{body:function(e){switch(e.headers["content-type"]||""){case"application/json":return 0===e.body.length?{}:JSON.parse(e.body.toString());case"application/octet-stream":case"binary/octet-stream":case"application/gzip":return Buffer.from(e.body);default:return e.body||""}}(t),headers:a,status:i}]}}))}))}))}]),l=p.Groups,d=p.GroupAccessRequests,f=p.GroupBadges,m=p.GroupCustomAttributes,b=p.GroupIssueBoards,y=p.GroupMembers,h=p.GroupMilestones,g=p.GroupProjects,P=p.GroupVariables,j=p.GroupLabels,w=p.Epics,G=p.EpicIssues,S=p.EpicNotes,v=p.EpicDiscussions,k=p.Users,R=p.UserCustomAttributes,q=p.UserEmails,E=p.UserImpersonationTokens,M=p.UserKeys,B=p.UserGPGKeys,I=p.Branches,A=p.Commits,T=p.CommitDiscussions,U=p.ContainerRegistry,x=p.Deployments,C=p.DeployKeys,D=p.Environments,L=p.Issues,N=p.IssuesStatistics,V=p.IssueNotes,F=p.IssueDiscussions,K=p.IssueAwardEmojis,z=p.Jobs,H=p.Labels,J=p.MergeRequests,O=p.MergeRequestAwardEmojis,W=p.MergeRequestDiscussions,Y=p.MergeRequestNotes,Q=p.Packages,X=p.Pipelines,Z=p.PipelineSchedules,$=p.PipelineScheduleVariables,_=p.Projects,ee=p.ProjectAccessRequests,se=p.ProjectBadges,te=p.ProjectCustomAttributes,re=p.ProjectImportExport,oe=p.ProjectIssueBoards,ne=p.ProjectHooks,ie=p.ProjectMembers,ae=p.ProjectMilestones,ue=p.ProjectSnippets,ce=p.ProjectSnippetNotes,pe=p.ProjectSnippetDiscussions,le=p.ProjectSnippetAwardEmojis,de=p.ProtectedBranches,fe=p.ProtectedTags,me=p.ProjectVariables,be=p.PushRules,ye=p.Releases,he=p.ReleaseLinks,ge=p.Repositories,Pe=p.RepositoryFiles,je=p.Runners,we=p.Services,Ge=p.Tags,Se=p.Todos,ve=p.Triggers,ke=p.VulnerabilityFindings,Re=p.ApplicationSettings,qe=p.BroadcastMessages,Ee=p.Events,Me=p.FeatureFlags,Be=p.GeoNodes,Ie=p.GitignoreTemplates,Ae=p.GitLabCIYMLTemplates,Te=p.Keys,Ue=p.License,xe=p.LicenceTemplates,Ce=p.Lint,De=p.Namespaces,Le=p.NotificationSettings,Ne=p.Markdown,Ve=p.PagesDomains,Fe=p.Search,Ke=p.SidekiqMetrics,ze=p.Snippets,He=p.SystemHooks,Je=p.Version,Oe=p.Wikis,We=p.GroupsBundle,Ye=p.UsersBundle,Qe=p.ProjectsBundle,Xe=p.Gitlab;export{Re as ApplicationSettings,I as Branches,qe as BroadcastMessages,T as CommitDiscussions,A as Commits,U as ContainerRegistry,C as DeployKeys,x as Deployments,D as Environments,v as EpicDiscussions,G as EpicIssues,S as EpicNotes,w as Epics,Ee as Events,Me as FeatureFlags,Be as GeoNodes,Ae as GitLabCIYMLTemplates,Ie as GitignoreTemplates,Xe as Gitlab,d as GroupAccessRequests,f as GroupBadges,m as GroupCustomAttributes,b as GroupIssueBoards,j as GroupLabels,y as GroupMembers,h as GroupMilestones,g as GroupProjects,P as GroupVariables,l as Groups,We as GroupsBundle,K as IssueAwardEmojis,F as IssueDiscussions,V as IssueNotes,L as Issues,N as IssuesStatistics,z as Jobs,Te as Keys,H as Labels,xe as LicenceTemplates,Ue as License,Ce as Lint,Ne as Markdown,O as MergeRequestAwardEmojis,W as MergeRequestDiscussions,Y as MergeRequestNotes,J as MergeRequests,De as Namespaces,Le as NotificationSettings,Q as Packages,Ve as PagesDomains,$ as PipelineScheduleVariables,Z as PipelineSchedules,X as Pipelines,ee as ProjectAccessRequests,se as ProjectBadges,te as ProjectCustomAttributes,ne as ProjectHooks,re as ProjectImportExport,oe as ProjectIssueBoards,ie as ProjectMembers,ae as ProjectMilestones,le as ProjectSnippetAwardEmojis,pe as ProjectSnippetDiscussions,ce as ProjectSnippetNotes,ue as ProjectSnippets,me as ProjectVariables,_ as Projects,Qe as ProjectsBundle,de as ProtectedBranches,fe as ProtectedTags,be as PushRules,he as ReleaseLinks,ye as Releases,ge as Repositories,Pe as RepositoryFiles,je as Runners,Fe as Search,we as Services,Ke as SidekiqMetrics,ze as Snippets,He as SystemHooks,Ge as Tags,Se as Todos,ve as Triggers,R as UserCustomAttributes,q as UserEmails,B as UserGPGKeys,E as UserImpersonationTokens,M as UserKeys,k as Users,Ye as UsersBundle,Je as Version,ke as VulnerabilityFindings,Oe as Wikis}; | ||
***************************************************************************** */function u(e,s,t,r){return new(t||(t=Promise))((function(o,n){function i(e){try{u(r.next(e))}catch(e){n(e)}}function a(e){try{u(r.throw(e))}catch(e){n(e)}}function u(e){var s;e.done?o(e.value):(s=e.value,s instanceof t?s:new t((function(e){e(s)}))).then(i,a)}u((r=r.apply(e,s||[])).next())}))}function c(e,s){var t,r,o,n,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return function(a){return function(n){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,r&&(o=2&n[0]?r.return:n[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,n[1])).done)return o;switch(r=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return i.label++,{value:n[1],done:!1};case 5:i.label++,r=n[1],n=[0];continue;case 7:n=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==n[0]&&2!==n[0])){i=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]<o[3])){i.label=n[1];break}if(6===n[0]&&i.label<o[1]){i.label=o[1],o=n;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(n);break}o[2]&&i.ops.pop(),i.trys.pop();continue}n=s.call(e,i)}catch(e){n=[6,e],r=0}finally{t=o=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,a])}}}var p=r(e,{requester:s((function(e,s){var r=void 0===s?{}:s,o=r.body,u=r.query,c=r.sudo,p=r.method,l=t(e,{body:o,query:u,sudo:c,method:p});return"object"!=typeof o||o instanceof n||(l.json=i(o),delete l.body),e.url.includes("https")&&(l.agent={https:new a({rejectUnauthorized:e.rejectUnauthorized})}),l}),(function(e,s){return u(this,void 0,void 0,(function(){var t,r,n,i,a;return c(this,(function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,o(e,s)];case 1:return t=u.sent(),[3,3];case 2:throw(r=u.sent()).response&&(n=r.response.body,r.description=n.error||n.message),r;case 3:return i=t.statusCode,a=t.headers,[2,{body:function(e){switch(e.headers["content-type"]||""){case"application/json":return 0===e.body.length?{}:JSON.parse(e.body.toString());case"application/octet-stream":case"binary/octet-stream":case"application/gzip":return Buffer.from(e.body);default:return e.body||""}}(t),headers:a,status:i}]}}))}))}))}),l=p.Groups,d=p.GroupAccessRequests,f=p.GroupBadges,m=p.GroupCustomAttributes,b=p.GroupIssueBoards,y=p.GroupMembers,h=p.GroupMilestones,g=p.GroupProjects,P=p.GroupVariables,j=p.GroupLabels,w=p.Epics,G=p.EpicIssues,S=p.EpicNotes,v=p.EpicDiscussions,k=p.Users,R=p.UserCustomAttributes,q=p.UserEmails,E=p.UserImpersonationTokens,M=p.UserKeys,B=p.UserGPGKeys,I=p.Branches,A=p.Commits,T=p.CommitDiscussions,U=p.ContainerRegistry,x=p.Deployments,C=p.DeployKeys,D=p.Environments,L=p.Issues,N=p.IssuesStatistics,V=p.IssueNotes,F=p.IssueDiscussions,K=p.IssueAwardEmojis,z=p.Jobs,H=p.Labels,J=p.MergeRequests,O=p.MergeRequestAwardEmojis,W=p.MergeRequestDiscussions,Y=p.MergeRequestNotes,Q=p.Packages,X=p.Pipelines,Z=p.PipelineSchedules,$=p.PipelineScheduleVariables,_=p.Projects,ee=p.ProjectAccessRequests,se=p.ProjectBadges,te=p.ProjectCustomAttributes,re=p.ProjectImportExport,oe=p.ProjectIssueBoards,ne=p.ProjectHooks,ie=p.ProjectMembers,ae=p.ProjectMilestones,ue=p.ProjectSnippets,ce=p.ProjectSnippetNotes,pe=p.ProjectSnippetDiscussions,le=p.ProjectSnippetAwardEmojis,de=p.ProtectedBranches,fe=p.ProtectedTags,me=p.ProjectVariables,be=p.PushRules,ye=p.Releases,he=p.ReleaseLinks,ge=p.Repositories,Pe=p.RepositoryFiles,je=p.Runners,we=p.Services,Ge=p.Tags,Se=p.Todos,ve=p.Triggers,ke=p.VulnerabilityFindings,Re=p.ApplicationSettings,qe=p.BroadcastMessages,Ee=p.Events,Me=p.FeatureFlags,Be=p.GeoNodes,Ie=p.GitignoreTemplates,Ae=p.GitLabCIYMLTemplates,Te=p.Keys,Ue=p.License,xe=p.LicenceTemplates,Ce=p.Lint,De=p.Namespaces,Le=p.NotificationSettings,Ne=p.Markdown,Ve=p.PagesDomains,Fe=p.Search,Ke=p.SidekiqMetrics,ze=p.Snippets,He=p.SystemHooks,Je=p.Version,Oe=p.Wikis,We=p.GroupsBundle,Ye=p.UsersBundle,Qe=p.ProjectsBundle,Xe=p.Gitlab;export{Re as ApplicationSettings,I as Branches,qe as BroadcastMessages,T as CommitDiscussions,A as Commits,U as ContainerRegistry,C as DeployKeys,x as Deployments,D as Environments,v as EpicDiscussions,G as EpicIssues,S as EpicNotes,w as Epics,Ee as Events,Me as FeatureFlags,Be as GeoNodes,Ae as GitLabCIYMLTemplates,Ie as GitignoreTemplates,Xe as Gitlab,d as GroupAccessRequests,f as GroupBadges,m as GroupCustomAttributes,b as GroupIssueBoards,j as GroupLabels,y as GroupMembers,h as GroupMilestones,g as GroupProjects,P as GroupVariables,l as Groups,We as GroupsBundle,K as IssueAwardEmojis,F as IssueDiscussions,V as IssueNotes,L as Issues,N as IssuesStatistics,z as Jobs,Te as Keys,H as Labels,xe as LicenceTemplates,Ue as License,Ce as Lint,Ne as Markdown,O as MergeRequestAwardEmojis,W as MergeRequestDiscussions,Y as MergeRequestNotes,J as MergeRequests,De as Namespaces,Le as NotificationSettings,Q as Packages,Ve as PagesDomains,$ as PipelineScheduleVariables,Z as PipelineSchedules,X as Pipelines,ee as ProjectAccessRequests,se as ProjectBadges,te as ProjectCustomAttributes,ne as ProjectHooks,re as ProjectImportExport,oe as ProjectIssueBoards,ie as ProjectMembers,ae as ProjectMilestones,le as ProjectSnippetAwardEmojis,pe as ProjectSnippetDiscussions,ce as ProjectSnippetNotes,ue as ProjectSnippets,me as ProjectVariables,_ as Projects,Qe as ProjectsBundle,de as ProtectedBranches,fe as ProtectedTags,be as PushRules,he as ReleaseLinks,ye as Releases,ge as Repositories,Pe as RepositoryFiles,je as Runners,Fe as Search,we as Services,Ke as SidekiqMetrics,ze as Snippets,He as SystemHooks,Ge as Tags,Se as Todos,ve as Triggers,R as UserCustomAttributes,q as UserEmails,B as UserGPGKeys,E as UserImpersonationTokens,M as UserKeys,k as Users,Ye as UsersBundle,Je as Version,ke as VulnerabilityFindings,Oe as Wikis}; |
@@ -16,2 +16,2 @@ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var s=require("@gitbeaker/core"),t=require("@gitbeaker/requester-utils"),r=e(require("got")),o=e(require("form-data")),i=require("xcase"),p=require("https"); | ||
***************************************************************************** */ | ||
function n(e,s,t,r){return new(t||(t=Promise))((function(o,i){function p(e){try{a(r.next(e))}catch(e){i(e)}}function n(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){var s;e.done?o(e.value):(s=e.value,s instanceof t?s:new t((function(e){e(s)}))).then(p,n)}a((r=r.apply(e,s||[])).next())}))}function a(e,s){var t,r,o,i,p={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function n(i){return function(n){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;p;)try{if(t=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return p.label++,{value:i[1],done:!1};case 5:p.label++,r=i[1],i=[0];continue;case 7:i=p.ops.pop(),p.trys.pop();continue;default:if(!(o=p.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){p=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){p.label=i[1];break}if(6===i[0]&&p.label<o[1]){p.label=o[1],o=i;break}if(o&&p.label<o[2]){p.label=o[2],p.ops.push(i);break}o[2]&&p.ops.pop(),p.trys.pop();continue}i=s.call(e,p)}catch(e){i=[6,e],r=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,n])}}}var u=t.createInstance((function(e,s){var r=void 0===s?{}:s,n=r.body,a=r.query,u=r.sudo,c=r.method,l=t.defaultRequest(e,{body:n,query:a,sudo:u,method:c});return"object"!=typeof n||n instanceof o||(l.json=i.decamelizeKeys(n),delete l.body),e.url.includes("https")&&(l.agent={https:new p.Agent({rejectUnauthorized:e.rejectUnauthorized})}),l}),(function(e,s){return n(this,void 0,void 0,(function(){var t,o,i,p,n;return a(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,r(e,s)];case 1:return t=a.sent(),[3,3];case 2:throw(o=a.sent()).response&&(i=o.response.body,o.description=i.error||i.message),o;case 3:return p=t.statusCode,n=t.headers,[2,{body:function(e){switch(e.headers["content-type"]||""){case"application/json":return 0===e.body.length?{}:JSON.parse(e.body.toString());case"application/octet-stream":case"binary/octet-stream":case"application/gzip":return Buffer.from(e.body);default:return e.body||""}}(t),headers:n,status:p}]}}))}))})),c=t.modifyServices(s,[{requester:u}]),l=c.Groups,x=c.GroupAccessRequests,d=c.GroupBadges,b=c.GroupCustomAttributes,m=c.GroupIssueBoards,y=c.GroupMembers,P=c.GroupMilestones,g=c.GroupProjects,f=c.GroupVariables,j=c.GroupLabels,h=c.Epics,G=c.EpicIssues,S=c.EpicNotes,R=c.EpicDiscussions,q=c.Users,M=c.UserCustomAttributes,v=c.UserEmails,E=c.UserImpersonationTokens,I=c.UserKeys,k=c.UserGPGKeys,w=c.Branches,B=c.Commits,A=c.CommitDiscussions,T=c.ContainerRegistry,D=c.Deployments,L=c.DeployKeys,U=c.Environments,C=c.Issues,N=c.IssuesStatistics,V=c.IssueNotes,K=c.IssueDiscussions,F=c.IssueAwardEmojis,z=c.Jobs,H=c.Labels,J=c.MergeRequests,O=c.MergeRequestAwardEmojis,W=c.MergeRequestDiscussions,Y=c.MergeRequestNotes,_=c.Packages,Q=c.Pipelines,X=c.PipelineSchedules,Z=c.PipelineScheduleVariables,$=c.Projects,ee=c.ProjectAccessRequests,se=c.ProjectBadges,te=c.ProjectCustomAttributes,re=c.ProjectImportExport,oe=c.ProjectIssueBoards,ie=c.ProjectHooks,pe=c.ProjectMembers,ne=c.ProjectMilestones,ae=c.ProjectSnippets,ue=c.ProjectSnippetNotes,ce=c.ProjectSnippetDiscussions,le=c.ProjectSnippetAwardEmojis,xe=c.ProtectedBranches,de=c.ProtectedTags,be=c.ProjectVariables,me=c.PushRules,ye=c.Releases,Pe=c.ReleaseLinks,ge=c.Repositories,fe=c.RepositoryFiles,je=c.Runners,he=c.Services,Ge=c.Tags,Se=c.Todos,Re=c.Triggers,qe=c.VulnerabilityFindings,Me=c.ApplicationSettings,ve=c.BroadcastMessages,Ee=c.Events,Ie=c.FeatureFlags,ke=c.GeoNodes,we=c.GitignoreTemplates,Be=c.GitLabCIYMLTemplates,Ae=c.Keys,Te=c.License,De=c.LicenceTemplates,Le=c.Lint,Ue=c.Namespaces,Ce=c.NotificationSettings,Ne=c.Markdown,Ve=c.PagesDomains,Ke=c.Search,Fe=c.SidekiqMetrics,ze=c.Snippets,He=c.SystemHooks,Je=c.Version,Oe=c.Wikis,We=c.GroupsBundle,Ye=c.UsersBundle,_e=c.ProjectsBundle,Qe=c.Gitlab;exports.ApplicationSettings=Me,exports.Branches=w,exports.BroadcastMessages=ve,exports.CommitDiscussions=A,exports.Commits=B,exports.ContainerRegistry=T,exports.DeployKeys=L,exports.Deployments=D,exports.Environments=U,exports.EpicDiscussions=R,exports.EpicIssues=G,exports.EpicNotes=S,exports.Epics=h,exports.Events=Ee,exports.FeatureFlags=Ie,exports.GeoNodes=ke,exports.GitLabCIYMLTemplates=Be,exports.GitignoreTemplates=we,exports.Gitlab=Qe,exports.GroupAccessRequests=x,exports.GroupBadges=d,exports.GroupCustomAttributes=b,exports.GroupIssueBoards=m,exports.GroupLabels=j,exports.GroupMembers=y,exports.GroupMilestones=P,exports.GroupProjects=g,exports.GroupVariables=f,exports.Groups=l,exports.GroupsBundle=We,exports.IssueAwardEmojis=F,exports.IssueDiscussions=K,exports.IssueNotes=V,exports.Issues=C,exports.IssuesStatistics=N,exports.Jobs=z,exports.Keys=Ae,exports.Labels=H,exports.LicenceTemplates=De,exports.License=Te,exports.Lint=Le,exports.Markdown=Ne,exports.MergeRequestAwardEmojis=O,exports.MergeRequestDiscussions=W,exports.MergeRequestNotes=Y,exports.MergeRequests=J,exports.Namespaces=Ue,exports.NotificationSettings=Ce,exports.Packages=_,exports.PagesDomains=Ve,exports.PipelineScheduleVariables=Z,exports.PipelineSchedules=X,exports.Pipelines=Q,exports.ProjectAccessRequests=ee,exports.ProjectBadges=se,exports.ProjectCustomAttributes=te,exports.ProjectHooks=ie,exports.ProjectImportExport=re,exports.ProjectIssueBoards=oe,exports.ProjectMembers=pe,exports.ProjectMilestones=ne,exports.ProjectSnippetAwardEmojis=le,exports.ProjectSnippetDiscussions=ce,exports.ProjectSnippetNotes=ue,exports.ProjectSnippets=ae,exports.ProjectVariables=be,exports.Projects=$,exports.ProjectsBundle=_e,exports.ProtectedBranches=xe,exports.ProtectedTags=de,exports.PushRules=me,exports.ReleaseLinks=Pe,exports.Releases=ye,exports.Repositories=ge,exports.RepositoryFiles=fe,exports.Runners=je,exports.Search=Ke,exports.Services=he,exports.SidekiqMetrics=Fe,exports.Snippets=ze,exports.SystemHooks=He,exports.Tags=Ge,exports.Todos=Se,exports.Triggers=Re,exports.UserCustomAttributes=M,exports.UserEmails=v,exports.UserGPGKeys=k,exports.UserImpersonationTokens=E,exports.UserKeys=I,exports.Users=q,exports.UsersBundle=Ye,exports.Version=Je,exports.VulnerabilityFindings=qe,exports.Wikis=Oe; | ||
function n(e,s,t,r){return new(t||(t=Promise))((function(o,i){function p(e){try{a(r.next(e))}catch(e){i(e)}}function n(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){var s;e.done?o(e.value):(s=e.value,s instanceof t?s:new t((function(e){e(s)}))).then(p,n)}a((r=r.apply(e,s||[])).next())}))}function a(e,s){var t,r,o,i,p={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function n(i){return function(n){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;p;)try{if(t=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return p.label++,{value:i[1],done:!1};case 5:p.label++,r=i[1],i=[0];continue;case 7:i=p.ops.pop(),p.trys.pop();continue;default:if(!(o=p.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){p=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){p.label=i[1];break}if(6===i[0]&&p.label<o[1]){p.label=o[1],o=i;break}if(o&&p.label<o[2]){p.label=o[2],p.ops.push(i);break}o[2]&&p.ops.pop(),p.trys.pop();continue}i=s.call(e,p)}catch(e){i=[6,e],r=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,n])}}}var u=t.createInstance((function(e,s){var r=void 0===s?{}:s,n=r.body,a=r.query,u=r.sudo,c=r.method,l=t.defaultRequest(e,{body:n,query:a,sudo:u,method:c});return"object"!=typeof n||n instanceof o||(l.json=i.decamelizeKeys(n),delete l.body),e.url.includes("https")&&(l.agent={https:new p.Agent({rejectUnauthorized:e.rejectUnauthorized})}),l}),(function(e,s){return n(this,void 0,void 0,(function(){var t,o,i,p,n;return a(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,r(e,s)];case 1:return t=a.sent(),[3,3];case 2:throw(o=a.sent()).response&&(i=o.response.body,o.description=i.error||i.message),o;case 3:return p=t.statusCode,n=t.headers,[2,{body:function(e){switch(e.headers["content-type"]||""){case"application/json":return 0===e.body.length?{}:JSON.parse(e.body.toString());case"application/octet-stream":case"binary/octet-stream":case"application/gzip":return Buffer.from(e.body);default:return e.body||""}}(t),headers:n,status:p}]}}))}))})),c=t.modifyServices(s,{requester:u}),l=c.Groups,x=c.GroupAccessRequests,d=c.GroupBadges,b=c.GroupCustomAttributes,m=c.GroupIssueBoards,y=c.GroupMembers,P=c.GroupMilestones,g=c.GroupProjects,f=c.GroupVariables,j=c.GroupLabels,h=c.Epics,G=c.EpicIssues,S=c.EpicNotes,R=c.EpicDiscussions,q=c.Users,M=c.UserCustomAttributes,v=c.UserEmails,E=c.UserImpersonationTokens,I=c.UserKeys,k=c.UserGPGKeys,w=c.Branches,B=c.Commits,A=c.CommitDiscussions,T=c.ContainerRegistry,D=c.Deployments,L=c.DeployKeys,U=c.Environments,C=c.Issues,N=c.IssuesStatistics,V=c.IssueNotes,K=c.IssueDiscussions,F=c.IssueAwardEmojis,z=c.Jobs,H=c.Labels,J=c.MergeRequests,O=c.MergeRequestAwardEmojis,W=c.MergeRequestDiscussions,Y=c.MergeRequestNotes,_=c.Packages,Q=c.Pipelines,X=c.PipelineSchedules,Z=c.PipelineScheduleVariables,$=c.Projects,ee=c.ProjectAccessRequests,se=c.ProjectBadges,te=c.ProjectCustomAttributes,re=c.ProjectImportExport,oe=c.ProjectIssueBoards,ie=c.ProjectHooks,pe=c.ProjectMembers,ne=c.ProjectMilestones,ae=c.ProjectSnippets,ue=c.ProjectSnippetNotes,ce=c.ProjectSnippetDiscussions,le=c.ProjectSnippetAwardEmojis,xe=c.ProtectedBranches,de=c.ProtectedTags,be=c.ProjectVariables,me=c.PushRules,ye=c.Releases,Pe=c.ReleaseLinks,ge=c.Repositories,fe=c.RepositoryFiles,je=c.Runners,he=c.Services,Ge=c.Tags,Se=c.Todos,Re=c.Triggers,qe=c.VulnerabilityFindings,Me=c.ApplicationSettings,ve=c.BroadcastMessages,Ee=c.Events,Ie=c.FeatureFlags,ke=c.GeoNodes,we=c.GitignoreTemplates,Be=c.GitLabCIYMLTemplates,Ae=c.Keys,Te=c.License,De=c.LicenceTemplates,Le=c.Lint,Ue=c.Namespaces,Ce=c.NotificationSettings,Ne=c.Markdown,Ve=c.PagesDomains,Ke=c.Search,Fe=c.SidekiqMetrics,ze=c.Snippets,He=c.SystemHooks,Je=c.Version,Oe=c.Wikis,We=c.GroupsBundle,Ye=c.UsersBundle,_e=c.ProjectsBundle,Qe=c.Gitlab;exports.ApplicationSettings=Me,exports.Branches=w,exports.BroadcastMessages=ve,exports.CommitDiscussions=A,exports.Commits=B,exports.ContainerRegistry=T,exports.DeployKeys=L,exports.Deployments=D,exports.Environments=U,exports.EpicDiscussions=R,exports.EpicIssues=G,exports.EpicNotes=S,exports.Epics=h,exports.Events=Ee,exports.FeatureFlags=Ie,exports.GeoNodes=ke,exports.GitLabCIYMLTemplates=Be,exports.GitignoreTemplates=we,exports.Gitlab=Qe,exports.GroupAccessRequests=x,exports.GroupBadges=d,exports.GroupCustomAttributes=b,exports.GroupIssueBoards=m,exports.GroupLabels=j,exports.GroupMembers=y,exports.GroupMilestones=P,exports.GroupProjects=g,exports.GroupVariables=f,exports.Groups=l,exports.GroupsBundle=We,exports.IssueAwardEmojis=F,exports.IssueDiscussions=K,exports.IssueNotes=V,exports.Issues=C,exports.IssuesStatistics=N,exports.Jobs=z,exports.Keys=Ae,exports.Labels=H,exports.LicenceTemplates=De,exports.License=Te,exports.Lint=Le,exports.Markdown=Ne,exports.MergeRequestAwardEmojis=O,exports.MergeRequestDiscussions=W,exports.MergeRequestNotes=Y,exports.MergeRequests=J,exports.Namespaces=Ue,exports.NotificationSettings=Ce,exports.Packages=_,exports.PagesDomains=Ve,exports.PipelineScheduleVariables=Z,exports.PipelineSchedules=X,exports.Pipelines=Q,exports.ProjectAccessRequests=ee,exports.ProjectBadges=se,exports.ProjectCustomAttributes=te,exports.ProjectHooks=ie,exports.ProjectImportExport=re,exports.ProjectIssueBoards=oe,exports.ProjectMembers=pe,exports.ProjectMilestones=ne,exports.ProjectSnippetAwardEmojis=le,exports.ProjectSnippetDiscussions=ce,exports.ProjectSnippetNotes=ue,exports.ProjectSnippets=ae,exports.ProjectVariables=be,exports.Projects=$,exports.ProjectsBundle=_e,exports.ProtectedBranches=xe,exports.ProtectedTags=de,exports.PushRules=me,exports.ReleaseLinks=Pe,exports.Releases=ye,exports.Repositories=ge,exports.RepositoryFiles=fe,exports.Runners=je,exports.Search=Ke,exports.Services=he,exports.SidekiqMetrics=Fe,exports.Snippets=ze,exports.SystemHooks=He,exports.Tags=Ge,exports.Todos=Se,exports.Triggers=Re,exports.UserCustomAttributes=M,exports.UserEmails=v,exports.UserGPGKeys=k,exports.UserImpersonationTokens=E,exports.UserKeys=I,exports.Users=q,exports.UsersBundle=Ye,exports.Version=Je,exports.VulnerabilityFindings=qe,exports.Wikis=Oe; |
{ | ||
"name": "@gitbeaker/node", | ||
"description": "Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.", | ||
"version": "21.0.1", | ||
"version": "21.1.0", | ||
"author": { | ||
@@ -12,4 +12,4 @@ "name": "Justin Dalrymple" | ||
"dependencies": { | ||
"@gitbeaker/core": "^21.0.0", | ||
"@gitbeaker/requester-utils": "^21.0.0", | ||
"@gitbeaker/core": "^21.1.0", | ||
"@gitbeaker/requester-utils": "^21.1.0", | ||
"form-data": "^3.0.0", | ||
@@ -54,3 +54,4 @@ "got": "^11.1.4", | ||
"test:unit": "jest test/unit" | ||
} | ||
}, | ||
"gitHead": "ee1b0ed46db2f4d034140ee05ad40f96fec26005" | ||
} |
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
33838
8