Comparing version 2.0.0 to 2.0.1
@@ -40,3 +40,3 @@ var glslifyBundle = require('glslify-bundle') | ||
bundle(filename, opts, function(err, source) { | ||
var depper = bundle(filename, opts, function(err, source) { | ||
if (err) return stream.emit('error', err) | ||
@@ -48,2 +48,7 @@ | ||
//notify watchify that we have a new dependency | ||
depper.on('file', function(file) { | ||
sm.emit('file', file) | ||
}) | ||
return stream | ||
@@ -95,2 +100,4 @@ } | ||
return depper | ||
// Builds a dependency tree starting from the | ||
@@ -97,0 +104,0 @@ // given `filename` using glslify-deps. |
{ | ||
"name": "glslify", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A node.js-style module system for GLSL!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -410,4 +410,4 @@ # glslify | ||
var shader = glShader(gl, | ||
glslify('./shader.frag'), | ||
glslify('./shader.vert') | ||
glslify('./shader.vert'), | ||
glslify('./shader.frag') | ||
) | ||
@@ -414,0 +414,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20880
199
0