From 182248fee498cf3ef3f6f692ccc84f5619c99a73 Mon Sep 17 00:00:00 2001 From: Vikram Kalta Date: Thu, 9 Nov 2023 14:02:10 +0000 Subject: [PATCH 1/3] fix: added handling for missing href field --- Sources/ContentstackUtils/Option.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ContentstackUtils/Option.swift b/Sources/ContentstackUtils/Option.swift index a11bfd6..3d3ddf8 100644 --- a/Sources/ContentstackUtils/Option.swift +++ b/Sources/ContentstackUtils/Option.swift @@ -69,7 +69,7 @@ open class Option: Renderable { case NodeType.paragraph.rawValue: return "

\(next(node.children))

" case NodeType.link.rawValue: - return "\(next(node.children))" + return "\(next(node.children))" case NodeType.image.rawValue: return "\(next(node.children))" case NodeType.embed.rawValue: From f339aa190e4bcfb9357c69bfff911aed041c4a7e Mon Sep 17 00:00:00 2001 From: Vikram Kalta Date: Thu, 16 Nov 2023 09:03:11 +0000 Subject: [PATCH 2/3] fix: removed sast and secret scan files --- .github/workflows/sast-scan.yml | 11 ----------- .github/workflows/secrets-scan.yml | 11 ----------- 2 files changed, 22 deletions(-) delete mode 100644 .github/workflows/sast-scan.yml delete mode 100644 .github/workflows/secrets-scan.yml diff --git a/.github/workflows/sast-scan.yml b/.github/workflows/sast-scan.yml deleted file mode 100644 index f931630..0000000 --- a/.github/workflows/sast-scan.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: SAST Scan -on: - pull_request: - types: [opened, synchronize, reopened] -jobs: - security: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Horusec Scan - run: docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/src horuszup/horusec-cli:latest horusec start -p /src -P $(pwd) \ No newline at end of file diff --git a/.github/workflows/secrets-scan.yml b/.github/workflows/secrets-scan.yml deleted file mode 100644 index 1e8f176..0000000 --- a/.github/workflows/secrets-scan.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Secrets Scan -on: - pull_request: - types: [opened, synchronize, reopened] -jobs: - security: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Gittyleaks - uses: gupy-io/gittyleaks-action@v0.1 \ No newline at end of file From 4cf9acb3a621643baa39764e4c49a140a93b4461 Mon Sep 17 00:00:00 2001 From: Shailesh Mishra Date: Thu, 16 Nov 2023 15:41:12 +0530 Subject: [PATCH 3/3] Package version updated Package version updated from v1.3.0 to v1.3.1 --- ContentstackUtils.podspec | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ContentstackUtils.podspec b/ContentstackUtils.podspec index 6228138..62dfa52 100644 --- a/ContentstackUtils.podspec +++ b/ContentstackUtils.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'ContentstackUtils' -s.version = '1.3.0' +s.version = '1.3.1' s.summary = 'Contentstack is a headless CMS with an API-first approach that puts content at the centre.' s.description = <<-DESC diff --git a/README.md b/README.md index bf16933..982f61e 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ To use this SDK on iOS platform, you will have to install the SDK according to t Add the following to your Podfile: use_frameworks! - pod 'ContentstackUtils', '~> 1.2.1' + pod 'ContentstackUtils', '~> 1.3.1' #### Swift Package Manager 1. Installing libxml2 to your computer: @@ -41,7 +41,7 @@ Add the following to your Podfile: let package = Package( name: "YourProject", dependencies: [ - .package(url: "https://github.com/tid-kijyun/ContentstackUtils.git", from: "1.2.1"), + .package(url: "https://github.com/tid-kijyun/ContentstackUtils.git", from: "1.3.1"), ], targets: [ .target(