@leaningtech/cheerpx 0.9.1 → 1.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.
Files changed (3) hide show
  1. package/LICENSE.txt +388 -1
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/LICENSE.txt CHANGED
@@ -1 +1,388 @@
1
- Proprietary
1
+ Please read this Licence carefully before using, linking or integrating the
2
+ Software (CheerpX, as defined below). By using, linking or integrating the
3
+ Software, you are agreeing to be bound by this Licence. IF YOU DO NOT ACCEPT
4
+ THE TERMS AND CONDITIONS OF THIS LICENCE, DO NOT USE, LINK, OR INTEGRATE ANY OF
5
+ THE LICENSED SOFTWARE.
6
+
7
+ DEFINITIONS
8
+
9
+ Software means CheerpX, an x86 virtualisation technology for running executables
10
+ and operating systems on web browsers.
11
+
12
+ Licensee Application means a Licensee's web application (including, but not
13
+ limited to, the collection of HTML, CSS, JavaScript and WebAssembly files that
14
+ constitute the client-side component of a web-based software application) with
15
+ which the Software is integrated.
16
+
17
+ Integrate means to add any part of CheerpX to a web page (including, but not
18
+ limited to, by inserting the cx.js or cx.esm.js script on a web page, and by
19
+ calling any of the CheerpX API functions) so that it can run one or more x86
20
+ binary executables.
21
+
22
+ Distribute means to make available to end-users of Licensee Application the
23
+ original and copies of the Software as part of Licensee Application.
24
+
25
+ Licence Agreement or Agreement means this document.
26
+
27
+ Commercial Licence means a separate Licence Agreement between Licensor and
28
+ Licensee allowing uses of the Software beyond the limitations imposed by this
29
+ Agreement.
30
+
31
+ Licensee or You means an individual or entity exercising rights under and
32
+ complying with the terms of this Licence who has not previously violated the
33
+ terms of this Licence with respect to the Software.
34
+
35
+ LICENCE AGREEMENT
36
+
37
+ This Licence Agreement is by and between Leaning Technologies Ltd, a duly
38
+ registered company in the United Kingdom whose principal place of business is
39
+ 3rd Floor, 207 Regent Street, London W1B 4HH, United Kingdom and Licensee.
40
+
41
+ 1. GRANT AND SCOPE OF LICENCE
42
+
43
+ 1.1 In consideration of you agreeing to abide by the terms of this Licence, we
44
+ grant to you a non- exclusive, non-transferable licence to use the Software and
45
+ the Documents on the terms of this licence.
46
+
47
+ 1.2 You may:
48
+
49
+ (a) use, link and integrate the Software in a Licensee Application for
50
+ permitted purposes only;
51
+
52
+ (b) provided you comply with the provisions in condition 2, make an unlimited
53
+ number of copies of the Software for operational and back-up purposes;
54
+
55
+ (c) provided you comply with the provisions in Clause 2.1(d) and 2.1(i),
56
+ distribute the Software as part of Licensee Application;
57
+
58
+ (d) receive and use any free supplementary software code or update of the
59
+ Software incorporating "patches" and corrections of errors as may be
60
+ provided by us from time to time; and
61
+
62
+ (e) use any Documents in support of the use permitted under condition.
63
+
64
+ 1.3 This Licence applies to you as the Licensee, and is provided for you to use
65
+ within your Group of businesses as may be further described or expressly listed
66
+ in your Order Form. By “Group” we mean related businesses, organisations and
67
+ the like who exercise, or are under common, Control over you and/or each entity
68
+ within that Group. If you apply this Licence to your Group, you will be legally
69
+ responsible for each of them as though they had signed up to this Licence
70
+ directly. By using the capitalised term “Control” we refer to the term as it is
71
+ understood according to section 1124 of the Corporation Tax Act 2010.
72
+
73
+ 1.4 Where we refer to “permitted purposes” we mean that you can integrate the
74
+ Software as part of a Licensee Application for any of the following purposes:
75
+
76
+ (a) If You are an individual, for any purpose (including but not limited to:
77
+ personal projects that do or don’t generate revenue, open-source projects,
78
+ public-facing applications);
79
+
80
+ (b) If You are a Business, strictly for the purpose of technical evaluation and
81
+ testing of the Software. You may not use the software for any other business
82
+ purpose, including integrating it into a Licensee Application used in production
83
+ for any business purpose, integrating it into a Licensee Application available
84
+ to the public, or generally available to Your employees.
85
+
86
+ Our determination of the validity of your purposes, and whether or not they are
87
+ permitted by or within the scope of this Licence, will be final in the event of
88
+ any dispute.
89
+
90
+ 1.5 Where we refer to “Licensee Application” that refers to the web application
91
+ forming the group of assets comprising of any number of HTML assets (such as
92
+ HTML files, CSS files, JavaScript files, WebAssembly files), x86 executables and
93
+ assets used by said HTML assets and executables, which are embedded in a single
94
+ HTML file, as drawn from a single designated origin domain in relation to which
95
+ the Software has been specifically integrated.
96
+
97
+ 1.6 Our liability to you is limited pursuant to condition 4 below. You will
98
+ however still be liable to us under this Licence, where that is reasonable to
99
+ protect our own commercial interest in and to the Software and/or Documentation.
100
+ You have a choice as to whether you procure a Commercial Licence or not, and you
101
+ accept the risks associated with your decision in this regard, you should
102
+ acquire appropriate insurance to protect you from any perceived risk associated
103
+ with this Licence.
104
+
105
+ 1.7 Unless the context indicates to the contrary, any reference to statute,
106
+ legislation, laws, guidance and codes of conduct are to those existing under
107
+ laws of England and Wales.
108
+
109
+ 2. RESTRICTIONS
110
+
111
+ 2.1 Except as expressly set out in this Licence, or as permitted by any local
112
+ law, you warrant and undertake:
113
+
114
+ (a) Not to use the Software for any purpose other than the permitted purposes;
115
+ (b) Not to use the Software and/or the Documentation for any purpose either
116
+ directly or indirectly relating to:
117
+
118
+ (i) Nuclear energy, hospital management, life support systems and or any other
119
+ public infrastructure or any high risk, mission or business critical processing
120
+ of any nature in any industry.
121
+
122
+ (ii) Gambling, currency trading, pay-day loans, pornography or any illegal or
123
+ otherwise criminal purpose.
124
+
125
+ (c) not to copy the Software or Documents except where such copying is
126
+ incidental to normal and expressly permitted use of the Software, or where it is
127
+ necessary for the purpose of back-up or operational security. For the avoidance
128
+ of doubt, there is no numerical cap or limit on the sum of copies permitted
129
+ under this Licence as long as they accord with the use case prescribed herein
130
+ and remain under the control of the Licensee or its Group at all times;
131
+
132
+ (d) not to assign, rent, lease, sub-licence, loan, translate, merge, adapt, vary
133
+ or modify the Software or Documents, except if expressly authorised by us.
134
+ Where the Licensee needs to assign the Licence to another member of its Group,
135
+ for example as part of a Group restructuring exercise, we will not unreasonably
136
+ refuse such assignments subject to Licensee or the relevant Group member
137
+ providing reasonable written notice of the proposed assignment in advance;
138
+
139
+ (e) not to make alterations to, or modifications of, the whole or any part of
140
+ the Software, nor permit the Software or any part of it to be combined with, or
141
+ become incorporated in, any other programs, except to the limited extent as is
142
+ strictly required to ensure the operation of Licensee Applications, except if
143
+ expressly authorised by us;
144
+
145
+ (f) not to disassemble, decompile, reverse-engineer or create derivative works
146
+ based on the whole or any part of the Software nor attempt to do any such thing;
147
+
148
+ (g) to keep all copies of the Software secure and to maintain accurate and
149
+ up-to-date records of the number and locations of all copies of the Software;
150
+
151
+ (h) to include our copyright notice, and any other applicable third party
152
+ notice, on all entire and partial copies you make of the Software on any medium;
153
+
154
+ (i) not to provide or otherwise make available the Software in whole or in part
155
+ (including but not limited to program listings, object and source program
156
+ listings, object code and source code), in any form to any person other than
157
+ your employees without prior written consent from us;
158
+
159
+ (j) to comply with all applicable technology control or export laws and
160
+ regulations;
161
+
162
+ (k) not use the Software via any communications network or by means of remote
163
+ access to the extent that such end reproduction or presentation would otherwise
164
+ breach this Licence; and
165
+
166
+ (l) not to use the Software to directly or indirectly develop a replacement or
167
+ competing product to the Software.
168
+
169
+ 3. INTELLECTUAL PROPERTY RIGHTS
170
+
171
+ 3.1 You acknowledge that all intellectual property rights in the Software and
172
+ the Documents anywhere in the world belong to us, that rights in the Software
173
+ are licenced (not sold) to you, and that you have no rights in, or to, the
174
+ Software or the Documents other than the right to use them in accordance with
175
+ the terms of this Licence.
176
+
177
+ 3.2 You acknowledge that you have no right to have access to the Software in
178
+ source code form and that any materials we provide for demonstration purposes
179
+ alongside the Software or Documentation are not provided for you to use or
180
+ retain other than for the strict purpose of demonstration or testing.
181
+
182
+ 3.3 We acknowledge that you will own all intellectual property rights in the
183
+ Licensee Applications, to the extent they do not include the Software or the
184
+ Documentation, and any data input or data output arising independently from the
185
+ operation of the Software shall remain your property, or that of your users
186
+ where applicable and this agreement shall not operate to transfer ownership or
187
+ control of any personal data whatsoever. 3.4 For the avoidance of doubt,
188
+ neither party’s pre-existing rights regarding any intellectual property shall be
189
+ affected by virtue of this Licence, except for the limited licence grant
190
+ expressly set out herein.
191
+
192
+ 3.5 You acknowledge that this Licence does not convey any right to any third
193
+ party software except to the extent it is embedded by us within the Software.
194
+ To the extent that third party software is embedded within the Software or
195
+ Documents that is provided to you on an “as-is” basis and may contain elements
196
+ of open source software. To the extent that open source software (referred to
197
+ as Free Libre Open Source Software) is included in the Software or Documents, we
198
+ warrant that the applicable third party licence is compatible with the scope of
199
+ use we have expressly authorised, and that no further commercial licence is
200
+ required. You acknowledge that your rights to third party software are subject
201
+ to separate licensing by that third party, and that you must judge whether or
202
+ not any change of use may breach any applicable third party licences.
203
+
204
+ 4. LIMITED WARRANTY
205
+
206
+ 4.1 The Software and Documentation is provided to you strictly on an “as-is”
207
+ basis without any warranty whatsoever, to the exclusion of all laws, which may
208
+ otherwise apply or be implied, to the fullest extent that such exclusion is
209
+ legally permissible.
210
+
211
+ 4.2 You have the option of purchasing a Commercial Licence or bespoke support
212
+ from us subject to separate agreement. If you do not wish to purchase support
213
+ from us, then you are encouraged to consider insurance to cover the cost of the
214
+ Software breaking down or for any loss you might suffer as a result of its
215
+ unavailability. Where you have not purchased support from us as a separate
216
+ service, we will use commercially reasonable endeavours to maintain and keep the
217
+ Software up to date and functional, but we reserve the right to replace certain
218
+ core functionality, or to end of life non-core functionality, where we consider
219
+ that reasonable and to the extent that it forms part of our product roadmap
220
+ which applies to all customers and not just to you. We reserve the right to
221
+ modify our development objectives and roadmap at all times, and you acknowledge
222
+ that any functionality or feature not presently forming the Software is not
223
+ guaranteed to be included now or at any time in the future. 5. PAYMENT
224
+
225
+ 5.1 The Software and Documents supplied under this Licence do not require the
226
+ payment of a Licence fee. 5.2 True-up. In any event where you have exceeded
227
+ the licenced use case as prescribed by this Licence, the excessive element of
228
+ your use shall be judged against the permitted uses, and the Licence Fee due for
229
+ such excessive use shall be calculated based on our standard Rate Card applied
230
+ to Commercial Licences. 6. LIMITATION OF LIABILITY
231
+
232
+ 6.1 You acknowledge that the Software has not been developed to meet your
233
+ individual requirements, including any particular cybersecurity requirements you
234
+ might be subject to under law or otherwise, and that it is therefore your
235
+ responsibility to ensure that the facilities and functions of the Software meet
236
+ your requirements.
237
+
238
+ 6.2 We only supply the Software and Documents for any permitted use by You, and
239
+ you agree not to use the Software or Documents for any re-sale purposes,
240
+ including but not limited to any instance where such re-sale would ordinarily be
241
+ similar/the same as our provision of the Software or Documents to you.
242
+
243
+ 6.3 We shall not in any circumstances whatever be liable to you, whether in
244
+ contract, tort (including negligence), breach of statutory duty, or otherwise,
245
+ arising under or in connection with the Licence for: (a) loss of profits, sales,
246
+ business, or revenue;
247
+
248
+ (b) business interruption;
249
+
250
+ (c) loss of anticipated savings;
251
+
252
+ (d) loss or corruption of data or information;
253
+
254
+ (e) loss of business opportunity, goodwill or reputation;
255
+
256
+ (f) where any of the losses set out in condition 6.3(a) to condition 6.3(e) are
257
+ direct or indirect; or
258
+
259
+ (g) any special, indirect or consequential loss, damage, charges or expenses.
260
+
261
+ 6.4 Other than the losses set out in condition 6.3 (for which we are not
262
+ liable), our maximum aggregate liability under or in connection with this
263
+ Licence whether in contract, tort (including negligence) or otherwise, shall in
264
+ all circumstances be limited to a sum equal to the amount of the Licence Fee you
265
+ have paid to us over the course of the 12 months immediately preceding the
266
+ events giving rise to the relevant claim. This maximum cap does not apply to
267
+ condition 6.5.
268
+
269
+ 6.5 Nothing in this Licence shall limit or exclude our liability for:
270
+
271
+ (a) death or personal injury resulting from our negligence;
272
+
273
+ (b) fraud or fraudulent misrepresentation;
274
+
275
+ (c) any other liability that cannot be excluded or limited by English law.
276
+
277
+ 6.6 This Licence sets out the full extent of our obligations and liabilities in
278
+ respect of the supply of the Software and Documents. Except as expressly stated
279
+ in this Licence, there are no conditions, warranties, representations or other
280
+ terms, express or implied, that are binding on us. Any condition, warranty,
281
+ representation or other term concerning the supply of the Software and Documents
282
+ which might otherwise be implied into, or incorporated in, this Licence whether
283
+ by statute, common law or otherwise, is excluded to the fullest extent permitted
284
+ by law. 7. TERMINATION
285
+
286
+ 7.1 We may terminate this Licence immediately by written notice to you if you
287
+ commit a material or persistent breach of this Licence which you fail to remedy
288
+ (if remediable) within 30 days after the service of written notice requiring you
289
+ to do so, or this Licence may terminate immediately without notice upon the
290
+ expiry of any period of use we specify is applicable to this Licence for the
291
+ Software or Documents.
292
+
293
+ 7.2 On termination for any reason:
294
+
295
+ (a) all rights granted to you under this Licence shall cease;
296
+
297
+ (b) you must make payment of any outstanding charges or fees;
298
+
299
+ (c) you must immediately cease all activities authorised by this Licence; and
300
+
301
+ (d) you must immediately and permanently delete or remove the Software from all
302
+ computer equipment in your possession, and immediately destroy or return to us
303
+ (at our option) all copies of the Software and Documents then in your
304
+ possession, custody or control and, in the case of destruction, certify to us
305
+ that you have done so.
306
+
307
+ 7.3 Your obligation to delete Software or Documentation pursuant to condition
308
+ 7.2(d) above shall apply to the fullest extent legally possible, taking into
309
+ account and allowing for any strict legal duty you may have to retain
310
+ information in an immutable and protected format for the duration of any hard
311
+ mirror or other fixed retention cycles or periods. Where you are subject to
312
+ legal obligations of the nature referred to in this condition, your obligation
313
+ pursuant to condition 7.2(d) above shall instead apply from the date upon which
314
+ you are no longer strictly legally required to retain relevant information. For
315
+ the avoidance of any doubt you will have no right to make any internal or
316
+ commercial use of the Software or Documentation during this retention period,
317
+ but you will remain fully liable to us and your obligations and duties under
318
+ this Licence shall continue until you have complied with condition 7.2(d) in
319
+ full.
320
+
321
+ 8. EVENTS OUTSIDE OUR CONTROL
322
+
323
+ 8.1 We will not be liable or responsible for any failure to perform, or delay in
324
+ performance of, any of our obligations under this Licence that is caused by an
325
+ Event Outside Our Control. An Event Outside Our Control is defined below in
326
+ condition 8.2.
327
+
328
+ 8.2 An Event Outside Our Control means any act or event beyond our reasonable
329
+ control, including without limitation failure of public or private
330
+ telecommunications networks.
331
+
332
+ 8.3 If an Event Outside Our Control takes place that affects the performance of
333
+ our obligations under this Licence:
334
+
335
+ (a) our obligations under this Licence will be suspended and the time for
336
+ performance of our obligations will be extended for the duration of the Event
337
+ Outside Our Control; and
338
+
339
+ (b) we will use our reasonable endeavours to find a solution by which our
340
+ obligations under this Licence may be performed despite the Event Outside Our
341
+ Control.
342
+
343
+ 9. HOW WE MAY USE YOUR PERSONAL INFORMATION
344
+
345
+ Under data protection legislation, we will only process the personal information
346
+ of business contacts for the purpose of administering this Licence and our
347
+ services generally. You will not provide us with, nor shall we generally have
348
+ any access to, any personal data relating to users of the Software or
349
+ Documentation. The legal base’s upon which we process any personal data related
350
+ to this Licence shall be performance of contract, enforcement of legal
351
+ rights/claims and our legitimate interest in informing you of offers and
352
+ announcements relating to the Software and Documentation. We will not disclose
353
+ personal data to third parties for marketing purposes unless you expressly
354
+ consent to this.
355
+
356
+ 10. OTHER IMPORTANT TERMS
357
+
358
+ 10.1 We may transfer our rights and obligations under this Licence to another
359
+ organisation, but this will not affect your rights or our obligations under this
360
+ Licence. 10.2 You may only transfer your rights or your obligations under this
361
+ Licence to another person if we agree in writing.
362
+
363
+ 10.3 This Licence and any document expressly referred to in it constitutes the
364
+ entire agreement between us and supersedes and extinguishes all previous
365
+ agreements, promises, assurances, warranties, representations and understandings
366
+ between us, whether written or oral, relating to its subject matter. You agree
367
+ that you shall have no remedies in respect of any statement, representation,
368
+ assurance or warranty (whether made innocently or negligently) that is not set
369
+ out in this Licence or any document expressly referred to in it. You agree that
370
+ you shall have no claim for innocent or negligent misrepresentation or negligent
371
+ misstatement based on any statement in this Licence or any document expressly
372
+ referred to in it.
373
+
374
+ 10.4 If we fail to insist that you perform any of your obligations under this
375
+ Licence, or if we do not enforce our rights against you, or if we delay in doing
376
+ so, that will not mean that we have waived our rights against you and will not
377
+ mean that you do not have to comply with those obligations. If we do waive a
378
+ default by you, we will only do so in writing, and that will not mean that we
379
+ will automatically waive any later default by you.
380
+
381
+ 10.5 Each of the conditions of this Licence operates separately. If any court
382
+ or competent authority decides that any of them are unlawful or unenforceable,
383
+ the remaining conditions will remain in full force and effect.
384
+
385
+ 10.6 This Licence, its subject matter and its formation (and any non-
386
+ contractual disputes or claims) are governed by English law. We both
387
+ irrevocably agree to the exclusive jurisdiction of the courts of England and
388
+ Wales.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const version="0.9.1"
1
+ const version="1.0.0"
2
2
  const CheerpX = await import(`https://cxrtnc.leaningtech.com/${version}/cx.esm.js`);
3
3
  export const Linux = CheerpX.Linux;
4
4
  export const HttpBytesDevice = CheerpX.HttpBytesDevice;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaningtech/cheerpx",
3
- "version": "0.9.1",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",