github-api
Advanced tools
Comparing version 0.10.1 to 0.10.2
@@ -545,7 +545,4 @@ /*! | ||
if (err) return cb(err); | ||
var sha = obj.sha, | ||
content = atob(obj.content); | ||
cb(null, content, sha); | ||
}); | ||
cb(null, obj); | ||
}, true); | ||
}; | ||
@@ -552,0 +549,0 @@ |
{ | ||
"name": "github-api", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "A higher-level wrapper around the Github API.", | ||
"main": "github.js", | ||
"dependencies": { | ||
"atob": "^1.1.2", | ||
"btoa": "^1.1.2", | ||
@@ -8,0 +9,0 @@ "underscore": "~1.6.0", |
@@ -288,6 +288,2 @@ [![browser support](https://ci.testling.com/darvin/github.png)](https://ci.testling.com/darvin/github) | ||
## Tests | ||
Github.js is automatically™ tested by the users of [Prose](http://prose.io). Because of that, we decided to save some time by not maintaining a test suite. Yes, you heard right. :) However, you can still consider it stable since it is used in production. | ||
##Setup | ||
@@ -294,0 +290,0 @@ |
@@ -45,2 +45,9 @@ var test = require('tape'); | ||
t.test('repo.read', function(q) { | ||
repo.read('master', 'README.md', function(err, res) { | ||
q.ok(res.indexOf('##Setup') !== -1, true, 'Returned REAMDE'); | ||
q.end(); | ||
}); | ||
}); | ||
clearTimeout(timeout); | ||
@@ -85,3 +92,3 @@ t.end(); | ||
}); | ||
}); | ||
@@ -88,0 +95,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
842
0
51708
4
348
+ Addedatob@^1.1.2
+ Addedatob@1.1.3(transitive)