Socket
Socket
Sign inDemoInstall

vue-formular

Package Overview
Dependencies
66
Maintainers
1
Versions
196
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.19 to 0.0.20

6

index.js

@@ -23,3 +23,7 @@ String.prototype.ucfirst = require('./lib/helpers/ucfirst');

type: Object,
required:false
required:false,
default: function() {
return {
}
}
},

@@ -26,0 +30,0 @@ options:{

8

lib/helpers/render-template.js
// just expand to multiple require calls, one for each matched file
require('../templates/*.html', {mode: 'expand'});
module.exports = function(tpl, replacements) {
module.exports = function(tpl, replacements, template) {
tpl = '../templates/' + tpl + '.html';
var template = require(tpl);
if (!template) {
tpl = '../templates/' + tpl + '.html';
template = require(tpl);
}

@@ -9,0 +11,0 @@ for (var replacement in replacements) {

{
"name": "vue-formular",
"description": "a comprehensive vue.js form component",
"version": "0.0.19",
"version": "0.0.20",
"keywords": [

@@ -6,0 +6,0 @@ "vue",

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