@sentry/rollup-plugin 3.2.3 → 3.3.0-alpha.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/dist/cjs/index.js CHANGED
@@ -28,10 +28,10 @@ function rollupModuleMetadataInjectionPlugin(injectionCode) {
28
28
  rollup: bundlerPluginCore.createRollupModuleMetadataInjectionHooks(injectionCode)
29
29
  };
30
30
  }
31
- function rollupDebugIdUploadPlugin(upload) {
31
+ function rollupDebugIdUploadPlugin(upload, logger, createDependencyOnBuildArtifacts) {
32
32
  return {
33
33
  name: "sentry-rollup-debug-id-upload-plugin",
34
- rollup: bundlerPluginCore.createRollupDebugIdUploadHooks(upload)
34
+ rollup: bundlerPluginCore.createRollupDebugIdUploadHooks(upload, logger, createDependencyOnBuildArtifacts)
35
35
  };
36
36
  }
37
37
  function rollupBundleSizeOptimizationsPlugin(replacementValues) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":["import {\n sentryUnpluginFactory,\n Options,\n createRollupReleaseInjectionHooks,\n createRollupModuleMetadataInjectionHooks,\n createRollupDebugIdInjectionHooks,\n createRollupDebugIdUploadHooks,\n SentrySDKBuildFlags,\n createRollupBundleSizeOptimizationHooks,\n createComponentNameAnnotateHooks,\n} from \"@sentry/bundler-plugin-core\";\nimport type { UnpluginOptions } from \"unplugin\";\n\nfunction rollupReleaseInjectionPlugin(injectionCode: string): UnpluginOptions {\n return {\n name: \"sentry-rollup-release-injection-plugin\",\n rollup: createRollupReleaseInjectionHooks(injectionCode),\n };\n}\n\nfunction rollupComponentNameAnnotatePlugin(ignoredComponents?: string[]): UnpluginOptions {\n return {\n name: \"sentry-rollup-component-name-annotate-plugin\",\n rollup: createComponentNameAnnotateHooks(ignoredComponents),\n };\n}\n\nfunction rollupDebugIdInjectionPlugin(): UnpluginOptions {\n return {\n name: \"sentry-rollup-debug-id-injection-plugin\",\n rollup: createRollupDebugIdInjectionHooks(),\n };\n}\n\nfunction rollupModuleMetadataInjectionPlugin(injectionCode: string): UnpluginOptions {\n return {\n name: \"sentry-rollup-module-metadata-injection-plugin\",\n rollup: createRollupModuleMetadataInjectionHooks(injectionCode),\n };\n}\n\nfunction rollupDebugIdUploadPlugin(\n upload: (buildArtifacts: string[]) => Promise<void>\n): UnpluginOptions {\n return {\n name: \"sentry-rollup-debug-id-upload-plugin\",\n rollup: createRollupDebugIdUploadHooks(upload),\n };\n}\n\nfunction rollupBundleSizeOptimizationsPlugin(\n replacementValues: SentrySDKBuildFlags\n): UnpluginOptions {\n return {\n name: \"sentry-rollup-bundle-size-optimizations-plugin\",\n rollup: createRollupBundleSizeOptimizationHooks(replacementValues),\n };\n}\n\nconst sentryUnplugin = sentryUnpluginFactory({\n releaseInjectionPlugin: rollupReleaseInjectionPlugin,\n componentNameAnnotatePlugin: rollupComponentNameAnnotatePlugin,\n debugIdInjectionPlugin: rollupDebugIdInjectionPlugin,\n moduleMetadataInjectionPlugin: rollupModuleMetadataInjectionPlugin,\n debugIdUploadPlugin: rollupDebugIdUploadPlugin,\n bundleSizeOptimizationsPlugin: rollupBundleSizeOptimizationsPlugin,\n});\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const sentryRollupPlugin: (options?: Options) => any = sentryUnplugin.rollup;\n\nexport type { Options as SentryRollupPluginOptions } from \"@sentry/bundler-plugin-core\";\nexport { sentryCliBinaryExists } from \"@sentry/bundler-plugin-core\";\n"],"names":["rollupReleaseInjectionPlugin","injectionCode","name","rollup","createRollupReleaseInjectionHooks","rollupComponentNameAnnotatePlugin","ignoredComponents","createComponentNameAnnotateHooks","rollupDebugIdInjectionPlugin","createRollupDebugIdInjectionHooks","rollupModuleMetadataInjectionPlugin","createRollupModuleMetadataInjectionHooks","rollupDebugIdUploadPlugin","upload","createRollupDebugIdUploadHooks","rollupBundleSizeOptimizationsPlugin","replacementValues","createRollupBundleSizeOptimizationHooks","sentryUnplugin","sentryUnpluginFactory","releaseInjectionPlugin","componentNameAnnotatePlugin","debugIdInjectionPlugin","moduleMetadataInjectionPlugin","debugIdUploadPlugin","bundleSizeOptimizationsPlugin","sentryRollupPlugin"],"mappings":";;;;;;AAaA,SAASA,4BAA4BA,CAACC,aAAqB,EAAmB;EAC5E,OAAO;AACLC,IAAAA,IAAI,EAAE,wCAAwC;IAC9CC,MAAM,EAAEC,mDAAiC,CAACH,aAAa,CAAA;GACxD,CAAA;AACH,CAAA;AAEA,SAASI,iCAAiCA,CAACC,iBAA4B,EAAmB;EACxF,OAAO;AACLJ,IAAAA,IAAI,EAAE,8CAA8C;IACpDC,MAAM,EAAEI,kDAAgC,CAACD,iBAAiB,CAAA;GAC3D,CAAA;AACH,CAAA;AAEA,SAASE,4BAA4BA,GAAoB;EACvD,OAAO;AACLN,IAAAA,IAAI,EAAE,yCAAyC;IAC/CC,MAAM,EAAEM,mDAAiC,EAAC;GAC3C,CAAA;AACH,CAAA;AAEA,SAASC,mCAAmCA,CAACT,aAAqB,EAAmB;EACnF,OAAO;AACLC,IAAAA,IAAI,EAAE,gDAAgD;IACtDC,MAAM,EAAEQ,0DAAwC,CAACV,aAAa,CAAA;GAC/D,CAAA;AACH,CAAA;AAEA,SAASW,yBAAyBA,CAChCC,MAAmD,EAClC;EACjB,OAAO;AACLX,IAAAA,IAAI,EAAE,sCAAsC;IAC5CC,MAAM,EAAEW,gDAA8B,CAACD,MAAM,CAAA;GAC9C,CAAA;AACH,CAAA;AAEA,SAASE,mCAAmCA,CAC1CC,iBAAsC,EACrB;EACjB,OAAO;AACLd,IAAAA,IAAI,EAAE,gDAAgD;IACtDC,MAAM,EAAEc,yDAAuC,CAACD,iBAAiB,CAAA;GAClE,CAAA;AACH,CAAA;AAEA,IAAME,cAAc,GAAGC,uCAAqB,CAAC;AAC3CC,EAAAA,sBAAsB,EAAEpB,4BAA4B;AACpDqB,EAAAA,2BAA2B,EAAEhB,iCAAiC;AAC9DiB,EAAAA,sBAAsB,EAAEd,4BAA4B;AACpDe,EAAAA,6BAA6B,EAAEb,mCAAmC;AAClEc,EAAAA,mBAAmB,EAAEZ,yBAAyB;AAC9Ca,EAAAA,6BAA6B,EAAEV,mCAAAA;AACjC,CAAC,CAAC,CAAA;;AAEF;AACaW,IAAAA,kBAA8C,GAAGR,cAAc,CAACf;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":["import {\n sentryUnpluginFactory,\n Options,\n createRollupReleaseInjectionHooks,\n createRollupModuleMetadataInjectionHooks,\n createRollupDebugIdInjectionHooks,\n createRollupDebugIdUploadHooks,\n SentrySDKBuildFlags,\n createRollupBundleSizeOptimizationHooks,\n createComponentNameAnnotateHooks,\n Logger,\n} from \"@sentry/bundler-plugin-core\";\nimport type { UnpluginOptions } from \"unplugin\";\n\nfunction rollupReleaseInjectionPlugin(injectionCode: string): UnpluginOptions {\n return {\n name: \"sentry-rollup-release-injection-plugin\",\n rollup: createRollupReleaseInjectionHooks(injectionCode),\n };\n}\n\nfunction rollupComponentNameAnnotatePlugin(ignoredComponents?: string[]): UnpluginOptions {\n return {\n name: \"sentry-rollup-component-name-annotate-plugin\",\n rollup: createComponentNameAnnotateHooks(ignoredComponents),\n };\n}\n\nfunction rollupDebugIdInjectionPlugin(): UnpluginOptions {\n return {\n name: \"sentry-rollup-debug-id-injection-plugin\",\n rollup: createRollupDebugIdInjectionHooks(),\n };\n}\n\nfunction rollupModuleMetadataInjectionPlugin(injectionCode: string): UnpluginOptions {\n return {\n name: \"sentry-rollup-module-metadata-injection-plugin\",\n rollup: createRollupModuleMetadataInjectionHooks(injectionCode),\n };\n}\n\nfunction rollupDebugIdUploadPlugin(\n upload: (buildArtifacts: string[]) => Promise<void>,\n logger: Logger,\n createDependencyOnBuildArtifacts: () => () => void\n): UnpluginOptions {\n return {\n name: \"sentry-rollup-debug-id-upload-plugin\",\n rollup: createRollupDebugIdUploadHooks(upload, logger, createDependencyOnBuildArtifacts),\n };\n}\n\nfunction rollupBundleSizeOptimizationsPlugin(\n replacementValues: SentrySDKBuildFlags\n): UnpluginOptions {\n return {\n name: \"sentry-rollup-bundle-size-optimizations-plugin\",\n rollup: createRollupBundleSizeOptimizationHooks(replacementValues),\n };\n}\n\nconst sentryUnplugin = sentryUnpluginFactory({\n releaseInjectionPlugin: rollupReleaseInjectionPlugin,\n componentNameAnnotatePlugin: rollupComponentNameAnnotatePlugin,\n debugIdInjectionPlugin: rollupDebugIdInjectionPlugin,\n moduleMetadataInjectionPlugin: rollupModuleMetadataInjectionPlugin,\n debugIdUploadPlugin: rollupDebugIdUploadPlugin,\n bundleSizeOptimizationsPlugin: rollupBundleSizeOptimizationsPlugin,\n});\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const sentryRollupPlugin: (options?: Options) => any = sentryUnplugin.rollup;\n\nexport type { Options as SentryRollupPluginOptions } from \"@sentry/bundler-plugin-core\";\nexport { sentryCliBinaryExists } from \"@sentry/bundler-plugin-core\";\n"],"names":["rollupReleaseInjectionPlugin","injectionCode","name","rollup","createRollupReleaseInjectionHooks","rollupComponentNameAnnotatePlugin","ignoredComponents","createComponentNameAnnotateHooks","rollupDebugIdInjectionPlugin","createRollupDebugIdInjectionHooks","rollupModuleMetadataInjectionPlugin","createRollupModuleMetadataInjectionHooks","rollupDebugIdUploadPlugin","upload","logger","createDependencyOnBuildArtifacts","createRollupDebugIdUploadHooks","rollupBundleSizeOptimizationsPlugin","replacementValues","createRollupBundleSizeOptimizationHooks","sentryUnplugin","sentryUnpluginFactory","releaseInjectionPlugin","componentNameAnnotatePlugin","debugIdInjectionPlugin","moduleMetadataInjectionPlugin","debugIdUploadPlugin","bundleSizeOptimizationsPlugin","sentryRollupPlugin"],"mappings":";;;;;;AAcA,SAASA,4BAA4BA,CAACC,aAAqB,EAAmB;EAC5E,OAAO;AACLC,IAAAA,IAAI,EAAE,wCAAwC;IAC9CC,MAAM,EAAEC,mDAAiC,CAACH,aAAa,CAAA;GACxD,CAAA;AACH,CAAA;AAEA,SAASI,i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ataInjectionPlugin(injectionCode) {
