@mermanjs/node-wasm 0.10.0-alpha.2 → 0.11.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 CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  All notable changes to the `@mermanjs/node` package group will be documented in this file.
4
4
 
5
+ ## [0.11.0] - 2026-11-21
6
+
7
+ ### Upgrading
8
+
9
+ - Upgrade the Node wrapper and its native addon or WASM artifact together for Node transport API `2`. [Migration guide](../../docs/migrations/render-reuse-host-integration.md#refresh-wrappers-and-runtime-artifacts)
10
+
11
+ ### Added
12
+
13
+ - Set `svg.pipeline` to `"static"` in `optionsJson` to omit unused generated palette rules from fixed illustrations. [#336](https://github.com/Latias94/merman/pull/336)
14
+ - Set `fixed_unix_millis` and `fixed_local_offset_minutes` in binding options to render the Gantt Today Marker at a captured instant. [#312](https://github.com/Latias94/merman/pull/312)
15
+
16
+ ### Changed and fixed
17
+
18
+ - Pass the SVG source directly to the native addon and receive the SVG string directly in `renderSvg()` and `renderSvgSync()`. [#336](https://github.com/Latias94/merman/pull/336)
19
+ - Release queued calls' execution slots before their promises settle so follow-up calls can use the available capacity. [#328](https://github.com/Latias94/merman/pull/328)
20
+ - Accept leading dots and punctuation in Flowchart IDs, distinguish `A&B` IDs from `A & B` groups, and match Mermaid's stroke and length for compact links with mixed endpoint markers. [#329](https://github.com/Latias94/merman/pull/329), [#330](https://github.com/Latias94/merman/pull/330)
21
+ - Avoid false `resvg-safe` selector-budget errors on large Flowchart and Class diagrams. [#313](https://github.com/Latias94/merman/pull/313)
22
+ - Compute Flowchart SVG path lengths on demand for non-animated Neo edge masks.
23
+ - Reduce buffer growth when writing the generated Flowchart stylesheet. [#336](https://github.com/Latias94/merman/pull/336)
24
+ - Keep labels legible in hand-drawn Flowchart subroutines and Agentflow tools.
25
+
26
+ ## [0.10.0] - 2026-11-12
27
+
28
+ Cumulative changes since the latest stable Node package group, `0.9.3`. The package remains experimental; see the [stable upgrade guide](../../docs/release/V093_TO_V0100_UPGRADE_GUIDE.md) for the complete migration.
29
+
30
+ | Upgrading from | Next step |
31
+ | --- | --- |
32
+ | `0.9.3` | Apply the breaking changes below and refresh SVG snapshots. |
33
+ | `0.10.0-alpha.1` or `alpha.2` | Review the guide's remaining contract and theme-catalog changes. |
34
+
35
+ ### Breaking changes
36
+
37
+ - Keep the nine-package group on one exact release: `@mermanjs/node`, its seven native platform packages, and explicit `@mermanjs/node-wasm`. Custom facades and native/WASM artifacts must come from the same source revision. Node binding API remains `1`; browser Web packages are a separate product.
38
+ - Migrate Options JSON from schema `2` to `3`: replace `presentation` styling with top-level `theme` and remove retired presentation-profile and host-owned CSS/security fields. Replace `metadataJson("presentation-catalog")` with `metadataJson("theme-catalog")`.
39
+ - Update custom render-metadata decoders for `theme_execution_evidence.version: 2` and required nullable `materialized_theme`. Keep unknown evidence versions opaque and inspect output-target admission separately from theme application. [#277](https://github.com/Latias94/merman/pull/277)
40
+ - Handle formula rejection under `constrained`, or choose `interactive` or an appropriate trusted policy with host execution and memory limits. Installing a math-capable transport does not relax resource admission.
41
+
42
+ ### Added
43
+
44
+ - Apply optional themes from 11 design groups with 14 concrete presets, including `paper-cut`, `carbon-copy`, and `pop-art`, or import editable JSON. Core colors and fonts reach all 34 diagram families, respecting source-owned styles and the typography used to measure labels. Presets retain alpha maturity; effects and output support depend on the family, shape, look, and target. See the [theme guide](../../docs/rendering/custom-diagram-themes.md) and [coverage limits](../../docs/rendering/diagram-theme-coverage.md). [#178](https://github.com/Latias94/merman/pull/178), [#277](https://github.com/Latias94/merman/pull/277), [#299](https://github.com/Latias94/merman/pull/299)
45
+ - Keep light and dark appearances in one schema-1 recipe. Editor, Gruvbox, and Ayu are paired designs; catalog consumers read `appearances` and each `concrete_preset_id`. Export the complete recipe with `export-theme-preset-json`, inspect or materialize it with `materialize-theme-json`, and resolve Follow-app policy to a declared appearance in the host. Whole-recipe validation includes inactive appearances. [#284](https://github.com/Latias94/merman/pull/284)
46
+ - Use native GNU or musl Linux ARM64 alongside the existing targets; GNU Linux requires glibc `2.31+`. Both native Node and explicit Node-WASM include SVG math, Cytoscape, and ELK. Binary export, analysis, ASCII, and text-measurement callbacks remain outside this SVG product. See the [package guide](README.md). [#265](https://github.com/Latias94/merman/pull/265), [#266](https://github.com/Latias94/merman/pull/266)
47
+
48
+ ### Changed and fixed
49
+
50
+ - Refine Cyberpunk with clear neutral text and restrained neon contours, and Ghibli with warm paper, sage surfaces and independent chart inks. Both add dedicated Flowchart, Sequence and XY Chart styling while retaining editable recipe export. [#302](https://github.com/Latias94/merman/pull/302)
51
+ - Advance from Mermaid `12.1.0` to `12.3.0`, including timed Flowchart Step edges, numbered badges, nine `bpmn-*` shapes, and updated Swimlane and Usecase behavior. Static SVG retains Step edges and badges without browser animation. Review snapshots for ELK `0.12.1` routing, label clearance, containers, and packing; see the [Mermaid migration](../../docs/migrations/mermaid-12-3.md). [#277](https://github.com/Latias94/merman/pull/277)
52
+ - Correct Class, Sequence, and State source handling and label geometry, including rich Class relationship labels and Sequence frames. Review affected SVG snapshots. [#282](https://github.com/Latias94/merman/pull/282), [#286](https://github.com/Latias94/merman/pull/286), [#294](https://github.com/Latias94/merman/pull/294), [#297](https://github.com/Latias94/merman/pull/297)
53
+ - Enforce JSON byte, member, token, and string limits consistently in native and Node-WASM engine construction, including defaults and shared values, without mutating caller input or invoking getters or `toJSON`. [#277](https://github.com/Latias94/merman/pull/277)
54
+
5
55
  ## [0.10.0-alpha.2] - 2026-11-06
6
56
 
7
57
  Changes since `0.10.0-alpha.1`. See the [host installation guide](../../docs/release/PREBUILT_PRODUCTS.md) for independently verified package availability.
package/README.md CHANGED
@@ -4,14 +4,14 @@ Explicit Node-targeted WebAssembly rendering for Node.js 22+ and static-site bui
4
4
  This is a separate opt-in package; `@mermanjs/node` remains the native N-API package and never
5
5
  silently falls back to browser or Node WASM.
6
6
 
7
- Version `0.10.0-alpha.2` targets Mermaid `12.3.0` and uses Node binding API `1`, Options JSON schema `3`, and theme execution evidence schema `2`. Keep the facade, generated glue, and WASM at the same exact version and source revision. Check the [host installation guide](https://github.com/Latias94/merman/blob/main/docs/release/PREBUILT_PRODUCTS.md#published-versions) for verified versions and channel availability.
7
+ The package remains experimental. Version `0.11.0` targets Mermaid `12.3.0` and uses Node transport API `2`, Options JSON schema `3`, and theme execution evidence schema `2`. Keep the facade, generated glue, and WASM at the same exact version and source revision. [Verified versions and installation](https://github.com/Latias94/merman/blob/main/docs/release/PREBUILT_PRODUCTS.md#published-versions) · [0.11.0 migration](https://github.com/Latias94/merman/blob/main/docs/migrations/render-reuse-host-integration.md#refresh-wrappers-and-runtime-artifacts)
8
8
 
9
9
  Version `0.10.0-alpha.1` retains Mermaid `12.2.0` and theme execution evidence schema `1`; Node binding API `1` and Options JSON schema `3` are unchanged. Upgrade all package assets together and update evidence consumers for the [render-evidence changes](https://github.com/Latias94/merman/blob/main/docs/release/UNRELEASED_CONTRACT_VERSIONS.md#source-appearance-and-render-evidence-follow-up).
10
10
 
11
11
  ## Quick start
12
12
 
13
13
  ```sh
14
- npm install --save-exact @mermanjs/node-wasm@0.10.0-alpha.2
14
+ npm install --save-exact @mermanjs/node-wasm@0.11.0
15
15
  ```
16
16
 
17
17
  ```js
@@ -42,7 +42,8 @@ const svg = await engine.renderSvg(source, {
42
42
  });
43
43
  ```
44
44
 
45
- The pipeline values are `parity`, `readable`, and `resvg-safe`. `readable` is a text overlay for
45
+ The pipeline values are `parity`, `static`, `readable`, and `resvg-safe`. Use `static` for fixed
46
+ illustrations to omit unused generated palette rules. `readable` is a text overlay for
46
47
  consumers that ignore HTML labels; browsers can display both copies and show overlapping text.
47
48
  Use `parity` for browser display, with a host-owned DOM-admission policy when embedding SVG into
48
49
  HTML. Pipeline selection alone does not establish browser DOM safety. The `resvg-safe` pipeline
@@ -62,27 +63,41 @@ Node.js 22.0.0 is the minimum runtime.
62
63
 
63
64
  ## Compiled themes
64
65
 
66
+ The catalog groups 11 designs with 14 concrete presets, including `paper-cut`, `carbon-copy`, and
67
+ `pop-art`. Editor, Gruvbox, and Ayu provide both Light and Dark; other designs declare their own modes.
68
+
65
69
  Select a preset through the top-level `theme` group in Options JSON schema `3`. Discover preset
66
70
  IDs through the initialized engine's theme catalog:
67
71
 
68
72
  ```js
69
73
  const catalog = JSON.parse(engine.metadataJson("theme-catalog"));
70
74
  const themedSvg = await engine.renderSvg("flowchart LR\nA --> B", {
71
- optionsJson: JSON.stringify({ version: 3, theme: { preset: "spotless" } }),
75
+ optionsJson: JSON.stringify({ version: 3, theme: { preset: "editor", appearance: "dark" } }),
72
76
  });
73
77
  ```
74
78
 
75
- Catalog `available` means that the recipe can compile under the current resource policy. All
76
- built-in presets remain `alpha` with empty `qualified_cells`; availability and unknown
77
- profile/admission IDs never establish portable output. Flowchart glow and shadow effects require
78
- the Classic look and supported shapes. SVG fonts resolve on the viewing host; exported recipes
79
+ The catalog groups one design's `supported_appearances`, `default_appearance`, and appearance-specific
80
+ discovery details. `available` means that every declared appearance can compile under the current
81
+ resource policy. All built-in presets remain `alpha` with empty appearance-specific `qualified_cells`; availability and unknown
82
+ profile/admission IDs never establish portable output. Flowchart glow and shadow effects support
83
+ documented shapes in Classic and Neo; other families retain their own look and output restrictions.
84
+ SVG fonts resolve on the viewing host; exported recipes
79
85
  do not embed them.
80
86
 
81
- Use `executeOperation()` or `executeOperationSync()` with operation IDs
82
- `materialize-theme-json`, `describe-theme-support-json`, or `export-theme-preset-json` for
83
- shared definition JSON, support queries and preset export. Materialization returns a complete
84
- spec that can be passed as `theme: { spec }`; no intermediate file is required. Replace old
85
- `presentation.theme` inputs and `presentation-catalog` metadata calls when upgrading. See the
87
+ `engine.exportThemePreset("editor")` returns a complete editable V1 recipe with
88
+ `design.appearances` and `design.default_appearance`. Serialize it with `JSON.stringify(recipe, null, 2)`,
89
+ save and edit the JSON, then reload it with `JSON.parse(...)`, retaining `schema_version`, `kind`,
90
+ and the complete `design`. Pass that recipe with a concrete appearance
91
+ through `theme: { recipe, appearance: "dark" }`; omitted appearance uses its declared default.
92
+ `engine.materializeTheme({ schema_version: 1, action: "inspect", recipe })` validates all modes,
93
+ while `action: "materialize"` with an optional `appearance` returns a concrete specification.
94
+ Keep the authored recipe when saving or sharing a theme. Resolve Follow-app/editor in the host.
95
+
96
+ Both transports share the same async authoring helpers, generic `executeOperation()` and synchronous
97
+ `executeOperationSync()` routes. The original `materialize-theme-json`,
98
+ `describe-theme-support-json`, and `export-theme-preset-json` operation IDs remain unchanged.
99
+ See the [native package examples](https://github.com/Latias94/merman/blob/main/platforms/node/packages/node/README.md#compiled-themes)
100
+ and the
86
101
  [theme guide](https://github.com/Latias94/merman/blob/main/docs/rendering/custom-diagram-themes.md)
87
102
  for authoring and portability, and the
88
103
  [current Node changelog](https://github.com/Latias94/merman/blob/main/platforms/node/CHANGELOG.md)
@@ -0,0 +1,204 @@
1
+ Copyright 2023-2026 SpaceXAI
2
+
3
+
4
+ Apache License
5
+ Version 2.0, January 2004
6
+ http://www.apache.org/licenses/
7
+
8
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
9
+
10
+ 1. Definitions.
11
+
12
+ "License" shall mean the terms and conditions for use, reproduction,
13
+ and distribution as defined by Sections 1 through 9 of this document.
14
+
15
+ "Licensor" shall mean the copyright owner or entity authorized by
16
+ the copyright owner that is granting the License.
17
+
18
+ "Legal Entity" shall mean the union of the acting entity and all
19
+ other entities that control, are controlled by, or are under common
20
+ control with that entity. For the purposes of this definition,
21
+ "control" means (i) the power, direct or indirect, to cause the
22
+ direction or management of such entity, whether by contract or
23
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
24
+ outstanding shares, or (iii) beneficial ownership of such entity.
25
+
26
+ "You" (or "Your") shall mean an individual or Legal Entity
27
+ exercising permissions granted by this License.
28
+
29
+ "Source" form shall mean the preferred form for making modifications,
30
+ including but not limited to software source code, documentation
31
+ source, and configuration files.
32
+
33
+ "Object" form shall mean any form resulting from mechanical
34
+ transformation or translation of a Source form, including but
35
+ not limited to compiled object code, generated documentation,
36
+ and conversions to other media types.
37
+
38
+ "Work" shall mean the work of authorship, whether in Source or
39
+ Object form, made available under the License, as indicated by a
40
+ copyright notice that is included in or attached to the work
41
+ (an example is provided in the Appendix below).
42
+
43
+ "Derivative Works" shall mean any work, whether in Source or Object
44
+ form, that is based on (or derived from) the Work and for which the
45
+ editorial revisions, annotations, elaborations, or other modifications
46
+ represent, as a whole, an original work of authorship. For the purposes
47
+ of this License, Derivative Works shall not include works that remain
48
+ separable from, or merely link (or bind by name) to the interfaces of,
49
+ the Work and Derivative Works thereof.
50
+
51
+ "Contribution" shall mean any work of authorship, including
52
+ the original version of the Work and any modifications or additions
53
+ to that Work or Derivative Works thereof, that is intentionally
54
+ submitted to Licensor for inclusion in the Work by the copyright owner
55
+ or by an individual or Legal Entity authorized to submit on behalf of
56
+ the copyright owner. For the purposes of this definition, "submitted"
57
+ means any form of electronic, verbal, or written communication sent
58
+ to the Licensor or its representatives, including but not limited to
59
+ communication on electronic mailing lists, source code control systems,
60
+ and issue tracking systems that are managed by, or on behalf of, the
61
+ Licensor for the purpose of discussing and improving the Work, but
62
+ excluding communication that is conspicuously marked or otherwise
63
+ designated in writing by the copyright owner as "Not a Contribution."
64
+
65
+ "Contributor" shall mean Licensor and any individual or Legal Entity
66
+ on behalf of whom a Contribution has been received by Licensor and
67
+ subsequently incorporated within the Work.
68
+
69
+ 2. Grant of Copyright License. Subject to the terms and conditions of
70
+ this License, each Contributor hereby grants to You a perpetual,
71
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
72
+ copyright license to reproduce, prepare Derivative Works of,
73
+ publicly display, publicly perform, sublicense, and distribute the
74
+ Work and such Derivative Works in Source or Object form.
75
+
76
+ 3. Grant of Patent License. Subject to the terms and conditions of
77
+ this License, each Contributor hereby grants to You a perpetual,
78
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
79
+ (except as stated in this section) patent license to make, have made,
80
+ use, offer to sell, sell, import, and otherwise transfer the Work,
81
+ where such license applies only to those patent claims licensable
82
+ by such Contributor that are necessarily infringed by their
83
+ Contribution(s) alone or by combination of their Contribution(s)
84
+ with the Work to which such Contribution(s) was submitted. If You
85
+ institute patent litigation against any entity (including a
86
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
87
+ or a Contribution incorporated within the Work constitutes direct
88
+ or contributory patent infringement, then any patent licenses
89
+ granted to You under this License for that Work shall terminate
90
+ as of the date such litigation is filed.
91
+
92
+ 4. Redistribution. You may reproduce and distribute copies of the
93
+ Work or Derivative Works thereof in any medium, with or without
94
+ modifications, and in Source or Object form, provided that You
95
+ meet the following conditions:
96
+
97
+ (a) You must give any other recipients of the Work or
98
+ Derivative Works a copy of this License; and
99
+
100
+ (b) You must cause any modified files to carry prominent notices
101
+ stating that You changed the files; and
102
+
103
+ (c) You must retain, in the Source form of any Derivative Works
104
+ that You distribute, all copyright, patent, trademark, and
105
+ attribution notices from the Source form of the Work,
106
+ excluding those notices that do not pertain to any part of
107
+ the Derivative Works; and
108
+
109
+ (d) If the Work includes a "NOTICE" text file as part of its
110
+ distribution, then any Derivative Works that You distribute must
111
+ include a readable copy of the attribution notices contained
112
+ within such NOTICE file, excluding those notices that do not
113
+ pertain to any part of the Derivative Works, in at least one
114
+ of the following places: within a NOTICE text file distributed
115
+ as part of the Derivative Works; within the Source form or
116
+ documentation, if provided along with the Derivative Works; or,
117
+ within a display generated by the Derivative Works, if and
118
+ wherever such third-party notices normally appear. The contents
119
+ of the NOTICE file are for informational purposes only and
120
+ do not modify the License. You may add Your own attribution
121
+ notices within Derivative Works that You distribute, alongside
122
+ or as an addendum to the NOTICE text from the Work, provided
123
+ that such additional attribution notices cannot be construed
124
+ as modifying the License.
125
+
126
+ You may add Your own copyright statement to Your modifications and
127
+ may provide additional or different license terms and conditions
128
+ for use, reproduction, or distribution of Your modifications, or
129
+ for any such Derivative Works as a whole, provided Your use,
130
+ reproduction, and distribution of the Work otherwise complies with
131
+ the conditions stated in this License.
132
+
133
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
134
+ any Contribution intentionally submitted for inclusion in the Work
135
+ by You to the Licensor shall be under the terms and conditions of
136
+ this License, without any additional terms or conditions.
137
+ Notwithstanding the above, nothing herein shall supersede or modify
138
+ the terms of any separate license agreement you may have executed
139
+ with Licensor regarding such Contributions.
140
+
141
+ 6. Trademarks. This License does not grant permission to use the trade
142
+ names, trademarks, service marks, or product names of the Licensor,
143
+ except as required for reasonable and customary use in describing the
144
+ origin of the Work and reproducing the content of the NOTICE file.
145
+
146
+ 7. Disclaimer of Warranty. Unless required by applicable law or
147
+ agreed to in writing, Licensor provides the Work (and each
148
+ Contributor provides its Contributions) on an "AS IS" BASIS,
149
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
150
+ implied, including, without limitation, any warranties or conditions
151
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
152
+ PARTICULAR PURPOSE. You are solely responsible for determining the
153
+ appropriateness of using or redistributing the Work and assume any
154
+ risks associated with Your exercise of permissions under this License.
155
+
156
+ 8. Limitation of Liability. In no event and under no legal theory,
157
+ whether in tort (including negligence), contract, or otherwise,
158
+ unless required by applicable law (such as deliberate and grossly
159
+ negligent acts) or agreed to in writing, shall any Contributor be
160
+ liable to You for damages, including any direct, indirect, special,
161
+ incidental, or consequential damages of any character arising as a
162
+ result of this License or out of the use or inability to use the
163
+ Work (including but not limited to damages for loss of goodwill,
164
+ work stoppage, computer failure or malfunction, or any and all
165
+ other commercial damages or losses), even if such Contributor
166
+ has been advised of the possibility of such damages.
167
+
168
+ 9. Accepting Warranty or Additional Liability. While redistributing
169
+ the Work or Derivative Works thereof, You may choose to offer,
170
+ and charge a fee for, acceptance of support, warranty, indemnity,
171
+ or other liability obligations and/or rights consistent with this
172
+ License. However, in accepting such obligations, You may act only
173
+ on Your own behalf and on Your sole responsibility, not on behalf
174
+ of any other Contributor, and only if You agree to indemnify,
175
+ defend, and hold each Contributor harmless for any liability
176
+ incurred by, or claims asserted against, such Contributor by reason
177
+ of your accepting any such warranty or additional liability.
178
+
179
+ END OF TERMS AND CONDITIONS
180
+
181
+ APPENDIX: How to apply the Apache License to your work.
182
+
183
+ To apply the Apache License to your work, attach the following
184
+ boilerplate notice, with the fields enclosed by brackets "[]"
185
+ replaced with your own identifying information. (Don't include
186
+ the brackets!) The text should be enclosed in the appropriate
187
+ comment syntax for the file format. We also recommend that a
188
+ file or class name and description of purpose be included on the
189
+ same "printed page" as the copyright notice for easier
190
+ identification within third-party archives.
191
+
192
+ Copyright [yyyy] [name of copyright owner]
193
+
194
+ Licensed under the Apache License, Version 2.0 (the "License");
195
+ you may not use this file except in compliance with the License.
196
+ You may obtain a copy of the License at
197
+
198
+ http://www.apache.org/licenses/LICENSE-2.0
199
+
200
+ Unless required by applicable law or agreed to in writing, software
201
+ distributed under the License is distributed on an "AS IS" BASIS,
202
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
203
+ See the License for the specific language governing permissions and
204
+ limitations under the License.
@@ -5,7 +5,7 @@
5
5
  "version": "0.9.3",
6
6
  "command_profile": "workspace-all-features-runtime",
7
7
  "offline": true,
8
- "cargo_lock_sha256": "fea9469fc52b00b62f0552d73b7268a120fbe122f74855d72ae619f38150eb00",
8
+ "cargo_lock_sha256": "c2bfd43810e1a2fd17a309f0f2c7dd98ace270d968295fede98e2b9aaf4dbe32",
9
9
  "configuration_sha256": "50ee414d81334fe54e34465a8441d8ee5ec237518b06b3759c794056aa3e26a4"
10
10
  },
11
11
  "licenses": [
@@ -681,14 +681,6 @@
681
681
  ],
682
682
  "repository": "https://github.com/dtolnay/unicode-ident"
683
683
  },
684
- {
685
- "name": "usvg",
686
- "version": "0.47.0",
687
- "source": "registry+https://github.com/rust-lang/crates.io-index",
688
- "license_expression": "Apache-2.0 OR MIT",
689
- "authors": [],
690
- "repository": "https://github.com/linebender/resvg"
691
- },
692
684
  {
693
685
  "name": "utf8parse",
694
686
  "version": "0.2.2",
@@ -3856,7 +3848,7 @@
3856
3848
  },
3857
3849
  {
3858
3850
  "name": "jiff",
3859
- "version": "0.2.39",
3851
+ "version": "1.0.1",
3860
3852
  "source": "registry+https://github.com/rust-lang/crates.io-index",
3861
3853
  "license_expression": "Unlicense OR MIT",
3862
3854
  "authors": [
@@ -3866,7 +3858,7 @@
3866
3858
  },
3867
3859
  {
3868
3860
  "name": "jiff-core",
3869
- "version": "0.1.2",
3861
+ "version": "1.0.1",
3870
3862
  "source": "registry+https://github.com/rust-lang/crates.io-index",
3871
3863
  "license_expression": "Unlicense OR MIT",
3872
3864
  "authors": [
@@ -3876,7 +3868,7 @@
3876
3868
  },
3877
3869
  {
3878
3870
  "name": "jiff-tzdb",
3879
- "version": "0.1.9",
3871
+ "version": "1.0.0",
3880
3872
  "source": "registry+https://github.com/rust-lang/crates.io-index",
3881
3873
  "license_expression": "Unlicense OR MIT",
3882
3874
  "authors": [
@@ -3886,7 +3878,7 @@
3886
3878
  },
3887
3879
  {
3888
3880
  "name": "jiff-tzdb-platform",
3889
- "version": "0.1.3",
3881
+ "version": "1.0.0",
3890
3882
  "source": "registry+https://github.com/rust-lang/crates.io-index",
3891
3883
  "license_expression": "Unlicense OR MIT",
3892
3884
  "authors": [
@@ -0,0 +1,176 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,25 @@
1
+ Copyright 2017 the Resvg Authors
2
+
3
+ Permission is hereby granted, free of charge, to any
4
+ person obtaining a copy of this software and associated
5
+ documentation files (the "Software"), to deal in the
6
+ Software without restriction, including without
7
+ limitation the rights to use, copy, modify, merge,
8
+ publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software
10
+ is furnished to do so, subject to the following
11
+ conditions:
12
+
13
+ The above copyright notice and this permission notice
14
+ shall be included in all copies or substantial portions
15
+ of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
18
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
19
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
20
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
21
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
24
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25
+ DEALINGS IN THE SOFTWARE.