@zthun/crumbtrail-fs 2.2.1 → 2.3.0
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.
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The actual delay time that you should wait for a watch
|
|
3
|
+
* operation to pick up your file changes.
|
|
4
|
+
*/
|
|
5
|
+
export declare const ZWatchDelay = 1500;
|
|
6
|
+
/**
|
|
7
|
+
* Performs a sleep long enough to allow a watch operation
|
|
8
|
+
* to pick up a change.
|
|
9
|
+
*
|
|
10
|
+
* You should never really need this. Where it is useful
|
|
11
|
+
* is for unit testing with IO operations and you want to
|
|
12
|
+
* wait for your write operations to get picked up by
|
|
13
|
+
* a file watch operation.
|
|
14
|
+
*/
|
|
15
|
+
export declare function sleepWatchDelay(): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zthun/crumbtrail-fs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "A better file system module for node",
|
|
5
5
|
"author": "Anthony Bonta",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@zthun/helpful-fn": "^9.6.0",
|
|
32
|
-
"@zthun/helpful-query": "^9.
|
|
32
|
+
"@zthun/helpful-query": "^9.7.1",
|
|
33
33
|
"chokidar": "^4.0.3",
|
|
34
34
|
"glob": "^11.0.3",
|
|
35
35
|
"lodash-es": "^4.17.21",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"dist"
|
|
48
48
|
],
|
|
49
49
|
"sideEffects": false,
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "fd9ebd640071e62168bcd0d3046f011b1e5023d3"
|
|
51
51
|
}
|