sax 1.1.0 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +16 -32
- package/lib/sax.js +1450 -1317
- package/package.json +16 -4
- package/AUTHORS +0 -10
- package/CONTRIBUTING.md +0 -14
- package/examples/big-not-pretty.xml +0 -8002
- package/examples/example.js +0 -29
- package/examples/get-products.js +0 -58
- package/examples/hello-world.js +0 -4
- package/examples/not-pretty.xml +0 -8
- package/examples/pretty-print.js +0 -74
- package/examples/shopping.xml +0 -2
- package/examples/strict.dtd +0 -870
- package/examples/test.html +0 -15
- package/examples/test.xml +0 -1254
- package/test/attribute-name.js +0 -33
- package/test/attribute-no-space.js +0 -75
- package/test/bom.js +0 -44
- package/test/buffer-overrun.js +0 -26
- package/test/case.js +0 -50
- package/test/cdata-chunked.js +0 -11
- package/test/cdata-end-split.js +0 -15
- package/test/cdata-fake-end.js +0 -28
- package/test/cdata-multiple.js +0 -15
- package/test/cdata.js +0 -10
- package/test/cyrillic.js +0 -8
- package/test/duplicate-attribute.js +0 -13
- package/test/emoji.js +0 -12
- package/test/end_empty_stream.js +0 -5
- package/test/entities.js +0 -10
- package/test/entity-mega.js +0 -16
- package/test/flush.js +0 -13
- package/test/index.js +0 -86
- package/test/issue-23.js +0 -43
- package/test/issue-30.js +0 -24
- package/test/issue-35.js +0 -15
- package/test/issue-47.js +0 -12
- package/test/issue-49.js +0 -31
- package/test/issue-84.js +0 -13
- package/test/issue-86.js +0 -30
- package/test/parser-position.js +0 -28
- package/test/script-close-better.js +0 -12
- package/test/script.js +0 -12
- package/test/self-closing-child-strict.js +0 -44
- package/test/self-closing-child.js +0 -44
- package/test/self-closing-tag.js +0 -25
- package/test/stand-alone-comment.js +0 -11
- package/test/stray-ending.js +0 -17
- package/test/trailing-attribute-no-value.js +0 -10
- package/test/trailing-non-whitespace.js +0 -18
- package/test/unclosed-root.js +0 -11
- package/test/unquoted.js +0 -18
- package/test/utf8-split.js +0 -34
- package/test/xml_entities.js +0 -11
- package/test/xmlns-as-tag-name.js +0 -15
- package/test/xmlns-issue-41.js +0 -68
- package/test/xmlns-rebinding.js +0 -63
- package/test/xmlns-strict.js +0 -74
- package/test/xmlns-unbound-element.js +0 -33
- package/test/xmlns-unbound.js +0 -15
- package/test/xmlns-xml-default-ns.js +0 -31
- package/test/xmlns-xml-default-prefix-attribute.js +0 -36
- package/test/xmlns-xml-default-prefix.js +0 -21
- package/test/xmlns-xml-default-redefine.js +0 -41
package/LICENSE
CHANGED
|
@@ -1,41 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
All rights reserved.
|
|
1
|
+
The ISC License
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
15
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
12
16
|
|
|
13
|
-
|
|
14
|
-
notice, this list of conditions and the following disclaimer in the
|
|
15
|
-
documentation and/or other materials provided with the distribution.
|
|
17
|
+
====
|
|
16
18
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
20
|
-
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
|
|
21
|
-
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
22
|
-
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
23
|
-
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
|
24
|
-
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
25
|
-
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
|
26
|
-
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
|
27
|
-
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
19
|
+
`String.fromCodePoint` by Mathias Bynens used according to terms of MIT
|
|
20
|
+
License, as follows:
|
|
28
21
|
|
|
29
|
-
|
|
30
|
-
The file "examples/strict.dtd" is licensed by the W3C and used according
|
|
31
|
-
to the terms of the W3C SOFTWARE NOTICE AND LICENSE. See LICENSE-W3C.html
|
|
32
|
-
for details.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"String.fromCodePoint" used under the terms of the MIT license. Its license
|
|
36
|
-
follows:
|
|
37
|
-
|
|
38
|
-
Copyright Mathias Bynens <http://mathiasbynens.be/>
|
|
22
|
+
Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
39
23
|
|
|
40
24
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
41
25
|
a copy of this software and associated documentation files (the
|