Skip to content

Commit

Permalink
Update JavaScriptKit to v0.11.1 (#265)
Browse files Browse the repository at this point in the history
* Update JavaScriptKit to v0.11.1

* Update static.zip URL
  • Loading branch information
yonihemi authored Nov 23, 2021
1 parent 596730b commit 4514347
Show file tree
Hide file tree
Showing 5 changed files with 1,975 additions and 8,215 deletions.
2 changes: 1 addition & 1 deletion Sources/CartonKit/Model/Entrypoint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import TSCUtility
instead of the forthcoming release, because the corresponding new release tag doesn't exist yet.
*/
private let staticArchiveURL =
"https://github.com/swiftwasm/carton/releases/download/0.9.1/static.zip"
"https://github.com/swiftwasm/carton/releases/download/0.11.1/static.zip"

private let verifyHash = Equality<ByteString, String> {
"""
Expand Down
16 changes: 8 additions & 8 deletions Sources/CartonKit/Server/StaticArchive.swift
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import TSCBasic

public let devEntrypointSHA256 = ByteString([
0xB1, 0x75, 0x6E, 0xC8, 0x39, 0x45, 0xE2, 0x06, 0x00, 0xDD, 0x2E, 0x4D, 0x67, 0xD4, 0xD6, 0xCE,
0x35, 0x62, 0xA0, 0x3D, 0x9F, 0x63, 0x6E, 0x63, 0xAD, 0x79, 0xF2, 0x2D, 0x9D, 0x3C, 0x5C, 0x0A,
0x45, 0x90, 0x60, 0x2B, 0x7F, 0xD9, 0xCF, 0xAE, 0x8E, 0x80, 0xA5, 0x88, 0x5C, 0xAB, 0x5B, 0x82,
0xE3, 0x87, 0x94, 0x09, 0x3C, 0xA2, 0x1C, 0x41, 0x67, 0x3B, 0x75, 0x13, 0x23, 0x32, 0xB8, 0xE3
])

public let bundleEntrypointSHA256 = ByteString([
0x2B, 0xD2, 0xB5, 0x0C, 0x08, 0xFB, 0x5A, 0x8D, 0x55, 0xC4, 0x4B, 0x3A, 0x51, 0x63, 0x80, 0x1F,
0xB9, 0x15, 0x50, 0xD2, 0xB6, 0x12, 0xC3, 0xDE, 0x3A, 0x7D, 0xEB, 0xB0, 0x1F, 0x40, 0x06, 0x3F,
0x48, 0xDB, 0xBC, 0xA9, 0x63, 0x0A, 0x49, 0xE8, 0xC6, 0x78, 0x4E, 0xEA, 0x3A, 0xDA, 0x07, 0x57,
0xFF, 0xA1, 0x44, 0xE4, 0xDC, 0x4A, 0x4B, 0x8D, 0xD5, 0xF2, 0x0B, 0x15, 0x40, 0xA7, 0xEE, 0x58
])

public let testEntrypointSHA256 = ByteString([
0xCE, 0x38, 0xCE, 0x55, 0x05, 0x45, 0x93, 0x75, 0xE6, 0xCD, 0xCE, 0x1C, 0xA6, 0x67, 0x14, 0x16,
0xBB, 0xAE, 0xF3, 0xFC, 0xFB, 0x86, 0xCB, 0x98, 0x1A, 0x66, 0x5C, 0xC7, 0x6C, 0x3B, 0x81, 0xF4,
0xA7, 0x01, 0xB7, 0xA1, 0x7C, 0x73, 0x76, 0x2A, 0xBB, 0xDA, 0x87, 0x51, 0xD6, 0x6A, 0x47, 0x4B,
0x4C, 0x47, 0xF7, 0x4B, 0x45, 0x95, 0x6D, 0xD5, 0xB3, 0xB1, 0x6C, 0xC1, 0x55, 0xBF, 0x8D, 0x7A
])

public let staticArchiveHash = ByteString([
0x7A, 0x27, 0x1A, 0x64, 0x7A, 0xEB, 0xE1, 0x94, 0x24, 0xE6, 0x4A, 0x98, 0x14, 0x5F, 0xC3, 0xA7,
0xB5, 0x6B, 0x81, 0x51, 0x75, 0xA0, 0x8E, 0xF4, 0x8D, 0x48, 0xC9, 0x9A, 0x60, 0x25, 0x24, 0x2F,
0x46, 0x1D, 0x2C, 0xAD, 0xF9, 0x9F, 0x1C, 0xD6, 0x89, 0xC2, 0xF2, 0xDA, 0x30, 0x18, 0xB1, 0xE8,
0x5C, 0x88, 0x1F, 0x7C, 0x31, 0x13, 0x5F, 0x59, 0x6C, 0xA6, 0x53, 0x61, 0xDB, 0x37, 0x3F, 0x85,
])
2 changes: 1 addition & 1 deletion Sources/SwiftToolchain/Toolchain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import TSCBasic
import TSCUtility
import WasmTransformer

public let compatibleJSKitVersion = Version(0, 10, 1)
public let compatibleJSKitVersion = Version(0, 11, 1)

enum ToolchainError: Error, CustomStringConvertible {
case directoryDoesNotExist(AbsolutePath)
Expand Down
Loading

0 comments on commit 4514347

Please sign in to comment.