Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

restruct-data

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restruct-data - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

GNUmakefile

18

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc