mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 11:35:03 +01:00 
			
		
		
		
	Update @github/text-expander-element, adapt type imports (#33449)
				
					
				
			Followup to https://github.com/go-gitea/gitea/pull/33435, upstream issue is fixed so the imports are clean now.
This commit is contained in:
		
							parent
							
								
									5a7b42dac7
								
							
						
					
					
						commit
						05e9063013
					
				
							
								
								
									
										8
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -11,7 +11,7 @@ | ||||
|         "@citation-js/plugin-software-formats": "0.6.1", | ||||
|         "@github/markdown-toolbar-element": "2.2.3", | ||||
|         "@github/relative-time-element": "4.4.5", | ||||
|         "@github/text-expander-element": "2.9.0", | ||||
|         "@github/text-expander-element": "2.9.1", | ||||
|         "@mcaptcha/vanilla-glue": "0.1.0-alpha-3", | ||||
|         "@primer/octicons": "19.14.0", | ||||
|         "@silverwind/vue3-calendar-heatmap": "2.0.6", | ||||
| @ -2850,9 +2850,9 @@ | ||||
|       "license": "MIT" | ||||
|     }, | ||||
|     "node_modules/@github/text-expander-element": { | ||||
|       "version": "2.9.0", | ||||
|       "resolved": "https://registry.npmjs.org/@github/text-expander-element/-/text-expander-element-2.9.0.tgz", | ||||
|       "integrity": "sha512-NjoFiQ/3955XyefrkmtUpZvrgDl0MGyncv2QJBrUZ1+oOFOu+UmCR/ybkcuTgNg0O6AGcl8rUEXStUfrRPUCVQ==", | ||||
|       "version": "2.9.1", | ||||
|       "resolved": "https://registry.npmjs.org/@github/text-expander-element/-/text-expander-element-2.9.1.tgz", | ||||
|       "integrity": "sha512-T/pCDjB/diMaarmcdc01hP026v0b9lidluyZD5z/EPOExXRdNDqb11kOXevoMZY42WiI3Yhoqsj3nbM+HthLgQ==", | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
|         "@github/combobox-nav": "^2.0.2", | ||||
|  | ||||
| @ -10,7 +10,7 @@ | ||||
|     "@citation-js/plugin-software-formats": "0.6.1", | ||||
|     "@github/markdown-toolbar-element": "2.2.3", | ||||
|     "@github/relative-time-element": "4.4.5", | ||||
|     "@github/text-expander-element": "2.9.0", | ||||
|     "@github/text-expander-element": "2.9.1", | ||||
|     "@mcaptcha/vanilla-glue": "0.1.0-alpha-3", | ||||
|     "@primer/octicons": "19.14.0", | ||||
|     "@silverwind/vue3-calendar-heatmap": "2.0.6", | ||||
|  | ||||
| @ -6,7 +6,7 @@ import {createElementFromAttrs, createElementFromHTML} from '../../utils/dom.ts' | ||||
| import {getIssueColor, getIssueIcon} from '../issue.ts'; | ||||
| import {debounce} from 'perfect-debounce'; | ||||
| import type TextExpanderElement from '@github/text-expander-element'; | ||||
| import type {TextExpanderChangeEvent, TextExpanderResult} from '@github/text-expander-element/dist/text-expander-element.d.ts'; | ||||
| import type {TextExpanderChangeEvent, TextExpanderResult} from '@github/text-expander-element'; | ||||
| 
 | ||||
| async function fetchIssueSuggestions(key: string, text: string): Promise<TextExpanderResult> { | ||||
|   const issuePathInfo = parseIssueHref(window.location.href); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user