test-filesystem 1.1.2 → 1.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.
- package/README.md +17 -0
- package/browser/test-fs.js +327 -349
- package/browser/test-fs.min.js +1 -1
- package/dist/functions/circularObject.d.ts +0 -1
- package/dist/functions/circularObject.js +1 -2
- package/dist/functions/circularObject.min.js +1 -1
- package/dist/functions/circularObject.min.mjs +1 -1
- package/dist/functions/circularObject.mjs +0 -1
- package/dist/functions/countMatches.d.ts +0 -1
- package/dist/functions/countMatches.js +1 -2
- package/dist/functions/countMatches.min.js +1 -1
- package/dist/functions/countMatches.min.mjs +1 -1
- package/dist/functions/countMatches.mjs +0 -1
- package/dist/functions/deepReferenceObject.d.ts +0 -1
- package/dist/functions/deepReferenceObject.js +1 -2
- package/dist/functions/deepReferenceObject.min.js +1 -1
- package/dist/functions/deepReferenceObject.min.mjs +1 -1
- package/dist/functions/deepReferenceObject.mjs +0 -1
- package/dist/functions/domItem.d.ts +0 -1
- package/dist/functions/domItem.js +1 -2
- package/dist/functions/domItem.min.js +1 -1
- package/dist/functions/domItem.min.mjs +1 -1
- package/dist/functions/domItem.mjs +0 -1
- package/dist/functions/fileExists.d.ts +7 -0
- package/dist/functions/fileExists.js +22 -0
- package/dist/functions/fileExists.min.js +1 -0
- package/dist/functions/fileExists.min.mjs +1 -0
- package/dist/functions/fileExists.mjs +15 -0
- package/dist/functions/jsonDom.d.ts +0 -1
- package/dist/functions/jsonDom.js +1 -2
- package/dist/functions/jsonDom.min.js +1 -1
- package/dist/functions/jsonDom.min.mjs +1 -1
- package/dist/functions/jsonDom.mjs +0 -1
- package/dist/functions/linkedList.d.ts +0 -1
- package/dist/functions/linkedList.js +1 -2
- package/dist/functions/linkedList.min.js +1 -1
- package/dist/functions/linkedList.min.mjs +1 -1
- package/dist/functions/linkedList.mjs +0 -1
- package/dist/functions/logObject.d.ts +0 -1
- package/dist/functions/logObject.js +1 -2
- package/dist/functions/logObject.min.js +1 -1
- package/dist/functions/logObject.min.mjs +1 -1
- package/dist/functions/logObject.mjs +0 -1
- package/dist/functions/multiReferenceObject.d.ts +0 -1
- package/dist/functions/multiReferenceObject.js +1 -2
- package/dist/functions/multiReferenceObject.min.js +1 -1
- package/dist/functions/multiReferenceObject.min.mjs +1 -1
- package/dist/functions/multiReferenceObject.mjs +0 -1
- package/dist/functions/nodeTree.d.ts +0 -1
- package/dist/functions/nodeTree.js +1 -2
- package/dist/functions/nodeTree.min.js +1 -1
- package/dist/functions/nodeTree.min.mjs +1 -1
- package/dist/functions/nodeTree.mjs +0 -1
- package/dist/functions/removeDirectory.d.ts +0 -1
- package/dist/functions/removeDirectory.js +1 -2
- package/dist/functions/removeDirectory.min.js +1 -1
- package/dist/functions/removeDirectory.min.mjs +1 -1
- package/dist/functions/removeDirectory.mjs +0 -1
- package/dist/functions/setUp.js +4 -4
- package/dist/functions/setUp.min.js +1 -1
- package/dist/functions/setUp.min.mjs +1 -1
- package/dist/functions/setUp.mjs +4 -3
- package/dist/main.d.ts +2 -1
- package/dist/main.js +45 -36
- package/dist/main.min.js +1 -1
- package/dist/main.min.mjs +1 -1
- package/dist/main.mjs +14 -12
- package/package.json +1 -1
package/dist/main.min.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{circularObject}from"./functions/circularObject.mjs";import{countMatches}from"./functions/countMatches.mjs";import{deepReferenceObject}from"./functions/deepReferenceObject.mjs";import{domItem}from"./functions/domItem.mjs";import{fileExists}from"./functions/fileExists.mjs";import{jsonDom}from"./functions/jsonDom.mjs";import{linkedList}from"./functions/linkedList.mjs";import{logObject}from"./functions/logObject.mjs";import{multiReferenceObject}from"./functions/multiReferenceObject.mjs";import{nodeTree}from"./functions/nodeTree.mjs";import{removeDirectory}from"./functions/removeDirectory.mjs";import{setUp}from"./functions/setUp.mjs";export*from"./functions/circularObject.mjs";export*from"./functions/countMatches.mjs";export*from"./functions/deepReferenceObject.mjs";export*from"./functions/domItem.mjs";export*from"./functions/fileExists.mjs";export*from"./functions/jsonDom.mjs";export*from"./functions/linkedList.mjs";export*from"./functions/logObject.mjs";export*from"./functions/multiReferenceObject.mjs";export*from"./functions/nodeTree.mjs";export*from"./functions/removeDirectory.mjs";export*from"./functions/setUp.mjs";export let testFs={circularObject:circularObject,countMatches:countMatches,deepReferenceObject:deepReferenceObject,domItem:domItem,fileExists:fileExists,jsonDom:jsonDom,linkedList:linkedList,logObject:logObject,multiReferenceObject:multiReferenceObject,nodeTree:nodeTree,removeDirectory:removeDirectory,setUp:setUp};export let testFsBrowser={circularObject:circularObject,countMatches:countMatches,deepReferenceObject:deepReferenceObject,domItem:domItem,jsonDom:jsonDom,linkedList:linkedList,logObject:logObject,multiReferenceObject:multiReferenceObject,nodeTree:nodeTree};this?this.testFs=testFsBrowser:"undefined"!=typeof window&&(window.testFs=testFsBrowser);
|
package/dist/main.mjs
CHANGED
|
@@ -5,21 +5,23 @@
|
|
|
5
5
|
* @version 1.0.0
|
|
6
6
|
* @module test-fs
|
|
7
7
|
*/
|
|
8
|
-
import circularObject from './functions/circularObject.mjs'
|
|
9
|
-
import countMatches from './functions/countMatches.mjs'
|
|
10
|
-
import deepReferenceObject from './functions/deepReferenceObject.mjs'
|
|
11
|
-
import domItem from './functions/domItem.mjs'
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
8
|
+
import { circularObject } from './functions/circularObject.mjs'
|
|
9
|
+
import { countMatches } from './functions/countMatches.mjs'
|
|
10
|
+
import { deepReferenceObject } from './functions/deepReferenceObject.mjs'
|
|
11
|
+
import { domItem } from './functions/domItem.mjs'
|
|
12
|
+
import { fileExists } from './functions/fileExists.mjs'
|
|
13
|
+
import { jsonDom } from './functions/jsonDom.mjs'
|
|
14
|
+
import { linkedList } from './functions/linkedList.mjs'
|
|
15
|
+
import { logObject } from './functions/logObject.mjs'
|
|
16
|
+
import { multiReferenceObject } from './functions/multiReferenceObject.mjs'
|
|
17
|
+
import { nodeTree } from './functions/nodeTree.mjs'
|
|
18
|
+
import { removeDirectory } from './functions/removeDirectory.mjs'
|
|
19
|
+
import { setUp } from './functions/setUp.mjs'
|
|
19
20
|
export * from './functions/circularObject.mjs'
|
|
20
21
|
export * from './functions/countMatches.mjs'
|
|
21
22
|
export * from './functions/deepReferenceObject.mjs'
|
|
22
23
|
export * from './functions/domItem.mjs'
|
|
24
|
+
export * from './functions/fileExists.mjs'
|
|
23
25
|
export * from './functions/jsonDom.mjs'
|
|
24
26
|
export * from './functions/linkedList.mjs'
|
|
25
27
|
export * from './functions/logObject.mjs'
|
|
@@ -32,6 +34,7 @@ export const testFs = {
|
|
|
32
34
|
countMatches,
|
|
33
35
|
deepReferenceObject,
|
|
34
36
|
domItem,
|
|
37
|
+
fileExists,
|
|
35
38
|
jsonDom,
|
|
36
39
|
linkedList,
|
|
37
40
|
logObject,
|
|
@@ -40,7 +43,6 @@ export const testFs = {
|
|
|
40
43
|
removeDirectory,
|
|
41
44
|
setUp
|
|
42
45
|
}
|
|
43
|
-
export default testFs
|
|
44
46
|
export const testFsBrowser = {
|
|
45
47
|
circularObject,
|
|
46
48
|
countMatches,
|