New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

browserify-banner

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-banner - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

8

lib/index.js

@@ -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"
}
}
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