@parcel/profiler 2.12.1-canary.3351 → 2.12.1-canary.3354

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,7 +29,7 @@ type PositionTickInfo = {
29
29
  export default class SamplingProfiler {
30
30
  session: Session;
31
31
  startProfiling(): Promise<unknown>;
32
- sendCommand(method: string, params?: unknown): Promise<{
32
+ sendCommand(method: string, params?: {}): Promise<{
33
33
  profile: Profile;
34
34
  }>;
35
35
  destroy(): void;
@@ -18,7 +18,7 @@ function _diagnostic() {
18
18
  };
19
19
  return data;
20
20
  }
21
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
22
22
  // https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-Profile
23
23
  // https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ProfileNode
24
24
  // https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-CallFrame
package/lib/index.js CHANGED
@@ -30,4 +30,4 @@ Object.defineProperty(exports, "tracer", {
30
30
  var _SamplingProfiler = _interopRequireDefault(require("./SamplingProfiler"));
31
31
  var _Trace = _interopRequireDefault(require("./Trace"));
32
32
  var _Tracer = require("./Tracer");
33
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
33
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/profiler",
3
- "version": "2.12.1-canary.3351+d1f3ffeeb",
3
+ "version": "2.12.1-canary.3354+6f68c78b1",
4
4
  "description": "Blazing fast, zero configuration web application bundler",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -24,10 +24,10 @@
24
24
  "check-ts": "tsc --noEmit lib/index.d.ts"
25
25
  },
26
26
  "dependencies": {
27
- "@parcel/diagnostic": "2.0.0-canary.1728+d1f3ffeeb",
28
- "@parcel/events": "2.0.0-canary.1728+d1f3ffeeb",
29
- "@parcel/types-internal": "2.12.1-canary.3351+d1f3ffeeb",
27
+ "@parcel/diagnostic": "2.0.0-canary.1731+6f68c78b1",
28
+ "@parcel/events": "2.0.0-canary.1731+6f68c78b1",
29
+ "@parcel/types-internal": "2.12.1-canary.3354+6f68c78b1",
30
30
  "chrome-trace-event": "^1.0.2"
31
31
  },
32
- "gitHead": "d1f3ffeebe74a6f3a7cb028210c31a44d93fea23"
32
+ "gitHead": "6f68c78b1fa2b9653e298fd893e43e875ff6bdb8"
33
33
  }
@@ -68,7 +68,7 @@ export default class SamplingProfiler {
68
68
 
69
69
  sendCommand(
70
70
  method: string,
71
- params?: mixed,
71
+ params?: {...},
72
72
  ): Promise<{profile: Profile, ...}> {
73
73
  invariant(this.session != null);
74
74
  return new Promise((resolve, reject) => {