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

convoy

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

convoy - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# v0.3.2
* Better reporting when modules are not found.
* Expanded list of excepted modules
# v0.3.1

@@ -2,0 +6,0 @@ * Add convoy binary - mostly for testing purposes.

2

package.json
{
"name": "convoy",
"version": "v0.3.1",
"version": "v0.3.2",
"author": "Charles Jolley <charles@sproutcore.com>",

@@ -5,0 +5,0 @@ "description": "Pluggable, package-aware asset pipeline for node",

@@ -12,7 +12,7 @@ /**

var EXCEPTIONS = {
'__node': ['util', 'events', 'stream', 'buffer', 'crypto', 'tls', 'fs', 'path',
'net', 'dgram', 'dns', 'http', 'url', 'querystring', 'https',
'readline', 'vm', 'child_process', 'asset', 'tty', 'zlib', 'os',
'cluster'],
'jquery': ['jsdom', 'xmlhttprequest', 'location', 'navigator']
'__node': require('../lib/resolver').core,
'__narwhal': { system: true, file: true },
'jquery': {
jsdom: true, xmlhttprequest: true, location: true, navigator: true
}
};

@@ -39,4 +39,5 @@

var exceptions = asset.pkg && EXCEPTIONS[asset.pkg.name];
var isException = (EXCEPTIONS.__node.indexOf(moduleId)>=0 ||
(exceptions && exceptions.indexOf(moduleId)>=0));
var isException =
EXCEPTIONS.__node[moduleId] || EXCEPTIONS.__narwhal[moduleId] ||
(exceptions && exceptions[moduleId]);
if (!isException) results.push(moduleId);

@@ -58,5 +59,10 @@ }

var modules = _extractRequiredModules(asset);
asset.dependencies = modules.map(function(moduleId) {
return context.resolve(moduleId, PATH.dirname(asset.path));
});
try {
asset.dependencies = modules.map(function(moduleId) {
return context.resolve(moduleId, PATH.dirname(asset.path));
});
} catch (e) {
e.message = e.message +' (required in '+asset.id+')';
throw e;
}

@@ -63,0 +69,0 @@ done();

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