Skip to content

Commit 8df9208

Browse files
committed
fix: 🐛 add thingies package
1 parent 6ec598d commit 8df9208

File tree

14 files changed

+18
-120
lines changed

14 files changed

+18
-120
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
"dependencies": {
127127
"@jsonjoy.com/json-pack": "^1.0.3",
128128
"@jsonjoy.com/util": "^1.3.0",
129+
"thingies": "^2.5.0",
129130
"tree-dump": "^1.0.1",
130131
"tslib": "^2.0.0"
131132
},

src/fsa-to-node/FsaNodeReadStream.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Readable } from 'stream';
2-
import { Defer } from '../thingies/Defer';
3-
import { concurrency } from '../thingies/concurrency';
2+
import { Defer } from 'thingies/lib/Defer';
3+
import { concurrency } from 'thingies/lib/concurrency';
44
import type { FsaNodeFsOpenFile } from './FsaNodeFsOpenFile';
55
import type { IReadStream } from '../node/types/misc';
66
import type { IReadStreamOptions } from '../node/types/options';

src/fsa-to-node/FsaNodeWriteStream.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Writable } from 'stream';
2-
import { Defer } from '../thingies/Defer';
3-
import { concurrency } from '../thingies/concurrency';
2+
import { Defer } from 'thingies/lib/Defer';
3+
import { concurrency } from 'thingies/lib/concurrency';
44
import { flagsToNumber } from '../node/util';
55
import { FLAG } from '../consts/FLAG';
66
import { FsaNodeFsOpenFile } from './FsaNodeFsOpenFile';

src/fsa-to-node/__tests__/FsaNodeFs.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { IFsWithVolume, NestedDirectoryJSON, memfs } from '../..';
1+
import { NestedDirectoryJSON, memfs } from '../..';
22
import { AMODE } from '../../consts/AMODE';
33
import { nodeToFsa } from '../../node-to-fsa';
44
import { IDirent, IStats } from '../../node/types/misc';
55
import { FsaNodeFs } from '../FsaNodeFs';
6-
import { of } from '../../thingies';
6+
import { of } from 'thingies';
77
import { onlyOnNode20 } from '../../__tests__/util';
88
import { FLAG } from '../../consts/FLAG';
99

src/fsa-to-node/worker/FsaNodeSyncAdapterWorker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Defer } from '../../thingies/Defer';
1+
import { Defer } from 'thingies/lib/Defer';
22
import { FsaNodeWorkerMessageCode } from './constants';
33
import { SyncMessenger } from './SyncMessenger';
44
import { decoder, encoder } from '../json';

src/node/__tests__/volume/openAsBlob.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { of } from '../../../thingies';
1+
import { of } from 'thingies';
22
import { memfs } from '../../../';
33

44
describe('.openAsBlob()', () => {

src/node/__tests__/volume/readFile.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { of } from '../../../thingies';
1+
import { of } from 'thingies';
22
import { memfs } from '../../../';
33

44
describe('.readFile()', () => {

src/thingies/Defer.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/thingies/concurrency.ts

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/thingies/go.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)