@lowerdeck/sentry 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+
2
+ $ microbundle
3
+ Build "@lowerdeck/redis" to dist:
4
+ 12.8 kB: index.cjs.gz
5
+ 11.2 kB: index.cjs.br
6
+ 11.8 kB: index.module.js.gz
7
+ 10.3 kB: index.module.js.br
8
+ 12.8 kB: index.module.js.gz
9
+ 11.2 kB: index.module.js.br
10
+ 12.9 kB: index.umd.js.gz
11
+ 11.3 kB: index.umd.js.br
@@ -0,0 +1,23 @@
1
+
2
+ $ vitest run --passWithNoTests
3
+ [?25l
4
+  RUN  v3.2.4 /Users/tobias/code/metorial/metorial-enterprise/oss/src/packages/backend/redis
5
+
6
+ [?2026h
7
+  ❯ src/utils/parseRedisUrl.test.ts [queued]
8
+
9
+  Test Files 0 passed (1)
10
+  Tests 0 passed (0)
11
+  Start at 12:11:28
12
+  Duration 101ms
13
+ [?2026l ✓ src/utils/parseRedisUrl.test.ts (3 tests) 2ms
14
+ ✓ parseRedisUrl > should parse a valid Redis URL 1ms
15
+ ✓ parseRedisUrl > should parse a Redis URL with password 0ms
16
+ ✓ parseRedisUrl > should parse a Redis URL with a different database 0ms
17
+
18
+  Test Files  1 passed (1)
19
+  Tests  3 passed (3)
20
+  Start at  12:11:28
21
+  Duration  222ms (transform 31ms, setup 0ms, collect 28ms, tests 2ms, environment 0ms, prepare 41ms)
22
+
23
+ [?25h
package/dist/index.cjs ADDED
@@ -0,0 +1,2 @@
1
+ function e(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,r}var r={current:/*#__PURE__*/e(require("@sentry/core"))};exports.getSentry=function(){return r.current},exports.setSentry=function(e){r.current=e};
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["import * as SentryBase from '@sentry/core';\n\nlet sentryRef = { current: SentryBase };\n\nexport let setSentry = (sentry: typeof SentryBase) => {\n sentryRef.current = sentry;\n};\n\nexport let getSentry = (): typeof SentryBase => sentryRef.current;\n"],"names":["sentryRef","current","sentry"],"mappings":"kRAEIA,EAAY,CAAEC,mEAMK,WAAyB,OAAAD,EAAUC,OAAO,oBAJ1C,SAACC,GACtBF,EAAUC,QAAUC,CACtB"}
@@ -0,0 +1,4 @@
1
+ import * as SentryBase from '@sentry/core';
2
+ export declare let setSentry: (sentry: typeof SentryBase) => void;
3
+ export declare let getSentry: () => typeof SentryBase;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAI3C,eAAO,IAAI,SAAS,GAAI,QAAQ,OAAO,UAAU,SAEhD,CAAC;AAEF,eAAO,IAAI,SAAS,QAAO,OAAO,UAA+B,CAAC"}
@@ -0,0 +1,2 @@
1
+ import*as r from"@sentry/core";var n={current:r},t=function(r){n.current=r},e=function(){return n.current};export{e as getSentry,t as setSentry};
2
+ //# sourceMappingURL=index.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.module.js","sources":["../src/index.ts"],"sourcesContent":["import * as SentryBase from '@sentry/core';\n\nlet sentryRef = { current: SentryBase };\n\nexport let setSentry = (sentry: typeof SentryBase) => {\n sentryRef.current = sentry;\n};\n\nexport let getSentry = (): typeof SentryBase => sentryRef.current;\n"],"names":["sentryRef","current","SentryBase","setSentry","sentry","getSentry"],"mappings":"+BAEA,IAAIA,EAAY,CAAEC,QAASC,GAEhBC,EAAY,SAACC,GACtBJ,EAAUC,QAAUG,CACtB,EAEWC,EAAY,WAAyB,OAAAL,EAAUC,OAAO"}
@@ -0,0 +1,2 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@sentry/core")):"function"==typeof define&&define.amd?define(["exports","@sentry/core"],t):t((e||self).sentry={},e.SentryBase)}(this,function(e,t){function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,t}var r={current:/*#__PURE__*/n(t)};e.getSentry=function(){return r.current},e.setSentry=function(e){r.current=e}});
2
+ //# sourceMappingURL=index.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.umd.js","sources":["../src/index.ts"],"sourcesContent":["import * as SentryBase from '@sentry/core';\n\nlet sentryRef = { current: SentryBase };\n\nexport let setSentry = (sentry: typeof SentryBase) => {\n sentryRef.current = sentry;\n};\n\nexport let getSentry = (): typeof SentryBase => sentryRef.current;\n"],"names":["sentryRef","current","sentry"],"mappings":"wiBAEIA,EAAY,CAAEC,uCAMK,WAAyB,OAAAD,EAAUC,OAAO,cAJ1C,SAACC,GACtBF,EAAUC,QAAUC,CACtB"}