New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

compilers

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compilers - npm Package Compare versions

Comparing version
0.3.1
to
0.3.2
+6
-6
index.js

@@ -48,4 +48,4 @@ /**

var engine = byName[name],
syntax = engine.syntax,
var pipeline = byName[name],
syntax = pipeline.syntax,
modules;

@@ -57,5 +57,5 @@

if (options.fetch)
modules = engine.modules.map(function(x) { return desires(x, { dir : options.dir }); });
modules = pipeline.modules.map(function(x) { return desires(x, { dir : options.dir }); });
else
modules = engine.modules.map(function(x) { return require(x); });
modules = pipeline.modules.map(function(x) { return require(x); });

@@ -93,6 +93,6 @@ // If blank, return

Returns the default engine for an extension. Leading "." is removed.
Returns the default pipeline for an extension. Leading "." is removed.
@param {String} ext The file extension.
@returns {String} Name of the default engine.
@returns {String} Name of the default pipeline.

@@ -99,0 +99,0 @@ @example

{
"name": "compilers",
"version": "0.3.1",
"version": "0.3.2",
"description": "Universal preprocessor loader for templating and transpiling",

@@ -5,0 +5,0 @@ "main": "index.js",