ctx-core 7.2.1 → 7.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/all/file_exists/index.js
CHANGED
|
@@ -17,6 +17,14 @@ test('file_exists_ + file_exists__waitfor|server', async ()=>{
|
|
|
17
17
|
await unlink(tempfile_path)
|
|
18
18
|
}
|
|
19
19
|
})
|
|
20
|
+
test('file_exists__waitfor|bun error', async ()=>{
|
|
21
|
+
let count = 0
|
|
22
|
+
await file_exists__waitfor(()=>{
|
|
23
|
+
++count
|
|
24
|
+
if (count < 5) throw Error('error: ENOENT reading /some/file.js')
|
|
25
|
+
return true
|
|
26
|
+
})
|
|
27
|
+
})
|
|
20
28
|
test('file_exists__waitfor|server|cancel', async ()=>{
|
|
21
29
|
const tempfile_path = await tempfile_path_()
|
|
22
30
|
equal(await file_exists_(tempfile_path), false)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ctx-core",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.3",
|
|
4
4
|
"description": "ctx-core core library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -309,16 +309,16 @@
|
|
|
309
309
|
"@ctx-core/preprocess": "^0.1.3",
|
|
310
310
|
"@size-limit/preset-small-lib": "^11.1.2",
|
|
311
311
|
"@types/jsdom": "^21.1.6",
|
|
312
|
-
"@types/node": "^20.12.
|
|
312
|
+
"@types/node": "^20.12.8",
|
|
313
313
|
"@types/sinon": "^17.0.3",
|
|
314
314
|
"c8": "^9.1.0",
|
|
315
315
|
"check-dts": "^0.7.2",
|
|
316
316
|
"esbuild": "^0.20.2",
|
|
317
|
-
"esmock": "^2.6.
|
|
317
|
+
"esmock": "^2.6.5",
|
|
318
318
|
"jsdom": "^24.0.0",
|
|
319
319
|
"sinon": "^17.0.1",
|
|
320
320
|
"size-limit": "^11.1.2",
|
|
321
|
-
"tsx": "^4.
|
|
321
|
+
"tsx": "^4.8.2",
|
|
322
322
|
"typescript": "next",
|
|
323
323
|
"uvu": "^0.5.6"
|
|
324
324
|
},
|