jello-optimizer-velocity-xss
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -20,3 +20,5 @@ var Velocity = require('velocityjs'); | ||
// console.log(asts); | ||
asts = transform(asts, settings); | ||
// console.log(asts) | ||
return codeGen(asts); | ||
@@ -23,0 +25,0 @@ }; |
{ | ||
"name": "jello-optimizer-velocity-xss", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "jello velocity xss protect", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,2 +8,4 @@ jello-optimizer-velocity-xss | ||
![Diff](./xss.png) | ||
## 使用 | ||
@@ -24,2 +26,8 @@ | ||
然后使用 release 命令的时候,记得带上 `-o` 参数。 | ||
``` | ||
jello release -o | ||
``` | ||
## 配置项 | ||
@@ -36,1 +44,2 @@ | ||
``` | ||
@@ -53,3 +53,3 @@ var codeGen = require('./codeGen.js'); | ||
prue: true, | ||
leader: '$', | ||
leader: '$!', | ||
isWraped: true, | ||
@@ -56,0 +56,0 @@ path: [ |
315627
7
212
43