Comparing version 0.0.6 to 0.0.7
@@ -18,2 +18,3 @@ mkdirp = require("mkdirp"), | ||
this.output = options.output; | ||
this.prefix = options.prefix; | ||
this._super(target); | ||
@@ -28,7 +29,6 @@ }, | ||
var self = this, | ||
fp = path.join(self.output, dep.alias), | ||
fp = path.join(self.output, dep.alias.replace(new RegExp("^" + this.prefix), "")), | ||
dir = path.dirname(fp), | ||
o = outcome.e(next); | ||
step( | ||
@@ -35,0 +35,0 @@ |
@@ -22,3 +22,2 @@ templates = require("../templates"), | ||
var options = { | ||
@@ -32,3 +31,2 @@ __dirname: path.dirname(dep.alias), | ||
dep.content(this.render(options)); | ||
@@ -35,0 +33,0 @@ callback(); |
{ | ||
"name": "amdify", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Amdify converts your node.js code into browser-compatible code. For example", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
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 2 instances 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
492507
82
11638
24
4