25
25
  rollup: createRollupModuleMetadataInjectionHooks(injectionCode)
26
26
  };
27
27
  }
28
- function rollupDebugIdUploadPlugin(upload) {
28
+ function rollupDebugIdUploadPlugin(upload, logger, createDependencyOnBuildArtifacts) {
29
29
  return {
30
30
  name: "sentry-rollup-debug-id-upload-plugin",
31
- rollup: createRollupDebugIdUploadHooks(upload)
31
+ rollup: createRollupDebugIdUploadHooks(upload, logger, createDependencyOnBuildArtifacts)
32
32
  };
33
33
  }
34
34
  function rollupBundleSizeOptimizationsPlugin(replacementValues) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../src/index.ts"],"sourcesContent":["import {\n sentryUnpluginFactory,\n Options,\n createRollupReleaseInjectionHooks,\n createRollupModuleMetadataInjectionHooks,\n createRollupDebugIdInjectionHooks,\n createRollupDebugIdUploadHooks,\n SentrySDKBuildFlags,\n createRollupBundleSizeOptimizationHooks,\n createComponentNameAnnotateHooks,\n} from \"@sentry/bundler-plugin-core\";\nimport type { UnpluginOptions } from \"unplugin\";\n\nfunction rollupReleaseInjectionPlugin(injectionCode: string): UnpluginOptions {\n return {\n name: \"sentry-rollup-release-injection-plugin\",\n rollup: createRollupReleaseInjectionHooks(injectionCode),\n };\n}\n\nfunction rollupComponentNameAnnotatePlugin(ignoredComponents?: string[]): UnpluginOptions {\n return {\n name: \"sentry-rollup-component-name-annotate-plugin\",\n rollup: createComponentNameAnnotateHooks(ignoredComponents),\n };\n}\n\nfunction rollupDebugIdInjectionPlugin(): UnpluginOptions {\n return {\n name: \"sentry-rollup-debug-id-injection-plugin\",\n rollup: createRollupDebugIdInjectionHooks(),\n };\n}\n\nfunction rollupModuleMetadataInjectionPlugin(injectionCode: string): UnpluginOptions {\n return {\n name: \"sentry-rollup-module-metadata-injection-plugin\",\n rollup: createRollupModuleMetadataInjectionHooks(injectionCode),\n };\n}\n\nfunction rollupDebugIdUploadPlugin(\n upload: (buildArtifacts: string[]) => Promise<void>\n): UnpluginOptions {\n return {\n name: \"sentry-rollup-debug-id-upload-plugin\",\n rollup: createRollupDebugIdUploadHooks(upload),\n };\n}\n\nfunction rollupBundleSizeOptimizationsPlugin(\n replacementValues: SentrySDKBuildFlags\n): UnpluginOptions {\n return {\n name: \"sentry-rollup-bundle-size-optimizations-plugin\",\n rollup: createRollupBundleSizeOptimizationHooks(replacementValues),\n };\n}\n\nconst sentryUnplugin = sentryUnpluginFactory({\n releaseInjectionPlugin: rollupReleaseInjectionPlugin,\n componentNameAnnotatePlugin: rollupComponentNameAnnotatePlugin,\n debugIdInjectionPlugin: rollupDebugIdInjectionPlugin,\n moduleMetadataInjectionPlugin: rollupModuleMetadataInjectionPlugin,\n debugIdUploadPlugin: rollupDebugIdUploadPlugin,\n bundleSizeOptimizationsPlugin: rollupBundleSizeOptimizationsPlugin,\n});\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const sentryRollupPlugin: (options?: Options) => any = sentryUnplugin.rollup;\n\nexport type { Options as SentryRollupPluginOptions } from \"@sentry/bundler-plugin-core\";\nexport { sentryCliBinaryExists } from \"@sentry/bundler-plugin-core\";\n"],"names":["rollupReleaseInjectionPlugin","injectionCode","name","rollup","createRollupReleaseInjectionHooks","rollupComponentNameAnnotatePlugin","ignoredComponents","createComponentNameAnnotateHooks","rollupDebugIdInjectionPlugin","createRollupDebugIdInjectionHooks","rollupModuleMetadataInjectionPlugin","createRollupModuleMetadataInjectionHooks","rollupDebugIdUploadPlugin","upload","createRollupDebugIdUploadHooks","rollupBundleSizeOptimizationsPlugin","replacementValues","createRollupBundleSizeOptimizationHooks","sentryUnplugin","sentryUnpluginFactory","releaseInjectionPlugin","componentNameAnnotatePlugin","debugIdInjectionPlugin","moduleMetadataInjectionPlugin","debugIdUploadPlugin","bundleSizeOptimizationsPlugin","sentryRollupPlugin"],"mappings":";;;AAaA,SAASA,4BAA4BA,CAACC,aAAqB,EAAmB;EAC5E,OAAO;AACLC,IAAAA,IAAI,EAAE,wCAAwC;IAC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","sources":["../../src/index.ts"],"sourcesContent":["import {\n sentryUnpluginFactory,\n Options,\n createRollupReleaseInjectionHooks,\n createRollupModuleMetadataInjectionHooks,\n createRollupDebugIdInjectionHooks,\n createRollupDebugIdUploadHooks,\n SentrySDKBuildFlags,\n createRollupBundleSizeOptimizationHooks,\n createComponentNameAnnotateHooks,\n Logger,\n} from \"@sentry/bundler-plugin-core\";\nimport type { UnpluginOptions } from \"unplugin\";\n\nfunction rollupReleaseInjectionPlugin(injectionCode: string): UnpluginOptions {\n return {\n name: \"sentry-rollup-release-injection-plugin\",\n rollup: createRollupReleaseInjectionHooks(injectionCode),\n };\n}\n\nfunction rollupComponentNameAnnotatePlugin(ignoredComponents?: string[]): UnpluginOptions {\n return {\n name: \"sentry-rollup-component-name-annotate-plugin\",\n rollup: createComponentNameAnnotateHooks(ignoredComponents),\n };\n}\n\nfunction rollupDebugIdInjectionPlugin(): UnpluginOptions {\n return {\n name: \"sentry-rollup-debug-id-injection-plugin\",\n rollup: createRollupDebugIdInjectionHooks(),\n };\n}\n\nfunction rollupModuleMetadataInjectionPlugin(injectionCode: string): UnpluginOptions {\n return {\n name: \"sentry-rollup-module-metadata-injection-plugin\",\n rollup: createRollupModuleMetadataInjectionHooks(injectionCode),\n };\n}\n\nfunction rollupDebugIdUploadPlugin(\n upload: (buildArtifacts: string[]) => Promise<void>,\n logger: Logger,\n createDependencyOnBuildArtifacts: () => () => void\n): UnpluginOptions {\n return {\n name: \"sentry-rollup-debug-id-upload-plugin\",\n rollup: createRollupDebugIdUploadHooks(upload, logger, createDependencyOnBuildArtifacts),\n };\n}\n\nfunction rollupBundleSizeOptimizationsPlugin(\n replacementValues: SentrySDKBuildFlags\n): UnpluginOptions {\n return {\n name: \"sentry-rollup-bundle-size-optimizations-plugin\",\n rollup: createRollupBundleSizeOptimizationHooks(replacementValues),\n };\n}\n\nconst sentryUnplugin = sentryUnpluginFactory({\n releaseInjectionPlugin: rollupReleaseInjectionPlugin,\n componentNameAnnotatePlugin: rollupComponentNameAnnotatePlugin,\n debugIdInjectionPlugin: rollupDebugIdInjectionPlugin,\n moduleMetadataInjectionPlugin: rollupModuleMetadataInjectionPlugin,\n debugIdUploadPlugin: rollupDebugIdUploadPlugin,\n bundleSizeOptimizationsPlugin: rollupBundleSizeOptimizationsPlugin,\n});\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const sentryRollupPlugin: (options?: Options) => any = sentryUnplugin.rollup;\n\nexport type { Options as SentryRollupPluginOptions } from \"@sentry/bundler-plugin-core\";\nexport { sentryCliBinaryExists } from \"@sentry/bundler-plugin-core\";\n"],"names":["rollupReleaseInjectionPlugin","injectionCode","name","rollup","createRollupReleaseInjectionHooks","rollupComponentNameAnnotatePlugin","ignoredComponents","createComponentNameAnnotateHooks","rollupDebugIdInjectionPlugin","createRollupDebugIdInjectionHooks","rollupModuleMetadataInjectionPlugin","createRollupModuleMetadataInjectionHooks","rollupDebugIdUploadPlugin","upload","logger","createDependencyOnBuildArtifacts","createRollupDebugIdUploadHooks","rollupBundleSizeOptimizationsPlugin","replacementValues","createRollupBundleSizeOptimizationHooks","sentryUnplugin","sentryUnpluginFactory","releaseInjectionPlugin","componentNameAnnotatePlugin","debugIdInjectionPlugin","moduleMetadataInjectionPlugin","debugIdUploadPlugin","bundleSizeOptimizationsPlugin","sentryRollupPlugin"],"mappings":";;;AAcA,SAASA,4BAA4BA,CAACC,aAAqB,EAAmB;EAC5E,OAAO;AACLC,IAAAA,IAAI,EAAE,wCAAwC;IAC9CC,MAAM,EAAEC,iCAAiC,CAACH,aAAa,CAAA;GACxD,CAAA;AACH,CAAA;AAEA,SAASI,iCAAiCA,CAACC,iBAA4B,EAAmB;EACxF,OAAO;AACLJ,IAAAA,IAAI,EAAE,8CAA8C;IACpDC,MAAM,EAAEI,gCAAgC,CAACD,iBAAiB,CAAA;GAC3D,CAAA;AACH,CAAA;AAEA,SAASE,4BAA4BA,GAAoB;EACvD,OAAO;AACLN,IAAAA,IAAI,EAAE,yCAAyC;IAC/CC,MAAM,EAAEM,iCAAiC,EAAC;GAC3C,CAAA;AACH,CAAA;AAEA,SAASC,mCAAmCA,CAACT,aAAqB,EAAmB;EACnF,OAAO;AACLC,IAAAA,IAAI,EAAE,gDAAgD;IACtDC,MAAM,EAAEQ,wCAAwC,CAACV,aAAa,CAAA;GAC/D,CAAA;AACH,CAAA;AAEA,SAASW,yBAAyBA,CAChCC,MAAmD,EACnDC,MAAc,EACdC,gCAAkD,EACjC;EACjB,OAAO;AACLb,IAAAA,IAAI,EAAE,sCAAsC;AAC5CC,IAAAA,MAAM,EAAEa,8BAA8B,CAACH,MAAM,EAAEC,MAAM,EAAEC,gCAAgC,CAAA;GACxF,CAAA;AACH,CAAA;AAEA,SAASE,mCAAmCA,CAC1CC,iBAAsC,EACrB;EACjB,OAAO;AACLhB,IAAAA,IAAI,EAAE,gDAAgD;IACtDC,MAAM,EAAEgB,uCAAuC,CAACD,iBAAiB,CAAA;GAClE,CAAA;AACH,CAAA;AAEA,IAAME,cAAc,GAAGC,qBAAqB,CAAC;AAC3CC,EAAAA,sBAAsB,EAAEtB,4BAA4B;AACpDuB,EAAAA,2BAA2B,EAAElB,iCAAiC;AAC9DmB,EAAAA,sBAAsB,EAAEhB,4BAA4B;AACpDiB,EAAAA,6BAA6B,EAAEf,mCAAmC;AAClEgB,EAAAA,mBAAmB,EAAEd,yBAAyB;AAC9Ce,EAAAA,6BAA6B,EAAEV,mCAAAA;AACjC,CAAC,CAAC,CAAA;;AAEF;AACaW,IAAAA,kBAA8C,GAAGR,cAAc,CAACjB;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/rollup-plugin",
