qtools-library-dot-d 1.0.11 → 1.0.12
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 +1 -1
- package/package.json +1 -1
- package/qtools-library-dot-d.js +1 -1
package/README.md
CHANGED
|
@@ -229,7 +229,7 @@ This pattern is used extensively in the qtools ecosystem for building scalable,
|
|
|
229
229
|
|
|
230
230
|
## HISTORY
|
|
231
231
|
|
|
232
|
-
v1.
|
|
232
|
+
v1.12 - clarified error message "Ignoring invalid file".
|
|
233
233
|
v1.10 - there was a reason I did not return the exception list. Undone.
|
|
234
234
|
v1.09 - fixed broken error handling when library file path is bad; added demonstration application
|
|
235
235
|
v1.08 - updated README (several times)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qtools-library-dot-d",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "Scan a directory for JS modules that can execute and addMe() that attaches it to some form of name/value list, eg, a Map() with functions as values or an xPressJS route/endpoint list.",
|
|
5
5
|
"main": "qtools-library-dot-d.js",
|
|
6
6
|
"scripts": {
|
package/qtools-library-dot-d.js
CHANGED
|
@@ -47,7 +47,7 @@ const moduleFunction =
|
|
|
47
47
|
require(item.endpointPath)(item.moduleArgs); //calls module with dotD object, including library.add()
|
|
48
48
|
} catch (err) {
|
|
49
49
|
item.exceptionList.push(
|
|
50
|
-
`ignoring
|
|
50
|
+
`ignoring invalid file: ${path.basename(item.endpointPath)}: ${err.toString().split('\n').qtFirst('n/a')}`,
|
|
51
51
|
);
|
|
52
52
|
}
|
|
53
53
|
|