Socket
Socket
Sign inDemoInstall

apostrophe-pieces-submit-widgets

Package Overview
Dependencies
2
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

14

package.json
{
"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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc