apostrophe-forms
Advanced tools
Comparing version 0.5.22 to 0.5.23
@@ -551,3 +551,3 @@ /* jshint node:true */ | ||
self.submissions = collection; | ||
return self.submissions.ensureIndex({ formId: 1 }, { safe: true }, function(err) { | ||
return self.submissions.ensureIndex({ formId: 1 }, {}, function(err) { | ||
if (err) { | ||
@@ -554,0 +554,0 @@ throw err; |
{ | ||
"name": "apostrophe-forms", | ||
"version": "0.5.22", | ||
"version": "0.5.23", | ||
"description": "Allow your users to build forms on the fly on their Apostrophe sites", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -239,4 +239,6 @@ A form builder for the [Apostrophe CMS](http://apostrophenow.org). | ||
0.5.23: do not try to pass `safe: true` to `ensureIndex`, it was never a thing and it breaks in modern MongoDB drivers. | ||
0.5.3: fields now have a `fieldId` which will improve CSV export (however, not saving yet). The next minor version will be a bc break in the way content is saved in the collection. | ||
The forms widget now shows only the selected form, not all of them! |
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
71386
244
0