File tree 4 files changed +16
-9
lines changed
4 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 12
12
- uses : oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2.0.1
13
13
- run : bun install
14
14
- run : bun run build
15
- - run : bun index.test.js
15
+ - run : bun test/ index.test.js
16
16
deno :
17
17
name : Deno
18
18
runs-on : ubuntu-latest
21
21
- uses : denoland/setup-deno@909cc5acb0fdd60627fb858598759246509fa755 # v2.0.2
22
22
- run : deno install
23
23
- run : deno run build
24
- - run : deno --allow-env --allow-write --allow-read index.test.js
24
+ - run : deno --allow-env --allow-write --allow-read test/ index.test.js
25
25
lint :
26
26
name : Lint
27
27
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " readdirp" ,
3
3
"description" : " Recursive version of fs.readdir with small RAM & CPU footprint." ,
4
- "version" : " 4.1.0 " ,
4
+ "version" : " 4.1.1 " ,
5
5
"homepage" : " https://github.com/paulmillr/readdirp" ,
6
6
"repository" : {
7
7
"type" : " git" ,
48
48
],
49
49
"scripts" : {
50
50
"build" : " tsc && tsc -p tsconfig.esm.json" ,
51
- "lint" : " prettier --check index.ts index.test.js" ,
52
- "format" : " prettier --write index.ts index.test.js" ,
53
- "test" : " node index.test.js" ,
54
- "test:coverage" : " c8 node index.test.js"
51
+ "lint" : " prettier --check index.ts test/ index.test.js" ,
52
+ "format" : " prettier --write index.ts test/ index.test.js" ,
53
+ "test" : " node test/ index.test.js" ,
54
+ "test:coverage" : " c8 node test/ index.test.js"
55
55
},
56
56
"devDependencies" : {
57
57
"@paulmillr/jsbt" : " 0.2.1" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { describe, it } from 'micro-should';
6
6
import { tmpdir } from 'node:os' ;
7
7
import chai from 'chai' ;
8
8
import chaiSubset from 'chai-subset' ;
9
- import { readdirp , readdirpPromise , ReaddirpStream } from './esm/index.js' ;
9
+ import { readdirp , readdirpPromise , ReaddirpStream } from '.. /esm/index.js' ;
10
10
11
11
chai . use ( chaiSubset ) ;
12
12
chai . should ( ) ;
@@ -94,7 +94,7 @@ describe('readdirp', () => {
94
94
95
95
it ( 'handles symlinked directories' , async ( ) => {
96
96
await beforeEach ( ) ;
97
- const originalPath = sysPath . join ( __dirname , 'esm' ) ;
97
+ const originalPath = sysPath . join ( __dirname , '..' , ' esm') ;
98
98
const originalFiles = await readdir ( originalPath ) ;
99
99
const newPath = sysPath . join ( currPath , 'esm' ) ;
100
100
await symlink ( originalPath , newPath ) ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "type" : " module" ,
3
+ "browser" : {
4
+ "crypto" : false ,
5
+ "./crypto" : " ./esm/cryptoBrowser.js"
6
+ }
7
+ }
You can’t perform that action at this time.
0 commit comments