apostrophe-pieces-submit-widgets
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "apostrophe-pieces-submit-widgets", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Submit user generated content to Apostrophe CMS sites", | ||
"main": "index.js", | ||
"author": "P'unk Ave", | ||
"homepage": "https://github.com/punkave/apostrophe-submit-pieces#readme", | ||
"homepage": "https://github.com/apostrophecms/apostrophe-pieces-submit-widgets#readme", | ||
"dependencies": { | ||
"async": "^2.1.2", | ||
"lodash": "^4.16.6" | ||
} | ||
}, | ||
"keywords": [ | ||
"apostrophecms", | ||
"apostrophe", | ||
"apostrophe-cms", | ||
"cms", | ||
"content management", | ||
"content management system" | ||
] | ||
} |
@@ -13,2 +13,3 @@ apos.define('apostrophe-pieces-submit-widgets', { | ||
if (err) { | ||
apos.utils.error('For setup error: ', err); | ||
alert('A problem occurred setting up the contact form.'); | ||
@@ -34,2 +35,3 @@ return; | ||
if (err) { | ||
apos.utils.error('Piece submission error: ', err); | ||
alert('Something was not right. Please review your submission.'); | ||
@@ -36,0 +38,0 @@ } else { |
@@ -114,2 +114,3 @@ # apostrophe-pieces-submit-widgets | ||
2.0.3: Fixes the package URL in package.json. Adds keywords for NPM search. Improves error logging. | ||
2.0.2: assets were still being pushed `always`, which resulted in errors for any page that *didn't* contain the widgets and tried to run that javascript without `scene: 'user'`. Fixed! You should *not* need to set `scene: 'user'` for every page type on your site. | ||
@@ -116,0 +117,0 @@ 2.0.1: the documentation is complete and the examples are well-tested. Default styles are pushed to hide the "thank you" message until it replaces the form. Since `scene: 'user'` is set for the widget, we push the assets for the widget only for `scene: 'user'`, which saves overhead on pages that don't include it. |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
13650
150
1
119
1