File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ module.exports = cwiseTransform
44
55var staticModule = require ( "static-module" )
66var parse = require ( "cwise-parser" )
7- var through = require ( "through2" )
87var uglify = require ( "uglify-js" )
98
109var REQUIRED_FIELDS = [ "args" , "body" ]
@@ -41,9 +40,7 @@ function cwiseTransform(file, opts) {
4140 blockSize : user_args . blockSize || 64
4241 }
4342 var codeStr = "require('cwise/lib/wrapper')(" + JSON . stringify ( compileBlock ) + ")"
44- var result = through ( )
45- result . end ( codeStr )
46- return result
43+ return codeStr
4744 }
4845 } )
4946 return sm
Original file line number Diff line number Diff line change 11{
22 "name" : " cwise" ,
3- "version" : " 1.0.2 " ,
3+ "version" : " 1.0.3 " ,
44 "description" : " Component-wise operations on ndarrays" ,
55 "main" : " cwise.js" ,
66 "browser" : " lib/cwise-esprima.js" ,
77 "directories" : {
88 "test" : " test"
99 },
1010 "dependencies" : {
11- "cwise-parser" : " ~0.0.1" ,
12- "cwise-compiler" : " ~0.1.0" ,
13- "static-module" : " ^0.0.6" ,
14- "through2" : " ^0.4.1" ,
11+ "cwise-parser" : " ^1.0.0" ,
12+ "cwise-compiler" : " ^1.0.0" ,
13+ "static-module" : " ^0.0.7" ,
1514 "uglify-js" : " 2.4.13"
1615 },
1716 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments