solidus-client
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -38,2 +38,3 @@ var _ = require('underscore'); | ||
var lastRevision = context.resources.revisions[0]; | ||
if (!lastRevision) return; | ||
if (originalPreprocessor) { context = originalPreprocessor(context); } | ||
@@ -40,0 +41,0 @@ var previewContext = _.extend({}, context.resources.wordpress, lastRevision); |
{ | ||
"name": "solidus-client", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -81,3 +81,3 @@ var assert = require('assert'); | ||
}); | ||
var processedContext = view.preprocessor({resources: {wordpress: {}, revisions: {}}}); | ||
var processedContext = view.preprocessor({resources: {wordpress: {}, revisions: ['test']}}); | ||
assert(processedContext.testKey); | ||
@@ -84,0 +84,0 @@ done(); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
430508
13727