+1
-1
| { | ||
| "name": "compilers", | ||
| "version": "1.2.0", | ||
| "version": "2.0.0", | ||
| "description": "Universal preprocessor loader for templating and transpiling", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+2
-0
@@ -6,2 +6,4 @@ # compilers | ||
| This package is not supported and is only used for a personal project. | ||
| Given a request for a preprocessor/transpiler/templating engine/postprocessor, | ||
@@ -8,0 +10,0 @@ spits back a function of the form `function(err, compiled)`. |
+12
-12
@@ -84,3 +84,3 @@ | ||
| "modules" : ["ejs"], | ||
| "syntax" : "compile(str, options)(context)", | ||
| "syntax" : "compile(str, options)", | ||
| "options" : {} | ||
@@ -111,3 +111,3 @@ }, | ||
| "modules" : ["handlebars"], | ||
| "syntax" : "compile(str)(context)" | ||
| "syntax" : "compile(str)" | ||
| }, | ||
@@ -119,3 +119,3 @@ { | ||
| "modules" : ["swig"], | ||
| "syntax" : "render(str, { locals : context })", | ||
| "syntax" : "compile(str)" | ||
| }, | ||
@@ -127,3 +127,3 @@ { | ||
| "modules" : ["mustache"], | ||
| "syntax" : "render(str, context)" | ||
| "syntax" : "function(context){return render(str, context);}" | ||
| }, | ||
@@ -135,3 +135,3 @@ { | ||
| "modules" : ["dustjs-linkedin", "dustjs-helpers"], | ||
| "syntax" : "renderSource(str, context, next)" | ||
| "syntax" : "compile(str)" | ||
| }, | ||
@@ -143,3 +143,3 @@ { | ||
| "modules" : ["hamljs"], | ||
| "syntax" : "render(str, context)" | ||
| "syntax" : "compile(str)" | ||
| }, | ||
@@ -151,3 +151,3 @@ { | ||
| "modules" : ["nunjucks"], | ||
| "syntax" : "renderString(str, context)" | ||
| "syntax" : "compile(str)" | ||
| }, | ||
@@ -159,3 +159,3 @@ { | ||
| "modules" : ["hogan.js"], | ||
| "syntax" : "compile(str).render(context)" | ||
| "syntax" : ";(function(){var _c=compile(str, options);return function(context){ return _c.render(context) })()" | ||
| }, | ||
@@ -167,3 +167,3 @@ { | ||
| "modules" : ["pug"], | ||
| "syntax" : "render(str, context)", | ||
| "syntax" : "compile(str, options)", | ||
| "options" : {} | ||
@@ -176,3 +176,3 @@ }, | ||
| "modules" : ["pug"], | ||
| "syntax" : "render(str, context)", | ||
| "syntax" : "compile(str, options)", | ||
| "options" : {} | ||
@@ -208,3 +208,3 @@ }, | ||
| "modules" : ["lodash"], | ||
| "syntax" : "template(str)(context)" | ||
| "syntax" : "template(str)" | ||
| }, | ||
@@ -216,3 +216,3 @@ { | ||
| "modules" : ["underscore"], | ||
| "syntax" : "template(str)(context)" | ||
| "syntax" : "template(str)" | ||
| }, | ||
@@ -219,0 +219,0 @@ { |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
22711
0.31%142
1.43%1
Infinity%