Repository navigation
Expand file tree
/
Copy pathsdk.lock.json
More file actions
62 lines (62 loc) · 2.38 KB
/
Copy pathsdk.lock.json
File metadata and controls
62 lines (62 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"package": "dartpad",
"version": "0.0.9",
"url": "https://pub.dev/api/archives/dartpad-0.0.9.tar.gz",
"sha256": "3ac8de047c0c6b82ff63bc67f2fff2f579d6e4b6218028392b75b982a10c672f",
"note": "Bump version + sha256 together from https://pub.dev/api/packages/dartpad (archive_sha256). 0.0.9 is the newest release that still bundles web/ assets; 0.0.10 removed them in favour of `dart run dartpad setup`. See doc/releases.md in the Dart SDK for the dartpad.zip CDN alternative.",
"gzip": [
"worker.wasm",
"sdk.tar",
"dart_sdk.js",
"dart_sdk.js.map",
"flutter_web.js",
"flutter_web.js.map"
],
"gzipNote": "Shipped gzipped so the unpacked package stays under jsDelivr's 150 MB limit. Each is inflated before use: worker.wasm and sdk.tar through a fetch shim in the worker, dart_sdk.js and flutter_web.js through the sandbox's $dartpadSandboxScripts list, and anything the DDC loader pulls later through $dartLoader.forceLoadScript. The .map files are inert until devtools asks for them. Everything else stays raw, so nothing the SDK loads by other means has to change.",
"variants": {
"dart": {
"source": "web/dart",
"destination": "dist/dart",
"description": "Dart-only DartPad SDK. Worker + DDC + analyzer + pub, console run mode.",
"required": [
"dart_sdk.js",
"dart_sdk.js.map",
"dart_stack_trace_mapper.js",
"ddc_module_loader.js",
"sandbox.js",
"sdk.tar",
"worker.js",
"worker.mjs",
"worker.support.js",
"worker.wasm"
]
},
"flutter": {
"source": "web/flutter",
"destination": "dist/flutter",
"description": "Flutter DartPad SDK. Same worker plus the precompiled framework, console and flutter run modes.",
"required": [
"assets/fonts/MaterialIcons-Regular.otf",
"assets/shaders/ink_sparkle.frag",
"assets/shaders/stretch_effect.frag",
"assets/AssetManifest.bin",
"assets/AssetManifest.bin.json",
"assets/FontManifest.json",
"assets/NOTICES",
"dart_sdk.js",
"dart_sdk.js.map",
"dart_stack_trace_mapper.js",
"ddc_module_loader.js",
"flutter.js",
"flutter_web.js",
"flutter_web.js.map",
"sandbox.js",
"sdk.tar",
"worker.js",
"worker.mjs",
"worker.support.js",
"worker.wasm"
]
}
}
}