@openedges/pkl-napi 0.0.0-stage → 0.32.0-rc.3

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.
@@ -0,0 +1,335 @@
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`, `wasm-bindgen`, `js-sys`, `sha1`, `sha2`, `md-5`, `libc`, `syn`, `quote`, `time`, `semver`, `unicode-normalization`, `windows-*` |
263
+ | `MIT` | 8 | `napi`, `napi-derive`, `napi-sys`, `libm`, `convert_case`, `pem`, `zeroize`, `bumpalo` |
264
+ | `ISC` | 3 | `libloading`, `rustls-webpki`, `untrusted` |
265
+ | `Apache-2.0 OR ISC OR MIT` / `Apache-2.0 AND ISC` | 3 | `ring`, `rustls-pki-types`, `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
+ ### `ring` (`0.17.14`, `Apache-2.0 AND ISC`)
272
+
273
+ `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).
274
+
275
+ ### ISC License (Applies to `libloading`, `rustls-webpki`, `untrusted`, and `ring`)
276
+
277
+ ```text
278
+ Permission to use, copy, modify, and/or distribute this software for any
279
+ purpose with or without fee is hereby granted, provided that the above
280
+ copyright notice and this permission notice appear in all copies.
281
+
282
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
283
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
284
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
285
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
286
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
287
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
288
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
289
+ ```
290
+
291
+ ### BSD-3-Clause License (Applies to `subtle`)
292
+
293
+ ```text
294
+ Copyright (c) 2016-2017 Isis Agora Lovecruft, Henry de Valence. All rights reserved.
295
+
296
+ Redistribution and use in source and binary forms, with or without
297
+ modification, are permitted provided that the following conditions are
298
+ met:
299
+
300
+ 1. Redistributions of source code must retain the above copyright
301
+ notice, this list of conditions and the following disclaimer.
302
+
303
+ 2. Redistributions in binary form must reproduce the above copyright
304
+ notice, this list of conditions and the following disclaimer in the
305
+ documentation and/or other materials provided with the distribution.
306
+
307
+ 3. Neither the name of the copyright holder nor the names of its
308
+ contributors may be used to endorse or promote products derived from
309
+ this software without specific prior written permission.
310
+
311
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
312
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
313
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
314
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
315
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
316
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
317
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
318
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
319
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
320
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
321
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
322
+ ```
323
+
324
+ To inspect exact per-crate SPDX metadata locally:
325
+
326
+ ```sh
327
+ cargo metadata --format-version 1 --locked
328
+ ```
329
+
330
+ ---
331
+
332
+ ## 8. Historical Test Fixtures (Development Repository Only)
333
+
334
+ - `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).
335
+ - `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.