@datagrok/sequence-translator 1.10.16 → 1.10.17

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,236 @@
1
+ # SequenceTranslator — Third-Party Libraries
2
+
3
+ The `@datagrok/sequence-translator` package is distributed under the MIT
4
+ license that covers the rest of the `public/` repository (see [`../../LICENSE.md`](../../LICENSE.md)). It
5
+ incorporates the open-source components listed below; this file reproduces the
6
+ attribution and notices required by their respective licenses.
7
+
8
+ All runtime dependencies are under permissive licenses (BSD-3-Clause, MIT). No
9
+ copyleft (GPL/LGPL/MPL) component is bundled into the published plugin
10
+ artifact.
11
+
12
+ ---
13
+
14
+ ## 1. Bundled in the published artifact (`dist/`)
15
+
16
+ ### OpenChemLib (6.0.1)
17
+
18
+ JavaScript cheminformatics toolkit used as the structure renderer and
19
+ chirality engine for oligonucleotide molfile generation. Unlike most other
20
+ Datagrok plugins, SequenceTranslator **bundles its own copy** of OpenChemLib
21
+ (the platform's webpack-external `openchemlib/full.js` is intentionally
22
+ disabled in `webpack.config.js`).
23
+
24
+ - Upstream: https://github.com/cheminfo/openchemlib-js
25
+ - License: **BSD-3-Clause**
26
+
27
+ ```
28
+ Copyright (c) 2015-2017, cheminfo
29
+
30
+ All rights reserved.
31
+
32
+ Redistribution and use in source and binary forms, with or without modification,
33
+ are permitted provided that the following conditions are met:
34
+
35
+ * Redistributions of source code must retain the above copyright notice,
36
+ this list of conditions and the following disclaimer.
37
+ * Redistributions in binary form must reproduce the above copyright notice,
38
+ this list of conditions and the following disclaimer in the documentation
39
+ and/or other materials provided with the distribution.
40
+ * Neither the name of {{ project }} nor the names of its contributors
41
+ may be used to endorse or promote products derived from this software
42
+ without specific prior written permission.
43
+
44
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
45
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
46
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
47
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
48
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
49
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
50
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
51
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
52
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
53
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
54
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
55
+ ```
56
+
57
+ ### Lodash (4.17.x)
58
+
59
+ General-purpose JavaScript utility library.
60
+
61
+ - Upstream: https://lodash.com/
62
+ - License: **MIT**
63
+
64
+ ```
65
+ Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
66
+
67
+ Based on Underscore.js, copyright Jeremy Ashkenas,
68
+ DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
69
+
70
+ This software consists of voluntary contributions made by many
71
+ individuals. For exact contribution history, see the revision history
72
+ available at https://github.com/lodash/lodash
73
+
74
+ The following license applies to all parts of this software except as
75
+ documented below:
76
+
77
+ Permission is hereby granted, free of charge, to any person obtaining
78
+ a copy of this software and associated documentation files (the
79
+ "Software"), to deal in the Software without restriction, including
80
+ without limitation the rights to use, copy, modify, merge, publish,
81
+ distribute, sublicense, and/or sell copies of the Software, and to
82
+ permit persons to whom the Software is furnished to do so, subject to
83
+ the following conditions:
84
+
85
+ The above copyright notice and this permission notice shall be
86
+ included in all copies or substantial portions of the Software.
87
+
88
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
89
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
90
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
91
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
92
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
93
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
94
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
95
+ ```
96
+
97
+ ### object-hash (3.x)
98
+
99
+ Stable SHA-1 hashing of pattern objects (used for pattern identity in the
100
+ Pattern Designer app).
101
+
102
+ - Upstream: https://github.com/puleos/object-hash
103
+ - License: **MIT**
104
+
105
+ ```
106
+ The MIT License (MIT)
107
+
108
+ Copyright (c) 2014 object-hash contributors
109
+
110
+ Permission is hereby granted, free of charge, to any person obtaining a copy
111
+ of this software and associated documentation files (the "Software"), to deal
112
+ in the Software without restriction, including without limitation the rights
113
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
114
+ copies of the Software, and to permit persons to whom the Software is
115
+ furnished to do so, subject to the following conditions:
116
+
117
+ The above copyright notice and this permission notice shall be included in all
118
+ copies or substantial portions of the Software.
119
+
120
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
121
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
122
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
123
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
124
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
125
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
126
+ SOFTWARE.
127
+ ```
128
+
129
+ ### save-svg-as-png (1.4.x)
130
+
131
+ Exports the rendered Pattern-Designer SVG as a PNG.
132
+
133
+ - Upstream: https://github.com/exupero/saveSvgAsPng
134
+ - License: **MIT**
135
+
136
+ ```
137
+ The MIT License (MIT)
138
+
139
+ Copyright (c) 2014 Eric Shull
140
+
141
+ Permission is hereby granted, free of charge, to any person obtaining a copy
142
+ of this software and associated documentation files (the "Software"), to deal
143
+ in the Software without restriction, including without limitation the rights
144
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
145
+ copies of the Software, and to permit persons to whom the Software is
146
+ furnished to do so, subject to the following conditions:
147
+
148
+ The above copyright notice and this permission notice shall be included in
149
+ all copies or substantial portions of the Software.
150
+
151
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
152
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
153
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
154
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
155
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
156
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
157
+ THE SOFTWARE.
158
+ ```
159
+
160
+ ### typeahead-standalone (4.14.x)
161
+
162
+ Autocomplete dropdown for monomer selection in the PolyTool dialogs.
163
+
164
+ - Upstream: https://github.com/digitalfortress-tech/typeahead-standalone
165
+ - License: **MIT**
166
+
167
+ ```
168
+ The MIT License (MIT)
169
+
170
+ Copyright (c) 2020 Niket PATHAK
171
+
172
+ Permission is hereby granted, free of charge, to any person obtaining a copy
173
+ of this software and associated documentation files (the "Software"), to deal
174
+ in the Software without restriction, including without limitation the rights
175
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
176
+ copies of the Software, and to permit persons to whom the Software is
177
+ furnished to do so, subject to the following conditions:
178
+
179
+ The above copyright notice and this permission notice shall be included in all
180
+ copies or substantial portions of the Software.
181
+
182
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
183
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
184
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
185
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
186
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
187
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
188
+ SOFTWARE.
189
+ ```
190
+
191
+ ---
192
+
193
+ ## 2. Linked at runtime via the Datagrok platform (webpack externals)
194
+
195
+ These libraries are not bundled into SequenceTranslator's `dist/` — they are
196
+ provided once by the platform host and shared across all packages.
197
+
198
+ | Component | Version | License | Upstream |
199
+ |-----------|---------|------------|-----------------------------------------|
200
+ | RxJS | 6.x | Apache-2.0 | https://github.com/ReactiveX/rxjs |
201
+ | cash-dom | 8.x | MIT | https://github.com/fabiospampinato/cash |
202
+ | Day.js | 1.x | MIT | https://github.com/iamkun/dayjs |
203
+ | wu.js | 2.x | MIT | https://github.com/fitzgen/wu.js |
204
+ | ExcelJS | 4.x | MIT | https://github.com/exceljs/exceljs |
205
+
206
+ (`openchemlib/full.js` is **not** in this section: SequenceTranslator
207
+ intentionally bundles its own pinned copy — see Section 1.)
208
+
209
+ ---
210
+
211
+ ## 3. Fetched at runtime from third-party services
212
+
213
+ None.
214
+
215
+ ---
216
+
217
+ ## 4. Docker container images
218
+
219
+ None.
220
+
221
+ ---
222
+
223
+ ## 5. Development-only dependencies
224
+
225
+ Tools used during the build/test cycle (not in the runtime tree, not bundled):
226
+ the `datagrok-tools` CLI transitively pulls in `puppeteer-screen-recorder`,
227
+ which references `@ffmpeg-installer/ffmpeg` (LGPL-2.1) and
228
+ `@ffmpeg-installer/win32-x64` (GPLv3). These binaries are **not** redistributed
229
+ as part of the published SequenceTranslator plugin and impose no obligation on
230
+ users of the plugin.
231
+
232
+ The dev dependencies on other Datagrok plugins (`@datagrok/bio`,
233
+ `@datagrok/chem`, `@datagrok/helm`) and `@datagrok-libraries/helm-web-editor`,
234
+ `@datagrok-libraries/js-draw-lite` are MIT — covered by the repo-wide
235
+ `LICENSE.md`. Each of those components maintains its own `CREDITS.md`
236
+ (or will) for its own third-party content.
package/detectors.js CHANGED
@@ -73,6 +73,14 @@ class SequenceTranslatorPackageDetectors extends DG.Package {
73
73
  menu.item('PolyTool-Enumerate', () => { grok.functions.call(`${packageName}:getPtChemEnumeratorDialog`, {cell: item.cell}).catch(catchError); });
74
74
  break;
75
75
  }
76
+ case 'OligoNucleotide': {
77
+ // Same enumerator as HELM cells, but the result column is tagged
78
+ // as OligoNucleotide so the duplex renderer picks it up.
79
+ menu.item('PolyTool-Enumerate', () => {
80
+ grok.functions.call(`${packageName}:getPtOligoEnumeratorDialog`, {cell: item.cell}).catch(catchError);
81
+ });
82
+ break;
83
+ }
76
84
  }
77
85
  }
78
86
  this.logger.debug(`${logPrefix}, onContextMenu, end`);