@sentry/wasm 6.15.0 → 6.16.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/index.d.ts CHANGED
@@ -19,3 +19,4 @@ export declare class Wasm implements Integration {
19
19
  */
20
20
  setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, _getCurrentHub: () => Hub): void;
21
21
  }
22
+ //# sourceMappingURL=index.d.ts.map
@@ -2,3 +2,4 @@
2
2
  * Patches the web assembly runtime.
3
3
  */
4
4
  export declare function patchWebAssembly(): void;
5
+ //# sourceMappingURL=patchWebAssembly.d.ts.map
@@ -25,3 +25,4 @@ export declare function getImages(): Array<DebugImage>;
25
25
  * @param url the URL of the WebAssembly module.
26
26
  */
27
27
  export declare function getImage(url: string): number;
28
+ //# sourceMappingURL=registry.d.ts.map
package/esm/index.d.ts CHANGED
@@ -19,3 +19,4 @@ export declare class Wasm implements Integration {
19
19
  */
20
20
  setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, _getCurrentHub: () => Hub): void;
21
21
  }
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,cAAc,EAAE,GAAG,EAAE,WAAW,EAAc,MAAM,eAAe,CAAC;AA2BpF;;;;;GAKG;AACH,qBAAa,IAAK,YAAW,WAAW;IACtC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAU;IAElC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAW;IAE9B;;OAEG;IACI,SAAS,CAAC,uBAAuB,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,cAAc,EAAE,MAAM,GAAG,GAAG,IAAI;CAyB/G"}
@@ -2,3 +2,4 @@
2
2
  * Patches the web assembly runtime.
3
3
  */
4
4
  export declare function patchWebAssembly(): void;
5
+ //# sourceMappingURL=patchWebAssembly.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchWebAssembly.d.ts","sourceRoot":"","sources":["../src/patchWebAssembly.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAiCvC"}
package/esm/registry.d.ts CHANGED
@@ -25,3 +25,4 @@ export declare function getImages(): Array<DebugImage>;
25
25
  * @param url the URL of the WebAssembly module.
26
26
  */
27
27
  export declare function getImage(url: string): number;
28
+ //# sourceMappingURL=registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,UAAU,CAAM,CAAC;AAE5C,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,GAAG,UAAU,CAoBpE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAe5E;AAED;;GAEG;AACH,wBAAgB,SAAS,IAAI,KAAK,CAAC,UAAU,CAAC,CAE7C;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE5C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/wasm",
3
- "version": "6.15.0",
3
+ "version": "6.16.0",
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,22 +16,19 @@
16
16
  "access": "public"
17
17
  },
18
18
  "dependencies": {
19
- "@sentry/browser": "6.15.0",
20
- "@sentry/types": "6.15.0",
19
+ "@sentry/browser": "6.16.0",
20
+ "@sentry/types": "6.16.0",
21
21
  "tslib": "^1.9.3"
22
22
  },
23
23
  "devDependencies": {
24
- "@sentry-internal/eslint-config-sdk": "6.15.0",
24
+ "@sentry-internal/eslint-config-sdk": "6.16.0",
25
25
  "@types/jest-environment-puppeteer": "^4.4.0",
26
26
  "@types/puppeteer": "^5.4.0",
27
27
  "cross-env": "^7.0.3",
28
28
  "express": "^4.17.1",
29
- "jest": "^24.7.1",
30
29
  "jest-puppeteer": "^4.4.0",
31
30
  "npm-run-all": "^4.1.2",
32
- "prettier": "1.19.0",
33
31
  "puppeteer": "^5.5.0",
34
- "rimraf": "^2.6.3",
35
32
  "rollup": "^1.10.1",
36
33
  "rollup-plugin-commonjs": "^9.3.4",
37
34
  "rollup-plugin-node-resolve": "^4.2.3",
@@ -40,14 +37,16 @@
40
37
  "typescript": "3.7.5"
41
38
  },
42
39
  "scripts": {
43
- "build": "run-p build:es5 build:esm build:bundle",
40
+ "build": "run-p build:cjs build:esm build:bundle",
44
41
  "build:bundle": "rollup --config",
45
- "build:dev": "run-s build:es5 build:esm",
46
- "build:es5": "tsc -p tsconfig.build.json",
42
+ "build:cjs": "tsc -p tsconfig.cjs.json",
43
+ "build:dev": "run-s build:cjs build:esm",
44
+ "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
47
45
  "build:esm": "tsc -p tsconfig.esm.json",
48
- "build:watch": "run-p build:es5:watch build:esm:watch",
49
- "build:dev:watch": "run-p build:es5:watch build:esm:watch",
50
- "build:es5:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
46
+ "build:watch": "run-p build:cjs:watch build:esm:watch",
47
+ "build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
48
+ "build:dev:watch": "run-s build:watch",
49
+ "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
51
50
  "build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
52
51
  "circularDepCheck": "madge --circular src/index.ts",
53
52
  "clean": "rimraf dist esm coverage *.js.map *.d.ts",
package/rollup.config.js CHANGED
@@ -16,11 +16,11 @@ const terserInstance = terser({
16
16
 
17
17
  const plugins = [
18
18
  typescript({
19
- tsconfig: 'tsconfig.build.json',
19
+ tsconfig: 'tsconfig.esm.json',
20
20
  tsconfigOverride: {
21
21
  compilerOptions: {
22
22
  declaration: false,
23
- module: 'ES2015',
23
+ declarationMap: false,
24
24
  paths: {
25
25
  '@sentry/utils': ['../utils/src'],
26
26
  '@sentry/core': ['../core/src'],
@@ -28,6 +28,7 @@ const plugins = [
28
28
  '@sentry/types': ['../types/src'],
29
29
  '@sentry/minimal': ['../minimal/src'],
30
30
  },
31
+ baseUrl: '.',
31
32
  },
32
33
  },
33
34
  include: ['*.ts+(|x)', '**/*.ts+(|x)', '../**/*.ts+(|x)'],