@reviseio/engine 0.0.0-stage → 3.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/CHANGELOG.md +12 -0
- package/FONT-LICENSE-HAN-EXT-B.txt +91 -0
- package/FONT-LICENSE-KATEX.txt +95 -0
- package/FONT-LICENSE-LIBERATION.txt +102 -0
- package/FONT-LICENSE-NOTO-MULTILINGUAL.txt +93 -0
- package/FONT-LICENSE-NOTO-SANS-SC.txt +93 -0
- package/FONT-LICENSE-NOTO.txt +94 -0
- package/FONT-LICENSE-SOURCE-CODE-PRO.txt +94 -0
- package/FONT-LICENSE-SOURCE-SERIF-4.txt +93 -0
- package/LICENSE +141 -0
- package/README.md +11 -2
- package/THIRD-PARTY-NOTICES.md +3376 -0
- package/assets/historyMaterializeWorker-Kl0syEbc.js +618 -0
- package/chunks/AgentHtmlConverter-BnK7NaYA.js +379 -0
- package/chunks/AgentPageRenderViews-BTLjPZJQ.js +2 -0
- package/chunks/AgentPageRenderer-DLwq6nAa.js +180 -0
- package/chunks/BidiText-Bkp4Y90s.js +160 -0
- package/chunks/BlockDiff-BdlcKY-t.js +42 -0
- package/chunks/CanvasRenderer-Bqsj1S0p.js +110 -0
- package/chunks/ColorParserFull-BKH72fK8.js +446 -0
- package/chunks/DocumentCompare-BqyiP87r.js +6 -0
- package/chunks/DocumentLayout-CsU5MR-3.js +12 -0
- package/chunks/DocumentLayoutEngine-7iOYvyVb.js +218 -0
- package/chunks/DocumentMutator-DIrZBuLr.js +13 -0
- package/chunks/DocumentScrubber-Cz8Q05hF.js +21 -0
- package/chunks/DocumentSession-lXSXqua5.js +1 -0
- package/chunks/DocumentStylesheet-CEEt18sr.js +7 -0
- package/chunks/DocxConverter-BfDw7777.js +1236 -0
- package/chunks/DocxGraft-D0uCnGCo.js +8 -0
- package/chunks/HorizontalRuleOrnaments-gmUZ3R7Q.js +3 -0
- package/chunks/HtmlConverter-7Xj_g9Jr.js +267 -0
- package/chunks/ListNumbering-Qlu6AuRZ.js +23 -0
- package/chunks/MarkdownConverter-cnW_oePY.js +57 -0
- package/chunks/MathRenderer-Bz9WEVvF.js +68 -0
- package/chunks/OdtConverter-GwRDMnwS.js +125 -0
- package/chunks/OfficeImportShared-nlMtIUni.js +30 -0
- package/chunks/PageNumeralFonts-BWzI061X.js +5 -0
- package/chunks/ParagraphDiffAnalysis-DrmStvmz.js +36 -0
- package/chunks/PdfConverter-yOlWiVIj.js +457 -0
- package/chunks/RtfConverter--wLd0qrw.js +186 -0
- package/chunks/TableBorders-C5pNsuxP.js +32 -0
- package/chunks/TableGrid-DbroRucl.js +12 -0
- package/chunks/TextFileDecoder--rsVs3NR.js +9 -0
- package/chunks/TxtConverter-BoRVCDZw.js +14 -0
- package/chunks/Typography-DAGM5kfI.js +28 -0
- package/chunks/UnicodeUtils-CXtusU4g.js +10 -0
- package/chunks/XmlConverter-CO8Z28dX.js +55 -0
- package/chunks/_commonjsHelpers-DaMA6jEr.js +2 -0
- package/chunks/_revise-sdk-lazy-harfbuzz-CDWdjF9f.js +1 -0
- package/chunks/base64-Di1bxoXD.js +1 -0
- package/chunks/browser-module-CFmqfGkE.js +1791 -0
- package/chunks/bundle.min-DRpfgV69.js +782 -0
- package/chunks/capture-Dtinb4bY.js +11 -0
- package/chunks/carrier-RNy67HN4.js +6 -0
- package/chunks/chromeImageLayout-bgHYmqTp.js +18 -0
- package/chunks/engine-TnK8N-gT.js +520 -0
- package/chunks/footnoteFlatten-BcKaWzVs.js +6 -0
- package/chunks/graftExport-DxAALMHp.js +104 -0
- package/chunks/html2canvas.esm-CntiHiYW.js +997 -0
- package/chunks/index-BWdRWxoH.js +1807 -0
- package/chunks/index-CTti7wRd.js +1002 -0
- package/chunks/index.es-CI0QPo8w.js +780 -0
- package/chunks/jspdf.es.min-DU74zN8b.js +1792 -0
- package/chunks/jszip.min-CPW0h1Kx.js +476 -0
- package/chunks/katex-DWj8TvwO.js +1462 -0
- package/chunks/pdf-BLWDCiFF.js +1828 -0
- package/chunks/purify.es-BwLardii.js +107 -0
- package/chunks/serverDocumentSession-BmYdjC6e.js +1011 -0
- package/chunks/signatures-CU2LMLBp.js +21 -0
- package/chunks/suggestionAuthorship-B-IuLQlE.js +1 -0
- package/chunks/web-tree-sitter-BXGZGnNj.js +2 -0
- package/chunks/xmlScan-DXjt2cTS.js +8 -0
- package/engine.d.ts +179 -0
- package/engine.js +3 -0
- package/package.json +64 -4
- package/serverToolContract.d.ts +420 -0
- package/serverToolInputs.generated.d.ts +264 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2014 - 2023 Adobe (http://www.adobe.com/), with Reserved Font Name ‘Source’. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
|
|
5
|
+
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# Revise Engine License, Version 1.0
|
|
2
|
+
|
|
3
|
+
Copyright © 2026 Migraine, Inc. ("Revise"). All rights reserved.
|
|
4
|
+
|
|
5
|
+
## 1. Definitions
|
|
6
|
+
|
|
7
|
+
"Engine" means the software in the `@reviseio/engine` package, in the form
|
|
8
|
+
Revise distributes it, and its documentation.
|
|
9
|
+
|
|
10
|
+
"You" means the person or organization using the Engine.
|
|
11
|
+
|
|
12
|
+
"Your Product" means software, a service, or a system you build, operate, or
|
|
13
|
+
distribute that uses the Engine, including programs built on the `revise`
|
|
14
|
+
package.
|
|
15
|
+
|
|
16
|
+
## 2. Grant
|
|
17
|
+
|
|
18
|
+
Revise grants you a worldwide, non-exclusive, royalty-free license to:
|
|
19
|
+
|
|
20
|
+
1. use, run, and copy the Engine for any purpose, including commercial and
|
|
21
|
+
production purposes, and including products and services that compete
|
|
22
|
+
with Revise;
|
|
23
|
+
2. distribute the Engine on its own or as part of Your Product, including
|
|
24
|
+
through package registries, mirrors, caches, offline installers, and
|
|
25
|
+
forks of the `revise` package;
|
|
26
|
+
3. perform routine build and compatibility transformations, such as bundling,
|
|
27
|
+
minification, JavaScript syntax downleveling, and module-format conversion,
|
|
28
|
+
to integrate and run the Engine in Your Product; and
|
|
29
|
+
4. let your users, customers, and contractors use the Engine as part of
|
|
30
|
+
Your Product.
|
|
31
|
+
|
|
32
|
+
These transformations remain subject to this license and are not prohibited
|
|
33
|
+
ports or translations under Section 3. This permission does not extend to
|
|
34
|
+
recovering the Engine's source code or creating a separate port or replacement
|
|
35
|
+
implementation, including by translating its implementation into another
|
|
36
|
+
programming language.
|
|
37
|
+
|
|
38
|
+
There are no restrictions on the field of use.
|
|
39
|
+
|
|
40
|
+
Each recipient of the Engine receives a license directly from Revise under
|
|
41
|
+
these terms.
|
|
42
|
+
|
|
43
|
+
Subject to these terms, Revise also grants you a worldwide, non-exclusive,
|
|
44
|
+
royalty-free patent license covering the activities permitted above, limited
|
|
45
|
+
to patent claims Revise owns or controls that are necessarily infringed by
|
|
46
|
+
the Engine as distributed by Revise. This grant does not cover claims
|
|
47
|
+
infringed only by your modifications or by combining the Engine with other
|
|
48
|
+
software or systems.
|
|
49
|
+
|
|
50
|
+
If you, or anyone acting on your behalf, start a lawsuit or other legal
|
|
51
|
+
proceeding claiming that the Engine infringes a patent, the patent license in
|
|
52
|
+
this Section ends for you on the date that proceeding begins.
|
|
53
|
+
|
|
54
|
+
## 3. Conditions
|
|
55
|
+
|
|
56
|
+
You may not:
|
|
57
|
+
|
|
58
|
+
1. modify the Engine, other than the build and compatibility transformations
|
|
59
|
+
Section 2 permits; for other modifications, including patches and bug
|
|
60
|
+
fixes, contact sdk@revise.io about a commercial license;
|
|
61
|
+
2. reverse engineer, decompile, disassemble, or deobfuscate the Engine to
|
|
62
|
+
recover its source code or reconstruct its non-public implementation; or
|
|
63
|
+
3. use the Engine's code or implementation details recovered from it to
|
|
64
|
+
create a port, translation, or replacement implementation of the Engine
|
|
65
|
+
or a substantial portion of it, including in another programming language.
|
|
66
|
+
|
|
67
|
+
These restrictions apply whether the work is performed manually or using
|
|
68
|
+
AI assistants, language models, code-generation tools, or other automated
|
|
69
|
+
systems. You may not provide the Engine's code or recovered implementation
|
|
70
|
+
details to such systems, or direct others to use them, for these prohibited
|
|
71
|
+
purposes.
|
|
72
|
+
|
|
73
|
+
These restrictions do not apply to the extent applicable law expressly
|
|
74
|
+
permits an activity despite them.
|
|
75
|
+
|
|
76
|
+
Keep this license and all copyright and third-party notices included with
|
|
77
|
+
the Engine intact when you distribute it.
|
|
78
|
+
|
|
79
|
+
Security testing, debugging, and interoperability work are permitted,
|
|
80
|
+
including reverse engineering necessary for those purposes. This exception
|
|
81
|
+
does not authorize using recovered code or implementation details to create
|
|
82
|
+
a port or replacement implementation.
|
|
83
|
+
|
|
84
|
+
Benchmarking the Engine and publishing the results, the integration
|
|
85
|
+
transformations permitted by Section 2, and using AI tools with the Engine's
|
|
86
|
+
public API and documentation to build applications and integrations are
|
|
87
|
+
permitted. Building competing products that use the Engine under this
|
|
88
|
+
license, or independently developing software without using the Engine's
|
|
89
|
+
code or recovered implementation details, is permitted.
|
|
90
|
+
|
|
91
|
+
Third-party components included with the Engine remain governed by their
|
|
92
|
+
respective licenses. Nothing in this license limits rights granted under
|
|
93
|
+
those licenses or replaces their requirements.
|
|
94
|
+
|
|
95
|
+
## 4. Versions
|
|
96
|
+
|
|
97
|
+
Each version of the Engine is licensed under the license included with it.
|
|
98
|
+
A version you have received stays available to you under those terms:
|
|
99
|
+
Revise will not charge fees for it or withdraw this license from it while
|
|
100
|
+
you comply with these terms.
|
|
101
|
+
|
|
102
|
+
## 5. Source access
|
|
103
|
+
|
|
104
|
+
If source access or long-term maintenance continuity matters to you, contact
|
|
105
|
+
sdk@revise.io to discuss source access under a separate commercial
|
|
106
|
+
license.
|
|
107
|
+
|
|
108
|
+
## 6. Termination
|
|
109
|
+
|
|
110
|
+
This license ends automatically if you breach Section 3 and do not cure the
|
|
111
|
+
breach within 30 days of becoming aware of it. Sections 3, 7, 8, and 9
|
|
112
|
+
survive termination.
|
|
113
|
+
|
|
114
|
+
Termination of your license does not terminate the licenses of recipients
|
|
115
|
+
who received the Engine from you while your license was in effect, provided
|
|
116
|
+
they comply with these terms. Another person's breach does not terminate
|
|
117
|
+
your license.
|
|
118
|
+
|
|
119
|
+
## 7. No warranty
|
|
120
|
+
|
|
121
|
+
THE ENGINE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
122
|
+
IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
123
|
+
PARTICULAR PURPOSE, AND NONINFRINGEMENT. Warranty, indemnity, and support
|
|
124
|
+
are available from Revise under a separate agreement.
|
|
125
|
+
|
|
126
|
+
## 8. Limitation of liability
|
|
127
|
+
|
|
128
|
+
TO THE EXTENT PERMITTED BY LAW, REVISE IS NOT LIABLE FOR ANY CLAIM, DAMAGES,
|
|
129
|
+
OR OTHER LIABILITY ARISING FROM OR IN CONNECTION WITH THE ENGINE OR ITS USE.
|
|
130
|
+
|
|
131
|
+
## 9. Other
|
|
132
|
+
|
|
133
|
+
Revise keeps all rights not expressly granted. This license grants no rights
|
|
134
|
+
to Revise's names, logos, or trademarks, except to state accurately that Your
|
|
135
|
+
Product uses the Engine. Forks of the `revise` package and other
|
|
136
|
+
redistributions may not use the Revise name in a way that suggests Revise
|
|
137
|
+
made, maintains, or endorses them.
|
|
138
|
+
|
|
139
|
+
These terms are governed by
|
|
140
|
+
the laws of the State of Delaware, without regard to its conflict-of-laws
|
|
141
|
+
rules.
|
package/README.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @reviseio/engine
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Revise's headless document engine: the document model, Word import and
|
|
4
|
+
export (tracked changes, comments, footnotes, sections, styles), layout, and
|
|
5
|
+
the editing tools the Revise agent uses.
|
|
6
|
+
|
|
7
|
+
You probably want [`revise`](https://www.npmjs.com/package/revise), the MIT
|
|
8
|
+
CLI and TypeScript library built on this package. It installs the engine for
|
|
9
|
+
you.
|
|
10
|
+
|
|
11
|
+
Free for any use, including commercial and production use, under the Revise
|
|
12
|
+
Engine License (see LICENSE). Questions: sdk@revise.io.
|