Skip to content

Commit

Permalink
Merge branch 'v2' into gkong/unused-module
Browse files Browse the repository at this point in the history
  • Loading branch information
gorakong committed Feb 26, 2022
2 parents 61b4334 + 18b038d commit a7de06a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ untyped-import
untyped-type-import

[version]
0.164.0
0.171.0
6 changes: 3 additions & 3 deletions flow-typed/npm/mocha_v8.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 195cec6dc98ab7533f0eb927ee493f99
// flow-typed version: 1a6d5d1968/mocha_v8.x.x/flow_>=v0.104.x
// flow-typed signature: a9c051e037cdcce97b16e692321e6856
// flow-typed version: b074eb3e38/mocha_v8.x.x/flow_>=v0.104.x

declare interface $npm$mocha$SetupOptions {
slow?: number;
Expand Down Expand Up @@ -206,7 +206,7 @@ type AfterEach =
declare var setup: Setup;
declare var teardown: Teardown;
declare var suiteSetup: SuiteSetup;
declare var suiteTeardown;
declare var suiteTeardown: SuiteTeardown;
declare var before: Before
declare var after: After;
declare var beforeEach: BeforeEach;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@types/node": "^15.12.4",
"cross-env": "^7.0.0",
"eslint": "^7.20.0",
"flow-bin": "0.164.0",
"flow-bin": "0.171.0",
"glob": "^7.1.6",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/core/core/src/requests/AssetGraphRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,13 @@ const typesWithRequests = new Set([

export class AssetGraphBuilder {
assetGraph: AssetGraph;
assetRequests: Array<AssetGroup>;
assetRequests: Array<AssetGroup> = [];
queue: PromiseQueue<mixed>;
changedAssets: Map<string, Asset> = new Map();
optionsRef: SharedReference;
options: ParcelOptions;
api: RunAPI;
name: string;
assetRequests: Array<AssetGroup> = [];
cacheKey: string;
shouldBuildLazily: boolean;
requestedAssetIds: Set<string>;
Expand Down
3 changes: 1 addition & 2 deletions packages/core/workers/src/child.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type {
ChildImpl,
} from './types';
import type {Async, IDisposable} from '@parcel/types';
import type {SharedReference, WorkerApi} from './WorkerFarm';
import type {SharedReference} from './WorkerFarm';

import invariant from 'assert';
import nullthrows from 'nullthrows';
Expand Down Expand Up @@ -39,7 +39,6 @@ export class Child {
loggerDisposable: IDisposable;
child: ChildImpl;
profiler: ?Profiler;
workerApi: WorkerApi;
handles: Map<number, Handle> = new Map();
sharedReferences: Map<SharedReference, mixed> = new Map();
sharedReferencesByValue: Map<mixed, SharedReference> = new Map();
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6126,10 +6126,10 @@ flatted@^3.1.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.1.1.tgz#c4b489e80096d9df1dfc97c79871aea7c617c469"
integrity sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==

flow-bin@0.164.0:
version "0.164.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.164.0.tgz#dc2a1f1cd59670e7d95320232a673c6e31b11ff3"
integrity sha512-cSAA0LLa1SlQ1YmNCYpJ19ES39WYrqjfxX8Oqhbvn6+DET8Cs+EnVkJWHVSkfK8zUupbxvSt7pDoFXePYbcJRA==
flow-bin@0.171.0:
version "0.171.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.171.0.tgz#43902cf3ab10704a9c8a96bd16f789d92490ba1c"
integrity sha512-2HEiXAyE60ztGs+loFk6XSskL69THL6tSjzopUcbwgfrdbuZ5Jhv23qh1jUKP5AZJh0NNwxaFZ6To2p6xR+GEA==

flush-write-stream@^1.0.0, flush-write-stream@^1.0.2:
version "1.1.1"
Expand Down

0 comments on commit a7de06a

Please sign in to comment.