Git Product home page Git Product logo

gl-got's People

Contributors

arthurvr avatar dsblv avatar egul avatar floatdrop avatar hutson avatar itaisteinherz avatar kevva avatar linusu avatar ntwb avatar rarkins avatar samverschueren avatar sindresorhus avatar tadatuta avatar wangsai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gl-got's Issues

Unpin dependencies?

Because this is a library that is consumed by others, should we "unpin" its dependencies and revert to ranges? And if so, then which ranges? And keep devDependencies pinned or also ranges?

Release

@rarkins would you please publish version 7.0.0 to the npm registry?

I've merged in gh-got commits into gl-got.

Also, #26 can be closed as that update was one of the commits I pulled from gh-got.

Support Offline Tests

While exploring gl-got, I realized that the unit tests have an online requirement. They require that a GitLab token be set so that the unit tests can access GitLab.com.

I would like to modify the unit tests by extending the use of nock to make all unit tests offline.

Handling of tokens

I think the last major version update changed how tokens are handled.

Previously, we were supporting only Personal Access Tokens with this code:

gl-got/index.js

Lines 22 to 24 in 15367eb

if (opts.token) {
opts.headers['PRIVATE-TOKEN'] = opts.token;
}

Since v9.0.0, opts.token is passed through to got and I'm not sure if it's actually used there or not, based on the lack of hits for "token" here: https://github.com/sindresorhus/got/search?utf8=%E2%9C%93&q=token&type=

I was researching this code in the context of adding OAuth token support to this library in addition to Personal Access Token support, when I realised this unanticipated change in v9.

Cc @itaisteinherz @hbetts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.