Comparing version 1.0.13 to 1.0.14
(function() { | ||
'use strict'; | ||
var exec = require('execon'), | ||
var path = require('path'), | ||
exec = require('execon'), | ||
GitHubApi = require('github'), | ||
@@ -9,8 +10,5 @@ readjson = require('readjson'), | ||
HOME = require('os-homedir')(), | ||
ERROR_TOKEN = 'File ~/.grizzly.json with token not found!', | ||
HOME_WIN = process.env.HOMEPATH, | ||
HOME_UNIX = process.env.HOME, | ||
HOME = (HOME_UNIX || HOME_WIN) + '/', | ||
github = new GitHubApi({ | ||
@@ -21,3 +19,3 @@ version: '3.0.0' | ||
module.exports = function(token, options, callback) { | ||
var name = HOME + '.grizzly.json'; | ||
var name = path.join(HOME, '.grizzly.json'); | ||
@@ -24,0 +22,0 @@ exec.if(token, function() { |
{ | ||
"name": "grizzly", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "create release on github", | ||
@@ -31,4 +31,5 @@ "main": "lib/release.js", | ||
"minimist": "~1.1.0", | ||
"os-homedir": "~1.0.0", | ||
"readjson": "~1.1.0" | ||
} | ||
} |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
7860
0
7
126
+ Addedos-homedir@~1.0.0
+ Addedos-homedir@1.0.2(transitive)