File size: 421 Bytes
2434dca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/node_modules/sdp/sdp.js b/node_modules/sdp/sdp.js
index d0e6488..007570f 100644
--- a/node_modules/sdp/sdp.js
+++ b/node_modules/sdp/sdp.js
@@ -796,7 +796,6 @@ SDPUtils.isValidSDP = function(blob) {
   return true;
 };
 
-// Expose public methods.
-if (typeof module === 'object') {
-  module.exports = SDPUtils;
-}
+// Expose public methods (patched for ESM)
+export default SDPUtils;
+export { SDPUtils };