@sentry/wasm 6.17.8 → 6.18.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.
Files changed (2) hide show
  1. package/package.json +4 -7
  2. package/rollup.config.js +5 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/wasm",
3
- "version": "6.17.8",
3
+ "version": "6.18.1",
4
4
  "description": "Support for WASM.",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/wasm",
@@ -16,8 +16,8 @@
16
16
  "access": "public"
17
17
  },
18
18
  "dependencies": {
19
- "@sentry/browser": "6.17.8",
20
- "@sentry/types": "6.17.8",
19
+ "@sentry/browser": "6.18.1",
20
+ "@sentry/types": "6.18.1",
21
21
  "tslib": "^1.9.3"
22
22
  },
23
23
  "devDependencies": {
@@ -26,10 +26,7 @@
26
26
  "cross-env": "^7.0.3",
27
27
  "express": "^4.17.1",
28
28
  "jest-puppeteer": "^4.4.0",
29
- "puppeteer": "^5.5.0",
30
- "rollup": "^1.10.1",
31
- "rollup-plugin-commonjs": "^9.3.4",
32
- "rollup-plugin-node-resolve": "^4.2.3"
29
+ "puppeteer": "^5.5.0"
33
30
  },
34
31
  "scripts": {
35
32
  "build": "run-p build:cjs build:esm build:bundle",
package/rollup.config.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import { terser } from 'rollup-plugin-terser';
2
2
  import typescript from 'rollup-plugin-typescript2';
3
- import resolve from 'rollup-plugin-node-resolve';
4
- import commonjs from 'rollup-plugin-commonjs';
3
+ import resolve from '@rollup/plugin-node-resolve';
5
4
  import replace from '@rollup/plugin-replace';
6
5
 
7
6
  const terserInstance = terser({
@@ -11,7 +10,9 @@ const terserInstance = terser({
11
10
  // We need those full names to correctly detect our internal frames for stripping.
12
11
  // I listed all of them here just for the clarity sake, as they are all used in the frames manipulation process.
13
12
  reserved: ['captureException', 'captureMessage', 'sentryWrapped'],
14
- properties: false,
13
+ properties: {
14
+ regex: /^_[^_]/,
15
+ },
15
16
  },
16
17
  output: {
17
18
  comments: false,
@@ -50,7 +51,6 @@ const plugins = [
50
51
  resolve({
51
52
  mainFields: ['module'],
52
53
  }),
53
- commonjs(),
54
54
  ];
55
55
 
56
56
  function mergeIntoSentry() {
@@ -88,6 +88,7 @@ function loadAllIntegrations() {
88
88
  format: 'cjs',
89
89
  sourcemap: true,
90
90
  strict: false,
91
+ esModule: false,
91
92
  },
92
93
  plugins: build.plugins,
93
94
  treeshake: 'smallest',