You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exports[`generateGlobalInjectorCode generates code with release 1`] =`"!function(){vare=\\"undefined\\"!=typeofwindow?window:\\"undefined\\"!=typeofglobal?global:\\"undefined\\"!=typeofglobalThis?globalThis:\\"undefined\\"!=typeofself?self:{};e.SENTRY_RELEASE={id:\\"1.2.3\\"};}();"`;
3
+
exports[`generateGlobalInjectorCode generates code with release 1`] =`"!function(){try{var e=\\"undefined\\"!=typeof window?window:\\"undefined\\"!=typeofglobal?global:\\"undefined\\"!=typeofglobalThis?globalThis:\\"undefined\\"!=typeofself?self:{};e.SENTRY_RELEASE={id:\\"1.2.3\\"};}catch(e){}}();"`;
4
4
5
-
exports[`generateGlobalInjectorCode generates code with release and build information 1`] =`"!function(){vare=\\"undefined\\"!=typeofwindow?window:\\"undefined\\"!=typeofglobal?global:\\"undefined\\"!=typeofglobalThis?globalThis:\\"undefined\\"!=typeofself?self:{};e.SENTRY_RELEASE={id:\\"1.2.3\\"};e.SENTRY_BUILD_INFO={\\"deps\\":[\\"myDep\\",\\"rollup\\"],\\"depsVersions\\":{\\"rollup\\":3},\\"nodeVersion\\":18};}();"`;
5
+
exports[`generateGlobalInjectorCode generates code with release and build information 1`] =`"!function(){try{var e=\\"undefined\\"!=typeof window?window:\\"undefined\\"!=typeofglobal?global:\\"undefined\\"!=typeofglobalThis?globalThis:\\"undefined\\"!=typeofself?self:{};e.SENTRY_RELEASE={id:\\"1.2.3\\"};e.SENTRY_BUILD_INFO={\\"deps\\":[\\"myDep\\",\\"rollup\\"],\\"depsVersions\\":{\\"rollup\\":3},\\"nodeVersion\\":18};}catch(e){}}();"`;
6
6
7
-
exports[`generateModuleMetadataInjectorCode generates code with empty metadata object 1`] =`"!function(){vare=\\"undefined\\"!=typeofwindow?window:\\"undefined\\"!=typeofglobal?global:\\"undefined\\"!=typeofglobalThis?globalThis:\\"undefined\\"!=typeofself?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(newe.Error).stack]=function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];if(null!=a)for(var t ina)a.hasOwnProperty(t)&&(e[t]=a[t])}returne}({},e._sentryModuleMetadata[(newe.Error).stack],{})}();"`;
7
+
exports[`generateModuleMetadataInjectorCode generates code with empty metadata object 1`] =`"!function(){try{var e=\\"undefined\\"!=typeof window?window:\\"undefined\\"!=typeofglobal?global:\\"undefined\\"!=typeofglobalThis?globalThis:\\"undefined\\"!=typeofself?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(newe.Error).stack]=function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];if(null!=a)for(var t ina)a.hasOwnProperty(t)&&(e[t]=a[t])}returne}({},e._sentryModuleMetadata[(new e.Error).stack],{})}catch(e){}}();"`;
8
8
9
-
exports[`generateModuleMetadataInjectorCode generates code with metadata object 1`] =`"!function(){vare=\\"undefined\\"!=typeofwindow?window:\\"undefined\\"!=typeofglobal?global:\\"undefined\\"!=typeofglobalThis?globalThis:\\"undefined\\"!=typeofself?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(newe.Error).stack]=function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];if(null!=a)for(var t ina)a.hasOwnProperty(t)&&(e[t]=a[t])}returne}({},e._sentryModuleMetadata[(newe.Error).stack],{\\"file1.js\\":{\\"foo\\":\\"bar\\"},\\"file2.js\\":{\\"bar\\":\\"baz\\"}})}();"`;
9
+
exports[`generateModuleMetadataInjectorCode generates code with metadata object 1`] = `"!function(){try{var e=\\"undefined\\"!=typeofwindow?window:\\"undefined\\"!=typeofglobal?global:\\"undefined\\"!=typeofglobalThis?globalThis:\\"undefined\\"!=typeofself?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(newe.Error).stack]=function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];if(null!=a)for(var t ina)a.hasOwnProperty(t)&&(e[t]=a[t])}returne}({},e._sentryModuleMetadata[(newe.Error).stack],{\\"file1.js\\":{\\"foo\\":\\"bar\\"},\\"file2.js\\":{\\"bar\\":\\"baz\\"}})}catch(e){}}();"`;
0 commit comments