diff --git a/package-lock.json b/package-lock.json index c475577..dd47813 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,15 +8,15 @@ "name": "shopify-live-preview-middleware", "version": "1.1.1", "dependencies": { - "@contentstack/shopify-live-preview-sdk": "^1.1.1", + "@contentstack/shopify-live-preview-sdk": "^1.1.2", "@fastify/cors": "^11.0.0", "@fastify/rate-limit": "^10.0.0", "@fastify/swagger": "^9.7.0", "@fastify/swagger-ui": "^5.2.5", "adm-zip": "^0.5.10", - "axios": "^1.13.5", + "axios": "^1.15.2", "dotenv": "^16.5.0", - "fastify": "^5.8.4", + "fastify": "^5.8.5", "fastify-plugin": "^5.0.0", "lodash": "^4.18.1", "pino-pretty": "^10.2.0" @@ -39,7 +39,7 @@ "typescript": "^5.1.6" }, "engines": { - "node": "20.x" + "node": ">=20.0.0" } }, "node_modules/@babel/code-frame": { @@ -559,17 +559,17 @@ "license": "MIT" }, "node_modules/@contentstack/shopify-live-preview-sdk": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@contentstack/shopify-live-preview-sdk/-/shopify-live-preview-sdk-1.1.1.tgz", - "integrity": "sha512-wh9nuvCJpao9LpmBGVMuBQ/9IfD/t6+A9S/803VrgqaRZ5y0t26/OUUEVicfV6Etascr7vwTdexqygSUk98E8A==", + "version": "1.1.2", + "resolved": "file:contentstack-shopify-live-preview-sdk-1.1.2.tgz", + "integrity": "sha512-wLTRxRFdNQnPV40FDuJZxRTa7x2lSKCk03LKXoaoEVzlWboKHi3gXde001aew5cSXznsvUbc6/S1o1r2xFMj/w==", "license": "MIT", "dependencies": { "@octokit/rest": "^21.1.1", "adm-zip": "^0.5.10", - "axios": "^1.13.5", + "axios": "^1.15.2", "express": "^4.18.3", - "liquidjs": "^10.25.5", - "simple-git": "^3.32.3" + "liquidjs": "^10.25.7", + "simple-git": "^3.36.0" } }, "node_modules/@cspotcode/source-map-support": { @@ -1324,9 +1324,9 @@ } }, "node_modules/@fastify/static": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@fastify/static/-/static-9.0.0.tgz", - "integrity": "sha512-r64H8Woe/vfilg5RTy7lwWlE8ZZcTrc3kebYFMEUBrMqlydhQyoiExQXdYAy2REVpST/G35+stAM8WYp1WGmMA==", + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/@fastify/static/-/static-9.1.1.tgz", + "integrity": "sha512-LHxFea3qdwe0Pbbkh/yux7/k6nFNLGTNcbLKVYgmRDB6LdDE/8TFSO7qWZ0IzM/nF6iwR8W03oFlwe4v79R1Ow==", "funding": [ { "type": "github", @@ -2200,6 +2200,21 @@ "url": "https://opencollective.com/pkgr" } }, + "node_modules/@simple-git/args-pathspec": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@simple-git/args-pathspec/-/args-pathspec-1.0.3.tgz", + "integrity": "sha512-ngJMaHlsWDTfjyq9F3VIQ8b7NXbBLq5j9i5bJ6XLYtD6qlDXT7fdKY2KscWWUF8t18xx052Y/PUO1K1TRc9yKA==", + "license": "MIT" + }, + "node_modules/@simple-git/argv-parser": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@simple-git/argv-parser/-/argv-parser-1.1.1.tgz", + "integrity": "sha512-Q9lBcfQ+VQCpQqGJFHe5yooOS5hGdLFFbJ5R+R5aDsnkPCahtn1hSkMcORX65J2Z5lxSkD0lQorMsncuBQxYUw==", + "license": "MIT", + "dependencies": { + "@simple-git/args-pathspec": "^1.0.3" + } + }, "node_modules/@sinclair/typebox": { "version": "0.27.10", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.10.tgz", @@ -2863,9 +2878,9 @@ } }, "node_modules/axios": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.0.tgz", - "integrity": "sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==", + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.2.tgz", + "integrity": "sha512-wLrXxPtcrPTsNlJmKjkPnNPK2Ihe0hn0wGSaTEiHRPxwjvJwT3hKmXF4dpqxmPO9SoNb2FsYXj/xEo0gHN+D5A==", "license": "MIT", "dependencies": { "follow-redirects": "^1.15.11", @@ -4380,9 +4395,9 @@ "license": "MIT" }, "node_modules/fast-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", - "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.2.tgz", + "integrity": "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==", "funding": [ { "type": "github", @@ -4396,9 +4411,9 @@ "license": "BSD-3-Clause" }, "node_modules/fastify": { - "version": "5.8.4", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-5.8.4.tgz", - "integrity": "sha512-sa42J1xylbBAYUWALSBoyXKPDUvM3OoNOibIefA+Oha57FryXKKCZarA1iDntOCWp3O35voZLuDg2mdODXtPzQ==", + "version": "5.8.5", + "resolved": "https://registry.npmjs.org/fastify/-/fastify-5.8.5.tgz", + "integrity": "sha512-Yqptv59pQzPgQUSIm87hMqHJmdkb1+GPxdE6vW6FRyVE9G86mt7rOghitiU4JHRaTyDUk9pfeKmDeu70lAwM4Q==", "funding": [ { "type": "github", @@ -6171,9 +6186,9 @@ "license": "MIT" }, "node_modules/liquidjs": { - "version": "10.25.5", - "resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.25.5.tgz", - "integrity": "sha512-GKiKeZjJDdVoQAu+S9rzkYsYnYhcep5W3WwZXgb5f+yq484P/k9JqamBbGYu+LBEixcUAXZr2jogdAIjB3ki1w==", + "version": "10.25.7", + "resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.25.7.tgz", + "integrity": "sha512-rPCjJLiD4eDhQjvv964AeXFC+HbeYBbZrd7Z82Q6hqv1lX7G+5w4SJcKLn9CAAAwHI4aS3dTdo083UB79K3pDA==", "license": "MIT", "dependencies": { "commander": "^10.0.0" @@ -7602,13 +7617,15 @@ "license": "ISC" }, "node_modules/simple-git": { - "version": "3.33.0", - "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.33.0.tgz", - "integrity": "sha512-D4V/tGC2sjsoNhoMybKyGoE+v8A60hRawKQ1iFRA1zwuDgGZCBJ4ByOzZ5J8joBbi4Oam0qiPH+GhzmSBwbJng==", + "version": "3.36.0", + "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.36.0.tgz", + "integrity": "sha512-cGQjLjK8bxJw4QuYT7gxHw3/IouVESbhahSsHrX97MzCL1gu2u7oy38W6L2ZIGECEfIBG4BabsWDPjBxJENv9Q==", "license": "MIT", "dependencies": { "@kwsites/file-exists": "^1.1.1", "@kwsites/promise-deferred": "^1.1.1", + "@simple-git/args-pathspec": "^1.0.3", + "@simple-git/argv-parser": "^1.1.0", "debug": "^4.4.0" }, "funding": { diff --git a/package.json b/package.json index 75040a7..463d844 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "main": "src/index.ts", "engines": { - "node": "20.x" + "node": ">=20.0.0" }, "scripts": { "build": "tsc -p tsconfig.json", @@ -21,15 +21,15 @@ "format": "prettier --write \"src/**/*.ts\"" }, "dependencies": { - "@contentstack/shopify-live-preview-sdk": "^1.1.1", + "@contentstack/shopify-live-preview-sdk": "^1.1.2", "@fastify/cors": "^11.0.0", "@fastify/rate-limit": "^10.0.0", "@fastify/swagger": "^9.7.0", "@fastify/swagger-ui": "^5.2.5", "adm-zip": "^0.5.10", - "axios": "^1.13.5", + "axios": "^1.15.2", "dotenv": "^16.5.0", - "fastify": "^5.8.4", + "fastify": "^5.8.5", "fastify-plugin": "^5.0.0", "lodash": "^4.18.1", "pino-pretty": "^10.2.0" @@ -52,6 +52,7 @@ "typescript": "^5.1.6" }, "overrides": { - "minimatch": "^9.0.7" + "minimatch": "^9.0.7", + "@fastify/static": "9.1.1" } }