3
- "version": "3.2.3",
3
+ "version": "3.3.0-alpha.0",
4
4
  "description": "Official Sentry Rollup plugin",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/rollup-plugin",
@@ -49,7 +49,7 @@
49
49
  "prepack": "ts-node ./src/prepack.ts"
50
50
  },
51
51
  "dependencies": {
52
- "@sentry/bundler-plugin-core": "3.2.3",
52
+ "@sentry/bundler-plugin-core": "3.3.0-alpha.0",
53
53
  "unplugin": "1.0.1"
54
54
  },
55
55
  "peerDependencies": {
@@ -61,8 +61,8 @@
61
61
  "@babel/preset-typescript": "7.17.12",
62
62
  "@rollup/plugin-babel": "5.3.1",
63
63
  "@rollup/plugin-node-resolve": "13.3.0",
64
- "@sentry-internal/eslint-config": "3.2.3",
65
- "@sentry-internal/sentry-bundler-plugin-tsconfig": "3.2.3",
64
+ "@sentry-internal/eslint-config": "3.3.0-alpha.0",
65
+ "@sentry-internal/sentry-bundler-plugin-tsconfig": "3.3.0-alpha.0",
66
66
  "@swc/core": "^1.2.205",
67
67
  "@swc/jest": "^0.2.21",
68
68
  "@types/jest": "^28.1.3",