@wdprlib/ast 4.3.0 → 5.0.0
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/THIRD-PARTY-LICENSES.md +8 -0
- package/dist/index.cjs +602 -306
- package/dist/index.d.cts +157 -70
- package/dist/index.d.ts +157 -70
- package/dist/index.js +602 -306
- package/licenses/re2js-MIT.txt +21 -0
- package/package.json +5 -1
- package/src/build-info.generated.ts +2 -2
- package/src/element.ts +4 -4
- package/src/index.ts +12 -0
- package/src/rating.ts +44 -0
- package/src/readable-text.ts +220 -0
- package/src/text-excerpt.ts +109 -0
package/THIRD-PARTY-LICENSES.md
CHANGED
|
@@ -10,3 +10,11 @@ Portions of this package's AST data structures were adapted from or based on the
|
|
|
10
10
|
- License: GNU Affero General Public License, version 3 or later
|
|
11
11
|
|
|
12
12
|
The GNU Affero General Public License version 3 is reproduced in [LICENSE](LICENSE). The upstream project permits use under version 3 or any later version.
|
|
13
|
+
|
|
14
|
+
## RE2JS
|
|
15
|
+
|
|
16
|
+
- Source: <https://github.com/le0pard/re2js>
|
|
17
|
+
- Copyright notice: Copyright (c) 2023 Oleksii Vasyliev
|
|
18
|
+
- License: MIT
|
|
19
|
+
|
|
20
|
+
RE2JS provides the regular expression engine used for text excerpts. Its license is reproduced in [licenses/re2js-MIT.txt](licenses/re2js-MIT.txt).
|