posthog-node 5.35.13 → 5.35.15
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/LICENSE +29 -2
- package/dist/extensions/error-tracking/autocapture.d.ts.map +1 -1
- package/dist/extensions/error-tracking/modifiers/context-lines.node.d.ts.map +1 -1
- package/dist/extensions/error-tracking/modifiers/module.node.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +2 -2
- package/src/extensions/error-tracking/autocapture.ts +3 -2
- package/src/extensions/error-tracking/modifiers/context-lines.node.ts +4 -3
- package/src/extensions/error-tracking/modifiers/module.node.ts +3 -2
- package/src/version.ts +1 -1
package/LICENSE
CHANGED
|
@@ -219,8 +219,8 @@ limitations under the License.
|
|
|
219
219
|
|
|
220
220
|
---
|
|
221
221
|
|
|
222
|
-
Some files in this codebase contain code from getsentry/sentry-javascript
|
|
223
|
-
In such cases it is explicitly stated in the file header. This license only applies to the relevant code in such cases.
|
|
222
|
+
Some files in this codebase contain code from getsentry/sentry-javascript.
|
|
223
|
+
In such cases it is explicitly stated in the file header. This license only applies to the relevant code in such cases.
|
|
224
224
|
|
|
225
225
|
MIT License
|
|
226
226
|
|
|
@@ -246,6 +246,33 @@ SOFTWARE.
|
|
|
246
246
|
|
|
247
247
|
---
|
|
248
248
|
|
|
249
|
+
Some files in this codebase contain code from getsentry/sentry-react-native.
|
|
250
|
+
In such cases it is explicitly stated in the file header. This license only applies to the relevant code in such cases.
|
|
251
|
+
|
|
252
|
+
The MIT License (MIT)
|
|
253
|
+
|
|
254
|
+
Copyright (c) 2017 Sentry
|
|
255
|
+
|
|
256
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
257
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
258
|
+
in the Software without restriction, including without limitation the rights
|
|
259
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
260
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
261
|
+
furnished to do so, subject to the following conditions:
|
|
262
|
+
|
|
263
|
+
The above copyright notice and this permission notice shall be included in all
|
|
264
|
+
copies or substantial portions of the Software.
|
|
265
|
+
|
|
266
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
267
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
268
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
269
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
270
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
271
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
272
|
+
SOFTWARE.
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
249
276
|
Some files in this codebase contain code from facebook/metro by Meta Platforms, Inc. and affiliates.
|
|
250
277
|
In such cases it is explicitly stated in the file header. This license only applies to the relevant code in such cases.
|
|
251
278
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocapture.d.ts","sourceRoot":"","sources":["../../../src/extensions/error-tracking/autocapture.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"autocapture.d.ts","sourceRoot":"","sources":["../../../src/extensions/error-tracking/autocapture.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAA;AA6ClE,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,iBAAiB,CAAC,SAAS,KAAK,IAAI,EACxE,SAAS,EAAE,CAAC,SAAS,EAAE,KAAK,KAAK,IAAI,GACpC,IAAI,CAEN;AAED,wBAAgB,6BAA6B,CAC3C,SAAS,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,CAAC,SAAS,KAAK,IAAI,GACzE,IAAI,CASN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-lines.node.d.ts","sourceRoot":"","sources":["../../../../src/extensions/error-tracking/modifiers/context-lines.node.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context-lines.node.d.ts","sourceRoot":"","sources":["../../../../src/extensions/error-tracking/modifiers/context-lines.node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAUlE,eAAO,MAAM,sBAAsB,EAAE,MAAa,CAAA;AAClD,eAAO,MAAM,uBAAuB,EAAE,MAAc,CAAA;AAIpD,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,iBAAiB,CAAC,UAAU,EAAE,GACrC,OAAO,CAAC,iBAAiB,CAAC,UAAU,EAAE,CAAC,CAuEzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.node.d.ts","sourceRoot":"","sources":["../../../../src/extensions/error-tracking/modifiers/module.node.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.node.d.ts","sourceRoot":"","sources":["../../../../src/extensions/error-tracking/modifiers/module.node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAGlE,wBAAgB,qBAAqB,KAErB,QAAQ,iBAAiB,CAAC,UAAU,EAAE,KAAG,OAAO,CAAC,iBAAiB,CAAC,UAAU,EAAE,CAAC,CAM/F"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "5.35.
|
|
1
|
+
export declare const version = "5.35.15";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -26,7 +26,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
version: ()=>version
|
|
28
28
|
});
|
|
29
|
-
const version = '5.35.
|
|
29
|
+
const version = '5.35.15';
|
|
30
30
|
exports.version = __webpack_exports__.version;
|
|
31
31
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
32
32
|
"version"
|
package/dist/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const version = '5.35.
|
|
1
|
+
const version = '5.35.15';
|
|
2
2
|
export { version };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "posthog-node",
|
|
3
|
-
"version": "5.35.
|
|
3
|
+
"version": "5.35.15",
|
|
4
4
|
"description": "PostHog Node.js integration",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"module": "dist/entrypoints/index.node.mjs",
|
|
26
26
|
"types": "dist/entrypoints/index.node.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@posthog/core": "1.30.
|
|
28
|
+
"@posthog/core": "1.30.6"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@edge-runtime/jest-environment": "^4.0.0",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
// Portions of this file are derived from getsentry/sentry-javascript
|
|
2
|
-
//
|
|
1
|
+
// Portions of this file are derived from getsentry/sentry-javascript
|
|
2
|
+
// Copyright (c) 2012 Functional Software, Inc. dba Sentry
|
|
3
|
+
// Licensed under the MIT License: https://github.com/getsentry/sentry-javascript/blob/develop/LICENSE
|
|
3
4
|
|
|
4
5
|
import { ErrorTracking as CoreErrorTracking } from '@posthog/core'
|
|
5
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
// Portions of this file are derived from getsentry/sentry-javascript
|
|
2
|
-
//
|
|
1
|
+
// Portions of this file are derived from getsentry/sentry-javascript
|
|
2
|
+
// Copyright (c) 2012 Functional Software, Inc. dba Sentry
|
|
3
|
+
// Licensed under the MIT License: https://github.com/getsentry/sentry-javascript/blob/develop/LICENSE
|
|
3
4
|
|
|
4
5
|
import { ErrorTracking as CoreErrorTracking } from '@posthog/core'
|
|
5
6
|
import { createReadStream } from 'node:fs'
|
|
@@ -106,7 +107,7 @@ function getContextLinesFromFile(path: string, ranges: ReadlineRange[], output:
|
|
|
106
107
|
|
|
107
108
|
// We need to explicitly destroy the stream to prevent memory leaks,
|
|
108
109
|
// removing the listeners on the readline interface is not enough.
|
|
109
|
-
//
|
|
110
|
+
// Otherwise, repeated exception captures can keep opening the same files without closing them.
|
|
110
111
|
function destroyStreamAndResolve(): void {
|
|
111
112
|
stream.destroy()
|
|
112
113
|
resolve()
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
// Portions of this file are derived from getsentry/sentry-javascript
|
|
2
|
-
//
|
|
1
|
+
// Portions of this file are derived from getsentry/sentry-javascript
|
|
2
|
+
// Copyright (c) 2012 Functional Software, Inc. dba Sentry
|
|
3
|
+
// Licensed under the MIT License: https://github.com/getsentry/sentry-javascript/blob/develop/LICENSE
|
|
3
4
|
|
|
4
5
|
import { ErrorTracking as CoreErrorTracking } from '@posthog/core'
|
|
5
6
|
import { posix, sep, dirname } from 'path'
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '5.35.
|
|
1
|
+
export const version = '5.35.15'
|