@sentry/bundler-plugins 11.0.0 → 11.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.
Files changed (58) hide show
  1. package/README.md +5 -11
  2. package/build/cjs/core/component-annotate-hooks.js +32 -0
  3. package/build/cjs/core/component-annotate-hooks.js.map +1 -0
  4. package/build/cjs/core/component-annotation-oxc-ast.js.map +1 -1
  5. package/build/cjs/core/component-annotation-oxc-jsx.js +64 -6
  6. package/build/cjs/core/component-annotation-oxc-jsx.js.map +1 -1
  7. package/build/cjs/core/component-annotation-oxc-walk.js +23 -2
  8. package/build/cjs/core/component-annotation-oxc-walk.js.map +1 -1
  9. package/build/cjs/core/component-annotation-oxc.js +21 -12
  10. package/build/cjs/core/component-annotation-oxc.js.map +1 -1
  11. package/build/cjs/core/index.js +2 -61
  12. package/build/cjs/core/index.js.map +1 -1
  13. package/build/cjs/core/version.js +1 -1
  14. package/build/cjs/core/version.js.map +1 -1
  15. package/build/cjs/loader-utils/index.js +10 -0
  16. package/build/cjs/loader-utils/index.js.map +1 -0
  17. package/build/cjs/rollup/index.js +10 -31
  18. package/build/cjs/rollup/index.js.map +1 -1
  19. package/build/cjs/webpack/index.js +4 -2
  20. package/build/cjs/webpack/index.js.map +1 -1
  21. package/build/esm/core/component-annotate-hooks.js +30 -0
  22. package/build/esm/core/component-annotate-hooks.js.map +1 -0
  23. package/build/esm/core/component-annotation-oxc-ast.js.map +1 -1
  24. package/build/esm/core/component-annotation-oxc-jsx.js +65 -8
  25. package/build/esm/core/component-annotation-oxc-jsx.js.map +1 -1
  26. package/build/esm/core/component-annotation-oxc-walk.js +24 -3
  27. package/build/esm/core/component-annotation-oxc-walk.js.map +1 -1
  28. package/build/esm/core/component-annotation-oxc.js +21 -12
  29. package/build/esm/core/component-annotation-oxc.js.map +1 -1
  30. package/build/esm/core/index.js +3 -62
  31. package/build/esm/core/index.js.map +1 -1
  32. package/build/esm/core/version.js +1 -1
  33. package/build/esm/core/version.js.map +1 -1
  34. package/build/esm/loader-utils/index.js +3 -0
  35. package/build/esm/loader-utils/index.js.map +1 -0
  36. package/build/esm/package.json +1 -1
  37. package/build/esm/rollup/index.js +10 -31
  38. package/build/esm/rollup/index.js.map +1 -1
  39. package/build/esm/webpack/index.js +4 -2
  40. package/build/esm/webpack/index.js.map +1 -1
  41. package/build/types/core/component-annotate-hooks.d.ts +9 -0
  42. package/build/types/core/component-annotate-hooks.d.ts.map +1 -0
  43. package/build/types/core/component-annotation-oxc-ast.d.ts +1 -1
  44. package/build/types/core/component-annotation-oxc-ast.d.ts.map +1 -1
  45. package/build/types/core/component-annotation-oxc-jsx.d.ts +5 -0
  46. package/build/types/core/component-annotation-oxc-jsx.d.ts.map +1 -1
  47. package/build/types/core/component-annotation-oxc-walk.d.ts +1 -1
  48. package/build/types/core/component-annotation-oxc-walk.d.ts.map +1 -1
  49. package/build/types/core/component-annotation-oxc.d.ts +1 -1
  50. package/build/types/core/component-annotation-oxc.d.ts.map +1 -1
  51. package/build/types/core/index.d.ts +1 -17
  52. package/build/types/core/index.d.ts.map +1 -1
  53. package/build/types/core/version.d.ts +1 -1
  54. package/build/types/loader-utils/index.d.ts +3 -0
  55. package/build/types/loader-utils/index.d.ts.map +1 -0
  56. package/build/types/rollup/index.d.ts.map +1 -1
  57. package/build/types/webpack/index.d.ts.map +1 -1
  58. package/package.json +17 -8
@@ -1 +1 @@
1
- {"version":3,"file":"component-annotation-oxc-jsx.d.ts","sourceRoot":"","sources":["../../../src/core/component-annotation-oxc-jsx.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,eAAe,EACf,qBAAqB,EACrB,WAAW,EACZ,MAAM,gCAAgC,CAAC;AAOxC,KAAK,gBAAgB,GAAG;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC,CAAC;AAEF,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAEpE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,eAAe,CAEtE;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,WAAW,CAE9D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAE1D;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAqBhD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,qBAAqB,GAAG,MAAM,GAAG,IAAI,CAgBrG;AAED,wBAAgB,eAAe,CAAC,cAAc,EAAE,qBAAqB,EAAE,eAAe,EAAE,eAAe,GAAG,OAAO,CAsBhH;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,cAAc,EAAE,qBAAqB,EACrC,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,EAAE,EAC3B,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,MAAM,EACtB,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAChD,IAAI,CAuCN;AAED,wBAAgB,qBAAqB,CAAC,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAAG,kBAAkB,EAAE,CAK7G"}
1
+ {"version":3,"file":"component-annotation-oxc-jsx.d.ts","sourceRoot":"","sources":["../../../src/core/component-annotation-oxc-jsx.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,eAAe,EACf,qBAAqB,EACrB,WAAW,EACZ,MAAM,gCAAgC,CAAC;AA6BxC,KAAK,gBAAgB,GAAG;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,MA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Node, AttributeInsertion } from './component-annotation-oxc-ast';
2
- export declare function collectOxcComponentAnnotationInsertions(code: string, ast: AstNode, ignoredComponents: string[], sourceFileName: string): AttributeInsertion[];
2
+ export declare function collectOxcComponentAnnotationInsertions(code: string, ast: AstNode, ignoredComponents: string[], sourceFileName: string, injectIntoHtml: boolean): AttributeInsertion[];
3
3
  //# sourceMappingURL=component-annotation-oxc-walk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-annotation-oxc-walk.d.ts","sourceRoot":"","sources":["../../../src/core/component-annotation-oxc-walk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,kBAAkB,EAAgC,MAAM,gCAAgC,CAAC;AAahH,wBAAgB,uCAAuC,CACrD,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,OAAO,EACZ,iBAAiB,EAAE,MAAM,EAAE,EAC3B,cAAc,EAAE,MAAM,GACrB,kBAAkB,EAAE,CAYtB"}
1
+ {"version":3,"file":"component-annotation-oxc-walk.d.ts","sourceRoot":"","sources":["../../../src/core/component-annotation-oxc-walk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,kBAAkB,EAAgC,MAAM,gCAAgC,CAAC;AAchH,wBAAgB,uCAAuC,CACrD,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,OAAO,EACZ,iBAAiB,EAAE,MAAM,EAAE,EAC3B,cAAc,EAAE,MAAM,EACtB,cAAc,EAAE,OAAO,GACtB,kBAAkB,EAAE,CAgBtB"}
@@ -1,7 +1,7 @@
1
1
  import type { ComponentAnnotationTransformMeta, ComponentAnnotationTransformResult, ParseAstAsync } from './component-annotation-oxc-ast';
2
2
  export type { ComponentAnnotationTransformMeta, ComponentAnnotationTransformResult, } from './component-annotation-oxc-ast';
3
3
  export declare function getOxcParseAstAsync(): Promise<ParseAstAsync | null>;
4
- export declare function createOxcComponentNameAnnotateHooks(ignoredComponents: string[], getParseAstAsync: () => Promise<ParseAstAsync | null>): {
4
+ export declare function createOxcComponentNameAnnotateHooks(ignoredComponents: string[], getParseAstAsync: () => Promise<ParseAstAsync | null>, injectIntoHtml?: boolean): {
5
5
  transform(code: string, id: string, meta?: ComponentAnnotationTransformMeta): Promise<ComponentAnnotationTransformResult>;
6
6
  };
7
7
  //# sourceMappingURL=component-annotation-oxc.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-annotation-oxc.d.ts","sourceRoot":"","sources":["../../../src/core/component-annotation-oxc.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAEV,gCAAgC,EAChC,kCAAkC,EAElC,aAAa,EACd,MAAM,gCAAgC,CAAC;AAExC,YAAY,EACV,gCAAgC,EAChC,kCAAkC,GACnC,MAAM,gCAAgC,CAAC;AAIxC,wBAAgB,mBAAmB,IAAI,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAoBnE;AAmHD,wBAAgB,mCAAmC,CACjD,iBAAiB,EAAE,MAAM,EAAE,EAC3B,gBAAgB,EAAE,MAAM,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,GACpD;IACD,SAAS,CACP,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,IAAI,CAAC,EAAE,gCAAgC,GACtC,OAAO,CAAC,kCAAkC,CAAC,CAAC;CAChD,CAgBA"}
1
+ {"version":3,"file":"component-annotation-oxc.d.ts","sourceRoot":"","sources":["../../../src/core/component-annotation-oxc.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAEV,gCAAgC,EAChC,kCAAkC,EAElC,aAAa,EACd,MAAM,gCAAgC,CAAC;AAExC,YAAY,EACV,gCAAgC,EAChC,kCAAkC,GACnC,MAAM,gCAAgC,CAAC;AAIxC,wBAAgB,mBAAmB,IAAI,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAoBnE;AAyGD,wBAAgB,mCAAmC,CACjD,iBAAiB,EAAE,MAAM,EAAE,EAC3B,gBAAgB,EAAE,MAAM,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,EACrD,cAAc,UAAQ,GACrB;IACD,SAAS,CACP,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,IAAI,CAAC,EAAE,gCAAgC,GACtC,OAAO,CAAC,kCAAkC,CAAC,CAAC;CAChD,CAmCA"}
@@ -21,23 +21,7 @@ export declare function isJsFile(fileName: string): boolean;
21
21
  export declare function shouldSkipCodeInjection(code: string, facadeModuleId: string | null | undefined): boolean;
22
22
  export { globFiles } from './glob';
23
23
  export { getCodeInjectionPosition } from './get-code-injection-position';
24
- export declare function createComponentNameAnnotateHooks(ignoredComponents: string[], injectIntoHtml: boolean): {
25
- transform(this: void, code: string, id: string): Promise<{
26
- code: string;
27
- map: {
28
- version: number;
29
- sources: string[];
30
- names: string[];
31
- sourceRoot?: string | undefined;
32
- sourcesContent?: string[] | undefined;
33
- mappings: string;
34
- file: string;
35
- } | null | undefined;
36
- } | {
37
- map?: undefined;
38
- code: string;
39
- } | null>;
40
- };
24
+ export { createComponentNameAnnotateHooks } from './component-annotate-hooks';
41
25
  export declare function getDebugIdSnippet(debugId: string): CodeInjection;
42
26
  export type { Logger } from './logger';
43
27
  export type { Options, SentrySDKBuildFlags } from './types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAkD,MAAM,SAAS,CAAC;AA+BxF;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAGlD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAYxG;AAED,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAGzE,wBAAgB,gCAAgC,CA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Aa,EACb,yBAAyB,EACzB,YAAY,EACZ,2BAA2B,EAC3B,kCAAkC,GACnC,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const LIB_VERSION = "11.0.0";
1
+ export declare const LIB_VERSION = "11.2.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { getCodeInjectionPosition } from '../core/get-code-injection-position';
2
+ export { createComponentNameAnnotateHooks } from '../core/component-annotate-hooks';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/loader-utils/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rollup/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAiBvC,OAAO,KAAK,EACV,gCAAgC,EAEjC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,WAAW,MAAM,cAAc,CAAC;AAOvC,KAAK,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,CAAC;AAGnH,KAAK,YAAY,GAAG,MAAM,CACxB,MAAM,EACJ;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC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AyB3D;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,UACtC;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,KACtC,OAAO,CAAC,IAAI,CAAC;EAiDjB;AAGD,wBAAgB,kBAAkB,CAAC,WAAW,GAAE,OAAY,GAAG,GAAG,CAIjE;AAED,YAAY,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/webpack/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AA6X7C,eAAO,MAAM,mBAAmB,EAAE,CAAC,OAAO,CAAC,EAAE,0BAA0B,KAAK,GAA+B,CAAC;AAE5G,MAAM,MAAM,0BAA0B,GAAG,OAAO,GAAG;IACjD,YAAY,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG;QACvC;;;;;;;WAOG;QACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;KACtC,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/webpack/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AA8X7C,eAAO,MAAM,mBAAmB,EAAE,CAAC,OAAO,CAAC,EAAE,0BAA0B,KAAK,GAA+B,CAAC;AAE5G,MAAM,MAAM,0BAA0B,GAAG,OAAO,GAAG;IACjD,YAAY,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG;QACvC;;;;;;;WAOG;QACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;KACtC,CAAC;CACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/bundler-plugins",
3
- "version": "11.0.0",
3
+ "version": "11.2.0",
4
4
  "description": "Sentry Bundler Plugins",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/main/packages/bundler-plugins",
@@ -44,6 +44,11 @@
44
44
  "import": "./build/esm/core/index.js",
45
45
  "require": "./build/cjs/core/index.js"
46
46
  },
47
+ "./loader-utils": {
48
+ "types": "./build/types/loader-utils/index.d.ts",
49
+ "import": "./build/esm/loader-utils/index.js",
50
+ "require": "./build/cjs/loader-utils/index.js"
51
+ },
47
52
  "./babel-plugin": {
48
53
  "types": "./build/types/babel-plugin/index.d.ts",
49
54
  "import": "./build/esm/babel-plugin/index.js",
@@ -105,20 +110,23 @@
105
110
  }
106
111
  },
107
112
  "dependencies": {
108
- "@babel/core": "^7.18.5",
109
- "@sentry/core": "11.0.0",
113
+ "@sentry/core": "11.2.0",
110
114
  "dotenv": "^17.4.2",
111
115
  "glob": "^13.0.6",
112
- "magic-string": "~0.30.8",
113
- "oxc-parser": "^0.143.0",
114
- "sentry": "^0.44.0",
116
+ "magic-string": "~0.30.8 || ^1.0.0",
117
+ "oxc-parser": "^0.152.0",
118
+ "sentry": "^0.45.0",
115
119
  "supports-color": "^8.1.1"
116
120
  },
117
121
  "peerDependencies": {
122
+ "@babel/core": "^7.18.5",
118
123
  "rollup": ">=3.2.0",
119
124
  "webpack": ">=5.1.0"
120
125
  },
121
126
  "peerDependenciesMeta": {
127
+ "@babel/core": {
128
+ "optional": true
129
+ },
122
130
  "rollup": {
123
131
  "optional": true
124
132
  },
@@ -127,12 +135,13 @@
127
135
  }
128
136
  },
129
137
  "devDependencies": {
138
+ "@babel/core": "^7.18.5",
130
139
  "@babel/preset-react": "^7.23.3",
131
140
  "@types/babel__core": "^7.20.5",
132
- "@types/node": "^18.6.3",
141
+ "@types/node": "^20.19.0",
133
142
  "premove": "^4.0.0",
134
143
  "rolldown": "^1.0.0",
135
- "vitest": "^3.2.7",
144
+ "vitest": "^4.1.11",
136
145
  "webpack": "5.104.1"
137
146
  },
138
147
  "volta": {