github-pr-release
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -5,2 +5,3 @@ var fs = require('fs') | ||
var GithubClient = require('./lib/github-client.js') | ||
var path = require('path') | ||
@@ -12,3 +13,3 @@ module.exports = function createReleasePR (config) { | ||
return client.collectReleasePRs(releasePR).then(function (prs) { | ||
var templatePath = config.template || __dirname + '/release.mustache' | ||
var templatePath = config.template || path.join(__dirname, 'release.mustache') | ||
var template = fs.readFileSync(templatePath, 'utf8') | ||
@@ -15,0 +16,0 @@ var message = releaseMessage(template, prs) |
{ | ||
"name": "github-pr-release", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Create a release pull request by Github API", | ||
@@ -18,3 +18,3 @@ "main": "index.js", | ||
"moment": "^2.9.0", | ||
"mustache": "^1.0.0", | ||
"mustache": "^3.0.1", | ||
"parse-link-header": "^0.2.0", | ||
@@ -24,10 +24,10 @@ "request": "^2.58.0" | ||
"devDependencies": { | ||
"espower-loader": "^0.11.0", | ||
"espower-loader": "^1.2.2", | ||
"intelli-espower-loader": "^0.7.0", | ||
"mocha": "^2.2.5", | ||
"nock": "^2.7.0", | ||
"mocha": "^5.2.0", | ||
"nock": "^10.0.5", | ||
"power-assert": "^0.11.0", | ||
"proxyquire": "^1.7.2", | ||
"standard": "^4.5.4" | ||
"standard": "^12.0.1" | ||
} | ||
} |
410
17579
11
+ Addedmustache@3.2.1(transitive)
- Removedmustache@1.2.0(transitive)
Updatedmustache@^3.0.1