File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 66 */
77
88import { convertElement } from 'hast-util-is-element'
9- import repeat from 'repeat-string'
109import { findSelectedOptions } from '../util/find-selected-options.js'
1110import { own } from '../util/own.js'
1211import { resolve } from '../util/resolve.js'
@@ -81,7 +80,7 @@ export function input(h, node) {
8180 // Hide password value.
8281 if ( props . type === 'password' ) {
8382 // Passwords don’t support `list`.
84- values [ 0 ] = [ repeat ( '•' , values [ 0 ] [ 0 ] . length ) , null ]
83+ values [ 0 ] = [ '•' . repeat ( values [ 0 ] [ 0 ] . length ) , null ]
8584 }
8685
8786 if ( props . type === 'url' || props . type === 'email' ) {
Original file line number Diff line number Diff line change 4747 "mdast-util-phrasing" : " ^3.0.0" ,
4848 "mdast-util-to-string" : " ^3.0.0" ,
4949 "rehype-minify-whitespace" : " ^5.0.0" ,
50- "repeat-string" : " ^1.0.0" ,
5150 "trim-trailing-lines" : " ^2.0.0" ,
5251 "unist-util-is" : " ^5.0.0" ,
5352 "unist-util-visit" : " ^4.0.0"
You can’t perform that action at this time.
0 commit comments