File tree 2 files changed +1
-3
lines changed 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
8
8
import { convertElement } from 'hast-util-is-element'
9
- import repeat from 'repeat-string'
10
9
import { findSelectedOptions } from '../util/find-selected-options.js'
11
10
import { own } from '../util/own.js'
12
11
import { resolve } from '../util/resolve.js'
@@ -81,7 +80,7 @@ export function input(h, node) {
81
80
// Hide password value.
82
81
if ( props . type === 'password' ) {
83
82
// Passwords don’t support `list`.
84
- values [ 0 ] = [ repeat ( '•' , values [ 0 ] [ 0 ] . length ) , null ]
83
+ values [ 0 ] = [ '•' . repeat ( values [ 0 ] [ 0 ] . length ) , null ]
85
84
}
86
85
87
86
if ( props . type === 'url' || props . type === 'email' ) {
Original file line number Diff line number Diff line change 47
47
"mdast-util-phrasing" : " ^3.0.0" ,
48
48
"mdast-util-to-string" : " ^3.0.0" ,
49
49
"rehype-minify-whitespace" : " ^5.0.0" ,
50
- "repeat-string" : " ^1.0.0" ,
51
50
"trim-trailing-lines" : " ^2.0.0" ,
52
51
"unist-util-is" : " ^5.0.0" ,
53
52
"unist-util-visit" : " ^4.0.0"
You can’t perform that action at this time.
0 commit comments