mirror of
				https://gitea.com/actions/setup-node.git
				synced 2025-10-29 07:47:20 +00:00 
			
		
		
		
	new toolkit and scoped registries
This commit is contained in:
		
							
								
								
									
										15
									
								
								node_modules/@octokit/endpoint/dist-src/defaults.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/@octokit/endpoint/dist-src/defaults.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| import getUserAgent from "universal-user-agent"; | ||||
| import { VERSION } from "./version"; | ||||
| const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; | ||||
| export const DEFAULTS = { | ||||
|     method: "GET", | ||||
|     baseUrl: "https://api.github.com", | ||||
|     headers: { | ||||
|         accept: "application/vnd.github.v3+json", | ||||
|         "user-agent": userAgent | ||||
|     }, | ||||
|     mediaType: { | ||||
|         format: "", | ||||
|         previews: [] | ||||
|     } | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user
	 Danny McCormick
					Danny McCormick