@truecalc/workbook 8.2.2 → 9.0.1

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/LICENSE ADDED
@@ -0,0 +1,93 @@
1
+ Elastic License 2.0
2
+
3
+ URL: https://www.elastic.co/licensing/elastic-license
4
+
5
+ ## Acceptance
6
+
7
+ By using the software, you agree to all of the terms and conditions below.
8
+
9
+ ## Copyright License
10
+
11
+ The licensor grants you a non-exclusive, royalty-free, worldwide,
12
+ non-sublicensable, non-transferable license to use, copy, distribute, make
13
+ available, and prepare derivative works of the software, in each case subject to
14
+ the limitations and conditions below.
15
+
16
+ ## Limitations
17
+
18
+ You may not provide the software to third parties as a hosted or managed
19
+ service, where the service provides users with access to any substantial set of
20
+ the features or functionality of the software.
21
+
22
+ You may not move, change, disable, or circumvent the license key functionality
23
+ in the software, and you may not remove or obscure any functionality in the
24
+ software that is protected by the license key.
25
+
26
+ You may not alter, remove, or obscure any licensing, copyright, or other notices
27
+ of the licensor in the software. Any use of the licensor’s trademarks is subject
28
+ to applicable law.
29
+
30
+ ## Patents
31
+
32
+ The licensor grants you a license, under any patent claims the licensor can
33
+ license, or becomes able to license, to make, have made, use, sell, offer for
34
+ sale, import and have imported the software, in each case subject to the
35
+ limitations and conditions in this license. This license does not cover any
36
+ patent claims that you cause to be infringed by modifications or additions to
37
+ the software. If you or your company make any written claim that the software
38
+ infringes or contributes to infringement of any patent, your patent license for
39
+ the software granted under these terms ends immediately. If your company makes
40
+ such a claim, your patent license ends immediately for work on behalf of your
41
+ company.
42
+
43
+ ## Notices
44
+
45
+ You must ensure that anyone who gets a copy of any part of the software from you
46
+ also gets a copy of these terms.
47
+
48
+ If you modify the software, you must include in any modified copies of the
49
+ software prominent notices stating that you have modified the software.
50
+
51
+ ## No Other Rights
52
+
53
+ These terms do not imply any licenses other than those expressly granted in
54
+ these terms.
55
+
56
+ ## Termination
57
+
58
+ If you use the software in violation of these terms, such use is not licensed,
59
+ and your licenses will automatically terminate. If the licensor provides you
60
+ with a notice of your violation, and you cease all violation of this license no
61
+ later than 30 days after you receive that notice, your licenses will be
62
+ reinstated retroactively. However, if you violate these terms after such
63
+ reinstatement, any additional violation of these terms will cause your licenses
64
+ to terminate automatically and permanently.
65
+
66
+ ## No Liability
67
+
68
+ *As far as the law allows, the software comes as is, without any warranty or
69
+ condition, and the licensor will not be liable to you for any damages arising
70
+ out of these terms or the use or nature of the software, under any kind of
71
+ legal claim.*
72
+
73
+ ## Definitions
74
+
75
+ The **licensor** is the entity offering these terms, and the **software** is the
76
+ software the licensor makes available under these terms, including any portion
77
+ of it.
78
+
79
+ **you** refers to the individual or entity agreeing to these terms.
80
+
81
+ **your company** is any legal entity, sole proprietorship, or other kind of
82
+ organization that you work for, plus all organizations that have control over,
83
+ are under the control of, or are under common control with that
84
+ organization. **control** means ownership of substantially all the assets of an
85
+ entity, or the power to direct its management and policies by vote, contract, or
86
+ otherwise. Control can be direct or indirect.
87
+
88
+ **your licenses** are all the licenses granted to you for the software under
89
+ these terms.
90
+
91
+ **use** means anything you do with the software requiring one of your licenses.
92
+
93
+ **trademark** means trademarks, service marks, and similar rights.
package/NOTICE ADDED
@@ -0,0 +1,41 @@
1
+ @truecalc/workbook — third-party notices
2
+ ========================================
3
+
4
+ This package (the `truecalc-wasm-workbook` crate, published to npm and JSR as
5
+ `@truecalc/workbook`) is licensed under the Elastic License 2.0. See LICENSE.
6
+
7
+ The compiled WebAssembly artifact in this package statically links two
8
+ TrueCalc crates:
9
+
10
+ * truecalc-workbook — Elastic License 2.0 (see LICENSE)
11
+ * truecalc-core — MIT, reproduced below
12
+
13
+ `truecalc-core` remains MIT-licensed and is published independently to
14
+ crates.io as `truecalc-core` and to npm/JSR as `@truecalc/core`. Its MIT
15
+ copyright and permission notice is reproduced here as MIT requires.
16
+
17
+ --------------------------------------------------------------------------
18
+ truecalc-core — https://crates.io/crates/truecalc-core
19
+ --------------------------------------------------------------------------
20
+
21
+ MIT License
22
+
23
+ Copyright (c) 2026 tryganit
24
+
25
+ Permission is hereby granted, free of charge, to any person obtaining a copy
26
+ of this software and associated documentation files (the "Software"), to deal
27
+ in the Software without restriction, including without limitation the rights
28
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
29
+ copies of the Software, and to permit persons to whom the Software is
30
+ furnished to do so, subject to the following conditions:
31
+
32
+ The above copyright notice and this permission notice shall be included in all
33
+ copies or substantial portions of the Software.
34
+
35
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
36
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
37
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
38
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
39
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
40
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
41
+ SOFTWARE.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![npm downloads](https://img.shields.io/npm/dm/@truecalc/workbook)](https://www.npmjs.com/package/@truecalc/workbook)
5
5
  [![crates.io](https://img.shields.io/crates/v/truecalc-core)](https://crates.io/crates/truecalc-core)
6
6
  [![docs.rs](https://img.shields.io/docsrs/truecalc-core)](https://docs.rs/truecalc-core)
7
- [![license](https://img.shields.io/crates/l/truecalc-core)](LICENSE)
7
+ [![license](https://img.shields.io/badge/license-Elastic--2.0-blue)](https://github.com/truecalc/core/blob/main/crates/wasm-workbook/LICENSE)
8
8
 
9
9
  Spreadsheet workbook for JavaScript — full recalculation engine compiled to WebAssembly.
10
10
  Manage multiple sheets, set cell values and formulas, and trigger recalculation with a
@@ -307,3 +307,23 @@ Deserializes a workbook from a JSON string produced by `toJSON()`. Returns a new
307
307
  const wb2 = JsWorkbook.fromJSON(json);
308
308
  wb2.recalc(JSON.stringify({ timestamp_ms: 0, timezone: 'UTC', rng_seed: 0 }));
309
309
  ```
310
+
311
+ ## License
312
+
313
+ [Elastic License 2.0](https://github.com/truecalc/core/blob/main/crates/wasm-workbook/LICENSE) (`Elastic-2.0`) — source-available, not MIT.
314
+ You may use, copy, modify and redistribute it; you may not offer it to third
315
+ parties as a hosted or managed service that provides access to a substantial
316
+ set of its functionality.
317
+
318
+ This package compiles the ELv2 `truecalc-workbook` crate together with the MIT
319
+ `truecalc-core` crate; `NOTICE` in this package reproduces core's MIT copyright
320
+ and permission notice, as MIT requires.
321
+
322
+ `@truecalc/core` — stateless formula evaluation, no workbook — remains MIT.
323
+
324
+ Every version of `@truecalc/workbook` published before 9.0.0 — every 8.x release
325
+ and everything before it — was released under MIT and stays MIT permanently.
326
+ `9.0.0` is the first version under the new terms; nothing already published
327
+ is relicensed or withdrawn.
328
+
329
+ Full detail: [LICENSING.md](https://github.com/truecalc/core/blob/main/LICENSING.md).
package/package.json CHANGED
@@ -2,8 +2,8 @@
2
2
  "name": "@truecalc/workbook",
3
3
  "type": "module",
4
4
  "description": "Spreadsheet workbook for the browser — full Workbook API compiled to WebAssembly",
5
- "version": "8.2.2",
6
- "license": "MIT",
5
+ "version": "9.0.1",
6
+ "license": "Elastic-2.0",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/truecalc/core"
@@ -11,7 +11,9 @@
11
11
  "files": [
12
12
  "truecalc_wasm_workbook_bg.wasm",
13
13
  "truecalc_wasm_workbook.js",
14
- "truecalc_wasm_workbook.d.ts"
14
+ "truecalc_wasm_workbook.d.ts",
15
+ "LICENSE",
16
+ "NOTICE"
15
17
  ],
16
18
  "main": "truecalc_wasm_workbook.js",
17
19
  "types": "truecalc_wasm_workbook.d.ts",
Binary file