@parcel/profiler 2.12.1-nightly.3142 → 2.13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/SamplingProfiler.d.ts +1 -1
- package/lib/SamplingProfiler.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types.d.ts +1 -3
- package/package.json +7 -6
- package/src/SamplingProfiler.js +1 -1
- package/src/types.js +1 -3
@@ -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?:
|
32
|
+
sendCommand(method: string, params?: {}): Promise<{
|
33
33
|
profile: Profile;
|
34
34
|
}>;
|
35
35
|
destroy(): void;
|
package/lib/SamplingProfiler.js
CHANGED
@@ -18,7 +18,7 @@ function _diagnostic() {
|
|
18
18
|
};
|
19
19
|
return data;
|
20
20
|
}
|
21
|
-
function _interopRequireDefault(
|
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(
|
33
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
package/lib/types.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@parcel/profiler",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.13.0",
|
4
4
|
"description": "Blazing fast, zero configuration web application bundler",
|
5
5
|
"license": "MIT",
|
6
6
|
"publishConfig": {
|
@@ -17,16 +17,17 @@
|
|
17
17
|
"main": "lib/index.js",
|
18
18
|
"source": "src/index.js",
|
19
19
|
"engines": {
|
20
|
-
"node": ">=
|
20
|
+
"node": ">= 16.0.0"
|
21
21
|
},
|
22
22
|
"scripts": {
|
23
|
-
"build-ts": "flow-to-ts src/*.js --write && tsc --emitDeclarationOnly --declaration --esModuleInterop --target es2015 --moduleResolution node16 --module node16 src/*.ts && mkdir -p lib && mv src/*.d.ts lib/. && rm src/*.ts && node build-ts.js",
|
23
|
+
"build-ts": "flow-to-ts src/*.js --write && rm -f ./src/*.d.ts && tsc --emitDeclarationOnly --declaration --esModuleInterop --target es2015 --moduleResolution node16 --module node16 src/*.ts && mkdir -p lib && mv src/*.d.ts lib/. && rm src/*.ts && node build-ts.js",
|
24
24
|
"check-ts": "tsc --noEmit lib/index.d.ts"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@parcel/diagnostic": "2.
|
28
|
-
"@parcel/events": "2.
|
27
|
+
"@parcel/diagnostic": "2.13.0",
|
28
|
+
"@parcel/events": "2.13.0",
|
29
|
+
"@parcel/types-internal": "2.13.0",
|
29
30
|
"chrome-trace-event": "^1.0.2"
|
30
31
|
},
|
31
|
-
"gitHead": "
|
32
|
+
"gitHead": "a53f8f3ba1025c7ea8653e9719e0a61ef9717079"
|
32
33
|
}
|
package/src/SamplingProfiler.js
CHANGED