forked from MapComplete/MapComplete
		
	Security: purify inputs around innerHTML-usage, remove some unused parameters and classes
This commit is contained in:
		
							parent
							
								
									e0ee3edf71
								
							
						
					
					
						commit
						fcea3da70f
					
				
					 15 changed files with 44 additions and 127 deletions
				
			
		|  | @ -273,7 +273,6 @@ class GenerateSeries extends Script { | |||
|         allFeatures = allFeatures.filter((f) => f.properties.metadata?.theme !== "EMPTY CS") | ||||
|         const centerpoints = allFeatures.map((f) => GeoOperations.centerpoint(f)) | ||||
|         console.log("Found", centerpoints.length, " changesets in total") | ||||
|         const path = `${targetDir}/all_centerpoints.geojson` | ||||
| 
 | ||||
|         const perBbox = GeoOperations.spreadIntoBboxes(centerpoints, options.zoomlevel) | ||||
| 
 | ||||
|  |  | |||
|  | @ -26,7 +26,7 @@ function asList(hist: Map<string, number>): ContributorList { | |||
| } | ||||
| 
 | ||||
| function main() { | ||||
|     exec("git log --pretty='%aN %%!%% %s' ", (error, stdout, stderr) => { | ||||
|     exec("git log --pretty='%aN %%!%% %s' ", (_, stdout) => { | ||||
|         const entries = stdout.split("\n").filter((str) => str !== "") | ||||
|         const codeContributors = new Map<string, number>() | ||||
|         const translationContributors = new Map<string, number>() | ||||
|  |  | |||
|  | @ -34,8 +34,6 @@ function generateTagOverview( | |||
|     return overview | ||||
| } | ||||
| 
 | ||||
| function tagrenderingToTaginfoDescription(tr: TagRenderingConfig) {} | ||||
| 
 | ||||
| function generateLayerUsage(layer: LayerConfig, layout: LayoutConfig): any[] { | ||||
|     if (layer.name === undefined) { | ||||
|         return [] // Probably a duplicate or irrelevant layer
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue