diff --git a/Package.resolved b/Package.resolved index 1a669ca..059994a 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "133d12efbdc66b04efed84bc874c1a9d5fa072f82a5e3b36fed3e5ee7ea77739", + "originHash" : "772e0ee9488157e8ecb6e529a252e2917779df4c753fe9bf86ac683d146b06ff", "pins" : [ { "identity" : "async-http-client", "kind" : "remoteSourceControl", "location" : "https://github.com/swift-server/async-http-client.git", "state" : { - "revision" : "6df8e1c17e68f0f93de2443b8c8cafca9ddcc89a", - "version" : "1.22.2" + "revision" : "2119f0d9cc1b334e25447fe43d3693c0e60e6234", + "version" : "1.24.0" } }, { @@ -24,8 +24,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/vapor/console-kit.git", "state" : { - "revision" : "78c0dd739df8cb9ee14a8bbbf770facc4fc3402a", - "version" : "4.15.0" + "revision" : "966d89ae64cd71c652a1e981bc971de59d64f13d", + "version" : "4.15.1" } }, { @@ -51,8 +51,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/vapor/fluent.git", "state" : { - "revision" : "dfcbeba27a576c20ff181d496f21ecd45d2c1a71", - "version" : "4.11.0" + "revision" : "223b27d04ab2b51c25503c9922eecbcdf6c12f89", + "version" : "4.12.0" } }, { @@ -69,8 +69,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/vapor/fluent-postgres-driver.git", "state" : { - "revision" : "e2988a8c960196eca2891f3a0bb1caad9044e7ea", - "version" : "2.9.2" + "revision" : "fd57101e426d3edf66a32ba63a7d0b8ced4d7499", + "version" : "2.10.0" } }, { @@ -78,8 +78,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/vapor/fluent-sqlite-driver.git", "state" : { - "revision" : "9cc162da8516a8869adeb1e887bc3f6f9af727d8", - "version" : "4.7.4" + "revision" : "6e3a5ff7f2cb733771a6bd71dd3a491cce79f24d", + "version" : "4.8.0" } }, { @@ -114,8 +114,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/vapor/jwt-kit.git", "state" : { - "revision" : "c2595b9ad7f512d7f334830b4df1fed6e917946a", - "version" : "4.13.4" + "revision" : "13e7513b3ba0afa13967daf77af2fb4ad087306c", + "version" : "4.13.5" } }, { @@ -127,40 +127,13 @@ "version" : "4.7.0" } }, - { - "identity" : "package-concurrency-helpers", - "kind" : "remoteSourceControl", - "location" : "https://github.com/ordo-one/package-concurrency-helpers", - "state" : { - "revision" : "673b7983a4b662887e143121b803e243c326a96e", - "version" : "2.1.0" - } - }, - { - "identity" : "package-datetime", - "kind" : "remoteSourceControl", - "location" : "https://github.com/ordo-one/package-datetime", - "state" : { - "revision" : "d1242188c9f48aad297e6ca9b717776f8660bc31", - "version" : "1.0.2" - } - }, { "identity" : "package-frostflake", "kind" : "remoteSourceControl", "location" : "https://github.com/ordo-one/package-frostflake.git", "state" : { - "revision" : "7321e6e89bfb0975f815d37d51502edbbc7ce891", - "version" : "5.1.0" - } - }, - { - "identity" : "package-latency-tools", - "kind" : "remoteSourceControl", - "location" : "https://github.com/ordo-one/package-latency-tools", - "state" : { - "revision" : "93d2be69c484bebb28c5192249d7e1da15236d34", - "version" : "1.0.0" + "revision" : "00a9e6444ce2ae013521b8faab635a36dbb214c7", + "version" : "6.0.0" } }, { @@ -186,8 +159,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/vapor/queues.git", "state" : { - "revision" : "2d38cd224be1152caaeacc6f63c8216566a67186", - "version" : "1.16.1" + "revision" : "7511f2d573f032c4d5e6929d2bc36f5191d1c424", + "version" : "1.17.0" } }, { @@ -249,8 +222,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/soto-project/soto-codegenerator.git", "state" : { - "revision" : "53379e4887b41ea3771c3973e014e343c0f85371", - "version" : "7.1.1" + "revision" : "8bc4e1f4a05421c3e4130b62f1d227b51116b11c", + "version" : "7.2.2" } }, { @@ -258,8 +231,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/soto-project/soto-core.git", "state" : { - "revision" : "86145a0e6a5091bf124fc18aa029698c4c419b1a", - "version" : "7.0.0" + "revision" : "9d44bcdd0f998d211ca882101a0747f3d743f93e", + "version" : "7.2.0" } }, { @@ -267,8 +240,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/soto-project/soto-smithy.git", "state" : { - "revision" : "37fdca9174181a15a33aace431fcd8a98bbbead9", - "version" : "0.4.1" + "revision" : "842a41d6e6765fe10340bb28574465163c3c0913", + "version" : "0.4.4" } }, { @@ -276,8 +249,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/vapor/sql-kit.git", "state" : { - "revision" : "f697d3289c628acd241e3b2c7d3ff068adcc52d1", - "version" : "3.31.1" + "revision" : "e0b35ff07601465dd9f3af19a1c23083acaae3bd", + "version" : "3.32.0" } }, { @@ -294,14 +267,14 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/vapor/sqlite-nio.git", "state" : { - "revision" : "feb314669f1d7424543fb4fdd6711aa85dca865b", - "version" : "1.10.2" + "revision" : "40bf9b9fa938290176ec933540e08f39fc887f06", + "version" : "1.10.4" } }, { "identity" : "swift-algorithms", "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-algorithms", + "location" : "https://github.com/apple/swift-algorithms.git", "state" : { "revision" : "f6919dfc309e7f1b56224378b11e28bab5bccc42", "version" : "1.2.0" @@ -310,19 +283,28 @@ { "identity" : "swift-argument-parser", "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-argument-parser.git", + "location" : "https://github.com/apple/swift-argument-parser", "state" : { "revision" : "41982a3656a71c768319979febd796c6fd111d5c", "version" : "1.5.0" } }, + { + "identity" : "swift-asn1", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-asn1.git", + "state" : { + "revision" : "7faebca1ea4f9aaf0cda1cef7c43aecd2311ddf6", + "version" : "1.3.0" + } + }, { "identity" : "swift-async-algorithms", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-async-algorithms.git", "state" : { - "revision" : "6ae9a051f76b81cc668305ceed5b0e0a7fd93d20", - "version" : "1.0.1" + "revision" : "5c8bd186f48c16af0775972700626f0b74588278", + "version" : "1.0.2" } }, { @@ -339,8 +321,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-collections.git", "state" : { - "revision" : "9bf03ff58ce34478e66aaee630e491823326fd06", - "version" : "1.1.3" + "revision" : "671108c96644956dddcd89dd59c203dcdb36cec7", + "version" : "1.1.4" } }, { @@ -348,8 +330,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-crypto.git", "state" : { - "revision" : "81bee98e706aee68d39ed5996db069ef2b313d62", - "version" : "3.7.1" + "revision" : "ff0f781cf7c6a22d52957e50b104f5768b50c779", + "version" : "3.10.0" } }, { @@ -357,8 +339,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-distributed-tracing.git", "state" : { - "revision" : "11c756c5c4d7de0eeed8595695cadd7fa107aa19", - "version" : "1.1.1" + "revision" : "6483d340853a944c96dbcc28b27dd10b6c581703", + "version" : "1.1.2" } }, { @@ -384,8 +366,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-http-types", "state" : { - "revision" : "ae67c8178eb46944fd85e4dc6dd970e1f3ed6ccd", - "version" : "1.3.0" + "revision" : "ef18d829e8b92d731ad27bb81583edd2094d1ce3", + "version" : "1.3.1" } }, { @@ -393,8 +375,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-log.git", "state" : { - "revision" : "9cb486020ebf03bfa5b5df985387a14a98744537", - "version" : "1.6.1" + "revision" : "96a2f8a0fa41e9e09af4585e2724c4e825410b91", + "version" : "1.6.2" } }, { @@ -411,8 +393,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/hummingbird-project/swift-mustache.git", "state" : { - "revision" : "933fa3d60f5b1721b91b07f66866a2baf3e16ed0", - "version" : "2.0.0-rc.1" + "revision" : "9de71fc4d10f0efc0ac758d0acf14e75d39b47b4", + "version" : "2.0.0" } }, { @@ -420,8 +402,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio.git", "state" : { - "revision" : "9746cf80e29edfef2a39924a66731249223f42a3", - "version" : "2.72.0" + "revision" : "dca6594f65308c761a9c409e09fbf35f48d50d34", + "version" : "2.77.0" } }, { @@ -429,8 +411,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio-extras.git", "state" : { - "revision" : "d1ead62745cc3269e482f1c51f27608057174379", - "version" : "1.24.0" + "revision" : "2e9746cfc57554f70b650b021b6ae4738abef3e6", + "version" : "1.24.1" } }, { @@ -438,8 +420,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio-http2.git", "state" : { - "revision" : "b5f7062b60e4add1e8c343ba4eb8da2e324b3a94", - "version" : "1.34.0" + "revision" : "eaa71bb6ae082eee5a07407b1ad0cbd8f48f9dca", + "version" : "1.34.1" } }, { @@ -447,8 +429,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio-ssl.git", "state" : { - "revision" : "7b84abbdcef69cc3be6573ac12440220789dcd69", - "version" : "2.27.2" + "revision" : "c7e95421334b1068490b5d41314a50e70bab23d1", + "version" : "2.29.0" } }, { @@ -456,8 +438,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio-transport-services.git", "state" : { - "revision" : "38ac8221dd20674682148d6451367f89c2652980", - "version" : "1.21.0" + "revision" : "bbd5e63cf949b7db0c9edaf7a21e141c52afe214", + "version" : "1.23.0" } }, { @@ -483,8 +465,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swift-server/swift-service-lifecycle.git", "state" : { - "revision" : "24c800fb494fbee6e42bc156dc94232dc08971af", - "version" : "2.6.1" + "revision" : "f70b838872863396a25694d8b19fe58bcd0b7903", + "version" : "2.6.2" } }, { @@ -492,8 +474,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-system", "state" : { - "revision" : "d2ba781702a1d8285419c15ee62fd734a9437ff5", - "version" : "1.3.2" + "revision" : "c8a44d836fe7913603e246acab7c528c2e780168", + "version" : "1.4.0" } }, { @@ -519,8 +501,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/scinfu/SwiftSoup.git", "state" : { - "revision" : "3c2c7e1e72b8abd96eafbae80323c5c1e5317437", - "version" : "2.7.5" + "revision" : "0837db354faf9c9deb710dc597046edaadf5360f", + "version" : "2.7.6" } }, { @@ -528,8 +510,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/vapor/vapor.git", "state" : { - "revision" : "a4d7d4d32ef4a21dd10bc6375f4d20da3c5594e4", - "version" : "4.105.2" + "revision" : "3aeeb6fab5112fb10ce699b5a80207e5cf571c32", + "version" : "4.106.7" } }, { diff --git a/Package.swift b/Package.swift index f71cb0f..4ec4cf4 100644 --- a/Package.swift +++ b/Package.swift @@ -48,7 +48,7 @@ let package = Package( .package(url: "https://github.com/Mikroservices/Smtp.git", from: "3.1.0"), // 🆔 High performance unique ID generator for Swift inspired by Snowflake. - .package(url: "https://github.com/ordo-one/package-frostflake.git", from: "5.0.0"), + .package(url: "https://github.com/ordo-one/package-frostflake.git", from: "6.0.0"), // 🖼️ Simple Swift wrapper for libgd, allowing for basic graphic rendering on server-side Swift where Core Graphics is not available. .package(url: "https://github.com/twostraws/SwiftGD.git", branch: "main"), diff --git a/Sources/VernissageServer/Services/SnowflakeService.swift b/Sources/VernissageServer/Services/SnowflakeService.swift index 80de647..7bbfbfa 100644 --- a/Sources/VernissageServer/Services/SnowflakeService.swift +++ b/Sources/VernissageServer/Services/SnowflakeService.swift @@ -48,6 +48,6 @@ final class SnowflakeService: SnowflakeServiceType { } func generate() -> Int64 { - .init(bitPattern: frostflake.generate()) + .init(bitPattern: frostflake.generate().rawValue) } }