The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
drop patch from `cypress-esbuild-preprocessor` (#65010)
Uladzimir Havenchyk90b57af0aed6
diff --git a/package.json b/package.jsonindex 02ba0e41056..dde89d29cb9 100644--- a/package.json+++ b/package.json@@ -160,7 +160,7 @@"@babel/preset-env": "^7.24.8","@babel/preset-react": "^7.23.3","@babel/preset-typescript": "^7.24.7",- "@bahmutov/cypress-esbuild-preprocessor": "^2.2.0",+ "@bahmutov/cypress-esbuild-preprocessor": "^2.2.7","@csstools/postcss-global-data": "^3.1.0","@cypress/grep": "^4.0.1","@cypress/react": "^8",diff --git a/patches/@bahmutov+cypress-esbuild-preprocessor+2.2.0.patch b/patches/@bahmutov+cypress-esbuild-preprocessor+2.2.0.patchdeleted file mode 100644index 77d20ee0ac9..00000000000--- a/patches/@bahmutov+cypress-esbuild-preprocessor+2.2.0.patch+++ /dev/null@@ -1,42 +0,0 @@-diff --git a/node_modules/@bahmutov/cypress-esbuild-preprocessor/src/index.js b/node_modules/@bahmutov/cypress-esbuild-preprocessor/src/index.js-index e3a3aa0..96a4eb5 100644---- a/node_modules/@bahmutov/cypress-esbuild-preprocessor/src/index.js-+++ b/node_modules/@bahmutov/cypress-esbuild-preprocessor/src/index.js-@@ -80,13 +80,35 @@ const createBundler = (esBuildUserOptions = {}) => {- const customBuildPlugin = {- name: 'cypress-esbuild-watch-plugin',- setup(build) {-- build.onEnd(result => {-+ // throws an error when running in watch mode-+ // https://github.com/bahmutov/cypress-esbuild-preprocessor/pull/381-+ build.onEnd((result) => {-+ if (result.errors.length > 0) {-+ debug(-+ 'watch on %s build failed, errors %o',-+ filePath,-+ result.errors,-+ )-+-+ bundled[filePath] = new Promise((resolve, reject) => {-+ esbuild-+ .formatMessages(result.errors, {-+ kind: 'error',-+ color: false,-+ })-+ .then((messages) => reject(new Error(messages.join('\n\n'))))-+ })-+-+ file.emit('rerun')-+ return-+ }-+- debug(- 'watch on %s build succeeded, warnings %o',- filePath,- result.warnings,- )-- file.emit('rerun')-+ file.emit('rerun');- });- },- }diff --git a/yarn.lock b/yarn.lockindex 5deb7f7c24d..06d15aa33ac 100644--- a/yarn.lock+++ b/yarn.lock@@ -1066,12 +1066,12 @@"@babel/helper-string-parser" "^7.27.1""@babel/helper-validator-identifier" "^7.27.1"-"@bahmutov/cypress-esbuild-preprocessor@^2.2.0":- version "2.2.0"- resolved "https://registry.yarnpkg.com/@bahmutov/cypress-esbuild-preprocessor/-/cypress-esbuild-preprocessor-2.2.0.tgz#ba5b6bf96e83da3cb4d0cc2baedd0eeee8c84a4f"- integrity sha512-pTvxRi6+OFsXy6uCn/HlO5zi0fUZWbiCtTiLTDf/+kgEfZ/Y8WIxZ2pjuir9MEM8prQenBw60TLcM0wcazh7+Q==+"@bahmutov/cypress-esbuild-preprocessor@^2.2.7":+ version "2.2.7"+ resolved "https://registry.yarnpkg.com/@bahmutov/cypress-esbuild-preprocessor/-/cypress-esbuild-preprocessor-2.2.7.tgz#738d4e6dbd167e404e9f5a5b4fd97272851dbf50"+ integrity sha512-n5kYNQ830Tics+04/pRR/IdJsCoc2xf4iO7emI2ofGIWGuDkE4ewIJt1jYJ+FfN41I2B7jTWQRvU274T4NloTQ==dependencies:- debug "4.3.4"+ debug "4.4.3""@bcoe/v8-coverage@^0.2.3":version "0.2.3"@@ -9484,7 +9484,7 @@ debounce@^1.2.1:resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5"integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==[email protected], [email protected], debug@4, [email protected], debug@^2.6.9, debug@^3.1.0, debug@^3.2.7, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4, debug@^4.3.5, debug@^4.3.7, debug@^4.4.1, debug@^4.4.3:[email protected], [email protected], debug@4, [email protected], [email protected], debug@^2.6.9, debug@^3.1.0, debug@^3.2.7, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4, debug@^4.3.5, debug@^4.3.7, debug@^4.4.1, debug@^4.4.3:version "4.3.4"resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==