restruct-data
Advanced tools
Comparing version 0.5.1 to 0.5.2
{ | ||
"name": "restruct-data", | ||
"version": "0.5.1", | ||
"description": "ERROR: No README data found!", | ||
"version": "0.5.2", | ||
"description": "Restructure lists of data using simple object templates (eg. 'SQL responses' to JSON)", | ||
"main": "restruct.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "make tests" | ||
}, | ||
@@ -13,4 +13,9 @@ "repository": { | ||
}, | ||
"author": "Matthew Brisebois", | ||
"license": "GPLv3", | ||
"bugs": { | ||
"url": "https://github.com/webheroesinc/restruct/issues" | ||
}, | ||
"author": { | ||
"name": "Matthew Brisebois" | ||
}, | ||
"license": "", | ||
"dependencies": { | ||
@@ -21,4 +26,5 @@ "bunyan": "^1.8.12", | ||
"devDependencies": { | ||
"chai": "^4.1.2" | ||
"chai": "^4.1.2", | ||
"mocha": "^4.0.0" | ||
} | ||
} |
@@ -67,2 +67,5 @@ | ||
if (typeof struct !== 'object' || struct === null) | ||
throw Error("Bad Structure: structure is undefined"); | ||
// Turn structure into predictable objects (no RegExp, undefined or function). Limits the | ||
@@ -69,0 +72,0 @@ // complex objects to Array's and Dicts |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
16856
6
0
100
495
1
2
2
2