@parcel/profiler 2.12.1-dev.3268 → 2.12.1-dev.3303

Sign up to get free protection for your applications and to get access to all the features.
package/lib/types.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- export interface TraceMeasurement {
2
- end(): void;
3
- }
1
+ export type { TraceMeasurement } from "@parcel/types-internal";
4
2
  export type TraceMeasurementData = {
5
3
  readonly categories: string[];
6
4
  readonly args?: Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/profiler",
3
- "version": "2.12.1-dev.3268+10d19ff8a",
3
+ "version": "2.12.1-dev.3303+3edb0d741",
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": ">= 12.0.0"
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.0.0-dev.1431+10d19ff8a",
28
- "@parcel/events": "2.0.0-dev.1431+10d19ff8a",
27
+ "@parcel/diagnostic": "2.0.0-dev.1680+3edb0d741",
28
+ "@parcel/events": "2.0.0-dev.1680+3edb0d741",
29
+ "@parcel/types-internal": "2.12.1-dev.3303+3edb0d741",
29
30
  "chrome-trace-event": "^1.0.2"
30
31
  },
31
- "gitHead": "10d19ff8a34dd8f479847aadf9865be48a8fad84"
32
+ "gitHead": "3edb0d7419831e49cfa7ea8c52b4f7127a16ae52"
32
33
  }
package/src/types.js CHANGED
@@ -1,8 +1,6 @@
1
1
  // @flow
2
2
 
3
- export interface TraceMeasurement {
4
- end(): void;
5
- }
3
+ export type {TraceMeasurement} from '@parcel/types-internal';
6
4
 
7
5
  export type TraceMeasurementData = {|
8
6
  +categories: string[],