@prairielearn/sentry 1.1.4 → 1.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @prairielearn/sentry
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - eebc7f9: Export `getCurrentScope` function
8
+
9
+ ## 1.1.5
10
+
11
+ ### Patch Changes
12
+
13
+ - abfd5cc: Upgrade all JavaScript dependencies
14
+
3
15
  ## 1.1.4
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -5,4 +5,4 @@ import * as Sentry from '@sentry/node';
5
5
  */
6
6
  export declare function init(options: Sentry.NodeOptions): Promise<void>;
7
7
  export { Breadcrumb, BreadcrumbHint, Request, SdkInfo, Event, EventHint, Exception, Session, Severity, SeverityLevel, StackFrame, Stacktrace, Thread, User, AddRequestDataToEventOptions, PolymorphicRequest, NodeOptions, } from '@sentry/node';
8
- export { addGlobalEventProcessor, addBreadcrumb, captureException, captureEvent, captureMessage, configureScope, createTransport, getHubFromCarrier, getCurrentHub, Hub, makeMain, Scope, startTransaction, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, NodeClient, makeNodeTransport, addRequestDataToEvent, extractRequestData, defaultIntegrations, defaultStackParser, lastEventId, flush, close, getSentryRelease, deepReadDirSync, Integrations, Handlers, runWithAsyncContext, } from '@sentry/node';
8
+ export { addGlobalEventProcessor, addBreadcrumb, captureException, captureEvent, captureMessage, configureScope, createTransport, getHubFromCarrier, getCurrentHub, Hub, makeMain, Scope, startTransaction, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, NodeClient, makeNodeTransport, addRequestDataToEvent, extractRequestData, defaultIntegrations, defaultStackParser, lastEventId, flush, close, getSentryRelease, deepReadDirSync, Integrations, Handlers, runWithAsyncContext, getCurrentScope, } from '@sentry/node';
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.runWithAsyncContext = exports.Handlers = exports.Integrations = exports.deepReadDirSync = exports.getSentryRelease = exports.close = exports.flush = exports.lastEventId = exports.defaultStackParser = exports.defaultIntegrations = exports.extractRequestData = exports.addRequestDataToEvent = exports.makeNodeTransport = exports.NodeClient = exports.withScope = exports.setUser = exports.setTags = exports.setTag = exports.setExtras = exports.setExtra = exports.setContext = exports.SDK_VERSION = exports.startTransaction = exports.Scope = exports.makeMain = exports.Hub = exports.getCurrentHub = exports.getHubFromCarrier = exports.createTransport = exports.configureScope = exports.captureMessage = exports.captureEvent = exports.captureException = exports.addBreadcrumb = exports.addGlobalEventProcessor = exports.init = void 0;
29
+ exports.getCurrentScope = exports.runWithAsyncContext = exports.Handlers = exports.Integrations = exports.deepReadDirSync = exports.getSentryRelease = exports.close = exports.flush = exports.lastEventId = exports.defaultStackParser = exports.defaultIntegrations = exports.extractRequestData = exports.addRequestDataToEvent = exports.makeNodeTransport = exports.NodeClient = exports.withScope = exports.setUser = exports.setTags = exports.setTag = exports.setExtras = exports.setExtra = exports.setContext = exports.SDK_VERSION = exports.startTransaction = exports.Scope = exports.makeMain = exports.Hub = exports.getCurrentHub = exports.getHubFromCarrier = exports.createTransport = exports.configureScope = exports.captureMessage = exports.captureEvent = exports.captureException = exports.addBreadcrumb = exports.addGlobalEventProcessor = exports.init = void 0;
30
30
  const Sentry = __importStar(require("@sentry/node"));
31
31
  const execa_1 = __importDefault(require("execa"));
