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.0 to 0.5.1

3

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

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