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/package.json
CHANGED
|
@@ -2,11 +2,23 @@
|
|
|
2
2
|
"name": "sax",
|
|
3
3
|
"description": "An evented streaming XML parser in JavaScript",
|
|
4
4
|
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
5
|
-
"version": "1.1.
|
|
5
|
+
"version": "1.1.4",
|
|
6
6
|
"main": "lib/sax.js",
|
|
7
|
-
"license": "
|
|
7
|
+
"license": "ISC",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"test": "
|
|
9
|
+
"test": "tap test/*.js",
|
|
10
|
+
"posttest": "npm run lint",
|
|
11
|
+
"lint": "standard -F test/*.js lib/*.js"
|
|
10
12
|
},
|
|
11
|
-
"repository": "git://github.com/isaacs/sax-js.git"
|
|
13
|
+
"repository": "git://github.com/isaacs/sax-js.git",
|
|
14
|
+
"files": [
|
|
15
|
+
"lib/sax.js",
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"LICENSE-W3C.html",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"standard": "^5.3.1",
|
|
22
|
+
"tap": "^2.1.1"
|
|
23
|
+
}
|
|
12
24
|
}
|
package/AUTHORS
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# contributors sorted by whether or not they're me.
|
|
2
|
-
Isaac Z. Schlueter <i@izs.me>
|
|
3
|
-
Stein Martin Hustad <stein@hustad.com>
|
|
4
|
-
Mikeal Rogers <mikeal.rogers@gmail.com>
|
|
5
|
-
Laurie Harper <laurie@holoweb.net>
|
|
6
|
-
Jann Horn <jann@Jann-PC.fritz.box>
|
|
7
|
-
Elijah Insua <tmpvar@gmail.com>
|
|
8
|
-
Henry Rawas <henryr@schakra.com>
|
|
9
|
-
Justin Makeig <jmpublic@makeig.com>
|
|
10
|
-
Mike Schilling <mike@emotive.com>
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
**NO PATCHES WITHOUT A TEST**
|
|
2
|
-
|
|
3
|
-
**TEST MUST PASS WITH THE PATCH.**
|
|
4
|
-
|
|
5
|
-
**TEST MUST FAIL WITHOUT THE PATCH.**
|
|
6
|
-
|
|
7
|
-
**NO EXCEPTIONS.**
|
|
8
|
-
|
|
9
|
-
# EVERY PULL REQUEST MUST HAVE A TEST.
|
|
10
|
-
|
|
11
|
-
Seriously. This is a very strict rule, and I will not bend it for any
|
|
12
|
-
patch, no matter how minor.
|
|
13
|
-
|
|
14
|
-
Write a test.
|