sax 1.4.1 → 1.4.2

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.
Files changed (5) hide show
  1. package/LICENSE.md +55 -0
  2. package/README.md +42 -43
  3. package/lib/sax.js +456 -361
  4. package/package.json +8 -9
  5. package/LICENSE +0 -41
package/package.json CHANGED
@@ -2,14 +2,15 @@
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.4.1",
5
+ "version": "1.4.2",
6
6
  "main": "lib/sax.js",
7
- "license": "ISC",
7
+ "license": "BlueOak-1.0.0",
8
8
  "scripts": {
9
- "test": "tap test/*.js --cov -j4",
9
+ "test": "tap",
10
10
  "preversion": "npm test",
11
11
  "postversion": "npm publish",
12
- "postpublish": "git push origin --all; git push origin --tags"
12
+ "postpublish": "git push origin --all; git push origin --tags",
13
+ "format": "prettier --write . --log-level warn"
13
14
  },
14
15
  "repository": "git://github.com/isaacs/sax-js.git",
15
16
  "files": [
@@ -18,12 +19,10 @@
18
19
  "README.md"
19
20
  ],
20
21
  "devDependencies": {
21
- "tap": "^15.1.6"
22
+ "prettier": "^3.6.2",
23
+ "tap": "^21.1.3"
22
24
  },
23
25
  "tap": {
24
- "statements": 79,
25
- "branches": 75,
26
- "functions": 80,
27
- "lines": 79
26
+ "allow-incomplete-coverage": true
28
27
  }
29
28
  }
package/LICENSE DELETED
@@ -1,41 +0,0 @@
1
- The ISC License
2
-
3
- Copyright (c) 2010-2024 Isaac Z. Schlueter and Contributors
4
-
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.
8
-
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.
16
-
17
- ====
18
-
19
- `String.fromCodePoint` by Mathias Bynens used according to terms of MIT
20
- License, as follows:
21
-
22
- Copyright (c) 2010-2024 Mathias Bynens <https://mathiasbynens.be/>
23
-
24
- Permission is hereby granted, free of charge, to any person obtaining
25
- a copy of this software and associated documentation files (the
26
- "Software"), to deal in the Software without restriction, including
27
- without limitation the rights to use, copy, modify, merge, publish,
28
- distribute, sublicense, and/or sell copies of the Software, and to
29
- permit persons to whom the Software is furnished to do so, subject to
30
- the following conditions:
31
-
32
- The above copyright notice and this permission notice shall be
33
- included in all copies or substantial portions of the Software.
34
-
35
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
37
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
39
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
40
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
41
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.