32
32
  /**
@@ -86,4 +86,5 @@ Object.defineProperty(exports, "deepReadDirSync", { enumerable: true, get: funct
86
86
  Object.defineProperty(exports, "Integrations", { enumerable: true, get: function () { return node_1.Integrations; } });
87
87
  Object.defineProperty(exports, "Handlers", { enumerable: true, get: function () { return node_1.Handlers; } });
88
88
  Object.defineProperty(exports, "runWithAsyncContext", { enumerable: true, get: function () { return node_1.runWithAsyncContext; } });
89
+ Object.defineProperty(exports, "getCurrentScope", { enumerable: true, get: function () { return node_1.getCurrentScope; } });
89
90
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAuC;AACvC,kDAA0B;AAE1B;;;GAGG;AACI,KAAK,UAAU,IAAI,CAAC,OAA2B;IACpD,IAAI,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAE9B,IAAI,CAAC,OAAO,EAAE;QACZ,IAAI;YACF,OAAO,GAAG,CAAC,MAAM,IAAA,eAAK,EAAC,KAAK,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;SACrE;QAAC,OAAO,CAAC,EAAE;YACV,mEAAmE;YACnE,oCAAoC;SACrC;KACF;IAED,MAAM,CAAC,IAAI,CAAC;QACV,OAAO;QACP,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAhBD,oBAgBC;AAyBD,qCAoCsB;AAnCpB,+GAAA,uBAAuB,OAAA;AACvB,qGAAA,aAAa,OAAA;AACb,wGAAA,gBAAgB,OAAA;AAChB,oGAAA,YAAY,OAAA;AACZ,sGAAA,cAAc,OAAA;AACd,sGAAA,cAAc,OAAA;AACd,uGAAA,eAAe,OAAA;AACf,yGAAA,iBAAiB,OAAA;AACjB,qGAAA,aAAa,OAAA;AACb,2FAAA,GAAG,OAAA;AACH,gGAAA,QAAQ,OAAA;AACR,6FAAA,KAAK,OAAA;AACL,wGAAA,gBAAgB,OAAA;AAChB,mGAAA,WAAW,OAAA;AACX,kGAAA,UAAU,OAAA;AACV,gGAAA,QAAQ,OAAA;AACR,iGAAA,SAAS,OAAA;AACT,8FAAA,MAAM,OAAA;AACN,+FAAA,O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,yGAAA,iBAAiB,OAAA;AACjB,qGAAA,aAAa,OAAA;AACb,2FAAA,GAAG,OAAA;AACH,gGAAA,QAAQ,OAAA;AACR,6FAAA,KAAK,OAAA;AACL,wGAAA,gBAAgB,OAAA;AAChB,mGAAA,WAAW,OAAA;AACX,kGAAA,UAAU,OAAA;AACV,gGAAA,QAAQ,OAAA;AACR,iGAAA,SAAS,OAAA;AACT,8FAAA,MAAM,OAAA;AACN,+FAAA,OAAO,OAAA;AACP,+FAAA,OAAO,OAAA;AACP,iGAAA,SAAS,OAAA;AACT,kGAAA,UAAU,OAAA;AACV,yGAAA,iBAAiB,OAAA;AACjB,6GAAA,qBAAqB,OAAA;AACrB,0GAAA,kBAAkB,OAAA;AAClB,2GAAA,mBAAmB,OAAA;AACnB,0GAAA,kBAAkB,OAAA;AAClB,mGAAA,WAAW,OAAA;AACX,6FAAA,KAAK,OAAA;AACL,6FAAA,KAAK,OAAA;AACL,wGAAA,gBAAgB,OAAA;AAChB,uGAAA,eAAe,OAAA;AACf,oGAAA,YAAY,OAAA;AACZ,gGAAA,QAAQ,OAAA;AACR,2GAAA,mBAAmB,OAAA;AACnB,uGAAA,eAAe,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prairielearn/sentry",
3
- "version": "1.1.4",
3
+ "version": "1.2.0",
4
4
  "main": "dist/index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,12 +13,12 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@prairielearn/tsconfig": "^0.0.0",
16
- "@types/node": "^18.19.0",
17
- "ts-node": "^10.9.1",
18
- "typescript": "^5.2.2"
16
+ "@types/node": "^18.19.4",
17
+ "ts-node": "^10.9.2",
18
+ "typescript": "^5.3.3"
19
19
  },
20
20
  "dependencies": {
21
- "@sentry/node": "^7.85.0",
21
+ "@sentry/node": "^7.91.0",
22
22
  "execa": "^5.1.1"
23
23
  }
24
24
  }
package/src/index.ts CHANGED
@@ -82,4 +82,5 @@ export {
82
82
  Integrations,
83
83
  Handlers,
84
84
  runWithAsyncContext,
85
+ getCurrentScope,
85
86
  } from '@sentry/node';