From 44110156118e8c533c678f5d02cf8d174f8e1dba Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 23 Nov 2024 03:24:28 +0000 Subject: [PATCH] fix: upgrade @contentstack/delivery-sdk from 4.3.0 to 4.4.0 Snyk has created this PR to upgrade @contentstack/delivery-sdk from 4.3.0 to 4.4.0. See this package in npm: @contentstack/delivery-sdk See this project in Snyk: https://app.snyk.io/org/contentstack-developer-success/project/2f88168c-afca-4e9b-9f55-dc6abd57810c?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 56 ++++++++++++++++++++++++++++++++++++++++++----- package.json | 2 +- 2 files changed, 51 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 60ce7cb..6f0d1cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.0.2", "license": "MIT", "dependencies": { - "@contentstack/delivery-sdk": "^4.2.0", + "@contentstack/delivery-sdk": "^4.4.0", "@gql2ts/from-schema": "^2.0.0-4", "axios": "^1.7.5", "lodash": "^4.17.21", @@ -611,16 +611,18 @@ } }, "node_modules/@contentstack/delivery-sdk": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@contentstack/delivery-sdk/-/delivery-sdk-4.3.0.tgz", - "integrity": "sha512-N4hqG6UXKWO5WQyPwZVkJ3gANtnTYoAozIINkLlKu8m48GOUFihFF08Yilvr7smybT2dnoNbkCnlqI64iNPPQA==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@contentstack/delivery-sdk/-/delivery-sdk-4.4.0.tgz", + "integrity": "sha512-x2V6V71A4vLmn0dQU1VByFxVmjd15wMQlVSweevsOr/rMpN6P1t4qfgSGVT7r5wTvkYR5tDUnksPUn4mO9xIoQ==", "dependencies": { "@contentstack/core": "^1.1.0", "@contentstack/utils": "^1.3.8", "@types/humps": "^2.0.6", "axios": "^1.7.4", "dotenv": "^16.3.1", - "humps": "^2.0.1" + "humps": "^2.0.1", + "node-localstorage": "^3.0.5", + "path-browserify": "^1.0.1" } }, "node_modules/@contentstack/utils": { @@ -3266,7 +3268,6 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, "engines": { "node": ">=0.8.19" } @@ -4398,6 +4399,43 @@ "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", "dev": true }, + "node_modules/node-localstorage": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/node-localstorage/-/node-localstorage-3.0.5.tgz", + "integrity": "sha512-GCwtK33iwVXboZWYcqQHu3aRvXEBwmPkAMRBLeaX86ufhqslyUkLGsi4aW3INEfdQYpUB5M9qtYf3eHvAk2VBg==", + "license": "MIT", + "dependencies": { + "write-file-atomic": "^5.0.1" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/node-localstorage/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-localstorage/node_modules/write-file-atomic": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, "node_modules/node-releases": { "version": "2.0.14", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", @@ -4538,6 +4576,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "license": "MIT" + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", diff --git a/package.json b/package.json index 94e5422..29b21de 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "typescript": "^5.4.5" }, "dependencies": { - "@contentstack/delivery-sdk": "^4.2.0", + "@contentstack/delivery-sdk": "^4.4.0", "@gql2ts/from-schema": "^2.0.0-4", "axios": "^1.7.5", "lodash": "^4.17.21",