@datagrok/helm 2.13.7 → 2.13.8

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/CREDITS.md ADDED
@@ -0,0 +1,164 @@
1
+ # Helm — Third-Party Libraries
2
+
3
+ The `@datagrok/helm` package is distributed under the MIT license that covers
4
+ the rest of the `public/` repository (see [`../../LICENSE.md`](../../LICENSE.md)).
5
+ It incorporates the open-source components listed below; this file reproduces
6
+ the attribution and notices required by their respective licenses.
7
+
8
+ All runtime dependencies bundled into the published artifact are under
9
+ permissive licenses (MIT, ISC, BSD-3-Clause / Academic Free License v2.1).
10
+ No copyleft (GPL/LGPL/MPL) component is bundled into the published Helm
11
+ plugin artifact.
12
+
13
+ The Pistoia HELM Web Editor and Scilligence JSDraw2 sources, which were
14
+ historically vendored under `helm/JSDraw/`, are now consumed via
15
+ `@datagrok-libraries/helm-web-editor` (an internal Datagrok library covered by
16
+ the repo-wide MIT umbrella). Their original upstream licenses are reproduced
17
+ below for completeness because the vendored copies remain in the repository.
18
+
19
+ ---
20
+
21
+ ## 1. Bundled in the published artifact (`dist/`)
22
+
23
+ ### Dojo Toolkit (1.10.10)
24
+
25
+ The full Dojo Toolkit (`dojo`, `dijit`, `dojox`) is vendored under
26
+ `vendor/dojo-1.10.10/` and webpack-bundled into a separate `package-dojo.js`
27
+ chunk via `require.context()`. Required by JSDraw2 / HELM Web Editor.
28
+
29
+ - Upstream: https://dojotoolkit.org/ — https://github.com/dojo/dojo
30
+ - License: **BSD-3-Clause** OR **Academic Free License v2.1** (dual-licensed,
31
+ at the user's choice — Datagrok elects the BSD-3-Clause terms)
32
+
33
+ ```
34
+ Dojo is available under *either* the terms of the BSD 3-Clause "New" License
35
+ *or* the Academic Free License version 2.1. As a recipient of Dojo, you may
36
+ choose which license to receive this code under.
37
+
38
+ Copyright (c) 2005-2015, The Dojo Foundation
39
+ All rights reserved.
40
+
41
+ Redistribution and use in source and binary forms, with or without
42
+ modification, are permitted provided that the following conditions are met:
43
+
44
+ * Redistributions of source code must retain the above copyright notice,
45
+ this list of conditions and the following disclaimer.
46
+ * Redistributions in binary form must reproduce the above copyright notice,
47
+ this list of conditions and the following disclaimer in the documentation
48
+ and/or other materials provided with the distribution.
49
+ * Neither the name of the Dojo Foundation nor the names of its contributors
50
+ may be used to endorse or promote products derived from this software
51
+ without specific prior written permission.
52
+
53
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
54
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
55
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
56
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
57
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
58
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
59
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
60
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
61
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
62
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
63
+ ```
64
+
65
+ **Modification note.** `core/client/d4`-style monkey patches are applied to
66
+ Dojo at runtime (not in the vendored source) — see
67
+ `HelmPackage.initHELMWebEditor()` in `src/package-utils.ts`, which patches
68
+ `dojox.gfx.svg.Text.prototype.getTextWidth` to prevent an infinite loop. The
69
+ vendored Dojo files themselves are byte-identical to the upstream 1.10.10
70
+ release.
71
+
72
+ ### Scilligence JSDraw2 Lite & Pistoia HELM Web Editor (vendored copy under `helm/JSDraw/`)
73
+
74
+ Historically vendored uncompressed sources of the JSDraw2 Lite molecule
75
+ sketcher (Scilligence) and the Pistoia HELM Web Editor. The active code path
76
+ loads `@datagrok-libraries/helm-web-editor` (the internal Datagrok library)
77
+ rather than these files; they are kept in the repository as a reference and
78
+ fallback. If a build configuration ever bundles them again, the following
79
+ notice applies.
80
+
81
+ - Upstream (JSDraw2 Lite): https://github.com/scilligence/JSDraw.Lite
82
+ - Upstream (HELM Web Editor): https://github.com/PistoiaHELM/HELMWebEditor
83
+ - License: **MIT** (both projects)
84
+
85
+ ```
86
+ The MIT License (MIT)
87
+
88
+ Copyright (c) Scilligence Corporation (JSDraw2 Lite) and the Pistoia Alliance
89
+ (HELM Web Editor)
90
+
91
+ Permission is hereby granted, free of charge, to any person obtaining a copy
92
+ of this software and associated documentation files (the "Software"), to deal
93
+ in the Software without restriction, including without limitation the rights
94
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
95
+ copies of the Software, and to permit persons to whom the Software is
96
+ furnished to do so, subject to the following conditions:
97
+
98
+ The above copyright notice and this permission notice shall be included in all
99
+ copies or substantial portions of the Software.
100
+
101
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
102
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
103
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
104
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
105
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
106
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
107
+ SOFTWARE.
108
+ ```
109
+
110
+ ### lru-cache (10.4.x)
111
+
112
+ LRU cache used to cap the rendered-monomer / off-screen-editor caches in the
113
+ HELM cell renderer.
114
+
115
+ - Upstream: https://github.com/isaacs/node-lru-cache
116
+ - License: **ISC**
117
+
118
+ ```
119
+ The ISC License
120
+
121
+ Copyright (c) 2010-2023 Isaac Z. Schlueter and Contributors
122
+
123
+ Permission to use, copy, modify, and/or distribute this software for any
124
+ purpose with or without fee is hereby granted, provided that the above
125
+ copyright notice and this permission notice appear in all copies.
126
+
127
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
128
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
129
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
130
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
131
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
132
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
133
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
134
+ ```
135
+
136
+ ---
137
+
138
+ ## 2. Linked at runtime via the Datagrok platform (webpack externals)
139
+
140
+ These libraries are not bundled into Helm's `dist/` — they are provided once
141
+ by the platform host and shared across all packages.
142
+
143
+ | Component | Version | License | Upstream |
144
+ |-----------------|---------|--------------|--------------------------------------------|
145
+ | OpenChemLib JS | 7.x | BSD-3-Clause | https://github.com/cheminfo/openchemlib-js |
146
+ | RxJS | 6.x | Apache-2.0 | https://github.com/ReactiveX/rxjs |
147
+ | cash-dom | 8.x | MIT | https://github.com/fabiospampinato/cash |
148
+ | Day.js | 1.x | MIT | https://github.com/iamkun/dayjs |
149
+ | wu.js | 2.x | MIT | https://github.com/fitzgen/wu.js |
150
+
151
+ ---
152
+
153
+ ## 3. Development-only dependencies
154
+
155
+ Tools used during the build/test cycle (not in the runtime tree, not bundled):
156
+ the `datagrok-tools` CLI transitively pulls in `puppeteer-screen-recorder`,
157
+ which references `@ffmpeg-installer/ffmpeg` (LGPL-2.1) and
158
+ `@ffmpeg-installer/win32-x64` (GPLv3). These binaries are **not** redistributed
159
+ as part of the published Helm plugin and impose no obligation on users of the
160
+ plugin.
161
+
162
+ The peer/devDependencies on other Datagrok plugins (`@datagrok/bio`,
163
+ `@datagrok/chem`) are MIT — covered by the repo-wide `LICENSE.md`. Each of
164
+ those plugins maintains its own `CREDITS.md` for its own third-party content.