mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-13 02:30:09 -06:00
* chore: upgrade electron to 32.2.0 -- run ci * fix node versions * fix build * fix evil-dns * various fixes * fix srcdoc * various fixes * update package.json * update yarn.lock * various fixes * fix integrity check * fix binary verification * various fixes * update yarn.lock * fix typo * fix lock file * fix tests * fix tests * various fixes * various fixes * various fixes * fix stuff * fix things * try to fix errors * fix * updates * add yarn berry * upgrade electron * attempt with gcc * blank * update arm64 executor * try to fix the arm64 issue * fix arm64 * bump cache * attempt to fix arm64 again * attempt to fix arm64 again * fix darwin problems * merge release/14.0.0 * update yarn.lock * blank -- run ci * blank * blank * blank * try something * try something * clean up * blank * try to fix sessions issue * fixes * get more info * get more info * try something * fix * try something * try something * try something * tweak * one more thing * let us see if this works * blank * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * Apply suggestions from code review * Apply suggestions from code review * Update cli/CHANGELOG.md Co-authored-by: Jennifer Shehane <jennifer@cypress.io> * Update cli/CHANGELOG.md Co-authored-by: Jennifer Shehane <jennifer@cypress.io> * Update CHANGELOG.md * Update cache-version.txt * fix nx (maybe) * Update package.json * try something * Update packages/app/src/runner/aut-iframe.ts * bump version * try to bust cache * try to invalidate cache * Update cli/CHANGELOG.md * suppress benign warnings * Apply suggestions from code review * PR comments * PR comment * Apply suggestions from code review * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * Update cli/CHANGELOG.md Co-authored-by: Matt Schile <mschile@cypress.io> * update debug scenario 4 regex * Update scripts/binary/trigger-publish-binary-pipeline.js --------- Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com> Co-authored-by: Jennifer Shehane <jennifer@cypress.io> Co-authored-by: Matt Schile <mschile@cypress.io>
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
diff --git a/node_modules/ts-node/dist/index.js b/node_modules/ts-node/dist/index.js
|
||
index c03afbf..eb5bd16 100644
|
||
--- a/node_modules/ts-node/dist/index.js
|
||
+++ b/node_modules/ts-node/dist/index.js
|
||
@@ -93,8 +93,11 @@ exports.DEFAULTS = {
|
||
};
|
||
/**
|
||
* TypeScript diagnostics error.
|
||
+ *
|
||
+ * Note: this is patched to extend Error instead of makeError.BaseError. This is to get around this issue:
|
||
+ * https://github.com/TypeStrong/ts-node/issues/2026
|
||
*/
|
||
-class TSError extends make_error_1.BaseError {
|
||
+class TSError extends Error {
|
||
constructor(diagnosticText, diagnosticCodes, diagnostics = []) {
|
||
super(`⨯ Unable to compile TypeScript:\n${diagnosticText}`);
|
||
this.diagnosticCodes = diagnosticCodes;
|
||
@@ -110,12 +113,6 @@ class TSError extends make_error_1.BaseError {
|
||
value: diagnostics,
|
||
});
|
||
}
|
||
- /**
|
||
- * @internal
|
||
- */
|
||
- [exports.INSPECT_CUSTOM]() {
|
||
- return this.diagnosticText;
|
||
- }
|
||
}
|
||
exports.TSError = TSError;
|
||
const TS_NODE_SERVICE_BRAND = Symbol('TS_NODE_SERVICE_BRAND');
|