Comparing version 0.0.8 to 0.0.10
17
index.js
@@ -100,2 +100,16 @@ //meh, shit's ugly. | ||
*/ | ||
'success': function() | ||
{ | ||
if(!arguments.length) return data.messages; | ||
if(!data.messages) data.messages = []; | ||
data.messages.push({ message: _buildMessage.apply(null, arguments)}); | ||
return this; | ||
}, | ||
/** | ||
*/ | ||
@@ -112,2 +126,3 @@ combine: function(api) | ||
combineArrays(thisData,thatData,newData,'warnings'); | ||
combineArrays(thisData,thatData,newData,'messages'); | ||
combineArrays(thisData,thatData,newData,'result'); | ||
@@ -254,3 +269,3 @@ | ||
['error','warning','combine','redirect','message','result','results','ttl','type','method','list','add','remove','update'].forEach(function(method) | ||
['error','warning','combine','redirect','message','result','results','ttl','type','method','list','add','remove','update','success'].forEach(function(method) | ||
{ | ||
@@ -257,0 +272,0 @@ exports[method] = function() |
{ | ||
"name": "vine", | ||
"description": "API builder", | ||
"version": "0.0.8", | ||
"version": "0.0.10", | ||
"author": "Craig Condon", | ||
@@ -6,0 +6,0 @@ "repository": { |
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
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
7070
7
192
0