@openedges/pkl-napi 0.0.0-stage → 0.32.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/LICENSE +190 -0
- package/NOTICE +84 -0
- package/README.md +72 -2
- package/THIRD-PARTY-NOTICES.md +351 -0
- package/dist/index.cjs +2919 -0
- package/dist/index.d.cts +547 -0
- package/dist/index.d.mts +575 -0
- package/dist/index.d.ts +547 -0
- package/dist/index.mjs +33 -0
- package/dist/testing.cjs +114 -0
- package/dist/testing.d.cts +29 -0
- package/dist/testing.d.mts +38 -0
- package/dist/testing.d.ts +29 -0
- package/dist/testing.mjs +14 -0
- package/native/pkl_napi.darwin-arm64.node +0 -0
- package/native/pkl_napi.darwin-x64.node +0 -0
- package/native/pkl_napi.linux-arm64-gnu.node +0 -0
- package/native/pkl_napi.linux-arm64-musl.node +0 -0
- package/native/pkl_napi.linux-x64-gnu.node +0 -0
- package/native/pkl_napi.linux-x64-musl.node +0 -0
- package/native/pkl_napi.win32-x64.node +0 -0
- package/package.json +84 -4
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
`pkl-rs` is licensed under the [Apache License, Version 2.0](LICENSE) (Copyright 2025–2026 The pkl-rs Authors).
|
|
4
|
+
|
|
5
|
+
> **Trademark & Non-Affiliation Notice**: `pkl-rs` is an independent open-source project and is not affiliated with, sponsored by, or endorsed by Apple Inc. "Pkl" is a trademark or product name of Apple Inc., referenced solely to describe language and specification compatibility. All `pkldoc` favicon assets under `crates/pkl-doc/assets/images/` are original `pkl-rs` artwork licensed under Apache-2.0.
|
|
6
|
+
|
|
7
|
+
In addition to original code authored by the `pkl-rs` contributors, source and binary distributions of `pkl-rs` include or link the third-party components and licenses listed below.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 1. Embedded Apple Pkl 0.32.0 Sources and Assets
|
|
12
|
+
|
|
13
|
+
- **Project**: [Apple Pkl](https://github.com/apple/pkl) (`0.32.0`, commit `e51fb2f91774265666f94980ec630db794a4db2d`)
|
|
14
|
+
- **License**: Apache License, Version 2.0
|
|
15
|
+
- **Copyright**: Copyright © 2024–2026 Apple Inc. and the Pkl project authors
|
|
16
|
+
- **Included / adapted components**:
|
|
17
|
+
- `crates/pkl-runtime/src/stdlib/*.pkl`: All 23 `pkl:*` standard library modules (`base.pkl`, `analyze.pkl`, `Benchmark.pkl`, `Command.pkl`, `DocPackageInfo.pkl`, `DocsiteInfo.pkl`, `EvaluatorSettings.pkl`, `json.pkl`, `jsonnet.pkl`, `math.pkl`, `pklbinary.pkl`, `platform.pkl`, `Project.pkl`, `protobuf.pkl`, `ref.pkl`, `reflect.pkl`, `release.pkl`, `semver.pkl`, `settings.pkl`, `shell.pkl`, `test.pkl`, `xml.pkl`, `yaml.pkl`), copied verbatim with original Apache-2.0 headers preserved.
|
|
18
|
+
- Rust adaptations of upstream diagnostic, value rendering, ANSI styling, syntax highlighting, recursive stack-frame compression, lexical path resolution, and YAML scalar tag resolution algorithms:
|
|
19
|
+
- `crates/pkl-runtime/src/power_assertions.rs`
|
|
20
|
+
- `crates/pkl-runtime/src/diagnostic_values.rs`
|
|
21
|
+
- `crates/pkl-runtime/src/diagnostic/ansi.rs`
|
|
22
|
+
- `crates/pkl-runtime/src/diagnostic/highlight.rs`
|
|
23
|
+
- `crates/pkl-runtime/src/diagnostic/frames.rs`
|
|
24
|
+
- `crates/pkl-runtime/src/vm/settings_paths.rs`
|
|
25
|
+
- `crates/pkl-runtime/src/vm/yaml_parser/backend/resolve.rs`
|
|
26
|
+
- Functional `pkldoc` web resources under `crates/pkl-doc/assets/`: `styles/pkldoc.css`, `scripts/pkldoc.js`, `scripts/search-worker.js`, and fonts listed in Section 5. *(All four icon files under `crates/pkl-doc/assets/images/` are original `pkl-rs` Apache-2.0 artwork, not Apple Pkl logos.)*
|
|
27
|
+
- `crates/pkl-cli/assets/completion_{bash,zsh,fish}.*`: Shell-completion scripts generated via [Clikt](https://github.com/ajalt/clikt) (Copyright © 2018 AJ Alt, Apache License 2.0).
|
|
28
|
+
- `crates/pkl-host-native/assets/PklCARoots.pem`: Bundled CA root certificate bundle matching Apple Pkl `0.32.0`.
|
|
29
|
+
|
|
30
|
+
Upstream reference checkouts (`external/pkl`, `external/pkl-pantry`) are development/verification submodules and are not distributed inside prebuilt binary or npm release packages.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 2. Sun Microsystems FDLIBM (Math Kernels)
|
|
35
|
+
|
|
36
|
+
- **Files**: `crates/pkl-runtime/src/numeric.rs`, `crates/pkl-runtime/src/vm/math_fdlibm.rs`
|
|
37
|
+
- **Source**: FDLIBM (`s_cbrt.c`, `e_asin.c`, `e_acos.c`, `s_atan.c`, `e_atan2.c`, `e_log.c`, `e_log10.c`, and trigonometric kernels, https://netlib.org/fdlibm/)
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
|
|
41
|
+
|
|
42
|
+
Developed at SunPro / SunSoft, a Sun Microsystems, Inc. business.
|
|
43
|
+
Permission to use, copy, modify, and distribute this software is freely
|
|
44
|
+
granted, provided that this notice is preserved.
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 3. SnakeYAML Engine 3.0.1
|
|
50
|
+
|
|
51
|
+
- **Project**: [SnakeYAML Engine](https://bitbucket.org/snakeyaml/snakeyaml-engine) (`3.0.1`)
|
|
52
|
+
- **License**: Apache License, Version 2.0
|
|
53
|
+
- **Copyright**: Copyright (c) 2018, SnakeYAML
|
|
54
|
+
- **Files**: Adapted in `crates/pkl-runtime/src/vm/yaml_parser/backend/` (`PROVENANCE.md` and `LICENSE-APACHE-2.0.txt` preserved alongside the Rust adaptation).
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## 4. Android Open Source Project / Apache Spark TimSort
|
|
59
|
+
|
|
60
|
+
- **Project**: [Android Open Source Project](https://source.android.com/) / [Apache Spark](https://spark.apache.org/) (`v3.5.7` `TimSort.java`)
|
|
61
|
+
- **License**: Apache License, Version 2.0
|
|
62
|
+
- **Copyright**: Copyright (C) 2008 The Android Open Source Project
|
|
63
|
+
- **Files**: Adapted in `crates/pkl-runtime/src/vm/protobuf_spark_sort.rs`.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## 5. Third-Party Web Assets Bundled in `pkldoc`
|
|
68
|
+
|
|
69
|
+
The standalone `pkldoc` binary embeds static resources required to generate Pkl `0.32.0`-compatible HTML documentation sites (`crates/pkl-doc/assets/`):
|
|
70
|
+
|
|
71
|
+
### `scroll-into-view-if-needed` (`scroll-into-view.min.js`)
|
|
72
|
+
|
|
73
|
+
- **Project**: https://github.com/scroll-into-view/scroll-into-view-if-needed
|
|
74
|
+
- **License**: MIT License
|
|
75
|
+
- **Copyright**: Copyright (c) 2023 Cody Olsen
|
|
76
|
+
|
|
77
|
+
```text
|
|
78
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
79
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
80
|
+
in the Software without restriction, including without limitation the rights
|
|
81
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
82
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
83
|
+
furnished to do so, subject to the following conditions:
|
|
84
|
+
|
|
85
|
+
The above copyright notice and this permission notice shall be included in all
|
|
86
|
+
copies or substantial portions of the Software.
|
|
87
|
+
|
|
88
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
89
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
90
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
91
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
92
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
93
|
+
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE SOFTWARE.
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Embedded Webfonts (`crates/pkl-doc/assets/fonts/`)
|
|
97
|
+
|
|
98
|
+
| Font family | Files | License |
|
|
99
|
+
| --- | --- | --- |
|
|
100
|
+
| **Lato** | `lato-v14-latin_latin-ext-{regular,700}.woff2` | SIL Open Font License 1.1 (OFL-1.1) |
|
|
101
|
+
| **Source Code Pro** | `source-code-pro-v7-latin_latin-ext-{regular,700}.woff2` | SIL Open Font License 1.1 (OFL-1.1) |
|
|
102
|
+
| **Open Sans** | `open-sans-v15-latin_latin-ext-{regular,italic,700,700italic}.woff2` | Apache License, Version 2.0 |
|
|
103
|
+
| **Material Icons** | `MaterialIcons-Regular.woff2` | Apache License, Version 2.0 |
|
|
104
|
+
|
|
105
|
+
#### SIL Open Font License, Version 1.1 (Applies to Lato & Source Code Pro)
|
|
106
|
+
|
|
107
|
+
```text
|
|
108
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
109
|
+
-----------------------------------------------------------
|
|
110
|
+
|
|
111
|
+
PREAMBLE
|
|
112
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
113
|
+
development of collaborative font projects, to support the font creation
|
|
114
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
115
|
+
open framework in which fonts may be shared and improved in partnership
|
|
116
|
+
with others.
|
|
117
|
+
|
|
118
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
119
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
120
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
121
|
+
redistributed and/or sold with any software provided that any reserved
|
|
122
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
123
|
+
however, cannot be released under any other type of license. The
|
|
124
|
+
requirement for fonts to remain under this license does not apply
|
|
125
|
+
to any document created using the fonts or their derivatives.
|
|
126
|
+
|
|
127
|
+
DEFINITIONS
|
|
128
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
129
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
130
|
+
include source files, build scripts and documentation.
|
|
131
|
+
|
|
132
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
133
|
+
copyright statement(s).
|
|
134
|
+
|
|
135
|
+
"Original Version" refers to the collection of Font Software components as
|
|
136
|
+
distributed by the Copyright Holder(s).
|
|
137
|
+
|
|
138
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
139
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
140
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
141
|
+
new environment.
|
|
142
|
+
|
|
143
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
144
|
+
writer or other person who contributed to the Font Software.
|
|
145
|
+
|
|
146
|
+
PERMISSION & CONDITIONS
|
|
147
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
148
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
149
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
150
|
+
Software, subject to the following conditions:
|
|
151
|
+
|
|
152
|
+
1) Neither the Font Software nor any of its individual components,
|
|
153
|
+
in Original or Modified Versions, may be sold by itself.
|
|
154
|
+
|
|
155
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
156
|
+
redistributed and/or sold with any software, provided that each copy
|
|
157
|
+
contains the above copyright notice and this license. These can be
|
|
158
|
+
included either as stand-alone text files, human-readable headers or
|
|
159
|
+
in the appropriate machine-readable metadata fields within text or
|
|
160
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
161
|
+
|
|
162
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
163
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
164
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
165
|
+
presented to the users.
|
|
166
|
+
|
|
167
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
168
|
+
Software shall not be used to promote, endorse or advertise any
|
|
169
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
170
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
171
|
+
permission.
|
|
172
|
+
|
|
173
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
174
|
+
must be distributed entirely under this license, and must not be
|
|
175
|
+
distributed under any other license. The requirement for fonts to
|
|
176
|
+
remain under this license does not apply to any document created
|
|
177
|
+
using the Font Software.
|
|
178
|
+
|
|
179
|
+
TERMINATION
|
|
180
|
+
This license becomes null and void if any of the above conditions are
|
|
181
|
+
not met.
|
|
182
|
+
|
|
183
|
+
DISCLAIMER
|
|
184
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
185
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
186
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
187
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
188
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
189
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
190
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
191
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
192
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
## 6. Embedded Regular Expression Engine & Official Unicode 15.0.0 Data (`crates/pkl-runtime/src/java_regex/`)
|
|
198
|
+
|
|
199
|
+
### `java_regex` (`0.1.0`, adapted in `crates/pkl-runtime/src/java_regex/`)
|
|
200
|
+
|
|
201
|
+
- **Project**: https://github.com/MathieuDutSik/java_regex
|
|
202
|
+
- **License**: `MIT OR Apache-2.0` (MIT license text included in Section 5 above; Apache-2.0 text in [LICENSE](LICENSE))
|
|
203
|
+
- **Copyright**: Copyright Mathieu Dutour Sikiric
|
|
204
|
+
- **Local modifications**: Adapted into a self-contained raw UTF-16 `java.util.regex.Pattern` matcher inside `crates/pkl-runtime/src/java_regex/` with explicit step/depth execution budgets, canonical equivalence (`CANON_EQ` / `(?c)`), and zero external regex or Unicode crate dependencies.
|
|
205
|
+
|
|
206
|
+
### Official Unicode 15.0.0 Character Database (`Unicode-3.0`)
|
|
207
|
+
|
|
208
|
+
- **Project**: The Unicode Standard, Version 15.0.0 (https://www.unicode.org/Public/15.0.0/ucd/)
|
|
209
|
+
- **Generation**: All 12 data tables under `crates/pkl-runtime/src/java_regex/` are deterministically generated directly from official Unicode Consortium UCD 15.0.0 files by `tools/generate_ucd15_regex_tables.py` (exact SHA-256 provenance recorded in [crates/pkl-runtime/src/java_regex/UNICODE-15.0.0-PROVENANCE.md](crates/pkl-runtime/src/java_regex/UNICODE-15.0.0-PROVENANCE.md)). No OpenJDK binary resources (`uniName.dat`) or GPLv2 files are used or distributed.
|
|
210
|
+
- **License**: `Unicode-3.0` (verbatim text preserved in [crates/pkl-runtime/src/java_regex/LICENSE-UNICODE](crates/pkl-runtime/src/java_regex/LICENSE-UNICODE)):
|
|
211
|
+
|
|
212
|
+
```text
|
|
213
|
+
UNICODE LICENSE V3
|
|
214
|
+
|
|
215
|
+
COPYRIGHT AND PERMISSION NOTICE
|
|
216
|
+
|
|
217
|
+
Copyright © 1991-2026 Unicode, Inc.
|
|
218
|
+
|
|
219
|
+
NOTICE TO USER: Carefully read the following legal agreement. BY
|
|
220
|
+
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
|
|
221
|
+
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
|
222
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
|
|
223
|
+
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
224
|
+
|
|
225
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
226
|
+
copy of data files and any associated documentation (the "Data Files") or
|
|
227
|
+
software and any associated documentation (the "Software") to deal in the
|
|
228
|
+
Data Files or Software without restriction, including without limitation
|
|
229
|
+
the rights to use, copy, modify, merge, publish, distribute, and/or sell
|
|
230
|
+
copies of the Data Files or Software, and to permit persons to whom the
|
|
231
|
+
Data Files or Software are furnished to do so, provided that either (a)
|
|
232
|
+
this copyright and permission notice appear with all copies of the Data
|
|
233
|
+
Files or Software, or (b) this copyright and permission notice appear in
|
|
234
|
+
associated Documentation.
|
|
235
|
+
|
|
236
|
+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
237
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
238
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
239
|
+
THIRD PARTY RIGHTS.
|
|
240
|
+
|
|
241
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
242
|
+
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
243
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
244
|
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
245
|
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
|
|
246
|
+
FILES OR SOFTWARE.
|
|
247
|
+
|
|
248
|
+
Except as contained in this notice, the name of a copyright holder shall
|
|
249
|
+
not be used in advertising or otherwise to promote the sale, use or other
|
|
250
|
+
dealings in these Data Files or Software without prior written
|
|
251
|
+
authorization of the copyright holder.
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
## 7. Statically Linked Rust Crate Dependencies (`Cargo.lock`)
|
|
257
|
+
|
|
258
|
+
All **79 external Rust crates** locked in [Cargo.lock](Cargo.lock) (**67 runtime/build crates** across shipped binaries/packages; **zero copyleft crates**) are distributed under permissive open-source licenses:
|
|
259
|
+
|
|
260
|
+
| SPDX License Expression | Crate Count | Representative Crates |
|
|
261
|
+
| --- | ---: | --- |
|
|
262
|
+
| `MIT OR Apache-2.0` / `Apache-2.0 OR MIT` / `MIT/Apache-2.0` | 60 | `rustls-pki-types`, `zeroize`, `bumpalo`, `wasm-bindgen`, `js-sys`, `sha1`, `sha2`, `md-5`, `libc`, `syn`, `quote`, `time`, `semver`, `unicode-normalization`, `windows-*` |
|
|
263
|
+
| `MIT` | 8 | `napi`, `napi-derive`, `napi-derive-backend`, `napi-build`, `napi-sys`, `libm`, `convert_case`, `pem` *(dev/test-only)* |
|
|
264
|
+
| `ISC` | 3 | `libloading`, `rustls-webpki`, `untrusted` |
|
|
265
|
+
| `Apache-2.0 OR ISC OR MIT` / `Apache-2.0 AND ISC` | 3 | `ring`, `rustls`, `rustls-pemfile` |
|
|
266
|
+
| `Zlib OR Apache-2.0 OR MIT` | 2 | `tinyvec`, `tinyvec_macros` |
|
|
267
|
+
| `BSD-3-Clause` | 1 | `subtle` |
|
|
268
|
+
| `(MIT OR Apache-2.0) AND Unicode-3.0` | 1 | `unicode-ident` |
|
|
269
|
+
| `Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT` | 1 | `wasi` |
|
|
270
|
+
|
|
271
|
+
### MIT License Copyright Holders (Statically Linked Crates)
|
|
272
|
+
|
|
273
|
+
The MIT license text in Section 5 applies to the following MIT-licensed crates included in distributions:
|
|
274
|
+
|
|
275
|
+
- **`libm`** (`0.2.16`, `MIT`): Copyright (c) 2018 Jorge Aparicio; Copyright © 2005–2020 Rich Felker, et al. (musl libc); portions Copyright © 1993, 2004 Sun Microsystems, David Schultz, Steven G. Kargl, Bruce D. Evans, Stephen L. Moshier, and Arm Limited.
|
|
276
|
+
- **`napi` / `napi-derive` / `napi-derive-backend` / `napi-sys`** (`3.x`, `MIT`) and **`napi-build`** (`2.2.4`, `MIT`, `@openedges/pkl-napi` only): Copyright (c) napi-rs contributors.
|
|
277
|
+
- **`convert_case`** (`0.8.0`, `MIT`): Copyright (c) 2025 rutrum.
|
|
278
|
+
- **`pem`** (`3.0.6`, `MIT`, dev/test-only): Copyright (c) 2016 Jonathan Creekmore.
|
|
279
|
+
- **`zeroize`** (`1.9.2`, `MIT OR Apache-2.0`): Copyright (c) 2018–2026 The RustCrypto Project Developers.
|
|
280
|
+
- **`bumpalo`** (`3.20.3`, `MIT OR Apache-2.0`): Copyright (c) 2019 Nick Fitzgerald.
|
|
281
|
+
|
|
282
|
+
### `ring` (`0.17.14`, `Apache-2.0 AND ISC`)
|
|
283
|
+
|
|
284
|
+
`ring` includes code derived from BoringSSL (Copyright Google Inc. and contributors, ISC-style / Apache-2.0) and portions of OpenSSL (Copyright 1995–2016 The OpenSSL Project / Eric Young, permissive OpenSSL/SSLeay terms). This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) and cryptographic software written by Eric Young (eay@cryptsoft.com).
|
|
285
|
+
|
|
286
|
+
### ISC License (Applies to `libloading`, `rustls-webpki`, `untrusted`, and `ring`)
|
|
287
|
+
|
|
288
|
+
- **`libloading`** (`0.8.9`, `ISC`): Copyright © 2015, Simonas Kazlauskas.
|
|
289
|
+
- **`rustls-webpki`** (`0.103.17`, `ISC`): Copyright 2015 Brian Smith.
|
|
290
|
+
- **`untrusted`** (`0.9.0`, `ISC`): Copyright 2015–2016 Brian Smith.
|
|
291
|
+
|
|
292
|
+
```text
|
|
293
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
294
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
295
|
+
copyright notice and this permission notice appear in all copies.
|
|
296
|
+
|
|
297
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
298
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
299
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
300
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
301
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
302
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
303
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
### BSD-3-Clause License (Applies to `subtle`)
|
|
307
|
+
|
|
308
|
+
```text
|
|
309
|
+
Copyright (c) 2016-2017 Isis Agora Lovecruft, Henry de Valence. All rights reserved.
|
|
310
|
+
Copyright (c) 2016-2024 Isis Agora Lovecruft. All rights reserved.
|
|
311
|
+
|
|
312
|
+
Redistribution and use in source and binary forms, with or without
|
|
313
|
+
modification, are permitted provided that the following conditions are
|
|
314
|
+
met:
|
|
315
|
+
|
|
316
|
+
1. Redistributions of source code must retain the above copyright
|
|
317
|
+
notice, this list of conditions and the following disclaimer.
|
|
318
|
+
|
|
319
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
320
|
+
notice, this list of conditions and the following disclaimer in the
|
|
321
|
+
documentation and/or other materials provided with the distribution.
|
|
322
|
+
|
|
323
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
324
|
+
contributors may be used to endorse or promote products derived from
|
|
325
|
+
this software without specific prior written permission.
|
|
326
|
+
|
|
327
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
328
|
+
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
329
|
+
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
330
|
+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
331
|
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
332
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
333
|
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
334
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
335
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
336
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
337
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
To inspect exact per-crate SPDX metadata locally:
|
|
341
|
+
|
|
342
|
+
```sh
|
|
343
|
+
cargo metadata --format-version 1 --locked
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
## 8. Historical Test Fixtures (Development Repository Only)
|
|
349
|
+
|
|
350
|
+
- `tests/fixtures/rev1/`: Imported regression fixtures retaining original `LICENSE` (Apache-2.0) and `NOTICE` (OPENEDGES Technology Inc., originally recorded in 2025 as `OpenEdges Inc.`; Apple Inc. and Pkl project authors 2024–2025).
|
|
351
|
+
- `tests/fixtures/`: Compatibility verification fixtures derived from Apple Pkl `0.32.0` (Apache-2.0). Test fixtures are excluded from binary and npm release packages.
|