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

vue-formular

Package Overview
Dependencies
Maintainers
1
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-formular - npm Package Compare versions

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc