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

vue-tables-2

Package Overview
Dependencies
Maintainers
1
Versions
343
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-tables-2 - npm Package Compare versions

Comparing version 0.2.75 to 0.2.76

12

lib/methods/get-heading.js
import ucfirst from '../helpers/ucfirst'
module.exports = function(value) {
module.exports = function(value, h) {
if (typeof value!=='string') return '';
return this.opts.headings.hasOwnProperty(value)?
this.opts.headings[value]:
ucfirst(value.split("_").join(" "));
if (!this.opts.headings.hasOwnProperty(value))
return ucfirst(value.split("_").join(" "));
if (typeof this.opts.headings[value]==='function')
return this.opts.headings[value](h);
return this.opts.headings[value];
}

@@ -12,3 +12,3 @@ module.exports = function(h, that) {

class={that.sortableClass(column)}>
<span class="VueTables__heading">{that.getHeading(column)}</span>
<span class="VueTables__heading">{that.getHeading(column, h)}</span>
{sortControl(column)}

@@ -15,0 +15,0 @@ </th>)

{
"name": "vue-tables-2",
"description": "Vue.js 2 grid components",
"version": "0.2.75",
"version": "0.2.76",
"keywords": [

@@ -6,0 +6,0 @@ "vue2",

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