Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

trumpet

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trumpet - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

2

lib/tokenize.js

@@ -7,3 +7,3 @@ var sax = require('sax');

'opentag', 'attribute', 'opencdata', 'closecdata',
'closetag', 'script', 'comment', 'text'
'closetag', 'script', 'comment', 'text', 'doctype'
];

@@ -10,0 +10,0 @@

{
"name" : "trumpet",
"version" : "1.5.0",
"version" : "1.5.1",
"description" : "parse and transform streaming html using css selectors",

@@ -5,0 +5,0 @@ "main" : "index.js",

@@ -25,3 +25,4 @@ var trumpet = require('../');

body.toString(),
'<html>\n<body>\n<B>beep boop.</B>\n</body>\n</html>\n'
'<!doctype html>\n'
+ '<html>\n<body>\n<B>beep boop.</B>\n</body>\n</html>\n'
);

@@ -51,3 +52,5 @@ }));

body.toString(),
'<html>\n<body>\n<div class="x">beep boop.</div>\n</body>\n</html>\n'
'<!doctype html>\n'
+ '<html>\n<body>\n<div class="x">beep boop.</div>\n'
+ '</body>\n</html>\n'
);

@@ -54,0 +57,0 @@ }));

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc