Comparing version 3.4.2 to 3.4.3
# Changelog | ||
[3.4.3](https://github.com/jdalrymple/node-gitlab/tags/3.4.3) (2018-6-25) | ||
------------------ | ||
- Updating packages | ||
- Adding support for the retrieval of projects by user id [#105](https://github.com/jdalrymple/node-gitlab/pull/105) thanks to [Michael Townsend](https://github.com/Continuities) | ||
[3.4.2](https://github.com/jdalrymple/node-gitlab/tags/3.4.2) (2018-6-06) | ||
@@ -4,0 +9,0 @@ ------------------ |
@@ -21,2 +21,7 @@ "use strict"; | ||
projects(userId) { | ||
const uId = encodeURIComponent(userId); | ||
return _infrastructure.RequestHelper.get(this, `users/${uId}/projects`); | ||
} | ||
block(userId) { | ||
@@ -23,0 +28,0 @@ const uId = encodeURIComponent(userId); |
@@ -21,2 +21,7 @@ "use strict"; | ||
projects(userId) { | ||
const uId = encodeURIComponent(userId); | ||
return _infrastructure.RequestHelper.get(this, `users/${uId}/projects`); | ||
} | ||
block(userId) { | ||
@@ -23,0 +28,0 @@ const uId = encodeURIComponent(userId); |
{ | ||
"name": "gitlab", | ||
"version": "3.4.2", | ||
"version": "3.4.3", | ||
"description": "Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.", | ||
@@ -19,3 +19,4 @@ "main": "dist/latest/index.js", | ||
"test": "jest && codecov", | ||
"prepublishOnly": "npm run build" | ||
"prepublishOnly": "npm run build", | ||
"semantic-release": "semantic-release -t '${version}'" | ||
}, | ||
@@ -40,7 +41,7 @@ "repository": { | ||
"devDependencies": { | ||
"@babel/cli": "^7.0.0-beta.49", | ||
"@babel/core": "^7.0.0-beta.49", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.49", | ||
"@babel/plugin-transform-runtime": "^7.0.0-beta.49", | ||
"@babel/preset-env": "^7.0.0-beta.49", | ||
"@babel/cli": "^7.0.0-beta.51", | ||
"@babel/core": "^7.0.0-beta.51", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.51", | ||
"@babel/plugin-transform-runtime": "^7.0.0-beta.51", | ||
"@babel/preset-env": "^7.0.0-beta.51", | ||
"babel-core": "^7.0.0-0", | ||
@@ -50,14 +51,15 @@ "babel-eslint": "^8.2.3", | ||
"codecov": "^3.0.2", | ||
"eslint": "^5.0.0-alpha.4", | ||
"eslint-config-airbnb": "^16.1.0", | ||
"eslint": "^5.0.0-rc.0", | ||
"eslint-config-airbnb": "^17.0.0", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-plugin-jest": "^21.17.0", | ||
"eslint-plugin-jsx-a11y": "^6.0.3", | ||
"eslint-plugin-react": "^7.8.2", | ||
"eslint-plugin-react": "^7.9.1", | ||
"jest": "^23.1.0", | ||
"jest-tap-reporter": "^1.9.0", | ||
"regenerator-runtime": "^0.11.1" | ||
"regenerator-runtime": "^0.12.0", | ||
"semantic-release": "^15.6.0" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.0.0-beta.49", | ||
"@babel/runtime": "^7.0.0-beta.51", | ||
"humps": "^2.0.1", | ||
@@ -64,0 +66,0 @@ "lodash.pick": "^4.4.0", |
@@ -1,2 +0,2 @@ | ||
[![npm](https://img.shields.io/npm/v/npm.svg)](https://github.com/jdalrymple/node-gitlab) [![npm](https://img.shields.io/npm/dt/express.svg)](https://github.com/jdalrymple/node-gitlab) [![dependencies Status](https://david-dm.org/jdalrymple/node-gitlab/status.svg)](https://david-dm.org/jdalrymple/node-gitlab) [![devDependencies Status](https://david-dm.org/jdalrymple/node-gitlab/dev-status.svg)](https://david-dm.org/jdalrymple/node-gitlab?type=dev) [![Greenkeeper badge](https://badges.greenkeeper.io/jdalrymple/node-gitlab.svg)](https://greenkeeper.io/) [![Code Climate](https://codeclimate.com/github/jdalrymple/node-gitlab/badges/gpa.svg)](https://codeclimate.com/github/jdalrymple/node-gitlab) [![Build Status](https://travis-ci.org/jdalrymple/node-gitlab.svg?branch=master)](https://travis-ci.org/jdalrymple/node-gitlab) [![codecov](https://codecov.io/gh/jdalrymple/node-gitlab/branch/master/graph/badge.svg)](https://codecov.io/gh/jdalrymple/node-gitlab) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) | ||
[![npm](https://img.shields.io/npm/v/npm.svg)](https://github.com/jdalrymple/node-gitlab) [![npm](https://img.shields.io/npm/dt/express.svg)](https://github.com/jdalrymple/node-gitlab) [![dependencies Status](https://david-dm.org/jdalrymple/node-gitlab/status.svg)](https://david-dm.org/jdalrymple/node-gitlab) [![devDependencies Status](https://david-dm.org/jdalrymple/node-gitlab/dev-status.svg)](https://david-dm.org/jdalrymple/node-gitlab?type=dev) [![Greenkeeper badge](https://badges.greenkeeper.io/jdalrymple/node-gitlab.svg)](https://greenkeeper.io/) [![Code Climate](https://codeclimate.com/github/jdalrymple/node-gitlab/badges/gpa.svg)](https://codeclimate.com/github/jdalrymple/node-gitlab) [![Build Status](https://travis-ci.org/jdalrymple/node-gitlab.svg?branch=master)](https://travis-ci.org/jdalrymple/node-gitlab) [![codecov](https://codecov.io/gh/jdalrymple/node-gitlab/branch/master/graph/badge.svg)](https://codecov.io/gh/jdalrymple/node-gitlab) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) | ||
@@ -470,2 +470,3 @@ # node-gitlab | ||
- [Igor Katsuba](https://github.com/Defenderbass) | ||
- [Michael Townsend](https://github.com/Continuities) | ||
@@ -472,0 +473,0 @@ ## License |
@@ -13,2 +13,8 @@ import { BaseService, RequestHelper } from '../infrastructure'; | ||
projects(userId) { | ||
const uId = encodeURIComponent(userId); | ||
return RequestHelper.get(this, `users/${uId}/projects`); | ||
} | ||
block(userId) { | ||
@@ -15,0 +21,0 @@ const uId = encodeURIComponent(userId); |
@@ -59,2 +59,1 @@ import { ProjectsBundle } from '../../../src'; | ||
}); | ||
Sorry, the diff of this file is not supported yet
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
403156
9387
479
19