# Pinned YouTubeKit solver resources These three JavaScript resources are vendored from [`alexeichhorn/YouTubeKit`](https://github.com/alexeichhorn/YouTubeKit) at commit `e5b7d0396ce12bf3444f0d209e8436c83373b7af` (YouTubeKit 0.4.9): They are data resources only. Hydraulophone does not vendor YouTubeKit's networking or extraction stack, does not execute downloaded build tooling, and does not use a remote extraction fallback. ## Checksums The SHA-1 values below are Git *blob* object IDs (not plain-file SHA-1 values). The byte counts are the source blob sizes. | File | Git blob SHA-1 | Bytes | | --- | --- | ---: | | `meriyah.umd.js` | `eeac5d8b20e0b7e628fe8011d4e0a8b2d095dbec` | 361544 | | `astring.umd.js` | `74fe24e41ff8db4b4f62df7759ffa76e46d262b4` | 18221 | | `yt_ejs_helper.js` | `bbf5555dbff8ff26ad6a21932426168060481b28` | 12607 | The files are byte-for-byte copies of the corresponding pinned upstream paths: - `Sources/YouTubeKit/Resources/meriyah.umd.js` - `Sources/YouTubeKit/Resources/astring.umd.js` - `Sources/YouTubeKit/Resources/yt_ejs_helper.js` The first two bundles are the pinned Meriyah 6.1.4 and Astring 1.9.0 outputs used by the upstream resource update. `yt_ejs_helper.js` retains its original yt-dlp/ejs generated-file notice. ## Bundle layout The Core SwiftPM target declares `.copy("Resources/YouTubeKit")`. The expected package resource lookup is the file name plus the `YouTubeKit` subdirectory: ```swift let meriyahURL = Bundle.module.url( forResource: "meriyah.umd.js", withExtension: nil, subdirectory: "YouTubeKit" ) ``` The XcodeGen iOS framework uses a folder reference for the same source folder. Its equivalent lookup is: ```swift let meriyahURL = Bundle(for: CoreResourceMarker.self).url( forResource: "meriyah.umd.js", withExtension: nil, subdirectory: "YouTubeKit" ) ``` The three files are children of that folder reference. The wrapper must not look up these files at the Core bundle root. License texts for YouTubeKit, Meriyah, Astring, and yt-dlp/ejs are retained in [`LICENSES.md`](LICENSES.md) and are also summarized in the repository [`NOTICE`](../../../../NOTICE).