test-filesystem 1.2.0 → 1.3.1
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 +5 -0
- package/browser/test-fs.js +295 -356
- 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 +0 -1
- package/dist/functions/fileExists.js +1 -2
- package/dist/functions/fileExists.min.js +1 -1
- package/dist/functions/fileExists.min.mjs +1 -1
- package/dist/functions/fileExists.mjs +0 -1
- 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 -5
- package/dist/functions/setUp.min.js +1 -1
- package/dist/functions/setUp.min.mjs +1 -1
- package/dist/functions/setUp.mjs +2 -2
- package/dist/main.d.ts +0 -1
- package/dist/main.js +34 -38
- package/dist/main.min.js +1 -1
- package/dist/main.min.mjs +1 -1
- package/dist/main.mjs +12 -13
- package/package.json +15 -1
package/dist/main.mjs
CHANGED
|
@@ -5,18 +5,18 @@
|
|
|
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 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'
|
|
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'
|
|
20
20
|
export * from './functions/circularObject.mjs'
|
|
21
21
|
export * from './functions/countMatches.mjs'
|
|
22
22
|
export * from './functions/deepReferenceObject.mjs'
|
|
@@ -43,7 +43,6 @@ export const testFs = {
|
|
|
43
43
|
removeDirectory,
|
|
44
44
|
setUp
|
|
45
45
|
}
|
|
46
|
-
export default testFs
|
|
47
46
|
export const testFsBrowser = {
|
|
48
47
|
circularObject,
|
|
49
48
|
countMatches,
|
package/package.json
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "test-filesystem",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Set up and tear down a temp directory for running filesystem tests.",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
|
+
"module": "./dist/main.mjs",
|
|
7
|
+
"types": "./dist/main.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./dist/main.d.ts",
|
|
12
|
+
"default": "./dist/main.mjs"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/main.d.ts",
|
|
16
|
+
"default": "./dist/main.js"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
6
20
|
"scripts": {
|
|
7
21
|
"build": "gulp build",
|
|
8
22
|
"htmldocs": "jsdoc -R MAIN.md -c ./.jsdoc.conf.js -d docs",
|