@ohos-rs/arkdown-win32-x64-msvc 0.0.1-beta.9 → 0.0.2
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/arkdown.win32-x64-msvc.node +0 -0
- package/package.json +9 -4
- package/tsc.exe +0 -0
- package/typescript-ARKTS.md +308 -0
- package/typescript-BUILD.json +12 -0
- package/typescript-LICENSE.txt +55 -0
- package/typescript-NOTICE.txt +436 -0
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-rs/arkdown-win32-x64-msvc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"cpu": [
|
|
5
5
|
"x64"
|
|
6
6
|
],
|
|
7
7
|
"main": "arkdown.win32-x64-msvc.node",
|
|
8
8
|
"files": [
|
|
9
|
-
"arkdown.win32-x64-msvc.node"
|
|
9
|
+
"arkdown.win32-x64-msvc.node",
|
|
10
|
+
"tsc.exe",
|
|
11
|
+
"typescript-ARKTS.md",
|
|
12
|
+
"typescript-BUILD.json",
|
|
13
|
+
"typescript-LICENSE.txt",
|
|
14
|
+
"typescript-NOTICE.txt"
|
|
10
15
|
],
|
|
11
16
|
"description": "Node.js bindings for arkdown — OHOS build tool with Rolldown-aligned plugin support",
|
|
12
17
|
"keywords": [
|
|
@@ -19,7 +24,7 @@
|
|
|
19
24
|
],
|
|
20
25
|
"license": "UNLICENSED",
|
|
21
26
|
"engines": {
|
|
22
|
-
"node": ">= 18.
|
|
27
|
+
"node": ">= 18.17.0"
|
|
23
28
|
},
|
|
24
29
|
"repository": {
|
|
25
30
|
"type": "git",
|
|
@@ -33,4 +38,4 @@
|
|
|
33
38
|
"os": [
|
|
34
39
|
"win32"
|
|
35
40
|
]
|
|
36
|
-
}
|
|
41
|
+
}
|
package/tsc.exe
ADDED
|
Binary file
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
# ArkTS 1.1 / ArkUI
|
|
2
|
+
|
|
3
|
+
The `ohos` branch adds an ArkUI frontend to the Go TypeScript compiler. `.ets`
|
|
4
|
+
and `.d.ets` select `ScriptKindETS`. `.ts` and `.tsx` retain their existing grammar;
|
|
5
|
+
static ETS / ArkTS 1.2 is not enabled.
|
|
6
|
+
|
|
7
|
+
## Using the compiler
|
|
8
|
+
|
|
9
|
+
Run the compiler against an ArkUI project with its actual OpenHarmony SDK type
|
|
10
|
+
declarations available through `include`, `files`, or package imports:
|
|
11
|
+
|
|
12
|
+
```json
|
|
13
|
+
{
|
|
14
|
+
"compilerOptions": {
|
|
15
|
+
"target": "es2020",
|
|
16
|
+
"module": "esnext",
|
|
17
|
+
"moduleResolution": "bundler",
|
|
18
|
+
"lib": ["es2020"],
|
|
19
|
+
"strict": true,
|
|
20
|
+
"noEmit": true,
|
|
21
|
+
"allowImportingTsExtensions": true
|
|
22
|
+
},
|
|
23
|
+
"include": ["src/**/*.ets", "sdk/**/*.d.ets"]
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
go run ./tsc/cmd/tsc -p /path/to/project/tsconfig.json
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Use the SDK declarations matching your target device/API level. Browser `dom`
|
|
32
|
+
declarations can conflict with ArkUI names such as `Text`; they are deliberately
|
|
33
|
+
absent from the example. The repository does not supply replacement SDK types.
|
|
34
|
+
|
|
35
|
+
For declarations, replace `noEmit` with `declaration` and `emitDeclarationOnly`.
|
|
36
|
+
Outputs use `.d.ets` and preserve `struct` declarations. JavaScript emission of
|
|
37
|
+
ArkUI syntax produces diagnostic TS100069 and skips that JavaScript file. Runtime
|
|
38
|
+
lowering, state management and application packaging remain the SDK compiler's
|
|
39
|
+
responsibility. Ordinary ETS files containing only TypeScript syntax can still
|
|
40
|
+
use the regular JavaScript emitter.
|
|
41
|
+
|
|
42
|
+
## Frontend behavior
|
|
43
|
+
|
|
44
|
+
- Project discovery, extensionless imports, explicit ETS imports, directory
|
|
45
|
+
indexes and declaration lookup recognize ETS extensions. Existing TS/TSX/DTS
|
|
46
|
+
resolution candidates retain their precedence.
|
|
47
|
+
- `struct` is contextual and accepts members, generics, exports and decorators.
|
|
48
|
+
Its members participate in normal binding, name lookup and type checking.
|
|
49
|
+
- The host supplies the SDK's `compilerOptions.ets` tables. Registered component
|
|
50
|
+
names, configured build/builder contexts, Extend/Styles declarations and
|
|
51
|
+
syntax-component callbacks follow OH parser branches. Capitalization does not
|
|
52
|
+
register a component. Explicit empty arrays differ from absent configuration.
|
|
53
|
+
- Struct `build()` and `pageTransition()` enable registered component syntax;
|
|
54
|
+
arbitrary render-method names do not. Ordinary callbacks remain isolated.
|
|
55
|
+
- Styles/Extend receivers, virtual type parameters/arguments and return types
|
|
56
|
+
come from the configuration and resolve through real SDK symbols. There is no
|
|
57
|
+
synthetic `any` receiver or invented fluent return type. State-style bodies
|
|
58
|
+
retain OH's object-literal shape. Extend takes precedence over Styles even
|
|
59
|
+
when its component argument does not match the table.
|
|
60
|
+
- Custom struct calls use the optional property-bag and `LocalStorage` parameters
|
|
61
|
+
from OH `parseStructMembers`; a struct without fields only has the storage
|
|
62
|
+
parameter. `@Require` is enforced by the build transform, not by inventing a
|
|
63
|
+
mandatory TypeScript argument. The parser inserts the virtual constructor and
|
|
64
|
+
configured base class; explicit inheritance wins. Constructor bag properties
|
|
65
|
+
copy explicit types, not initializer-inferred types. Strict initialization
|
|
66
|
+
remains ordinary TS checking. Configured property decorators affect the
|
|
67
|
+
separate use-before-declaration check according to OH's exact conditions.
|
|
68
|
+
- Struct `@Param` members without `@Once`, and `@Env(...)`/`@CustomEnv(...)`
|
|
69
|
+
members, receive the source-defined implicit `readonly` modifier.
|
|
70
|
+
- Dollar-prefixed names use normal TS symbol lookup. The removed prefix-alias
|
|
71
|
+
inference was not defined by OH. ets2bundle's source preprocessing still owns
|
|
72
|
+
UI-property name collection; the compiler implements the OH semantic-diagnostic
|
|
73
|
+
filtering contract, while the build host supplies the collected names.
|
|
74
|
+
- SDK decorators undergo normal TS semantic checking. Source-defined configured
|
|
75
|
+
decorators and Sendable declarations have only the OH grammar exemptions;
|
|
76
|
+
there is no fixed whitelist that bypasses decorator signature checks.
|
|
77
|
+
- `ets.libs` paths load as default libraries in the explicit `lib` branch.
|
|
78
|
+
Global symbols declared exclusively in these files or their direct
|
|
79
|
+
triple-slash references are hidden from ordinary TS files. Merged non-ETS
|
|
80
|
+
declarations remain visible, matching `isValidFromLibs`.
|
|
81
|
+
|
|
82
|
+
Configuration is immutable, content-interned and part of native/JS parse-cache
|
|
83
|
+
identity. Use the actual SDK tables; the example above only demonstrates base
|
|
84
|
+
project options and does not supply component declarations or ETS tables.
|
|
85
|
+
|
|
86
|
+
## AST and API
|
|
87
|
+
|
|
88
|
+
### Annotation declarations and checking
|
|
89
|
+
|
|
90
|
+
`@interface` is parsed directly in `.ets` and `.d.ets`, including exported and
|
|
91
|
+
ambient declarations. No SDK text preprocessing is used. Annotation declarations
|
|
92
|
+
and properties carry `NodeFlagsAnnotation`; symbols carry both `Class` and
|
|
93
|
+
`Annotation`, have a typed call signature, and have no construct signatures.
|
|
94
|
+
The public API preserves these flags and exposes `isAnnotationDeclaration`.
|
|
95
|
+
Declaration output preserves the annotation spelling, property defaults,
|
|
96
|
+
annotation modifiers and the imports referenced by their expressions. Interface
|
|
97
|
+
member annotations are parsed and printed in ETS without changing TS grammar.
|
|
98
|
+
|
|
99
|
+
The checker validates annotation property types and constant expressions,
|
|
100
|
+
required/default arguments, argument types, basic application targets,
|
|
101
|
+
duplicates, type/value misuse and import/export restrictions. Diagnostics use
|
|
102
|
+
the OH source codes. `Retention` is identified by its declaration name and SDK
|
|
103
|
+
source basename, not by guessing the name of the import in application code.
|
|
104
|
+
|
|
105
|
+
The compiler host must explicitly pass `etsAnnotationsEnable: true` to enable
|
|
106
|
+
annotation declarations, as in OH `inAllowAnnotationContext`. Arkdown's build
|
|
107
|
+
entry enables it, matching ets2bundle. The option participates in native and
|
|
108
|
+
JS API parse-cache identity; it does not enable annotation syntax in `.ts`.
|
|
109
|
+
|
|
110
|
+
Source-retention policies on SDK `Retention` declarations, the expanded source
|
|
111
|
+
annotation target set and use-before-declaration diagnostics are checked. The
|
|
112
|
+
API-only `isCompileJsHar` and `moduleRootPath` host options enforce the OH HAR
|
|
113
|
+
restriction; the normalized prefix comparison intentionally follows the source.
|
|
114
|
+
|
|
115
|
+
The SDK `Available`/`SuppressWarnings` declaration identity also selects source
|
|
116
|
+
retention. The native checker implements the source-owned content/version and
|
|
117
|
+
parent-scope checks, `apiAvailable` argument validation, SDK JSDoc checks and
|
|
118
|
+
their `@Available`/`@SuppressWarnings`/guard suppressors. The build host supplies
|
|
119
|
+
the callback closure inputs as immutable compiler options. When the SDK declares
|
|
120
|
+
CommonJS `apiCheckPlugin`, `annotationCheckPlugin`, or class-style
|
|
121
|
+
`apiCheckPlugins`, the build host installs a synchronous executor that preserves
|
|
122
|
+
the source callback order and return contract. The compiler never starts Node;
|
|
123
|
+
Arkdown routes those requests back to the JS CLI process, which owns the SDK
|
|
124
|
+
`require()` ABI, class construction, regular expressions and module/instance
|
|
125
|
+
cache. Parsing, binding, type inference, diagnostics, callback selection, and
|
|
126
|
+
fallback rules remain in Go. Runtime annotation metadata lowering remains a
|
|
127
|
+
Rust/OXC consumer responsibility; it is not a TypeScript emit feature in the
|
|
128
|
+
Arkdown integration.
|
|
129
|
+
|
|
130
|
+
The native checker now implements OH's `@throws` call checks (warning 28040),
|
|
131
|
+
including function/method boundaries, try/catch and chained catch handling,
|
|
132
|
+
callback exemptions, dependency exclusions, SDK 401 tags, and the five source
|
|
133
|
+
`[since]` formats. `compileSdkVersion` and `etsLoaderPath` are build-host options;
|
|
134
|
+
an absent version does not impose a version limit. SDK matching preserves the
|
|
135
|
+
source's unescaped ECMAScript regular expression, using regexp2's ECMAScript mode.
|
|
136
|
+
|
|
137
|
+
The `getAnnotationInfo` API accepts an annotation declaration or decorator node
|
|
138
|
+
handle and returns declaration-ordered properties, registered type identities,
|
|
139
|
+
retention identity, evaluated initializer/argument values, array depth and enum
|
|
140
|
+
declaration/first-value facts. Tagged scalar strings preserve negative zero and
|
|
141
|
+
non-finite numbers across JSON. These are checker facts, not emitted expressions;
|
|
142
|
+
Arkdown's Rust/OXC consumer remains responsible for runtime lowering. Invalid
|
|
143
|
+
annotation property types/constants return no info; diagnostics remain available
|
|
144
|
+
through the existing diagnostic API.
|
|
145
|
+
|
|
146
|
+
`getAnnotationTransformInfos` batches those facts for selected files and also
|
|
147
|
+
returns the checker-owned import disposition and direct class/method runtime
|
|
148
|
+
retention decision used by OH `ohApi.ts::transformAnnotation`.
|
|
149
|
+
`getArkTSTransformTypeFacts` batches the resolved property types, `.builder`
|
|
150
|
+
receiver identities, and direct identifier-member types consumed by
|
|
151
|
+
`process_component_member.ts` and `process_component_build.ts`. It also returns
|
|
152
|
+
the SDK declaration module/function identities observed at
|
|
153
|
+
`api_check_utils.ts::checkCrossplatformValue`, allowing a native build host to
|
|
154
|
+
apply `depsModuleConfig` without reconstructing overload, alias, fluent-return,
|
|
155
|
+
or JSDoc resolution outside TypeScript. Its type-kind fields are semantic
|
|
156
|
+
booleans rather than the compiler's internal `TypeFlags` numbers: the current
|
|
157
|
+
TSGO and OH TypeScript layouts are different, so exposing raw bits would make a
|
|
158
|
+
native consumer silently apply the wrong ArkTS rule.
|
|
159
|
+
For `@ObjectLink`, the property identity distinguishes unions from intersections
|
|
160
|
+
and includes nullable/basic,
|
|
161
|
+
`@ObservedV2`, `Function`, and union-constituent facts so the Rust transform can
|
|
162
|
+
apply `checkObjectLinkType` without recreating TypeScript inference.
|
|
163
|
+
|
|
164
|
+
OH mode also preserves 4.9 enum flow semantics: a computed numeric member makes
|
|
165
|
+
the enum a regular numeric enum unless a string literal member selected the
|
|
166
|
+
literal enum path first. Ordinary TypeScript programs retain the current TSGO
|
|
167
|
+
member-literal union behavior.
|
|
168
|
+
|
|
169
|
+
OH `checker.ts::resolveExternalModule/allowImportSendable` import checks are
|
|
170
|
+
implemented for `.so` (warning 28014) and TS-to-ETS imports (28016/28017).
|
|
171
|
+
The API host supplies `tsImportSoCheck`, `needDoArkTsLinter`,
|
|
172
|
+
`isCompatibleVersion`, and `tsImportSendableEnable`. The `.so` substring branch
|
|
173
|
+
precedes ambient lookup, except for strict ETS linter mode; an unresolved `.so`
|
|
174
|
+
still warns when checking is disabled. Static Sendable imports/exports and SDK
|
|
175
|
+
declarations follow the exact source exceptions, including SDK string-prefix
|
|
176
|
+
matching. Dynamic imports and import types are not exempt. The 26 focused cases
|
|
177
|
+
check diagnostic categories as well as codes and reject unrelated diagnostics.
|
|
178
|
+
OHPM `oh_modules`/`oh-package.json5` resolution, the ets2bundle SDK/kit fallback
|
|
179
|
+
order, external-API hiding, `.js` to `.d.ets` substitution, `oh-exports` marking,
|
|
180
|
+
and the source-defined TS/ETS import checks are implemented in the native
|
|
181
|
+
resolver/checker. `getProgramSourceGraph` exposes the compiler-owned resolved
|
|
182
|
+
TS/ETS graph and type-reference files so a build consumer does not recreate
|
|
183
|
+
module resolution or the linter's JavaScript-leaf graph rule.
|
|
184
|
+
|
|
185
|
+
The ArkTS 1.1 linter is an independent diagnostics phase backed by a separate
|
|
186
|
+
strict TypeChecker, as in `ArkTSLinter_1_1/LinterRunner.ts`. It implements the
|
|
187
|
+
ETS and TS-interoperability rules, `strictCheckerOnly`, OH-module/path exclusions,
|
|
188
|
+
Sendable switches, mix-compile behavior, and diagnostic filtering. The complete
|
|
189
|
+
OpenHarmony `tests/arkTSTest/testcase` expectation corpus is compared by exact
|
|
190
|
+
message and source position in `TestArkTSLinterOpenHarmonyCorpus`.
|
|
191
|
+
|
|
192
|
+
`disableStrictCheckPaths` follows
|
|
193
|
+
`ArkTSLinter_1_1/Utils.ts::configureStrictCheckOHModule` literally: an absent
|
|
194
|
+
array selects `node_modules`, `oh_modules`, `build`, and `.preview`; an explicit
|
|
195
|
+
empty array selects none; empty and duplicate entries are removed; and
|
|
196
|
+
`enableStrictCheckOHModule` removes only the exact `oh_modules` component. Path
|
|
197
|
+
components remain case-sensitive. This policy is shared by library-symbol
|
|
198
|
+
classification and the strict-diagnostic fallback. The declaration and
|
|
199
|
+
`oh_modules` diagnostic filter is activated only by `needDoArkTsLinter`, as in
|
|
200
|
+
`program.ts`; enabling another OH option does not silently hide diagnostics.
|
|
201
|
+
|
|
202
|
+
The API-only `maxFlowDepth` option follows the OH checker's numeric depth
|
|
203
|
+
comparison and defaults to 2000 for an absent/zero value. The build host owns
|
|
204
|
+
the upstream 2000–65535 range validation; the compiler does not round values.
|
|
205
|
+
|
|
206
|
+
DSL activation distinguishes bare Builder/LocalBuilder/Styles decorators from
|
|
207
|
+
calls and qualified names. Extend/AnimatableExtend require a call with an
|
|
208
|
+
identifier component argument; `@Builder()` and bare `@Extend` do not switch
|
|
209
|
+
an ordinary call followed by a block into a component expression.
|
|
210
|
+
|
|
211
|
+
## Source parity boundary
|
|
212
|
+
|
|
213
|
+
The ArkTS 1.1 type frontend is audited against OpenHarmony
|
|
214
|
+
`third_party_typescript` commit
|
|
215
|
+
`9cc62fe98f47c0bf113676e3fb33fe932b493052`. For the Arkdown integration the
|
|
216
|
+
source-owned type surface consists of parsing and binding ETS nodes, type and
|
|
217
|
+
flow inference, semantic and linter diagnostics, OH/kit resolution, SDK API
|
|
218
|
+
validation callbacks, and the checker facts consumed by native transforms.
|
|
219
|
+
Those paths are implemented in Go and exercised by focused tests plus the full
|
|
220
|
+
ArkTS 1.1 linter corpus.
|
|
221
|
+
|
|
222
|
+
The SDK callback bridge preserves the source distinctions between callback
|
|
223
|
+
families: value and format plugin load failures try the next registration;
|
|
224
|
+
distribution callbacks retain the last successful value and stop on a later
|
|
225
|
+
load or invocation failure; build-version-regex failures stop lookup; and
|
|
226
|
+
class plugin load/constructor failures remove that registration. The class
|
|
227
|
+
checker receives the complete caller-provided `projectConfig` object, including
|
|
228
|
+
fields unknown to the compiler API, while its syscap collections are restored
|
|
229
|
+
as JavaScript `Set` objects. The worker loads the OH TypeScript runtime from
|
|
230
|
+
`etsLoaderPath/node_modules/typescript`, matching the SDK layout installed by
|
|
231
|
+
`developtools_ace_ets2bundle/install_arkguard_tsc_declgen.py`.
|
|
232
|
+
|
|
233
|
+
API build diagnostics use the compiler's dependency-partitioned normal checker
|
|
234
|
+
pool and retain that pool for the immutable Program lifetime. Batched ArkTS
|
|
235
|
+
transform facts run on the same file/checker associations, so they reuse the
|
|
236
|
+
types populated by diagnostics instead of constructing a second service
|
|
237
|
+
checker. The strict ArkTS linter keeps its independent checker pool, matching
|
|
238
|
+
the source's separate linter program. As defined by
|
|
239
|
+
`checker.ts::createTypeChecker`, its SDK JSDoc callback surface is disabled in
|
|
240
|
+
normal linter mode and retained only for `strictCheckerOnly`. After the normal
|
|
241
|
+
and strict semantic passes, `LinterRunner.ts::runArkTSLinter` resets both JSDoc
|
|
242
|
+
surfaces before standalone lint traversal and later transform-fact queries.
|
|
243
|
+
Source-retention and `apiAvailable` callbacks are independent of that reset.
|
|
244
|
+
Parallel fact responses are written by their original request index;
|
|
245
|
+
concurrency therefore does not change the public ordering.
|
|
246
|
+
|
|
247
|
+
The following source changes are deliberately not separate TSGO capabilities:
|
|
248
|
+
|
|
249
|
+
- JavaScript lowering, annotation metadata emission, ArkUI runtime transforms,
|
|
250
|
+
obfuscation and source-map rewriting are production Rust/OXC responsibilities.
|
|
251
|
+
- `convertTsAstToJsAst` has no production caller in the current OH compiler or
|
|
252
|
+
ets2bundle source; no unused ESTree compatibility API is reproduced.
|
|
253
|
+
- builder/document-registry cache flags and checker release hooks are lifecycle
|
|
254
|
+
optimizations. TSGO uses content-keyed snapshots, parse caches and explicit
|
|
255
|
+
checker ownership instead of copying the JavaScript cache architecture.
|
|
256
|
+
- Standard TypeScript behavior added by the newer TSGO base is not an ArkTS
|
|
257
|
+
extension gap. Product configuration choosing a language version is likewise
|
|
258
|
+
a build-host policy, not a missing type-checker capability.
|
|
259
|
+
|
|
260
|
+
`node tools/scripts/package-arkts.mjs` builds the three existing release targets
|
|
261
|
+
without replacing an older directory. A dirty build has an explicit worktree
|
|
262
|
+
fingerprint; `BUILD.json` and `SHA256SUMS` record binary/archive identities.
|
|
263
|
+
The source diff and added files are retained alongside the packages. Building a
|
|
264
|
+
foreign target does not constitute runtime validation on that platform.
|
|
265
|
+
|
|
266
|
+
### Shared syntax storage
|
|
267
|
+
|
|
268
|
+
Structs reuse `ClassDeclaration`, identified by `NodeFlagsStruct` and
|
|
269
|
+
`ast.IsStructDeclaration`. Render calls reuse `CallExpression`, identified by
|
|
270
|
+
`NodeFlagsEtsComponent` and `ast.IsEtsComponentExpression`; `EtsBody` holds the
|
|
271
|
+
optional content block. Visitors, cloning, printing and the remote AST protocol
|
|
272
|
+
preserve this body. The TypeScript API exposes corresponding predicates and
|
|
273
|
+
`etsBody`.
|
|
274
|
+
|
|
275
|
+
Virtual constructor/receiver/type nodes carry a separate `virtual` marker,
|
|
276
|
+
preserved in Go/JS cloning and encoding. Virtual nodes are not missing nodes;
|
|
277
|
+
token positions and trailing-comma detection respect this distinction. Source
|
|
278
|
+
printing and reparsing is not a substitute for transporting the virtual AST.
|
|
279
|
+
|
|
280
|
+
The AST wire protocol is version 10 (48-byte header, 32-byte nodes); use the matching Go binary and TypeScript API
|
|
281
|
+
package. The call-expression factories now take the optional body before flags.
|
|
282
|
+
LSP language IDs `ets` and `arkts` select ETS; editors must also associate `.ets`
|
|
283
|
+
files with that language ID.
|
|
284
|
+
|
|
285
|
+
## References and validation
|
|
286
|
+
|
|
287
|
+
The implementation was informed by:
|
|
288
|
+
|
|
289
|
+
- Local oxc at `86e108aa76fd2a963bdf702b1cd24084db17f1d0`, particularly
|
|
290
|
+
`crates/oxc_parser/src/js/arkui.rs`, its render-context handling, and
|
|
291
|
+
`crates/oxc_span/src/source_type.rs`.
|
|
292
|
+
- [OpenHarmony third_party_typescript](https://github.com/openharmony/third_party_typescript/tree/9cc62fe98f47c0bf113676e3fb33fe932b493052),
|
|
293
|
+
particularly the ETS paths in `src/compiler/parser.ts`, `checker.ts` and
|
|
294
|
+
`types.ts`.
|
|
295
|
+
|
|
296
|
+
Focused tests live under `tsc/internal` in the parser, compiler, resolver,
|
|
297
|
+
project and API packages. They cover parsing and context isolation, printing
|
|
298
|
+
and cloning, typed component calls and styles, annotation/retention facts,
|
|
299
|
+
SDK callbacks, OH resolution, import rules, diagnostics, source-graph queries,
|
|
300
|
+
the independent linter, JavaScript emit rejection and AST protocol round trips.
|
|
301
|
+
|
|
302
|
+
```sh
|
|
303
|
+
go test ./tsc/internal/parser ./tsc/internal/compiler \
|
|
304
|
+
./tsc/internal/tspath ./tsc/internal/api/encoder -run TestArkUI
|
|
305
|
+
|
|
306
|
+
OH_TYPESCRIPT_SOURCE=/path/to/third_party_typescript \
|
|
307
|
+
go test ./tsc/internal/compiler -run TestArkTSLinterOpenHarmonyCorpus -count=1
|
|
308
|
+
```
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commit": "583e9e8b5450c6de49bbe985bd836d7941c7a961",
|
|
3
|
+
"dirty": false,
|
|
4
|
+
"source_fingerprint": "0365337ce20b7af030e80f396530397b2f8c280e4d3b5691ecd4584c8d63f342",
|
|
5
|
+
"go": "go version go1.26.0 darwin/arm64",
|
|
6
|
+
"GOOS": "windows",
|
|
7
|
+
"GOARCH": "amd64",
|
|
8
|
+
"CGO_ENABLED": "0",
|
|
9
|
+
"embedded_typescript_libs": true,
|
|
10
|
+
"binary_sha256": "d23647d439bb4c3f3e39730afabfdc6f037b765bdfadbb7809ea1cb39d47721b",
|
|
11
|
+
"validation": "Run frontend, API, corpus and JS CLI acceptance separately; cross-build success is not runtime validation."
|
|
12
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
|
|
5
|
+
http://www.apache.org/licenses/
|
|
6
|
+
|
|
7
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
8
|
+
|
|
9
|
+
1. Definitions.
|
|
10
|
+
|
|
11
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
16
|
+
|
|
17
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
18
|
+
|
|
19
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
20
|
+
|
|
21
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
22
|
+
|
|
23
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
|
24
|
+
|
|
25
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
26
|
+
|
|
27
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
28
|
+
|
|
29
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
30
|
+
|
|
31
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
32
|
+
|
|
33
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
34
|
+
|
|
35
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
36
|
+
|
|
37
|
+
You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
38
|
+
|
|
39
|
+
You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
40
|
+
|
|
41
|
+
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
42
|
+
|
|
43
|
+
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
44
|
+
|
|
45
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
|
46
|
+
|
|
47
|
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
48
|
+
|
|
49
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
50
|
+
|
|
51
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
52
|
+
|
|
53
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
54
|
+
|
|
55
|
+
END OF TERMS AND CONDITIONS
|
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
NOTICES AND INFORMATION
|
|
2
|
+
Do Not Translate or Localize
|
|
3
|
+
|
|
4
|
+
This software incorporates material from third parties.
|
|
5
|
+
Microsoft makes certain open source code available at https://3rdpartysource.microsoft.com,
|
|
6
|
+
or you may send a check or money order for US $5.00, including the product name,
|
|
7
|
+
the open source component name, platform, and version number, to:
|
|
8
|
+
|
|
9
|
+
Source Code Compliance Team
|
|
10
|
+
Microsoft Corporation
|
|
11
|
+
One Microsoft Way
|
|
12
|
+
Redmond, WA 98052
|
|
13
|
+
USA
|
|
14
|
+
|
|
15
|
+
Notwithstanding any other terms, you may reverse engineer this software to the extent
|
|
16
|
+
required to debug changes to any libraries licensed under the GNU Lesser General Public License.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
------------------- DefinitelyTyped --------------------
|
|
20
|
+
This file is based on or incorporates material from the projects listed below (collectively "Third Party Code"). Microsoft is not the original author of the Third Party Code. The original copyright notice and the license, under which Microsoft received such Third Party Code, are set forth below. Such licenses and notices are provided for informational purposes only. Microsoft, not the third party, licenses the Third Party Code to you under the terms set forth in the EULA for the Microsoft Product. Microsoft reserves all other rights not expressly granted under this agreement, whether by implication, estoppel or otherwise.
|
|
21
|
+
DefinitelyTyped
|
|
22
|
+
This project is licensed under the MIT license. Copyrights are respective of each contributor listed at the beginning of each definition file. Provided for Informational Purposes Only
|
|
23
|
+
|
|
24
|
+
MIT License
|
|
25
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
26
|
+
|
|
27
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
28
|
+
|
|
29
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
30
|
+
--------------------------------------------------------------------------------------
|
|
31
|
+
|
|
32
|
+
------------------- Unicode --------------------
|
|
33
|
+
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
|
34
|
+
|
|
35
|
+
Unicode Data Files include all data files under the directories
|
|
36
|
+
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
|
|
37
|
+
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
|
|
38
|
+
http://www.unicode.org/utility/trac/browser/.
|
|
39
|
+
|
|
40
|
+
Unicode Data Files do not include PDF online code charts under the
|
|
41
|
+
directory http://www.unicode.org/Public/.
|
|
42
|
+
|
|
43
|
+
Software includes any source code published in the Unicode Standard
|
|
44
|
+
or under the directories
|
|
45
|
+
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
|
|
46
|
+
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
|
|
47
|
+
http://www.unicode.org/utility/trac/browser/.
|
|
48
|
+
|
|
49
|
+
NOTICE TO USER: Carefully read the following legal agreement.
|
|
50
|
+
BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
|
|
51
|
+
DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
|
|
52
|
+
YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
|
53
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT.
|
|
54
|
+
IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
|
|
55
|
+
THE DATA FILES OR SOFTWARE.
|
|
56
|
+
|
|
57
|
+
COPYRIGHT AND PERMISSION NOTICE
|
|
58
|
+
|
|
59
|
+
Copyright (c) 1991-2017 Unicode, Inc. All rights reserved.
|
|
60
|
+
Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
|
|
61
|
+
|
|
62
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
63
|
+
a copy of the Unicode data files and any associated documentation
|
|
64
|
+
(the "Data Files") or Unicode software and any associated documentation
|
|
65
|
+
(the "Software") to deal in the Data Files or Software
|
|
66
|
+
without restriction, including without limitation the rights to use,
|
|
67
|
+
copy, modify, merge, publish, distribute, and/or sell copies of
|
|
68
|
+
the Data Files or Software, and to permit persons to whom the Data Files
|
|
69
|
+
or Software are furnished to do so, provided that either
|
|
70
|
+
(a) this copyright and permission notice appear with all copies
|
|
71
|
+
of the Data Files or Software, or
|
|
72
|
+
(b) this copyright and permission notice appear in associated
|
|
73
|
+
Documentation.
|
|
74
|
+
|
|
75
|
+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
76
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
77
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
78
|
+
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
|
79
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
|
|
80
|
+
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
|
|
81
|
+
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
82
|
+
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
83
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
84
|
+
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
|
85
|
+
|
|
86
|
+
Except as contained in this notice, the name of a copyright holder
|
|
87
|
+
shall not be used in advertising or otherwise to promote the sale,
|
|
88
|
+
use or other dealings in these Data Files or Software without prior
|
|
89
|
+
written authorization of the copyright holder.
|
|
90
|
+
-------------------------------------------------------------------------------------
|
|
91
|
+
|
|
92
|
+
-------------------Document Object Model-----------------------------
|
|
93
|
+
DOM
|
|
94
|
+
|
|
95
|
+
W3C License
|
|
96
|
+
This work is being provided by the copyright holders under the following license.
|
|
97
|
+
By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
|
|
98
|
+
Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following
|
|
99
|
+
on ALL copies of the work or portions thereof, including modifications:
|
|
100
|
+
* The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
|
|
101
|
+
* Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included.
|
|
102
|
+
* Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived
|
|
103
|
+
from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)."
|
|
104
|
+
Disclaimers
|
|
105
|
+
THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR
|
|
106
|
+
FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
|
107
|
+
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT.
|
|
108
|
+
The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission.
|
|
109
|
+
Title to copyright in this work will at all times remain with copyright holders.
|
|
110
|
+
|
|
111
|
+
---------
|
|
112
|
+
|
|
113
|
+
DOM
|
|
114
|
+
Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a Creative Commons Attribution 4.0 International License: Attribution 4.0 International
|
|
115
|
+
=======================================================================
|
|
116
|
+
Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. Using Creative Commons Public Licenses Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC- licensed material, or material used under an exception or limitation to copyright. More considerations for licensors:
|
|
117
|
+
|
|
118
|
+
wiki.creativecommons.org/Considerations_for_licensors Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor's permission is not necessary for any reason--for example, because of any applicable exception or limitation to copyright--then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More_considerations for the public: wiki.creativecommons.org/Considerations_for_licensees =======================================================================
|
|
119
|
+
Creative Commons Attribution 4.0 International Public License By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. Section 1 -- Definitions. a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. c. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. d. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. e. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. f. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. g. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. h. Licensor means the individual(s) or entity(ies) granting rights under this Public License. i. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. j. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. k. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. Section 2 -- Scope. a. License grant. 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: a. reproduce and Share the Licensed Material, in whole or in part; and b. produce, reproduce, and Share Adapted Material. 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. 3. Term. The term of this Public License is specified in Section 6(a). 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a) (4) never produces Adapted Material. 5. Downstream recipients. a. Offer from the Licensor -- Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. b. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). b. Other rights. 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. 2. Patent and trademark rights are not licensed under this Public License. 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. Section 3 -- License Conditions. Your exercise of the Licensed Rights is expressly made subject to the following conditions. a. Attribution. 1. If You Share the Licensed Material (including in modified form), You must: a. retain the following if it is supplied by the Licensor with the Licensed Material: i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); ii. a copyright notice; iii. a notice that refers to this Public License; iv. a notice that refers to the disclaimer of warranties; v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; b. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and c. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. 4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License. Section 4 -- Sui Generis Database Rights. Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. Section 5 -- Disclaimer of Warranties and Limitation of Liability. a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. Section 6 -- Term and Termination. a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or 2. upon express reinstatement by the Licensor. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. Section 7 -- Other Terms and Conditions. a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. Section 8 -- Interpretation. a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. ======================================================================= Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. Creative Commons may be contacted at creativecommons.org.
|
|
120
|
+
|
|
121
|
+
--------------------------------------------------------------------------------
|
|
122
|
+
|
|
123
|
+
----------------------Web Background Synchronization------------------------------
|
|
124
|
+
|
|
125
|
+
Web Background Synchronization Specification
|
|
126
|
+
Portions of spec © by W3C
|
|
127
|
+
|
|
128
|
+
W3C Community Final Specification Agreement
|
|
129
|
+
To secure commitments from participants for the full text of a Community or Business Group Report, the group may call for voluntary commitments to the following terms; a "summary" is
|
|
130
|
+
available. See also the related "W3C Community Contributor License Agreement".
|
|
131
|
+
1. The Purpose of this Agreement.
|
|
132
|
+
This Agreement sets forth the terms under which I make certain copyright and patent rights available to you for your implementation of the Specification.
|
|
133
|
+
Any other capitalized terms not specifically defined herein have the same meaning as those terms have in the "W3C Patent Policy", and if not defined there, in the "W3C Process Document".
|
|
134
|
+
2. Copyrights.
|
|
135
|
+
2.1. Copyright Grant. I grant to you a perpetual (for the duration of the applicable copyright), worldwide, non-exclusive, no-charge, royalty-free, copyright license, without any obligation for accounting to me, to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, distribute, and implement the Specification to the full extent of my copyright interest in the Specification.
|
|
136
|
+
2.2. Attribution. As a condition of the copyright grant, you must include an attribution to the Specification in any derivative work you make based on the Specification. That attribution must include, at minimum, the Specification name and version number.
|
|
137
|
+
3. Patents.
|
|
138
|
+
3.1. Patent Licensing Commitment. I agree to license my Essential Claims under the W3C Community RF Licensing Requirements. This requirement includes Essential Claims that I own and any that I have the right to license without obligation of payment or other consideration to an unrelated third party. W3C Community RF Licensing Requirements obligations made concerning the Specification and described in this policy are binding on me for the life of the patents in question and encumber the patents containing Essential Claims, regardless of changes in participation status or W3C Membership. I also agree to license my Essential Claims under the W3C Community RF Licensing Requirements in derivative works of the Specification so long as all normative portions of the Specification are maintained and that this licensing commitment does not extend to any portion of the derivative work that was not included in the Specification.
|
|
139
|
+
3.2. Optional, Additional Patent Grant. In addition to the provisions of Section 3.1, I may also, at my option, make certain intellectual property rights infringed by implementations of the Specification, including Essential Claims, available by providing those terms via the W3C Web site.
|
|
140
|
+
4. No Other Rights. Except as specifically set forth in this Agreement, no other express or implied patent, trademark, copyright, or other property rights are granted under this Agreement, including by implication, waiver, or estoppel.
|
|
141
|
+
5. Antitrust Compliance. I acknowledge that I may compete with other participants, that I am under no obligation to implement the Specification, that each participant is free to develop competing technologies and standards, and that each party is free to license its patent rights to third parties, including for the purpose of enabling competing technologies and standards.
|
|
142
|
+
6. Non-Circumvention. I agree that I will not intentionally take or willfully assist any third party to take any action for the purpose of circumventing my obligations under this Agreement.
|
|
143
|
+
7. Transition to W3C Recommendation Track. The Specification developed by the Project may transition to the W3C Recommendation Track. The W3C Team is responsible for notifying me that a Corresponding Working Group has been chartered. I have no obligation to join the Corresponding Working Group. If the Specification developed by the Project transitions to the W3C Recommendation Track, the following terms apply:
|
|
144
|
+
7.1. If I join the Corresponding Working Group. If I join the Corresponding Working Group, I will be subject to all W3C rules, obligations, licensing commitments, and policies that govern that Corresponding Working Group.
|
|
145
|
+
7.2. If I Do Not Join the Corresponding Working Group.
|
|
146
|
+
7.2.1. Licensing Obligations to Resulting Specification. If I do not join the Corresponding Working Group, I agree to offer patent licenses according to the W3C Royalty-Free licensing requirements described in Section 5 of the W3C Patent Policy for the portions of the Specification included in the resulting Recommendation. This licensing commitment does not extend to any portion of an implementation of the Recommendation that was not included in the Specification. This licensing commitment may not be revoked but may be modified through the exclusion process defined in Section 4 of the W3C Patent Policy. I am not required to join the Corresponding Working Group to exclude patents from the W3C Royalty-Free licensing commitment, but must otherwise follow the normal exclusion procedures defined by the W3C Patent Policy. The W3C Team will notify me of any Call for Exclusion in the Corresponding Working Group as set forth in Section 4.5 of the W3C Patent Policy.
|
|
147
|
+
7.2.2. No Disclosure Obligation. If I do not join the Corresponding Working Group, I have no patent disclosure obligations outside of those set forth in Section 6 of the W3C Patent Policy.
|
|
148
|
+
8. Conflict of Interest. I will disclose significant relationships when those relationships might reasonably be perceived as creating a conflict of interest with my role. I will notify W3C of any change in my affiliation using W3C-provided mechanisms.
|
|
149
|
+
9. Representations, Warranties and Disclaimers. I represent and warrant that I am legally entitled to grant the rights and promises set forth in this Agreement. IN ALL OTHER RESPECTS THE SPECIFICATION IS PROVIDED “AS IS.” The entire risk as to implementing or otherwise using the Specification is assumed by the implementer and user. Except as stated herein, I expressly disclaim any warranties (express, implied, or otherwise), including implied warranties of merchantability, non-infringement, fitness for a particular purpose, or title, related to the Specification. IN NO EVENT WILL ANY PARTY BE LIABLE TO ANY OTHER PARTY FOR LOST PROFITS OR ANY FORM OF INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER FROM ANY CAUSES OF ACTION OF ANY KIND WITH RESPECT TO THIS AGREEMENT, WHETHER BASED ON BREACH OF CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, AND WHETHER OR NOT THE OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. All of my obligations under Section 3 regarding the transfer, successors in interest, or assignment of Granted Claims will be satisfied if I notify the transferee or assignee of any patent that I know contains Granted Claims of the obligations under Section 3. Nothing in this Agreement requires me to undertake a patent search.
|
|
150
|
+
10. Definitions.
|
|
151
|
+
10.1. Agreement. “Agreement” means this W3C Community Final Specification Agreement.
|
|
152
|
+
10.2. Corresponding Working Group. “Corresponding Working Group” is a W3C Working Group that is chartered to develop a Recommendation, as defined in the W3C Process Document, that takes the Specification as an input.
|
|
153
|
+
10.3. Essential Claims. “Essential Claims” shall mean all claims in any patent or patent application in any jurisdiction in the world that would necessarily be infringed by implementation of the Specification. A claim is necessarily infringed hereunder only when it is not possible to avoid infringing it because there is no non-infringing alternative for implementing the normative portions of the Specification. Existence of a non-infringing alternative shall be judged based on the state of the art at the time of the publication of the Specification. The following are expressly excluded from and shall not be deemed to constitute Essential Claims:
|
|
154
|
+
10.3.1. any claims other than as set forth above even if contained in the same patent as Essential Claims; and
|
|
155
|
+
10.3.2. claims which would be infringed only by:
|
|
156
|
+
portions of an implementation that are not specified in the normative portions of the Specification, or
|
|
157
|
+
enabling technologies that may be necessary to make or use any product or portion thereof that complies with the Specification and are not themselves expressly set forth in the Specification (e.g., semiconductor manufacturing technology, compiler technology, object-oriented technology, basic operating system technology, and the like); or
|
|
158
|
+
the implementation of technology developed elsewhere and merely incorporated by reference in the body of the Specification.
|
|
159
|
+
10.3.3. design patents and design registrations.
|
|
160
|
+
For purposes of this definition, the normative portions of the Specification shall be deemed to include only architectural and interoperability requirements. Optional features in the RFC 2119 sense are considered normative unless they are specifically identified as informative. Implementation examples or any other material that merely illustrate the requirements of the Specification are informative, rather than normative.
|
|
161
|
+
10.4. I, Me, or My. “I,” “me,” or “my” refers to the signatory.
|
|
162
|
+
10.5 Project. “Project” means the W3C Community Group or Business Group for which I executed this Agreement.
|
|
163
|
+
10.6. Specification. “Specification” means the Specification identified by the Project as the target of this agreement in a call for Final Specification Commitments. W3C shall provide the authoritative mechanisms for the identification of this Specification.
|
|
164
|
+
10.7. W3C Community RF Licensing Requirements. “W3C Community RF Licensing Requirements” license shall mean a non-assignable, non-sublicensable license to make, have made, use, sell, have sold, offer to sell, import, and distribute and dispose of implementations of the Specification that:
|
|
165
|
+
10.7.1. shall be available to all, worldwide, whether or not they are W3C Members;
|
|
166
|
+
10.7.2. shall extend to all Essential Claims owned or controlled by me;
|
|
167
|
+
10.7.3. may be limited to implementations of the Specification, and to what is required by the Specification;
|
|
168
|
+
10.7.4. may be conditioned on a grant of a reciprocal RF license (as defined in this policy) to all Essential Claims owned or controlled by the licensee. A reciprocal license may be required to be available to all, and a reciprocal license may itself be conditioned on a further reciprocal license from all.
|
|
169
|
+
10.7.5. may not be conditioned on payment of royalties, fees or other consideration;
|
|
170
|
+
10.7.6. may be suspended with respect to any licensee when licensor issued by licensee for infringement of claims essential to implement the Specification or any W3C Recommendation;
|
|
171
|
+
10.7.7. may not impose any further conditions or restrictions on the use of any technology, intellectual property rights, or other restrictions on behavior of the licensee, but may include reasonable, customary terms relating to operation or maintenance of the license relationship such as the following: choice of law and dispute resolution;
|
|
172
|
+
10.7.8. shall not be considered accepted by an implementer who manifests an intent not to accept the terms of the W3C Community RF Licensing Requirements license as offered by the licensor.
|
|
173
|
+
10.7.9. The RF license conforming to the requirements in this policy shall be made available by the licensor as long as the Specification is in effect. The term of such license shall be for the life of the patents in question.
|
|
174
|
+
I am encouraged to provide a contact from which licensing information can be obtained and other relevant licensing information. Any such information will be made publicly available.
|
|
175
|
+
10.8. You or Your. “You,” “you,” or “your” means any person or entity who exercises copyright or patent rights granted under this Agreement, and any person that person or entity controls.
|
|
176
|
+
|
|
177
|
+
-------------------------------------------------------------------------------------
|
|
178
|
+
|
|
179
|
+
------------------- WebGL -----------------------------
|
|
180
|
+
Copyright (c) 2018 The Khronos Group Inc.
|
|
181
|
+
|
|
182
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
183
|
+
copy of this software and/or associated documentation files (the
|
|
184
|
+
"Materials"), to deal in the Materials without restriction, including
|
|
185
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
186
|
+
distribute, sublicense, and/or sell copies of the Materials, and to
|
|
187
|
+
permit persons to whom the Materials are furnished to do so, subject to
|
|
188
|
+
the following conditions:
|
|
189
|
+
|
|
190
|
+
The above copyright notice and this permission notice shall be included
|
|
191
|
+
in all copies or substantial portions of the Materials.
|
|
192
|
+
|
|
193
|
+
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
194
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
195
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
196
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
197
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
198
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
199
|
+
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
200
|
+
------------------------------------------------------
|
|
201
|
+
|
|
202
|
+
---------------------------------------------------------
|
|
203
|
+
|
|
204
|
+
github.com/zeebo/xxh3 v1.1.0 - BSD-2-Clause
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
Copyright (c) 2019, Jeff Wendling
|
|
208
|
+
Copyright (c) 2012-2014, Yann Collet
|
|
209
|
+
|
|
210
|
+
Copyright (c) <year> <owner> . All rights reserved.
|
|
211
|
+
|
|
212
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
213
|
+
|
|
214
|
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
215
|
+
|
|
216
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
217
|
+
|
|
218
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
219
|
+
|
|
220
|
+
---------------------------------------------------------
|
|
221
|
+
|
|
222
|
+
---------------------------------------------------------
|
|
223
|
+
|
|
224
|
+
github.com/go-json-experiment/json v0.0.0-20260623181947-01eb4420fa68 - BSD-3-Clause
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
Copyright 2010 The Go Authors
|
|
228
|
+
Copyright 2011 The Go Authors
|
|
229
|
+
Copyright 2016 The Go Authors
|
|
230
|
+
Copyright 2018 The Go Authors
|
|
231
|
+
Copyright 2020 The Go Authors
|
|
232
|
+
Copyright 2021 The Go Authors
|
|
233
|
+
Copyright 2022 The Go Authors
|
|
234
|
+
Copyright 2023 The Go Authors
|
|
235
|
+
Copyright 2024 The Go Authors
|
|
236
|
+
Copyright (c) 2020 The Go Authors
|
|
237
|
+
|
|
238
|
+
Copyright (c) <year> <owner> . All rights reserved.
|
|
239
|
+
|
|
240
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
241
|
+
|
|
242
|
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
243
|
+
|
|
244
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
245
|
+
|
|
246
|
+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
247
|
+
|
|
248
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
249
|
+
|
|
250
|
+
---------------------------------------------------------
|
|
251
|
+
|
|
252
|
+
---------------------------------------------------------
|
|
253
|
+
|
|
254
|
+
golang.org/x/sync v0.21.0 - BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
Copyright 2009 The Go Authors
|
|
258
|
+
Copyright 2013 The Go Authors
|
|
259
|
+
Copyright 2016 The Go Authors
|
|
260
|
+
Copyright 2017 The Go Authors
|
|
261
|
+
Copyright 2019 The Go Authors
|
|
262
|
+
|
|
263
|
+
BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
264
|
+
|
|
265
|
+
---------------------------------------------------------
|
|
266
|
+
|
|
267
|
+
---------------------------------------------------------
|
|
268
|
+
|
|
269
|
+
golang.org/x/sys v0.46.0 - BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
Copyright 2009 The Go Authors
|
|
273
|
+
Copyright 2010 The Go Authors
|
|
274
|
+
Copyright 2011 The Go Authors
|
|
275
|
+
Copyright 2012 The Go Authors
|
|
276
|
+
Copyright 2013 The Go Authors
|
|
277
|
+
Copyright 2014 The Go Authors
|
|
278
|
+
Copyright 2015 The Go Authors
|
|
279
|
+
Copyright 2016 The Go Authors
|
|
280
|
+
Copyright 2017 The Go Authors
|
|
281
|
+
Copyright 2018 The Go Authors
|
|
282
|
+
Copyright 2019 The Go Authors
|
|
283
|
+
Copyright 2020 The Go Authors
|
|
284
|
+
Copyright 2021 The Go Authors
|
|
285
|
+
Copyright 2022 The Go Authors
|
|
286
|
+
Copyright 2023 The Go Authors
|
|
287
|
+
Copyright 2024 The Go Authors
|
|
288
|
+
Copyright 2025 The Go Authors
|
|
289
|
+
Copyright 2009,2010 The Go Authors
|
|
290
|
+
|
|
291
|
+
BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
292
|
+
|
|
293
|
+
---------------------------------------------------------
|
|
294
|
+
|
|
295
|
+
---------------------------------------------------------
|
|
296
|
+
|
|
297
|
+
golang.org/x/term v0.44.0 - BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
Copyright 2009 The Go Authors
|
|
301
|
+
Copyright 2011 The Go Authors
|
|
302
|
+
Copyright 2013 The Go Authors
|
|
303
|
+
Copyright 2019 The Go Authors
|
|
304
|
+
Copyright 2021 The Go Authors
|
|
305
|
+
|
|
306
|
+
BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
307
|
+
|
|
308
|
+
---------------------------------------------------------
|
|
309
|
+
|
|
310
|
+
---------------------------------------------------------
|
|
311
|
+
|
|
312
|
+
golang.org/x/text v0.38.0 - BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
(c) AeHa (c)
|
|
316
|
+
(c) EeAoq (c)
|
|
317
|
+
(c) EAiE (c) A
|
|
318
|
+
(c) lEEe (c) AE
|
|
319
|
+
(c) (c) AAEE (c)
|
|
320
|
+
(c) oav!A (c) AY
|
|
321
|
+
(c) aA"AE (c) 1AE (c)
|
|
322
|
+
Copyright 2009 The Go Authors
|
|
323
|
+
Copyright 2011 The Go Authors
|
|
324
|
+
Copyright 2012 The Go Authors
|
|
325
|
+
Copyright 2013 The Go Authors
|
|
326
|
+
Copyright 2014 The Go Authors
|
|
327
|
+
Copyright 2015 The Go Authors
|
|
328
|
+
Copyright 2016 The Go Authors
|
|
329
|
+
Copyright 2017 The Go Authors
|
|
330
|
+
Copyright 2018 The Go Authors
|
|
331
|
+
Copyright 2019 The Go Authors
|
|
332
|
+
Copyright 2021 The Go Authors
|
|
333
|
+
Copyright 2025 The Go Authors
|
|
334
|
+
|
|
335
|
+
BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
336
|
+
|
|
337
|
+
---------------------------------------------------------
|
|
338
|
+
|
|
339
|
+
---------------------------------------------------------
|
|
340
|
+
|
|
341
|
+
github.com/klauspost/cpuid/v2 v2.2.10 - MIT
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
Copyright (c) 2015 Klaus Post
|
|
345
|
+
Copyright (c) 2020 Klaus Post
|
|
346
|
+
Copyright (c) 2021 Klaus Post
|
|
347
|
+
Copyright 2018 The Go Authors
|
|
348
|
+
Copyright (c) 2015- Klaus Post & Contributors
|
|
349
|
+
|
|
350
|
+
MIT License
|
|
351
|
+
|
|
352
|
+
Copyright (c) <year> <copyright holders>
|
|
353
|
+
|
|
354
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
355
|
+
|
|
356
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
357
|
+
|
|
358
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
359
|
+
|
|
360
|
+
---------------------------------------------------------
|
|
361
|
+
|
|
362
|
+
---------------------------------------------------------
|
|
363
|
+
|
|
364
|
+
github.com/Microsoft/go-winio v0.6.2 - MIT
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
Copyright (c) 2015 Microsoft
|
|
368
|
+
Copyright 2013 The Go Authors
|
|
369
|
+
|
|
370
|
+
MIT License
|
|
371
|
+
|
|
372
|
+
Copyright (c) <year> <copyright holders>
|
|
373
|
+
|
|
374
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
375
|
+
|
|
376
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
377
|
+
|
|
378
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
379
|
+
|
|
380
|
+
---------------------------------------------------------
|
|
381
|
+
|
|
382
|
+
---------------------------------------------------------
|
|
383
|
+
|
|
384
|
+
github.com/mackerelio/go-osstat v0.2.7 - Apache-2.0
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
Copyright 2017-2019 Hatena Co., Ltd.
|
|
388
|
+
|
|
389
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
390
|
+
you may not use this file except in compliance with the License.
|
|
391
|
+
You may obtain a copy of the License at
|
|
392
|
+
|
|
393
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
394
|
+
|
|
395
|
+
Unless required by applicable law or agreed to in writing, software
|
|
396
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
397
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
398
|
+
See the License for the specific language governing permissions and
|
|
399
|
+
limitations under the License.
|
|
400
|
+
|
|
401
|
+
---------------------------------------------------------
|
|
402
|
+
|
|
403
|
+
---------------------------------------------------------
|
|
404
|
+
|
|
405
|
+
parcel-bundler/watcher 8926bb8b281733bbfcaf69bb4e62ab7a1431c42a - MIT
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
Copyright Node.js contributors
|
|
409
|
+
Copyright 2012-2020 Facebook, Inc.
|
|
410
|
+
Copyright (c) 2017-present Devon Govett
|
|
411
|
+
|
|
412
|
+
MIT License
|
|
413
|
+
|
|
414
|
+
Copyright (c) 2017-present Devon Govett
|
|
415
|
+
|
|
416
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
417
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
418
|
+
in the Software without restriction, including without limitation the rights
|
|
419
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
420
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
421
|
+
furnished to do so, subject to the following conditions:
|
|
422
|
+
|
|
423
|
+
The above copyright notice and this permission notice shall be included in all
|
|
424
|
+
copies or substantial portions of the Software.
|
|
425
|
+
|
|
426
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
427
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
428
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
429
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
430
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
431
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
432
|
+
SOFTWARE.
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
---------------------------------------------------------
|
|
436
|
+
|