Comparing version 1.6.0 to 1.6.1
@@ -33,3 +33,3 @@ var through = require('through'); | ||
r._matcher.on('open', function (m) { | ||
r._matcher.on('pre-open', function (m) { | ||
r.name = m.current.name; | ||
@@ -36,0 +36,0 @@ r.attributes = m.current.attributes; |
@@ -34,2 +34,3 @@ var inherits = require('inherits'); | ||
m.on('open', group.emit.bind(group, 'open')); | ||
m.on('pre-open', group.emit.bind(group, 'pre-open')); | ||
m.on('tag-end', group.emit.bind(group, 'tag-end')); | ||
@@ -79,2 +80,3 @@ m.on('attribute', group.emit.bind(group, 'attribute')); | ||
this.matched = true; | ||
this.emit('pre-open', this); | ||
this.emit('open', this); | ||
@@ -81,0 +83,0 @@ return true; |
{ | ||
"name" : "trumpet", | ||
"version" : "1.6.0", | ||
"version" : "1.6.1", | ||
"description" : "parse and transform streaming html using css selectors", | ||
@@ -5,0 +5,0 @@ "main" : "index.js", |
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
75686
60
1469
26