From db6500589ac6048d1afa5ddbe00ed44b47412b05 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sun, 17 Mar 2024 22:23:59 +0100 Subject: [PATCH] Moved the JSONDecoder+Constants extension from the iTunes library to the Foundation library. --- .../Kit/Sources}/Extensions/JSONDecoder+Constants.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Libraries/{iTunes/Kit => Foundation/Kit/Sources}/Extensions/JSONDecoder+Constants.swift (91%) diff --git a/Libraries/iTunes/Kit/Extensions/JSONDecoder+Constants.swift b/Libraries/Foundation/Kit/Sources/Extensions/JSONDecoder+Constants.swift similarity index 91% rename from Libraries/iTunes/Kit/Extensions/JSONDecoder+Constants.swift rename to Libraries/Foundation/Kit/Sources/Extensions/JSONDecoder+Constants.swift index b5c5bed..a457872 100644 --- a/Libraries/iTunes/Kit/Extensions/JSONDecoder+Constants.swift +++ b/Libraries/Foundation/Kit/Sources/Extensions/JSONDecoder+Constants.swift @@ -11,7 +11,7 @@ import Foundation extension JSONDecoder { // MARK: Constants - static let `default` = { + public static let `default` = { let decoder = JSONDecoder() decoder.dateDecodingStrategy = .iso8601