Files
babel/.yarn/patches/@rollup-plugin-commonjs-npm-29.0.2-18c3a497d8.patch
Huáng JùnliàngandGitHub abed81cd22 Bump rollup plugins (#17983)
* chore: bump rollup plugins

* fix: resolve from "node" exports

* bump rollup-plugin-commonjs

Also patched for ES5 compatibility required by babel-standalone

* fix: dynamicRequireTargets accepts relative path

* update artifact
2026-05-06 15:39:05 -04:00

27 lines
946 B
Diff
Vendored

diff --git a/dist/cjs/index.js b/dist/cjs/index.js
index 082f85b39c190322df9d231618e798554dadbc30..98c33e6003646468e89adf7cbfcf6fd25a69362d 100644
--- a/dist/cjs/index.js
+++ b/dist/cjs/index.js
@@ -383,7 +383,7 @@ export function getAugmentedNamespace(n) {
var isInstance = false;
try {
isInstance = this instanceof a;
- } catch {}
+ } catch (e) {}
if (isInstance) {
return Reflect.construct(f, arguments, this.constructor);
}
diff --git a/dist/es/index.js b/dist/es/index.js
index 3137453ce7adf2e3dac6197ff1655d5c5bd038e9..28456f4933736859719a547750c04cfaaea63557 100644
--- a/dist/es/index.js
+++ b/dist/es/index.js
@@ -379,7 +379,7 @@ export function getAugmentedNamespace(n) {
var isInstance = false;
try {
isInstance = this instanceof a;
- } catch {}
+ } catch (e) {}
if (isInstance) {
return Reflect.construct(f, arguments, this.constructor);
}