browserify-banner
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -155,7 +155,7 @@ 'use strict'; | ||
* | ||
* @param {string} path | ||
* @param {string} filePath | ||
* @returns {object} | ||
*/ | ||
function readJSON (path) { | ||
let json = fs.readFileSync(path, 'utf8'); | ||
function readJSON (filePath) { | ||
let json = fs.readFileSync(filePath, 'utf8'); | ||
@@ -166,3 +166,3 @@ try { | ||
catch (e) { | ||
throw ono(e, `Error parsing ${path}`); | ||
throw ono(e, `Error parsing ${filePath}`); | ||
} | ||
@@ -169,0 +169,0 @@ } |
{ | ||
"name": "browserify-banner", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Add a comment (and/or code) to the top of your Browserify bundle", | ||
@@ -40,25 +40,28 @@ "keywords": [ | ||
"devDependencies": { | ||
"browserify": "^13.1.1", | ||
"browserify": "^13.3.0", | ||
"chai": "^3.5.0", | ||
"codacy-coverage": "^2.0.0", | ||
"coveralls": "^2.11.14", | ||
"eslint": "^3.9.0", | ||
"eslint-config-modular": "^1.0.1", | ||
"coveralls": "^2.11.15", | ||
"eslint": "^3.12.2", | ||
"eslint-config-modular": "^2.0.1", | ||
"exorcist": "^0.4.0", | ||
"istanbul": "^0.4.5", | ||
"mkdirp": "^0.5.1", | ||
"mocha": "^3.1.2", | ||
"mocha": "^3.2.0", | ||
"npm-check": "^5.4.0", | ||
"touch": "^1.0.0", | ||
"uglifyify": "^3.0.4", | ||
"version-bump-prompt": "^1.7.2" | ||
"version-bump-prompt": "^3.0.0" | ||
}, | ||
"dependencies": { | ||
"convert-source-map": "^1.3.0", | ||
"lodash": "^4.16.6", | ||
"moment": "^2.16.0", | ||
"lodash": "^4.17.4", | ||
"moment": "^2.17.1", | ||
"offset-sourcemap-lines": "^1.0.0", | ||
"ono": "^2.2.1", | ||
"through2": "^2.0.1" | ||
"through2": "^2.0.3" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
} | ||
} |
15765
Updatedlodash@^4.17.4
Updatedmoment@^2.17.1
Updatedthrough2@^2.0.3