@sentry/gatsby 10.70.0 → 11.0.0-alpha.1

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.
@@ -1 +1 @@
1
- {"type":"module","version":"10.70.0","sideEffects":false}
1
+ {"type":"module","version":"11.0.0-alpha.1","sideEffects":false}
package/gatsby-node.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export function onCreateWebpackConfig({ getConfig, actions }: {
2
- getConfig: any;
1
+ export declare var onCreateWebpackConfig: ({ getConfig, actions }: {
3
2
  actions: any;
4
- }, options: any): void;
3
+ getConfig: any;
4
+ }, options: any) => void;
package/gatsby-node.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const fs = require('fs');
2
2
 
3
- const { sentryWebpackPlugin } = require('@sentry/webpack-plugin');
3
+ const { sentryWebpackPlugin } = require('@sentry/bundler-plugins/webpack');
4
4
 
5
5
  const SENTRY_USER_CONFIG = ['./sentry.config.js', './sentry.config.ts'];
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/gatsby",
3
- "version": "10.70.0",
3
+ "version": "11.0.0-alpha.1",
4
4
  "description": "Official Sentry SDK for Gatsby.js",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/gatsby",
@@ -11,7 +11,7 @@
11
11
  "gatsby-plugin"
12
12
  ],
13
13
  "engines": {
14
- "node": ">=18"
14
+ "node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
15
15
  },
16
16
  "files": [
17
17
  "/build",
@@ -34,24 +34,17 @@
34
34
  }
35
35
  }
36
36
  },
37
- "typesVersions": {
38
- "<5.0": {
39
- "build/types/index.d.ts": [
40
- "build/types-ts3.8/index.d.ts"
41
- ]
42
- }
43
- },
44
37
  "publishConfig": {
45
38
  "access": "public"
46
39
  },
47
40
  "dependencies": {
48
- "@sentry/core": "10.70.0",
49
- "@sentry/react": "10.70.0",
50
- "@sentry/webpack-plugin": "^5.3.0"
41
+ "@sentry/core": "11.0.0-alpha.1",
42
+ "@sentry/react": "11.0.0-alpha.1",
43
+ "@sentry/bundler-plugins": "11.0.0-alpha.1"
51
44
  },
52
45
  "peerDependencies": {
53
46
  "gatsby": "^3.0.0 || ^4.0.0 || ^5.0.0",
54
- "react": "16.x || 17.x || 18.x || 19.x"
47
+ "react": "17.x || 18.x || 19.x"
55
48
  },
56
49
  "devDependencies": {
57
50
  "@testing-library/react": "^15.0.5",
@@ -65,17 +58,15 @@
65
58
  "build:plugin": "tsc -p tsconfig.plugin.json",
66
59
  "build:transpile": "run-p build:rollup build:plugin",
67
60
  "build:rollup": "rollup -c rollup.npm.config.mjs",
68
- "build:types": "run-s build:types:core build:types:downlevel",
69
- "build:types:core": "tsc -p tsconfig.types.json",
70
- "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8",
61
+ "build:types": "tsc -p tsconfig.types.json",
71
62
  "build:watch": "run-p build:transpile:watch",
72
63
  "build:dev:watch": "yarn build:watch",
73
64
  "build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
74
65
  "build:tarball": "npm pack",
75
66
  "circularDepCheck": "madge --circular src/index.ts",
76
67
  "clean": "rimraf build coverage *.d.ts sentry-gatsby-*.tgz",
77
- "lint:fix": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --fix --type-aware",
78
- "lint": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --type-aware",
68
+ "lint:fix": "oxlint . --fix --type-aware",
69
+ "lint": "oxlint . --type-aware",
79
70
  "lint:es-compatibility": "es-check es2020 ./build/cjs/*.js && es-check es2020 ./build/esm/*.js --module",
80
71
  "test": "vitest run",
81
72
  "test:watch": "vitest --watch",
@@ -1,3 +0,0 @@
1
- export * from '@sentry/react';
2
- export { init } from './sdk';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,7 +0,0 @@
1
- import { Client } from '@sentry/core';
2
- import { GatsbyOptions } from './utils/types';
3
- /**
4
- * Inits the Sentry Gatsby SDK.
5
- */
6
- export declare function init(options: GatsbyOptions): Client | undefined;
7
- //# sourceMappingURL=sdk.d.ts.map
@@ -1,3 +0,0 @@
1
- import { BrowserOptions } from '@sentry/react';
2
- export type GatsbyOptions = BrowserOptions;
3
- //# sourceMappingURL=types.d.ts.map