Skip to content

Commit a6778e2

Browse files
author
Dipak Sarkar
committed
updated some issue
1 parent cd29b82 commit a6778e2

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
"rollup-plugin-vue": "^6.0.0",
5151
"vue": "^2.6.11",
5252
"vue-jest": "^3.0.7",
53-
"vuepress": "^1.8.2"
53+
"vuepress": "^1.8.2",
54+
"@coders-tm/vue-number-format": "^1.0.3"
5455
},
5556
"bugs": {
5657
"url": "https://github.com/coders-tm/vue-number-format/issues"
@@ -79,8 +80,5 @@
7980
"style": "dist/styles.css",
8081
"publishConfig": {
8182
"@coders-tm:registry": "https://npm.pkg.github.com"
82-
},
83-
"dependencies": {
84-
"@coders-tm/vue-number-format": "^1.0.1"
8583
}
8684
}

src/directive.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import options from "./options";
22
import { NumberFormat, setCursor } from './utils'
3+
import assign from './assign'
34

45
export default function (el, binding) {
56
const { value } = binding
67
if (!value) return false
7-
const config = Object.assign(options, value)
8+
const config = assign(options, value)
89
// console.log('src/components/directive:config', config)
910

1011
// v-number used on a component that's not a input element

yarn.lock

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -937,10 +937,12 @@
937937
exec-sh "^0.3.2"
938938
minimist "^1.2.0"
939939

940-
"@coders-tm/vue-number-format@^1.0.1":
941-
version "1.0.1"
942-
resolved "https://registry.yarnpkg.com/@coders-tm/vue-number-format/-/vue-number-format-1.0.1.tgz#4088de054f8c10943bf0147e126c0ec31795a91f"
943-
integrity sha512-KFrK5oSfjpIWoH/+Lb6gKnDx1kjxVelcxtqdEs4MY+0T9wQz7ff22qKV1ZxmkuIVXiARaB0TETjcPn5p7JJGBg==
940+
"@coders-tm/vue-number-format@^1.0.1", "@coders-tm/vue-number-format@^1.0.3":
941+
version "1.0.3"
942+
resolved "https://registry.yarnpkg.com/@coders-tm/vue-number-format/-/vue-number-format-1.0.3.tgz#1969171bb73da62a204b74e44bcf7e957a00ea2b"
943+
integrity sha512-8ZjXMVGonxkeV7F4xSxrFm5uD7tZoaRS87TO99sgFl1b5ZphjNHerXXc8zu0ewsi3aeEFM5ppP5CsSnNEEl0xg==
944+
dependencies:
945+
"@coders-tm/vue-number-format" "^1.0.1"
944946

945947
"@eslint/eslintrc@^0.4.3":
946948
version "0.4.3"

0 commit comments

Comments
 (0)