GithubHelp home page GithubHelp logo

azu / git-commit-push-via-github-api Goto Github PK

View Code? Open in Web Editor NEW
62.0 4.0 18.0 150 KB

Git commit and push by using GitHub API. No depended on Git binary.

License: MIT License

JavaScript 14.46% TypeScript 85.54%
git github commit api

git-commit-push-via-github-api's Issues

Error: token is not defined

Whenever I try to use this API, I put in my parameters in the gitCommitPush() function, and then I create an .env file, and put my token in like this:

GITHUB_API_TOKEN="hidden"

It will still return token is not defined

use of deprecated github api warning

I am getting this warning please fix it

[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
Deprecation: [@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.
    at authenticate (D:\node_project\node_modules\@octokit\rest\plugins\authentication-deprecated\authenticate.js:11:5)
    at exports.gitCommitPush (D:\node_project\node_modules\git-commit-push-via-github-api\lib\git-commit-push-via-github-api.js:126:16)
    at D:\node_project\routes\notices\notification.js:199:17
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
  name: 'Deprecation'
}

https-proxy-agent security vulnerability

One of dependency (https-proxy-agent ) on git-commit-push-via-github-api v1.0.1 has security vulnerability.

npm audit security report

                                                                                                                                                        
                                 Manual Review                                  
             Some vulnerabilities require your attention to resolve             
                                                                                
          Visit https://go.npm.me/audit-guide for additional guidance           
                                                                                
                                                                                
  High            Denial of Service                                             
                                                                                
  Package         https-proxy-agent                                             
                                                                                
  Patched in      >=2.2.0                                                       
                                                                                
  Dependency of   git-commit-push-via-github-api                                
                                                                                
  Path            git-commit-push-via-github-api > github > https-proxy-agent   
                                                                                
  More info       https://nodesecurity.io/advisories/593                        
                                                                                
found 1 high severity vulnerability in 1206 scanned packages
  1 vulnerability requires manual review. See the full report for details.

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.