@mermanjs/node-wasm 0.10.0 → 0.12.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 +46 -1
- package/README.md +29 -42
- package/THIRD_PARTY_LICENSES/d3-hierarchy/LICENSE +13 -0
- package/THIRD_PARTY_LICENSES/d3-sankey/LICENSE +27 -0
- package/THIRD_PARTY_LICENSES/grok-build/LICENSE +204 -0
- package/THIRD_PARTY_LICENSES/krilla/LICENSE-APACHE +202 -0
- package/THIRD_PARTY_LICENSES/krilla/LICENSE-ICC +116 -0
- package/THIRD_PARTY_LICENSES/{roxmltree-dom → krilla}/LICENSE-MIT +3 -3
- package/THIRD_PARTY_LICENSES/resvg-iir-blur/LICENSE +24 -0
- package/THIRD_PARTY_LICENSES/rust-cargo-dependencies.json +444 -517
- package/THIRD_PARTY_LICENSES/usvg/LICENSE-APACHE +176 -0
- package/THIRD_PARTY_LICENSES/usvg/LICENSE-MIT +25 -0
- package/THIRD_PARTY_NOTICES.md +229 -67
- package/artifact/merman_node.cjs +26 -0
- package/artifact/merman_node_bg.wasm +0 -0
- package/dist/bounded-executor.mjs +11 -6
- package/dist/candidates/wasm.mjs +6 -9
- package/dist/candidates/wrap-engine.mjs +51 -3
- package/dist/engine.mjs +478 -123
- package/dist/errors.mjs +228 -90
- package/dist/generated/binding-contract.mjs +208 -113
- package/dist/generated/capability-surface.mjs +58 -56
- package/dist/generated/node-wire-contract.json +17 -4
- package/dist/index.d.ts +431 -129
- package/dist/index.mjs +11 -3
- package/dist/native-loader.mjs +152 -7
- package/dist/transport-contract.mjs +39 -1
- package/package.json +4 -2
- package/THIRD_PARTY_LICENSES/roxmltree-dom/LICENSE-APACHE +0 -201
- /package/THIRD_PARTY_LICENSES/{roxmltree-dom → roxmltree-ego-tree}/LICENSE-ISC +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,51 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the `@mermanjs/node` package group will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.12.0] - 2026-12-04
|
|
6
|
+
|
|
7
|
+
### Breaking changes
|
|
8
|
+
|
|
9
|
+
- Upgrade the loader and its native addon or Node-WASM artifact together for Node transport API `3` and Binding Options JSON schema `4`. Theme v2 uses `export-theme-preset` and `resolve-theme` for authoring (21 built-in presets, 31 Light/Dark appearances, `overrides[].data`, unified contrast grading, auto-fix writeback, and polarity notices; TypeScript types use `ThemeDocument` and `ResolvedTheme`) and reports `theme_outcome` in SVG operation metadata. [Theme v2 guide](../../docs/rendering/custom-diagram-themes.md), [Theme v1 to v2 migration](../../docs/migrations/theme-v1-to-v2.md), [Binding options](../../docs/bindings/OPTIONS_JSON.md#diagram-theme)
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Support explicit async engine scope disposal (`Symbol.asyncDispose`) alongside synchronous `dispose()` in `@mermanjs/node`, and accept typed `options` objects alongside raw `optionsJson` on `MermanOperationRequest`. [#429](https://github.com/Latias94/merman/pull/429), [#540](https://github.com/Latias94/merman/pull/540)
|
|
14
|
+
- Export versioned `DrawList v1` JSON via `drawListJson()` and `drawListJsonSync()` (with optional `draw_list.expand_markers`) for currently supported Flowchart, Sequence, Class, State, and ER diagrams (unsupported families and constructs fail closed with an explicit error; coverage will expand in future releases). [SVG output pipeline](../../docs/rendering/SVG_OUTPUT_PIPELINE.md#native-drawlist-v1), [#484](https://github.com/Latias94/merman/pull/484), [#539](https://github.com/Latias94/merman/pull/539), [#540](https://github.com/Latias94/merman/pull/540)
|
|
15
|
+
- Support `svg.native_math_fallback` (`"strict"`, `"source-text"`, or `"drop"`) with `native_math_fallback` operation metadata, and `svg.outlines` on native builds compiled with `outlined-svg`. [#533](https://github.com/Latias94/merman/pull/533), [#534](https://github.com/Latias94/merman/pull/534)
|
|
16
|
+
- Bundle the experimental pure-Rust **Shoal** layout engine (`layout-shoal`) out of the box in both `@mermanjs/node` and `@mermanjs/node-wasm` (selected explicitly via Mermaid frontmatter `layout: shoal` or Options JSON `site_config.layout`), target Mermaid `12.4.1` semantics (including containment-cycle recovery), and retain opt-in local source builds for Mermaid `grid` and `layered` layouts. [Try Shoal](../../docs/FEATURES.md#try-the-experimental-shoal-layout), [Mermaid 12.4 migration](../../docs/migrations/mermaid-12-4.md), [#385](https://github.com/Latias94/merman/pull/385), [#461](https://github.com/Latias94/merman/pull/461), [#544](https://github.com/Latias94/merman/pull/544)
|
|
17
|
+
|
|
18
|
+
### Performance
|
|
19
|
+
|
|
20
|
+
- Use `mimalloc` for Windows x64 N-API builds, bound direct SVG source admission before payload allocation, add a direct N-API string fast path for `drawListJson()` and `drawListJsonSync()` alongside faster JS bounded JSON scanning, and share zero-override configuration/theme sections alongside faster Dagre, ELK, Shoal, and Swimlane layout solvers. [#406](https://github.com/Latias94/merman/pull/406), [#445](https://github.com/Latias94/merman/pull/445), [#456](https://github.com/Latias94/merman/pull/456), [#541](https://github.com/Latias94/merman/pull/541)
|
|
21
|
+
|
|
22
|
+
### Changed and fixed
|
|
23
|
+
|
|
24
|
+
- Preserve JSON wire limit traversal order, string field-limit diagnostics, byte-ceiling precedence on raw JSON documents, and explicit diagram ID admission; reject invalid async SVG options as promise rejections; fix package exports, TypeScript contracts, and Node-WASM lifecycle handling. [#394](https://github.com/Latias94/merman/pull/394), [#429](https://github.com/Latias94/merman/pull/429), [#469](https://github.com/Latias94/merman/pull/469), [#493](https://github.com/Latias94/merman/pull/493)
|
|
25
|
+
- Harden N-API and Node SDK security boundaries with bounded JS string admission, icon-pack envelope bounds, streaming icon-registry preflight, `AbortSignal` lifecycle validation, and workspace-wide parser, layout, and renderer DoS/complexity limits. [#522](https://github.com/Latias94/merman/pull/522), [#525](https://github.com/Latias94/merman/pull/525), [#528](https://github.com/Latias94/merman/pull/528), [#531](https://github.com/Latias94/merman/pull/531), [#532](https://github.com/Latias94/merman/pull/532)
|
|
26
|
+
- Default `svg.pipeline: "resvg-safe"` to static palette generation (omitting unused Flowchart/Agentflow/Swimlane container palette CSS rules; visually unchanged, smaller SVG snapshots). [#471](https://github.com/Latias94/merman/pull/471)
|
|
27
|
+
- Include Mermaid `12.4.1` ELK arrowhead spreading, HTML label overflow across graph backends, Flowchart inline class/shape-data and concatenated label fixes, Unicode LB30 East Asian line breaking, and geometry and contrast fixes across Flowchart, Sequence, Gantt, GitGraph, Journey, Mindmap, Chart, and Structured diagrams. [#348](https://github.com/Latias94/merman/pull/348), [#410](https://github.com/Latias94/merman/pull/410), [#459](https://github.com/Latias94/merman/pull/459), [#460](https://github.com/Latias94/merman/pull/460), [#480](https://github.com/Latias94/merman/pull/480), [#533](https://github.com/Latias94/merman/pull/533)
|
|
28
|
+
|
|
29
|
+
## [0.11.0] - 2026-11-21
|
|
30
|
+
|
|
31
|
+
### Upgrading
|
|
32
|
+
|
|
33
|
+
- 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)
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- Set `svg.pipeline` to `"static"` in `optionsJson` to omit unused generated palette rules from fixed illustrations. [#336](https://github.com/Latias94/merman/pull/336)
|
|
38
|
+
- 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)
|
|
39
|
+
|
|
40
|
+
### Changed and fixed
|
|
41
|
+
|
|
42
|
+
- 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)
|
|
43
|
+
- 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)
|
|
44
|
+
- 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)
|
|
45
|
+
- Avoid false `resvg-safe` selector-budget errors on large Flowchart and Class diagrams. [#313](https://github.com/Latias94/merman/pull/313)
|
|
46
|
+
- Compute Flowchart SVG path lengths on demand for non-animated Neo edge masks.
|
|
47
|
+
- Reduce buffer growth when writing the generated Flowchart stylesheet. [#336](https://github.com/Latias94/merman/pull/336)
|
|
48
|
+
- Keep labels legible in hand-drawn Flowchart subroutines and Agentflow tools.
|
|
49
|
+
|
|
5
50
|
## [0.10.0] - 2026-11-12
|
|
6
51
|
|
|
7
52
|
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.
|
|
@@ -62,7 +107,7 @@ Changes below are relative to `0.9.3`. Install the exact prerelease with `npm in
|
|
|
62
107
|
|
|
63
108
|
- Upgrade the loader and selected native or WASM transport packages together. Replace `metadataJson("presentation-catalog")` with `metadataJson("theme-catalog")`.
|
|
64
109
|
- Update saved Options JSON from schema `2` to `3` in both transports: replace `presentation` styling inputs with top-level `theme: {preset: ...}` or `theme: {spec: ...}`, and use `raster.matte` and `pdf.page_paint` for export backgrounds. Removed presentation-profile and host-owned CSS/security fields are rejected.
|
|
65
|
-
- For `edge-geometry-json`, replace operation-local `max_svg_bytes` with `max_geometry_json_bytes` and remove SVG-element/backend overrides. The geometry payload remains schema `1`. See the [migration guide](../../docs/migrations/edge-geometry-
|
|
110
|
+
- For `edge-geometry-json`, replace operation-local `max_svg_bytes` with `max_geometry_json_bytes` and remove SVG-element/backend overrides. The geometry payload remains schema `1`. See the [migration guide](../../docs/migrations/render-reuse-host-integration.md#migrate-edge-geometry-budgets).
|
|
66
111
|
- Formulas are rejected under `constrained` in both transports even when math is installed. Handle that rejection, or select `interactive` or an appropriate trusted policy for permitted workloads with host execution and memory limits.
|
|
67
112
|
|
|
68
113
|
### Added
|
package/README.md
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
# @mermanjs/node-wasm
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@mermanjs/node-wasm) [](https://nodejs.org/) [](https://github.com/Latias94/merman/blob/main/LICENSE-MIT)
|
|
4
|
+
|
|
3
5
|
Explicit Node-targeted WebAssembly rendering for Node.js 22+ and static-site build pipelines.
|
|
4
6
|
This is a separate opt-in package; `@mermanjs/node` remains the native N-API package and never
|
|
5
7
|
silently falls back to browser or Node WASM.
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
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).
|
|
9
|
+
The package remains experimental. `0.12.0` targets Mermaid `12.4.1`, bundles `layout-shoal` out of the box, and uses Node transport API `3` and Options JSON schema `4`. 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 to 0.12.0 upgrade guide](https://github.com/Latias94/merman/blob/main/docs/release/V0110_TO_V0120_UPGRADE_GUIDE.md)
|
|
10
10
|
|
|
11
11
|
## Quick start
|
|
12
12
|
|
|
13
|
+
The `0.12.0` package bundles the Node-targeted WASM artifact for transport API `3`.
|
|
14
|
+
|
|
13
15
|
```sh
|
|
14
|
-
npm install --save-exact @mermanjs/node-wasm@0.
|
|
16
|
+
npm install --save-exact @mermanjs/node-wasm@0.12.0
|
|
15
17
|
```
|
|
16
18
|
|
|
17
19
|
```js
|
|
@@ -31,6 +33,8 @@ The package embeds a Node-targeted wasm-bindgen artifact and does not depend on
|
|
|
31
33
|
It is intended for Node-only server-side rendering and static generation. The WASM transport is
|
|
32
34
|
single-threaded, so an `AbortSignal` cannot interrupt an operation after it enters WASM;
|
|
33
35
|
operation deadlines remain available through `timeoutMs`.
|
|
36
|
+
In JavaScript or TypeScript with explicit resource management,
|
|
37
|
+
`await using engine = await createNodeEngine()` disposes the engine when its scope exits.
|
|
34
38
|
|
|
35
39
|
`renderSvg()` and `renderSvgSync()` use the `parity` pipeline by default. This preserves the
|
|
36
40
|
Mermaid-compatible SVG structure for trusted input and parity-sensitive consumers. For a resvg/usvg
|
|
@@ -42,18 +46,21 @@ const svg = await engine.renderSvg(source, {
|
|
|
42
46
|
});
|
|
43
47
|
```
|
|
44
48
|
|
|
45
|
-
The pipeline values are `parity`, `readable`, and `resvg-safe`. `
|
|
49
|
+
The pipeline values are `parity`, `static`, `readable`, and `resvg-safe`. Use `static` for fixed
|
|
50
|
+
illustrations to omit unused generated palette rules. `readable` is a text overlay for
|
|
46
51
|
consumers that ignore HTML labels; browsers can display both copies and show overlapping text.
|
|
47
52
|
Use `parity` for browser display, with a host-owned DOM-admission policy when embedding SVG into
|
|
48
53
|
HTML. Pipeline selection alone does not establish browser DOM safety. The `resvg-safe` pipeline
|
|
49
|
-
does not provide browser `Document` or owner-document
|
|
50
|
-
browser DOM mounting.
|
|
54
|
+
defaults to static palette generation and does not provide browser `Document` or owner-document
|
|
55
|
+
admission APIs; use `@mermanjs/web*` for browser DOM mounting.
|
|
51
56
|
|
|
52
57
|
The native package is the recommended choice when a supported platform binary is available. Use
|
|
53
58
|
this package when a deployment target cannot load the native package or when a single portable
|
|
54
59
|
Node artifact is more useful than native startup and throughput.
|
|
55
60
|
|
|
56
|
-
The package includes math, Cytoscape
|
|
61
|
+
The package includes math, Dagre, Cytoscape, ELK, and experimental Shoal layouts (select Shoal
|
|
62
|
+
explicitly with `layout: shoal` or `site_config.layout`), plus versioned `DrawList v1` JSON
|
|
63
|
+
(`drawListJson()` and `drawListJsonSync()`), matching the native SVG recipe.
|
|
57
64
|
`engine.renderSvg('flowchart LR\nA["$$x^2$$"]')` renders outlined formula geometry and the runtime
|
|
58
65
|
catalog advertises `math`. The default `interactive` resource profile admits formulas; an
|
|
59
66
|
explicitly `constrained` profile rejects them even when math is compiled. For untrusted input,
|
|
@@ -62,45 +69,25 @@ Node.js 22.0.0 is the minimum runtime.
|
|
|
62
69
|
|
|
63
70
|
## Compiled themes
|
|
64
71
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
IDs through the initialized engine's theme catalog:
|
|
72
|
+
Theme v2 is available in builds from the current source tree. `engine.themeCatalog()` returns the
|
|
73
|
+
same schema 2 catalog as the native package, with editable presets, appearances, swatches, and
|
|
74
|
+
native capabilities by diagram family. Use a preset ID, a v2 theme document, or a selector in the
|
|
75
|
+
Options JSON `theme` field. Use `theme: "none"` to clear a constructor selection for a request.
|
|
70
76
|
|
|
71
77
|
```js
|
|
72
|
-
const
|
|
73
|
-
const
|
|
74
|
-
|
|
78
|
+
const document = await engine.exportThemePreset("studio");
|
|
79
|
+
const preview = await engine.resolveTheme(document, { appearance: "dark" });
|
|
80
|
+
if (!preview.ok) throw new Error(preview.message);
|
|
81
|
+
const svg = await engine.renderSvg("flowchart LR\nA --> B", {
|
|
82
|
+
optionsJson: JSON.stringify({ theme: { document, appearance: "dark" } }),
|
|
75
83
|
});
|
|
76
84
|
```
|
|
77
85
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
SVG fonts resolve on the viewing host; exported recipes
|
|
84
|
-
do not embed them.
|
|
85
|
-
|
|
86
|
-
`engine.exportThemePreset("editor")` returns a complete editable V1 recipe with
|
|
87
|
-
`design.appearances` and `design.default_appearance`. Serialize it with `JSON.stringify(recipe, null, 2)`,
|
|
88
|
-
save and edit the JSON, then reload it with `JSON.parse(...)`, retaining `schema_version`, `kind`,
|
|
89
|
-
and the complete `design`. Pass that recipe with a concrete appearance
|
|
90
|
-
through `theme: { recipe, appearance: "dark" }`; omitted appearance uses its declared default.
|
|
91
|
-
`engine.materializeTheme({ schema_version: 1, action: "inspect", recipe })` validates all modes,
|
|
92
|
-
while `action: "materialize"` with an optional `appearance` returns a concrete specification.
|
|
93
|
-
Keep the authored recipe when saving or sharing a theme. Resolve Follow-app/editor in the host.
|
|
94
|
-
|
|
95
|
-
Both transports share the same async authoring helpers, generic `executeOperation()` and synchronous
|
|
96
|
-
`executeOperationSync()` routes. The original `materialize-theme-json`,
|
|
97
|
-
`describe-theme-support-json`, and `export-theme-preset-json` operation IDs remain unchanged.
|
|
98
|
-
See the [native package examples](https://github.com/Latias94/merman/blob/main/platforms/node/packages/node/README.md#compiled-themes)
|
|
99
|
-
and the
|
|
100
|
-
[theme guide](https://github.com/Latias94/merman/blob/main/docs/rendering/custom-diagram-themes.md)
|
|
101
|
-
for authoring and portability, and the
|
|
102
|
-
[current Node changelog](https://github.com/Latias94/merman/blob/main/platforms/node/CHANGELOG.md)
|
|
103
|
-
for upgrade actions.
|
|
86
|
+
`resolveTheme()` accepts raw JSON text for document-relative errors. Its optional `auto_fix_contrast`
|
|
87
|
+
flag adjusts foreground colors in the resolved preview. SVG callers can read `theme_outcome` from
|
|
88
|
+
the `metadata_json` returned by `executeOperation()` or `executeOperationSync()`. Both transports
|
|
89
|
+
use the same generic `export-theme-preset` and `resolve-theme` operations.
|
|
90
|
+
[Native package examples](https://github.com/Latias94/merman/blob/main/platforms/node/packages/node/README.md#compiled-themes)
|
|
104
91
|
|
|
105
92
|
## Loaded icon packs
|
|
106
93
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright 2010-2021 Mike Bostock
|
|
2
|
+
|
|
3
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
4
|
+
with or without fee is hereby granted, provided that the above copyright notice
|
|
5
|
+
and this permission notice appear in all copies.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
9
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
11
|
+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
12
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
13
|
+
THIS SOFTWARE.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Copyright 2015, Mike Bostock
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
5
|
+
are permitted provided that the following conditions are met:
|
|
6
|
+
|
|
7
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
8
|
+
list of conditions and the following disclaimer.
|
|
9
|
+
|
|
10
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
11
|
+
this list of conditions and the following disclaimer in the documentation
|
|
12
|
+
and/or other materials provided with the distribution.
|
|
13
|
+
|
|
14
|
+
* Neither the name of the author nor the names of contributors may be used to
|
|
15
|
+
endorse or promote products derived from this software without specific prior
|
|
16
|
+
written permission.
|
|
17
|
+
|
|
18
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
19
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
20
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
21
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
22
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
23
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
24
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
25
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
26
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
27
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -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.
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|