mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-03 20:34:40 +01:00 
			
		
		
		
	Bump prettier from 2.1.2 to 2.2.0 (#2401)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							38aa6da7a3
						
					
				
				
					commit
					6718902645
				
			
							
								
								
									
										6
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -20897,9 +20897,9 @@
 | 
			
		||||
      "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw="
 | 
			
		||||
    },
 | 
			
		||||
    "prettier": {
 | 
			
		||||
      "version": "2.1.2",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz",
 | 
			
		||||
      "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==",
 | 
			
		||||
      "version": "2.2.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.0.tgz",
 | 
			
		||||
      "integrity": "sha512-yYerpkvseM4iKD/BXLYUkQV5aKt4tQPqaGW6EsZjzyu0r7sVZZNPJW4Y8MyKmicp6t42XUPcBVA+H6sB3gqndw==",
 | 
			
		||||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "prettier-linter-helpers": {
 | 
			
		||||
 
 | 
			
		||||
@@ -60,7 +60,7 @@
 | 
			
		||||
    "jest-canvas-mock": "2.3.0",
 | 
			
		||||
    "lint-staged": "10.5.1",
 | 
			
		||||
    "pepjs": "0.5.2",
 | 
			
		||||
    "prettier": "2.1.2",
 | 
			
		||||
    "prettier": "2.2.0",
 | 
			
		||||
    "rewire": "5.0.0"
 | 
			
		||||
  },
 | 
			
		||||
  "engines": {
 | 
			
		||||
 
 | 
			
		||||
@@ -15,9 +15,11 @@ const iconFillColor = (appearance: "light" | "dark") =>
 | 
			
		||||
const handlerColor = (appearance: "light" | "dark") =>
 | 
			
		||||
  appearance === "light" ? oc.white : "#1e1e1e";
 | 
			
		||||
 | 
			
		||||
type Opts = { width?: number; height?: number; mirror?: true } & React.SVGProps<
 | 
			
		||||
  SVGSVGElement
 | 
			
		||||
>;
 | 
			
		||||
type Opts = {
 | 
			
		||||
  width?: number;
 | 
			
		||||
  height?: number;
 | 
			
		||||
  mirror?: true;
 | 
			
		||||
} & React.SVGProps<SVGSVGElement>;
 | 
			
		||||
 | 
			
		||||
const createIcon = (d: string | React.ReactNode, opts: number | Opts = 512) => {
 | 
			
		||||
  const { width = 512, height = width, mirror, style } =
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user