🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

sax-stream

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sax-stream - npm Package Compare versions

Comparing version

to
1.2.2

5

History.md
1.2.2 / 2016-04-14
==================
* support `noscript` parameter of sax-js
1.2.1 / 2016-02-14

@@ -3,0 +8,0 @@ ==================

5

lib/xmlnode.js

@@ -110,3 +110,4 @@ var Transform = require('stream').Transform;

'position',
'strictEntities'
'strictEntities',
'noscript'
].reduce(function(opts, name) {

@@ -120,2 +121,2 @@ if (name in options) {

});
}
}

2

package.json
{
"name": "sax-stream",
"version": "1.2.1",
"version": "1.2.2",
"description": "Transform stream implemented using SAX parser",

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

@@ -42,3 +42,3 @@ [![Build Status](https://img.shields.io/travis/code42day/sax-stream.svg)](http://travis-ci.org/code42day/sax-stream)

- `strict` - default to false, if `true` makes sax parser to accept valid XML only
- `trim`, `normalize`, `lowercase`, `xmlns`, `position`, `strictEntities` - passed to [sax] parser
- `trim`, `normalize`, `lowercase`, `xmlns`, `position`, `strictEntities`, `noscript` - passed to [sax] parser

@@ -50,2 +50,2 @@ # License

[transform-stream]: http://nodejs.org/api/stream.html#stream_class_stream_transform
[sax]: https://github.com/isaacs/sax-js#arguments
[sax]: https://github.com/isaacs/sax-js#arguments