Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fh-forms

Package Overview
Dependencies
Maintainers
1
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fh-forms - npm Package Compare versions

Comparing version 1.3.0-171 to 1.3.0-173

1

CHANGELOG.md

@@ -6,2 +6,3 @@ #fh-forms

* RHMAP-2394 - Changed fh-forms to include Data Source cache update.
* RHMAP-3242 - Fixed Deploying A Form Containing A Data Source Not Associating Correctly.

@@ -8,0 +9,0 @@ ## 1.2.0 - 2015-09-28 - Niall Donnelly

@@ -12,2 +12,3 @@ var async = require('async');

var ERROR_CODES = models.CONSTANTS.ERROR_CODES;
var logger = require('../common/logger.js').getLogger();

@@ -35,2 +36,3 @@ /*

module.exports = function updateForm(connections, options, formToUpdate, cb) {
logger.debug("Updating Form", options, formToUpdate);
formToUpdate = formToUpdate || {};

@@ -197,2 +199,4 @@ var formData = _.clone(formToUpdate);

logger.debug("Got Form Data Sources", dataSources);
//Only Want One Of Each Data Source

@@ -716,3 +720,13 @@ return _.uniq(dataSources);

formData._id = formData._id || new mongoose.Types.ObjectId();
return cb(undefined, createNewForm(formData));
logger.debug("Deploying Form", formData);
var newForm = createNewForm(formData);
newForm.dataSources = {
formDataSources: dataSourcesAndTargets.dataSources
};
newForm.dataTargets = dataSourcesAndTargets.dataTargets;
return cb(undefined, newForm);
}

@@ -719,0 +733,0 @@

2

npm-shrinkwrap.json
{
"name": "fh-forms",
"version": "1.3.0-171",
"version": "1.3.0-173",
"dependencies": {

@@ -5,0 +5,0 @@ "archiver": {

{
"name": "fh-forms",
"version": "1.3.0-171",
"version": "1.3.0-173",
"description": "Cloud Forms API for form submission",

@@ -5,0 +5,0 @@ "main": "fhforms.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc