restruct-data
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "restruct-data", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "ERROR: No README data found!", | ||
"main": "restruct.js", | ||
"readme": "./README.org", | ||
"scripts": { | ||
@@ -8,0 +7,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
@@ -228,2 +228,5 @@ | ||
Restruct.method = function(name, fn, err) { | ||
return populater.method(name, fn, err); | ||
}; | ||
Restruct.populater = populater; | ||
@@ -230,0 +233,0 @@ Restruct.structure = Structure; |
@@ -6,3 +6,2 @@ var bunyan = require('bunyan'); | ||
var restruct = require('./restruct'); | ||
var fill = restruct.populater; | ||
@@ -16,3 +15,3 @@ var e = (e) => log.error(e); | ||
fill.method('weightClass', function(w) { | ||
restruct.method('weightClass', function(w) { | ||
return w >= 200 ? '200+' : '0-199' | ||
@@ -169,3 +168,3 @@ }); | ||
it("should return frame information", function() { | ||
fill.method('frame_info', function() { | ||
restruct.method('frame_info', function() { | ||
return { | ||
@@ -172,0 +171,0 @@ "index": this.index, // 0 |
Sorry, the diff of this file is not supported yet
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16570
493
65
0