New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@acanto/core-forms

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acanto/core-forms - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

40

helpers.js

@@ -93,2 +93,22 @@ import "@acanto/core-polyfills/closest";

/**
* Get form data as query params
*
* @param {Object} data
* @returns {string}
*/
export function getPostData(data) {
const params = [];
for (const name in data) {
const value = data[name];
if (value) {
params.push(encodeURIComponent(name) + "=" + encodeURIComponent(value));
}
}
return params.join("&");
}
/**
* Get form data as object

@@ -126,21 +146,1 @@ *

}
/**
* Get form data as query params
*
* @param {Object} data
* @returns {string}
*/
export function getPostData(data) {
const params = [];
for (const name in data) {
const value = data[name];
if (value) {
params.push(encodeURIComponent(name) + "=" + encodeURIComponent(value));
}
}
return params.join("&");
}
{
"name": "@acanto/core-forms",
"version": "0.0.22",
"version": "0.0.23",
"author": "Acanto <info@acanto.net> (https://acanto.agency/)",

@@ -31,3 +31,3 @@ "license": "ISC",

],
"gitHead": "c5c07cb07eb725257b907e3c6da4f6bd86792273"
"gitHead": "c9701928ee36ea07e4adc91604e1ecef21b4eb37"
}

Sorry, the diff of this file is not supported yet

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