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

apostrophe-schema-widgets

Package Overview
Dependencies
Maintainers
10
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apostrophe-schema-widgets - npm Package Compare versions

Comparing version 0.5.16 to 0.5.17

16

index.js

@@ -0,1 +1,3 @@

/* jshint node:true */
var _ = require('lodash');

@@ -78,4 +80,16 @@

}
if (req.deferredLoads) {
if (!req.deferredLoads[options.name]) {
req.deferredLoads[options.name] = [];
req.deferredLoaders[options.name] = widget.loadNow;
}
req.deferredLoads[options.name].push(item);
return setImmediate(callback);
}
return widget.loadNow(req, [ item ], callback);
};
widget.loadNow = function(req, items, callback) {
req.aposSchemaWidgetLoading = true;
return self._schemas.join(req, options.schema, item, undefined, function(err) {
return self._schemas.join(req, options.schema, items, undefined, function(err) {
req.aposSchemaWidgetLoading = false;

@@ -82,0 +96,0 @@ return setImmediate(_.partial(callback, err));

2

package.json
{
"name": "apostrophe-schema-widgets",
"version": "0.5.16",
"version": "0.5.17",
"description": "An easy form widget builder for the Apostrophe content management system",

@@ -5,0 +5,0 @@ "main": "index.js",

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