Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

porter

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

porter - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json

@@ -5,3 +5,3 @@ {

"description": "CommonJS to browser exporter",
"version": "0.0.1",
"version": "0.0.2",
"scripts": {

@@ -8,0 +8,0 @@ "test": "node test/run-tests.js"

@@ -192,2 +192,4 @@ var fs = require('fs');

exports.bundleFiles = function(files, baseDir, dependencyMap, debug){
var moduleSources = files.map(function(module){

@@ -204,2 +206,3 @@ var source = fs.readFileSync( maybeAddJsExtension(module) );

exports.bundle = function(entryModule, debug, watch, aliases){
entryModule = path.resolve(entryModule);

@@ -236,3 +239,3 @@ var dependencyMap = exports.dependencyMap(entryModule, aliases);

return exports.bundleFiles(dependencyArray);
return exports.bundleFiles(dependencyArray, baseDir, dependencyMap, debug);
};

@@ -239,0 +242,0 @@

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