From 1d61cc6f6d6c17551643e21d0e4b8abbe793850a Mon Sep 17 00:00:00 2001 From: Jairo Panduro Date: Fri, 16 Feb 2024 14:06:52 +0100 Subject: [PATCH] fix: STRF-11740 Inconsistent responses in Stencil CLI Bundle and Theme Editor for scss compilation --- package-lock.json | 105 ++++++++++++++++++++++++++++++---------------- package.json | 2 +- 2 files changed, 70 insertions(+), 37 deletions(-) diff --git a/package-lock.json b/package-lock.json index 35b74efc..79899374 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "@bigcommerce/stencil-cli", - "version": "7.3.0", + "version": "7.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bigcommerce/stencil-cli", - "version": "7.3.0", + "version": "7.3.1", "license": "BSD-4-Clause", "dependencies": { "@bigcommerce/stencil-paper": "4.10.4", - "@bigcommerce/stencil-styles": "5.2.0", + "@bigcommerce/stencil-styles": "5.3.2", "@hapi/boom": "^10.0.0", "@hapi/glue": "^8.0.0", "@hapi/h2o2": "^9.1.0", @@ -719,20 +719,20 @@ } }, "node_modules/@bigcommerce/stencil-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@bigcommerce/stencil-styles/-/stencil-styles-5.2.0.tgz", - "integrity": "sha512-tZzKCIksfffASveYZP0La1oI5h+j/D6146m5z7LOrAv22qWYRYz5ILbfe2VJ4IsIIqXQULlSiTneDWJjWnSrfg==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@bigcommerce/stencil-styles/-/stencil-styles-5.3.2.tgz", + "integrity": "sha512-AGtmHEXz89j1hHn09BBcmJnJ+PRvwnzRRKd3u1aX50HSgu5bitpT55qK5fs+Uo4CM3MuPziRKcBaytRnKSZwOg==", "dependencies": { "autoprefixer": "^10.4.13", "cheerio": "^1.0.0-rc.12", "lodash": "^4.17.21", - "node-sass": "^8.0.0", + "node-sass": "^9.0.0", "postcss": "^8.4.20", "recursive-readdir": "^2.2.3", "sass": "^1.58.0" }, "engines": { - "node": ">=16.0.0 <19.0.0" + "node": ">=16.0.0" } }, "node_modules/@colors/colors": { @@ -10117,10 +10117,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ip": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" + "node_modules/ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "dependencies": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/ip-address/node_modules/sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==" }, "node_modules/is-arguments": { "version": "1.1.1", @@ -12376,6 +12388,11 @@ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, + "node_modules/jsbn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==" + }, "node_modules/jsdom": { "version": "16.7.0", "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", @@ -13747,9 +13764,9 @@ "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==" }, "node_modules/node-sass": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-8.0.0.tgz", - "integrity": "sha512-jPzqCF2/e6JXw6r3VxfIqYc8tKQdkj5Z/BDATYyG6FL6b/LuYBNFGFVhus0mthcWifHm/JzBpKAd+3eXsWeK/A==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-9.0.0.tgz", + "integrity": "sha512-yltEuuLrfH6M7Pq2gAj5B6Zm7m+gdZoG66wTqG6mIZV/zijq3M2OO2HswtT6oBspPyFhHDcaxWpsBm0fRNDHPg==", "hasInstallScript": true, "dependencies": { "async-foreach": "^0.1.3", @@ -13771,7 +13788,7 @@ "node-sass": "bin/node-sass" }, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/node-sass/node_modules/ansi-styles": { @@ -18771,15 +18788,15 @@ } }, "node_modules/socks": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", - "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.3.tgz", + "integrity": "sha512-vfuYK48HXCTFD03G/1/zkIls3Ebr2YNa4qU9gHDZdblHLiqhJrJGkY3+0Nx0JpN9qBhJbVObc1CNciT1bIZJxw==", "dependencies": { - "ip": "^2.0.0", + "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" }, "engines": { - "node": ">= 10.13.0", + "node": ">= 10.0.0", "npm": ">= 3.0.0" } }, @@ -20849,14 +20866,14 @@ } }, "@bigcommerce/stencil-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@bigcommerce/stencil-styles/-/stencil-styles-5.2.0.tgz", - "integrity": "sha512-tZzKCIksfffASveYZP0La1oI5h+j/D6146m5z7LOrAv22qWYRYz5ILbfe2VJ4IsIIqXQULlSiTneDWJjWnSrfg==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@bigcommerce/stencil-styles/-/stencil-styles-5.3.2.tgz", + "integrity": "sha512-AGtmHEXz89j1hHn09BBcmJnJ+PRvwnzRRKd3u1aX50HSgu5bitpT55qK5fs+Uo4CM3MuPziRKcBaytRnKSZwOg==", "requires": { "autoprefixer": "^10.4.13", "cheerio": "^1.0.0-rc.12", "lodash": "^4.17.21", - "node-sass": "^8.0.0", + "node-sass": "^9.0.0", "postcss": "^8.4.20", "recursive-readdir": "^2.2.3", "sass": "^1.58.0" @@ -28144,10 +28161,21 @@ "p-is-promise": "^3.0.0" } }, - "ip": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" + "ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "requires": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "dependencies": { + "sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==" + } + } }, "is-arguments": { "version": "1.1.1", @@ -29839,6 +29867,11 @@ } } }, + "jsbn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==" + }, "jsdom": { "version": "16.7.0", "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", @@ -30885,9 +30918,9 @@ "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==" }, "node-sass": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-8.0.0.tgz", - "integrity": "sha512-jPzqCF2/e6JXw6r3VxfIqYc8tKQdkj5Z/BDATYyG6FL6b/LuYBNFGFVhus0mthcWifHm/JzBpKAd+3eXsWeK/A==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-9.0.0.tgz", + "integrity": "sha512-yltEuuLrfH6M7Pq2gAj5B6Zm7m+gdZoG66wTqG6mIZV/zijq3M2OO2HswtT6oBspPyFhHDcaxWpsBm0fRNDHPg==", "requires": { "async-foreach": "^0.1.3", "chalk": "^4.1.2", @@ -34498,11 +34531,11 @@ } }, "socks": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", - "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.3.tgz", + "integrity": "sha512-vfuYK48HXCTFD03G/1/zkIls3Ebr2YNa4qU9gHDZdblHLiqhJrJGkY3+0Nx0JpN9qBhJbVObc1CNciT1bIZJxw==", "requires": { - "ip": "^2.0.0", + "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" } }, diff --git a/package.json b/package.json index a67b8660..358814fb 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ ], "dependencies": { "@bigcommerce/stencil-paper": "4.10.4", - "@bigcommerce/stencil-styles": "5.2.0", + "@bigcommerce/stencil-styles": "5.3.2", "@hapi/boom": "^10.0.0", "@hapi/glue": "^8.0.0", "@hapi/h2o2": "^9.1.0",