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

vue-currency-input

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-currency-input - npm Package Compare versions

Comparing version 1.17.0 to 1.17.1

23

dist/vue-currency-input.esm.js
/**
* Vue Currency Input 1.17.0
* Vue Currency Input 1.17.1
* (c) 2020 Matthias Stiller

@@ -476,4 +476,14 @@ * @license MIT

on: Object.assign({}, this.$listeners,
{change: function (e) { return this$1.emit('change', e); },
input: function (e) { return this$1.emit('input', e); }})
{change: function (e) {
if (e.detail) {
this$1.$emit('change', e.detail.numberValue);
}
this$1.formattedValue = this$1.$el.value;
},
input: function (e) {
if (e.detail && this$1.value !== e.detail.numberValue) {
this$1.$emit('input', e.detail.numberValue);
}
this$1.formattedValue = this$1.$el.value;
}})
})

@@ -546,9 +556,2 @@ },

setValue(this.$el, value);
},
emit: function emit (event, ref) {
var detail = ref.detail;
if (detail && this.value !== detail.numberValue) {
this.$emit(event, detail.numberValue);
}
this.formattedValue = this.$el.value;
}

@@ -555,0 +558,0 @@ }

/**
* Vue Currency Input 1.17.0
* Vue Currency Input 1.17.1
* (c) 2020 Matthias Stiller

@@ -482,4 +482,14 @@ * @license MIT

on: Object.assign({}, this.$listeners,
{change: function (e) { return this$1.emit('change', e); },
input: function (e) { return this$1.emit('input', e); }})
{change: function (e) {
if (e.detail) {
this$1.$emit('change', e.detail.numberValue);
}
this$1.formattedValue = this$1.$el.value;
},
input: function (e) {
if (e.detail && this$1.value !== e.detail.numberValue) {
this$1.$emit('input', e.detail.numberValue);
}
this$1.formattedValue = this$1.$el.value;
}})
})

@@ -552,9 +562,2 @@ },

setValue(this.$el, value);
},
emit: function emit (event, ref) {
var detail = ref.detail;
if (detail && this.value !== detail.numberValue) {
this.$emit(event, detail.numberValue);
}
this.formattedValue = this.$el.value;
}

@@ -561,0 +564,0 @@ }

{
"name": "vue-currency-input",
"description": "Easy input of currency formatted numbers for Vue.js.",
"version": "1.17.0",
"version": "1.17.1",
"license": "MIT",

@@ -6,0 +6,0 @@ "unpkg": "dist/vue-currency-input.umd.js",

@@ -16,4 +16,14 @@ import { DEFAULT_OPTIONS, setValue } from './api'

...this.$listeners,
change: e => this.emit('change', e),
input: e => this.emit('input', e)
change: e => {
if (e.detail) {
this.$emit('change', e.detail.numberValue)
}
this.formattedValue = this.$el.value
},
input: e => {
if (e.detail && this.value !== e.detail.numberValue) {
this.$emit('input', e.detail.numberValue)
}
this.formattedValue = this.$el.value
}
}

@@ -86,10 +96,4 @@ })

setValue(this.$el, value)
},
emit (event, { detail }) {
if (detail && this.value !== detail.numberValue) {
this.$emit(event, detail.numberValue)
}
this.formattedValue = this.$el.value
}
}
}
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