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

linen

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linen - npm Package Compare versions

Comparing version 0.3.27 to 0.3.28

lib/field/controllers/validator/decor/base.js

3

lib/field/controllers/transporter/decor/transport.js

@@ -61,5 +61,2 @@ // Generated by CoffeeScript 1.6.2

fieldHash = this._fieldHash(payload);
if (options.hard) {
return load(next);
}
return options.model._memos.call(fieldHash, currentHash, this._memoOps, next, function(next) {

@@ -66,0 +63,0 @@ method = _this._request[payload.method];

// Generated by CoffeeScript 1.6.2
(function() {
var Validator, _ref,
var Validator, factory, _ref,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
factory = require("./decor/factory");
Validator = (function(_super) {

@@ -26,3 +28,3 @@ __extends(Validator, _super);

Validator.prototype.validate = function(model, next) {
return next();
return this.rootField._validator.validate(model, next);
};

@@ -46,3 +48,5 @@

Validator.prototype._createFieldDecorator = function(field) {};
Validator.prototype._createFieldDecorator = function(field) {
return factory.create(field);
};

@@ -49,0 +53,0 @@ return Validator;

{
"name": "linen",
"version": "0.3.27",
"version": "0.3.28",
"description": "Linen (line-in) maps API's to [bindable](/classdojo/bindable.js) `objects`, and `collections`. At [classdojo](http://classdojo.com), we use `linen` to abstract our API from front-end, so we don't necessarily depend on any sort of API while developing new components. This allows us to rapidly build prototypes which can be wired up later.",

@@ -44,4 +44,5 @@ "main": "./lib/index.js",

"hoist": "0.0.6",
"outcome": "0.0.18"
"outcome": "0.0.18",
"comerr": "0.0.6"
}
}

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