File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 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"
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}
Original file line number Diff line number Diff line change 11import options from "./options" ;
22import { NumberFormat , setCursor } from './utils'
3+ import assign from './assign'
34
45export 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
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments