Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github-getter

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-getter - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

lib/gHGetter.js

@@ -21,2 +21,4 @@ 'use strict';

if (config.getData) {
console.log('>>> reponame', repoName);
console.log('>>> filepath', filePath);
(0, _gHRequest2.default)('/repos/' + repoName + '/contents/' + filePath, function (err, file) {

@@ -23,0 +25,0 @@ if (err) {

8

lib/index.js
'use strict';
var _githubGetter = require('github-getter');
var _gHGetter = require('./gHGetter.js');
(0, _githubGetter.gHUser)('des-des')({
(0, _gHGetter.gHUser)('des-des')({
getRepos: function getRepos(err, repos) {

@@ -19,3 +19,3 @@ return Object.keys(repos).forEach(function (key) {

(0, _githubGetter.gHUser)('dwyl', true)({
(0, _gHGetter.gHUser)('dwyl', true)({
getRepos: function getRepos(err, repos) {

@@ -32,3 +32,3 @@ repos.adoro({

(0, _githubGetter.gHRepo)('des-des/aibox')({
(0, _gHGetter.gHRepo)('des-des/aibox')({
getFiles: function getFiles(err, files) {

@@ -35,0 +35,0 @@ files['.babelrc']({

{
"name": "github-getter",
"version": "1.0.4",
"version": "1.0.5",
"description": "Quick and easy github file retrieval",
"main": "lib/gHGetter.js",
"repository": {
"type": "git",
"url": "https://github.com/des-des/github-getter.git"
},
"keywords": [

@@ -7,0 +11,0 @@ "Github",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc