@sentry/svelte 8.12.0 → 8.14.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 (47) hide show
  1. package/package.json +39 -19
  2. /package/{cjs → build/cjs}/config.js +0 -0
  3. /package/{cjs → build/cjs}/config.js.map +0 -0
  4. /package/{cjs → build/cjs}/constants.js +0 -0
  5. /package/{cjs → build/cjs}/constants.js.map +0 -0
  6. /package/{cjs → build/cjs}/index.js +0 -0
  7. /package/{cjs → build/cjs}/index.js.map +0 -0
  8. /package/{cjs → build/cjs}/performance.js +0 -0
  9. /package/{cjs → build/cjs}/performance.js.map +0 -0
  10. /package/{cjs → build/cjs}/preprocessors.js +0 -0
  11. /package/{cjs → build/cjs}/preprocessors.js.map +0 -0
  12. /package/{cjs → build/cjs}/sdk.js +0 -0
  13. /package/{cjs → build/cjs}/sdk.js.map +0 -0
  14. /package/{esm → build/esm}/config.js +0 -0
  15. /package/{esm → build/esm}/config.js.map +0 -0
  16. /package/{esm → build/esm}/constants.js +0 -0
  17. /package/{esm → build/esm}/constants.js.map +0 -0
  18. /package/{esm → build/esm}/index.js +0 -0
  19. /package/{esm → build/esm}/index.js.map +0 -0
  20. /package/{esm → build/esm}/package.json +0 -0
  21. /package/{esm → build/esm}/performance.js +0 -0
  22. /package/{esm → build/esm}/performance.js.map +0 -0
  23. /package/{esm → build/esm}/preprocessors.js +0 -0
  24. /package/{esm → build/esm}/preprocessors.js.map +0 -0
  25. /package/{esm → build/esm}/sdk.js +0 -0
  26. /package/{esm → build/esm}/sdk.js.map +0 -0
  27. /package/{types → build/types}/config.d.ts +0 -0
  28. /package/{types → build/types}/config.d.ts.map +0 -0
  29. /package/{types → build/types}/constants.d.ts +0 -0
  30. /package/{types → build/types}/constants.d.ts.map +0 -0
  31. /package/{types → build/types}/index.d.ts +0 -0
  32. /package/{types → build/types}/index.d.ts.map +0 -0
  33. /package/{types → build/types}/performance.d.ts +0 -0
  34. /package/{types → build/types}/performance.d.ts.map +0 -0
  35. /package/{types → build/types}/preprocessors.d.ts +0 -0
  36. /package/{types → build/types}/preprocessors.d.ts.map +0 -0
  37. /package/{types → build/types}/sdk.d.ts +0 -0
  38. /package/{types → build/types}/sdk.d.ts.map +0 -0
  39. /package/{types → build/types}/types.d.ts +0 -0
  40. /package/{types → build/types}/types.d.ts.map +0 -0
  41. /package/{types-ts3.8 → build/types-ts3.8}/config.d.ts +0 -0
  42. /package/{types-ts3.8 → build/types-ts3.8}/constants.d.ts +0 -0
  43. /package/{types-ts3.8 → build/types-ts3.8}/index.d.ts +0 -0
  44. /package/{types-ts3.8 → build/types-ts3.8}/performance.d.ts +0 -0
  45. /package/{types-ts3.8 → build/types-ts3.8}/preprocessors.d.ts +0 -0
  46. /package/{types-ts3.8 → build/types-ts3.8}/sdk.d.ts +0 -0
  47. /package/{types-ts3.8 → build/types-ts3.8}/types.d.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/svelte",
3
- "version": "8.12.0",
3
+ "version": "8.14.0",
4
4
  "description": "Official Sentry SDK for Svelte",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/svelte",
@@ -10,31 +10,28 @@
10
10
  "node": ">=14.18"
11
11
  },
12
12
  "files": [
13
- "cjs",
14
- "esm",
15
- "types",
16
- "types-ts3.8"
13
+ "/build"
17
14
  ],
18
- "main": "cjs/index.js",
19
- "module": "esm/index.js",
20
- "types": "types/index.d.ts",
15
+ "main": "build/cjs/index.js",
16
+ "module": "build/esm/index.js",
17
+ "types": "build/types/index.d.ts",
21
18
  "exports": {
22
19
  "./package.json": "./package.json",
23
20
  ".": {
24
21
  "import": {
25
- "types": "./types/index.d.ts",
26
- "default": "./esm/index.js"
22
+ "types": "./build/types/index.d.ts",
23
+ "default": "./build/esm/index.js"
27
24
  },
28
25
  "require": {
29
- "types": "./types/index.d.ts",
30
- "default": "./cjs/index.js"
26
+ "types": "./build/types/index.d.ts",
27
+ "default": "./build/cjs/index.js"
31
28
  }
32
29
  }
33
30
  },
34
31
  "typesVersions": {
35
32
  "<4.9": {
36
- "types/index.d.ts": [
37
- "types-ts3.8/index.d.ts"
33
+ "build/types/index.d.ts": [
34
+ "build/types-ts3.8/index.d.ts"
38
35
  ]
39
36
  }
40
37
  },
@@ -42,10 +39,10 @@
42
39
  "access": "public"
43
40
  },
44
41
  "dependencies": {
45
- "@sentry/browser": "8.12.0",
46
- "@sentry/core": "8.12.0",
47
- "@sentry/types": "8.12.0",
48
- "@sentry/utils": "8.12.0",
42
+ "@sentry/browser": "8.14.0",
43
+ "@sentry/core": "8.14.0",
44
+ "@sentry/types": "8.14.0",
45
+ "@sentry/utils": "8.14.0",
49
46
  "magic-string": "^0.30.0"
50
47
  },
51
48
  "peerDependencies": {
@@ -56,5 +53,28 @@
56
53
  "@testing-library/svelte": "^3.2.1",
57
54
  "svelte": "3.49.0"
58
55
  },
56
+ "scripts": {
57
+ "build": "run-p build:transpile build:types",
58
+ "build:dev": "yarn build",
59
+ "build:transpile": "rollup -c rollup.npm.config.mjs",
60
+ "build:types": "run-s build:types:core build:types:downlevel",
61
+ "build:types:core": "tsc -p tsconfig.types.json",
62
+ "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8",
63
+ "build:watch": "run-p build:transpile:watch build:types:watch",
64
+ "build:dev:watch": "yarn build:watch",
65
+ "build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
66
+ "build:types:watch": "tsc -p tsconfig.types.json --watch",
67
+ "build:tarball": "npm pack",
68
+ "circularDepCheck": "madge --circular src/index.ts",
69
+ "clean": "rimraf build coverage sentry-svelte-*.tgz",
70
+ "fix": "eslint . --format stylish --fix",
71
+ "lint": "eslint . --format stylish",
72
+ "test": "vitest run",
73
+ "test:watch": "vitest --watch",
74
+ "yalc:publish": "yalc publish --push --sig"
75
+ },
76
+ "volta": {
77
+ "extends": "../../package.json"
78
+ },
59
79
  "sideEffects": false
60
- }
80
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes