mirror of
				https://github.com/actions/setup-java.git
				synced 2025-11-04 00:44:20 +00:00 
			
		
		
		
	Fix.
This commit is contained in:
		
							parent
							
								
									596a6da241
								
							
						
					
					
						commit
						c1a589c5b6
					
				@ -7,8 +7,8 @@ const toolDir = path.join(__dirname, 'runner', 'tools');
 | 
				
			|||||||
const tempDir = path.join(__dirname, 'runner', 'temp');
 | 
					const tempDir = path.join(__dirname, 'runner', 'temp');
 | 
				
			||||||
const javaDir = path.join(__dirname, 'runner', 'java');
 | 
					const javaDir = path.join(__dirname, 'runner', 'java');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
process.env['RUNNER_TOOLSDIRECTORY'] = toolDir;
 | 
					process.env['RUNNER_TOOL_CACHE'] = toolDir;
 | 
				
			||||||
process.env['RUNNER_TEMPDIRECTORY'] = tempDir;
 | 
					process.env['RUNNER_TEMP'] = tempDir;
 | 
				
			||||||
import * as installer from '../src/installer';
 | 
					import * as installer from '../src/installer';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
let javaFilePath = '';
 | 
					let javaFilePath = '';
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										15
									
								
								node_modules/.bin/acorn
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/acorn
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../acorn/bin/acorn" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../acorn/bin/acorn" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/acorn.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/acorn.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\acorn\bin\acorn" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\acorn\bin\acorn" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/atob
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/atob
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../atob/bin/atob.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../atob/bin/atob.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/atob.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/atob.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\atob\bin\atob.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\atob\bin\atob.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/escodegen
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/escodegen
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../escodegen/bin/escodegen.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../escodegen/bin/escodegen.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/escodegen.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/escodegen.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\escodegen\bin\escodegen.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\escodegen\bin\escodegen.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/esgenerate
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/esgenerate
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../escodegen/bin/esgenerate.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../escodegen/bin/esgenerate.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/esgenerate.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/esgenerate.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\escodegen\bin\esgenerate.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\escodegen\bin\esgenerate.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/esparse
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/esparse
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../esprima/bin/esparse.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../esprima/bin/esparse.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/esparse.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/esparse.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\esprima\bin\esparse.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\esprima\bin\esparse.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/esvalidate
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/esvalidate
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../esprima/bin/esvalidate.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../esprima/bin/esvalidate.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/esvalidate.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/esvalidate.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\esprima\bin\esvalidate.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\esprima\bin\esvalidate.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/handlebars
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/handlebars
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../handlebars/bin/handlebars" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../handlebars/bin/handlebars" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/handlebars.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/handlebars.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\handlebars\bin\handlebars" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\handlebars\bin\handlebars" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/husky-run
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/husky-run
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../husky/run.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../husky/run.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/husky-run.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/husky-run.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\husky\run.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\husky\run.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/husky-upgrade
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/husky-upgrade
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../husky/lib/upgrader/bin.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../husky/lib/upgrader/bin.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/husky-upgrade.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/husky-upgrade.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\husky\lib\upgrader\bin.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\husky\lib\upgrader\bin.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/import-local-fixture
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/import-local-fixture
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../import-local/fixtures/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../import-local/fixtures/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/import-local-fixture.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/import-local-fixture.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\import-local\fixtures\cli.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\import-local\fixtures\cli.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/is-ci
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/is-ci
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../is-ci/bin.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../is-ci/bin.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/is-ci.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/is-ci.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\is-ci\bin.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\is-ci\bin.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/jest
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/jest
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../jest/bin/jest.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../jest/bin/jest.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/jest-runtime
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/jest-runtime
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../jest-runtime/bin/jest-runtime.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../jest-runtime/bin/jest-runtime.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/jest-runtime.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/jest-runtime.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\jest-runtime\bin\jest-runtime.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\jest-runtime\bin\jest-runtime.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/jest.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/jest.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\jest\bin\jest.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\jest\bin\jest.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/js-yaml
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/js-yaml
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../js-yaml/bin/js-yaml.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../js-yaml/bin/js-yaml.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/js-yaml.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/js-yaml.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\js-yaml\bin\js-yaml.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\js-yaml\bin\js-yaml.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/jsesc
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/jsesc
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../jsesc/bin/jsesc" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../jsesc/bin/jsesc" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/jsesc.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/jsesc.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\jsesc\bin\jsesc" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\jsesc\bin\jsesc" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/json5
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/json5
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../json5/lib/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../json5/lib/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/json5.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/json5.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\json5\lib\cli.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\json5\lib\cli.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/loose-envify
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/loose-envify
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../loose-envify/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../loose-envify/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/loose-envify.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/loose-envify.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\loose-envify\cli.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\loose-envify\cli.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/mkdirp
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/mkdirp
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../mkdirp/bin/cmd.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../mkdirp/bin/cmd.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/mkdirp.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/mkdirp.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\mkdirp\bin\cmd.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\mkdirp\bin\cmd.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/opencollective-postinstall
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/opencollective-postinstall
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../opencollective-postinstall/index.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../opencollective-postinstall/index.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/opencollective-postinstall.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/opencollective-postinstall.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\opencollective-postinstall\index.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\opencollective-postinstall\index.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/parser
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/parser
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../@babel/parser/bin/babel-parser.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../@babel/parser/bin/babel-parser.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/parser.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/parser.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\@babel\parser\bin\babel-parser.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\@babel\parser\bin\babel-parser.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/prettier
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/prettier
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../prettier/bin-prettier.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../prettier/bin-prettier.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/prettier.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/prettier.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\prettier\bin-prettier.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\prettier\bin-prettier.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/rimraf
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/rimraf
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../rimraf/bin.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../rimraf/bin.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/rimraf.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/rimraf.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\rimraf\bin.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\rimraf\bin.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/run-node
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/run-node
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/bash" ]; then
 | 
				
			||||||
 | 
					  "$basedir/bash"  "$basedir/../run-node/run-node" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  bash  "$basedir/../run-node/run-node" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/run-node.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/run-node.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\bash.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\bash.exe"  "%~dp0\..\run-node\run-node" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  bash  "%~dp0\..\run-node\run-node" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/sane
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/sane
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../sane/src/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../sane/src/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/sane.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/sane.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\sane\src\cli.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\sane\src\cli.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										4
									
								
								node_modules/.bin/semver
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								node_modules/.bin/semver
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -6,10 +6,10 @@ case `uname` in
 | 
				
			|||||||
esac
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -x "$basedir/node" ]; then
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
  "$basedir/node"  "$basedir/../semver/bin/semver" "$@"
 | 
					  "$basedir/node"  "$basedir/../semver/bin/semver.js" "$@"
 | 
				
			||||||
  ret=$?
 | 
					  ret=$?
 | 
				
			||||||
else 
 | 
					else 
 | 
				
			||||||
  node  "$basedir/../semver/bin/semver" "$@"
 | 
					  node  "$basedir/../semver/bin/semver.js" "$@"
 | 
				
			||||||
  ret=$?
 | 
					  ret=$?
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
exit $ret
 | 
					exit $ret
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								node_modules/.bin/semver.cmd
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								node_modules/.bin/semver.cmd
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -1,7 +1,7 @@
 | 
				
			|||||||
@IF EXIST "%~dp0\node.exe" (
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
  "%~dp0\node.exe"  "%~dp0\..\semver\bin\semver" %*
 | 
					  "%~dp0\node.exe"  "%~dp0\..\semver\bin\semver.js" %*
 | 
				
			||||||
) ELSE (
 | 
					) ELSE (
 | 
				
			||||||
  @SETLOCAL
 | 
					  @SETLOCAL
 | 
				
			||||||
  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
  node  "%~dp0\..\semver\bin\semver" %*
 | 
					  node  "%~dp0\..\semver\bin\semver.js" %*
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/sshpk-conv
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/sshpk-conv
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../sshpk/bin/sshpk-conv" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../sshpk/bin/sshpk-conv" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/sshpk-conv.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/sshpk-conv.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\sshpk\bin\sshpk-conv" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\sshpk\bin\sshpk-conv" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/sshpk-sign
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/sshpk-sign
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../sshpk/bin/sshpk-sign" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../sshpk/bin/sshpk-sign" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/sshpk-sign.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/sshpk-sign.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\sshpk\bin\sshpk-sign" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\sshpk\bin\sshpk-sign" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/sshpk-verify
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/sshpk-verify
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../sshpk/bin/sshpk-verify" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../sshpk/bin/sshpk-verify" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/sshpk-verify.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/sshpk-verify.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\sshpk\bin\sshpk-verify" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\sshpk\bin\sshpk-verify" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/ts-jest
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/ts-jest
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../ts-jest/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../ts-jest/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/ts-jest.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/ts-jest.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\ts-jest\cli.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\ts-jest\cli.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/tsc
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/tsc
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../typescript/bin/tsc" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../typescript/bin/tsc" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/tsc.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/tsc.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\typescript\bin\tsc" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\typescript\bin\tsc" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/tsserver
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/tsserver
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../typescript/bin/tsserver" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../typescript/bin/tsserver" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/tsserver.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/tsserver.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\typescript\bin\tsserver" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\typescript\bin\tsserver" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/uglifyjs
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/uglifyjs
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../uglify-js/bin/uglifyjs" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../uglify-js/bin/uglifyjs" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/uglifyjs.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/uglifyjs.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\uglify-js\bin\uglifyjs" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\uglify-js\bin\uglifyjs" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/watch
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/watch
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../@cnakazawa/watch/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../@cnakazawa/watch/cli.js" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/watch.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/watch.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\@cnakazawa\watch\cli.js" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\@cnakazawa\watch\cli.js" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										15
									
								
								node_modules/.bin/which
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/.bin/which
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case `uname` in
 | 
				
			||||||
 | 
					    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -x "$basedir/node" ]; then
 | 
				
			||||||
 | 
					  "$basedir/node"  "$basedir/../which/bin/which" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					else 
 | 
				
			||||||
 | 
					  node  "$basedir/../which/bin/which" "$@"
 | 
				
			||||||
 | 
					  ret=$?
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					exit $ret
 | 
				
			||||||
							
								
								
									
										7
									
								
								node_modules/.bin/which.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/.bin/which.cmd
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					@IF EXIST "%~dp0\node.exe" (
 | 
				
			||||||
 | 
					  "%~dp0\node.exe"  "%~dp0\..\which\bin\which" %*
 | 
				
			||||||
 | 
					) ELSE (
 | 
				
			||||||
 | 
					  @SETLOCAL
 | 
				
			||||||
 | 
					  @SET PATHEXT=%PATHEXT:;.JS;=;%
 | 
				
			||||||
 | 
					  node  "%~dp0\..\which\bin\which" %*
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										8
									
								
								node_modules/@actions/core/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								node_modules/@actions/core/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -7,23 +7,23 @@
 | 
				
			|||||||
  "_phantomChildren": {},
 | 
					  "_phantomChildren": {},
 | 
				
			||||||
  "_requested": {
 | 
					  "_requested": {
 | 
				
			||||||
    "type": "file",
 | 
					    "type": "file",
 | 
				
			||||||
    "where": "C:\\Users\\damccorm\\Documents\\setup-java",
 | 
					    "where": "E:\\github\\setup-java",
 | 
				
			||||||
    "raw": "@actions/core@file:toolkit/actions-core-0.0.0.tgz",
 | 
					    "raw": "@actions/core@file:toolkit/actions-core-0.0.0.tgz",
 | 
				
			||||||
    "name": "@actions/core",
 | 
					    "name": "@actions/core",
 | 
				
			||||||
    "escapedName": "@actions%2fcore",
 | 
					    "escapedName": "@actions%2fcore",
 | 
				
			||||||
    "scope": "@actions",
 | 
					    "scope": "@actions",
 | 
				
			||||||
    "rawSpec": "file:toolkit/actions-core-0.0.0.tgz",
 | 
					    "rawSpec": "file:toolkit/actions-core-0.0.0.tgz",
 | 
				
			||||||
    "saveSpec": "file:toolkit\\actions-core-0.0.0.tgz",
 | 
					    "saveSpec": "file:toolkit\\actions-core-0.0.0.tgz",
 | 
				
			||||||
    "fetchSpec": "C:\\Users\\damccorm\\Documents\\setup-java\\toolkit\\actions-core-0.0.0.tgz"
 | 
					    "fetchSpec": "E:\\github\\setup-java\\toolkit\\actions-core-0.0.0.tgz"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "_requiredBy": [
 | 
					  "_requiredBy": [
 | 
				
			||||||
    "/",
 | 
					    "/",
 | 
				
			||||||
    "/@actions/tool-cache"
 | 
					    "/@actions/tool-cache"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "_resolved": "C:\\Users\\damccorm\\Documents\\setup-java\\toolkit\\actions-core-0.0.0.tgz",
 | 
					  "_resolved": "E:\\github\\setup-java\\toolkit\\actions-core-0.0.0.tgz",
 | 
				
			||||||
  "_shasum": "5c7a8cdd3b464dedd87d453965943c15aad1dd9a",
 | 
					  "_shasum": "5c7a8cdd3b464dedd87d453965943c15aad1dd9a",
 | 
				
			||||||
  "_spec": "@actions/core@file:toolkit/actions-core-0.0.0.tgz",
 | 
					  "_spec": "@actions/core@file:toolkit/actions-core-0.0.0.tgz",
 | 
				
			||||||
  "_where": "C:\\Users\\damccorm\\Documents\\setup-java",
 | 
					  "_where": "E:\\github\\setup-java",
 | 
				
			||||||
  "bugs": {
 | 
					  "bugs": {
 | 
				
			||||||
    "url": "https://github.com/actions/toolkit/issues"
 | 
					    "url": "https://github.com/actions/toolkit/issues"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										8
									
								
								node_modules/@actions/exec/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								node_modules/@actions/exec/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -7,23 +7,23 @@
 | 
				
			|||||||
  "_phantomChildren": {},
 | 
					  "_phantomChildren": {},
 | 
				
			||||||
  "_requested": {
 | 
					  "_requested": {
 | 
				
			||||||
    "type": "file",
 | 
					    "type": "file",
 | 
				
			||||||
    "where": "C:\\Users\\damccorm\\Documents\\setup-java",
 | 
					    "where": "E:\\github\\setup-java",
 | 
				
			||||||
    "raw": "@actions/exec@file:toolkit/actions-exec-0.0.0.tgz",
 | 
					    "raw": "@actions/exec@file:toolkit/actions-exec-0.0.0.tgz",
 | 
				
			||||||
    "name": "@actions/exec",
 | 
					    "name": "@actions/exec",
 | 
				
			||||||
    "escapedName": "@actions%2fexec",
 | 
					    "escapedName": "@actions%2fexec",
 | 
				
			||||||
    "scope": "@actions",
 | 
					    "scope": "@actions",
 | 
				
			||||||
    "rawSpec": "file:toolkit/actions-exec-0.0.0.tgz",
 | 
					    "rawSpec": "file:toolkit/actions-exec-0.0.0.tgz",
 | 
				
			||||||
    "saveSpec": "file:toolkit\\actions-exec-0.0.0.tgz",
 | 
					    "saveSpec": "file:toolkit\\actions-exec-0.0.0.tgz",
 | 
				
			||||||
    "fetchSpec": "C:\\Users\\damccorm\\Documents\\setup-java\\toolkit\\actions-exec-0.0.0.tgz"
 | 
					    "fetchSpec": "E:\\github\\setup-java\\toolkit\\actions-exec-0.0.0.tgz"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "_requiredBy": [
 | 
					  "_requiredBy": [
 | 
				
			||||||
    "/",
 | 
					    "/",
 | 
				
			||||||
    "/@actions/tool-cache"
 | 
					    "/@actions/tool-cache"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "_resolved": "C:\\Users\\damccorm\\Documents\\setup-java\\toolkit\\actions-exec-0.0.0.tgz",
 | 
					  "_resolved": "E:\\github\\setup-java\\toolkit\\actions-exec-0.0.0.tgz",
 | 
				
			||||||
  "_shasum": "85d7bb181b39e3d8861a91c4f07cb09842efc3e4",
 | 
					  "_shasum": "85d7bb181b39e3d8861a91c4f07cb09842efc3e4",
 | 
				
			||||||
  "_spec": "@actions/exec@file:toolkit/actions-exec-0.0.0.tgz",
 | 
					  "_spec": "@actions/exec@file:toolkit/actions-exec-0.0.0.tgz",
 | 
				
			||||||
  "_where": "C:\\Users\\damccorm\\Documents\\setup-java",
 | 
					  "_where": "E:\\github\\setup-java",
 | 
				
			||||||
  "bugs": {
 | 
					  "bugs": {
 | 
				
			||||||
    "url": "https://github.com/actions/toolkit/issues"
 | 
					    "url": "https://github.com/actions/toolkit/issues"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										8
									
								
								node_modules/@actions/io/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								node_modules/@actions/io/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -7,23 +7,23 @@
 | 
				
			|||||||
  "_phantomChildren": {},
 | 
					  "_phantomChildren": {},
 | 
				
			||||||
  "_requested": {
 | 
					  "_requested": {
 | 
				
			||||||
    "type": "file",
 | 
					    "type": "file",
 | 
				
			||||||
    "where": "C:\\Users\\damccorm\\Documents\\setup-java",
 | 
					    "where": "E:\\github\\setup-java",
 | 
				
			||||||
    "raw": "@actions/io@file:toolkit/actions-io-0.0.0.tgz",
 | 
					    "raw": "@actions/io@file:toolkit/actions-io-0.0.0.tgz",
 | 
				
			||||||
    "name": "@actions/io",
 | 
					    "name": "@actions/io",
 | 
				
			||||||
    "escapedName": "@actions%2fio",
 | 
					    "escapedName": "@actions%2fio",
 | 
				
			||||||
    "scope": "@actions",
 | 
					    "scope": "@actions",
 | 
				
			||||||
    "rawSpec": "file:toolkit/actions-io-0.0.0.tgz",
 | 
					    "rawSpec": "file:toolkit/actions-io-0.0.0.tgz",
 | 
				
			||||||
    "saveSpec": "file:toolkit\\actions-io-0.0.0.tgz",
 | 
					    "saveSpec": "file:toolkit\\actions-io-0.0.0.tgz",
 | 
				
			||||||
    "fetchSpec": "C:\\Users\\damccorm\\Documents\\setup-java\\toolkit\\actions-io-0.0.0.tgz"
 | 
					    "fetchSpec": "E:\\github\\setup-java\\toolkit\\actions-io-0.0.0.tgz"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "_requiredBy": [
 | 
					  "_requiredBy": [
 | 
				
			||||||
    "/",
 | 
					    "/",
 | 
				
			||||||
    "/@actions/tool-cache"
 | 
					    "/@actions/tool-cache"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "_resolved": "C:\\Users\\damccorm\\Documents\\setup-java\\toolkit\\actions-io-0.0.0.tgz",
 | 
					  "_resolved": "E:\\github\\setup-java\\toolkit\\actions-io-0.0.0.tgz",
 | 
				
			||||||
  "_shasum": "64c85baec8d8ed889a5fb8e2ef794e36a692eeb8",
 | 
					  "_shasum": "64c85baec8d8ed889a5fb8e2ef794e36a692eeb8",
 | 
				
			||||||
  "_spec": "@actions/io@file:toolkit/actions-io-0.0.0.tgz",
 | 
					  "_spec": "@actions/io@file:toolkit/actions-io-0.0.0.tgz",
 | 
				
			||||||
  "_where": "C:\\Users\\damccorm\\Documents\\setup-java",
 | 
					  "_where": "E:\\github\\setup-java",
 | 
				
			||||||
  "bugs": {
 | 
					  "bugs": {
 | 
				
			||||||
    "url": "https://github.com/actions/toolkit/issues"
 | 
					    "url": "https://github.com/actions/toolkit/issues"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								node_modules/@actions/tool-cache/lib/tool-cache.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								node_modules/@actions/tool-cache/lib/tool-cache.js
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -29,8 +29,8 @@ exports.HTTPError = HTTPError;
 | 
				
			|||||||
const IS_WINDOWS = process.platform === 'win32';
 | 
					const IS_WINDOWS = process.platform === 'win32';
 | 
				
			||||||
const userAgent = 'actions/tool-cache';
 | 
					const userAgent = 'actions/tool-cache';
 | 
				
			||||||
// On load grab temp directory and cache directory and remove them from env (currently don't want to expose this)
 | 
					// On load grab temp directory and cache directory and remove them from env (currently don't want to expose this)
 | 
				
			||||||
let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || '';
 | 
					let tempDirectory = process.env['RUNNER_TEMP'] || '';
 | 
				
			||||||
let cacheRoot = process.env['RUNNER_TOOLSDIRECTORY'] || '';
 | 
					let cacheRoot = process.env['RUNNER_TOOL_CACHE'] || '';
 | 
				
			||||||
// If directories not found, place them in common temp locations
 | 
					// If directories not found, place them in common temp locations
 | 
				
			||||||
if (!tempDirectory || !cacheRoot) {
 | 
					if (!tempDirectory || !cacheRoot) {
 | 
				
			||||||
    let baseLocation;
 | 
					    let baseLocation;
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								node_modules/@actions/tool-cache/lib/tool-cache.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								node_modules/@actions/tool-cache/lib/tool-cache.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										12
									
								
								node_modules/@actions/tool-cache/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								node_modules/@actions/tool-cache/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -2,27 +2,27 @@
 | 
				
			|||||||
  "_from": "file:toolkit\\actions-tool-cache-0.0.0.tgz",
 | 
					  "_from": "file:toolkit\\actions-tool-cache-0.0.0.tgz",
 | 
				
			||||||
  "_id": "@actions/tool-cache@0.0.0",
 | 
					  "_id": "@actions/tool-cache@0.0.0",
 | 
				
			||||||
  "_inBundle": false,
 | 
					  "_inBundle": false,
 | 
				
			||||||
  "_integrity": "sha512-+zx33p3tWhX1XLMVCGt+1JAv5IU6to/Ow64fBUdiRlVMlcGrMXuVQQ07HXtBpJG2g4P8q7x7UtLbfXxDgAij3w==",
 | 
					  "_integrity": "sha512-CCJjXKGfqR34oo1mgKpUk63g3fcoIq+aNJBZ7b73aWGot0ddju2cefJrKjhEun4FI7gYsLYg+ayAUnbFwkGd4Q==",
 | 
				
			||||||
  "_location": "/@actions/tool-cache",
 | 
					  "_location": "/@actions/tool-cache",
 | 
				
			||||||
  "_phantomChildren": {},
 | 
					  "_phantomChildren": {},
 | 
				
			||||||
  "_requested": {
 | 
					  "_requested": {
 | 
				
			||||||
    "type": "file",
 | 
					    "type": "file",
 | 
				
			||||||
    "where": "C:\\Users\\damccorm\\Documents\\setup-java",
 | 
					    "where": "E:\\github\\setup-java",
 | 
				
			||||||
    "raw": "@actions/tool-cache@file:toolkit/actions-tool-cache-0.0.0.tgz",
 | 
					    "raw": "@actions/tool-cache@file:toolkit/actions-tool-cache-0.0.0.tgz",
 | 
				
			||||||
    "name": "@actions/tool-cache",
 | 
					    "name": "@actions/tool-cache",
 | 
				
			||||||
    "escapedName": "@actions%2ftool-cache",
 | 
					    "escapedName": "@actions%2ftool-cache",
 | 
				
			||||||
    "scope": "@actions",
 | 
					    "scope": "@actions",
 | 
				
			||||||
    "rawSpec": "file:toolkit/actions-tool-cache-0.0.0.tgz",
 | 
					    "rawSpec": "file:toolkit/actions-tool-cache-0.0.0.tgz",
 | 
				
			||||||
    "saveSpec": "file:toolkit\\actions-tool-cache-0.0.0.tgz",
 | 
					    "saveSpec": "file:toolkit\\actions-tool-cache-0.0.0.tgz",
 | 
				
			||||||
    "fetchSpec": "C:\\Users\\damccorm\\Documents\\setup-java\\toolkit\\actions-tool-cache-0.0.0.tgz"
 | 
					    "fetchSpec": "E:\\github\\setup-java\\toolkit\\actions-tool-cache-0.0.0.tgz"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "_requiredBy": [
 | 
					  "_requiredBy": [
 | 
				
			||||||
    "/"
 | 
					    "/"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "_resolved": "C:\\Users\\damccorm\\Documents\\setup-java\\toolkit\\actions-tool-cache-0.0.0.tgz",
 | 
					  "_resolved": "E:\\github\\setup-java\\toolkit\\actions-tool-cache-0.0.0.tgz",
 | 
				
			||||||
  "_shasum": "964b6bfaa22ff6401f82e233ef5bb684a8b6a160",
 | 
					  "_shasum": "223a115ab2782ba0a7ad4a0a829030b9cb84eade",
 | 
				
			||||||
  "_spec": "@actions/tool-cache@file:toolkit/actions-tool-cache-0.0.0.tgz",
 | 
					  "_spec": "@actions/tool-cache@file:toolkit/actions-tool-cache-0.0.0.tgz",
 | 
				
			||||||
  "_where": "C:\\Users\\damccorm\\Documents\\setup-java",
 | 
					  "_where": "E:\\github\\setup-java",
 | 
				
			||||||
  "bugs": {
 | 
					  "bugs": {
 | 
				
			||||||
    "url": "https://github.com/actions/toolkit/issues"
 | 
					    "url": "https://github.com/actions/toolkit/issues"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										22
									
								
								node_modules/@babel/code-frame/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								node_modules/@babel/code-frame/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,22 @@
 | 
				
			|||||||
 | 
					MIT License
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Copyright (c) 2014-present Sebastian McKenzie and other contributors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Permission is hereby granted, free of charge, to any person obtaining
 | 
				
			||||||
 | 
					a copy of this software and associated documentation files (the
 | 
				
			||||||
 | 
					"Software"), to deal in the Software without restriction, including
 | 
				
			||||||
 | 
					without limitation the rights to use, copy, modify, merge, publish,
 | 
				
			||||||
 | 
					distribute, sublicense, and/or sell copies of the Software, and to
 | 
				
			||||||
 | 
					permit persons to whom the Software is furnished to do so, subject to
 | 
				
			||||||
 | 
					the following conditions:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The above copyright notice and this permission notice shall be
 | 
				
			||||||
 | 
					included in all copies or substantial portions of the Software.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 | 
				
			||||||
 | 
					EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 | 
				
			||||||
 | 
					MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 | 
				
			||||||
 | 
					NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 | 
				
			||||||
 | 
					LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 | 
				
			||||||
 | 
					OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 | 
				
			||||||
 | 
					WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 | 
				
			||||||
							
								
								
									
										19
									
								
								node_modules/@babel/code-frame/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								node_modules/@babel/code-frame/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					# @babel/code-frame
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> Generate errors that contain a code frame that point to source locations.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					See our website [@babel/code-frame](https://babeljs.io/docs/en/next/babel-code-frame.html) for more information.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Using npm:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```sh
 | 
				
			||||||
 | 
					npm install --save-dev @babel/code-frame
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					or using yarn:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```sh
 | 
				
			||||||
 | 
					yarn add @babel/code-frame --dev
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
							
								
								
									
										173
									
								
								node_modules/@babel/code-frame/lib/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										173
									
								
								node_modules/@babel/code-frame/lib/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,173 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.codeFrameColumns = codeFrameColumns;
 | 
				
			||||||
 | 
					exports.default = _default;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _highlight() {
 | 
				
			||||||
 | 
					  const data = _interopRequireWildcard(require("@babel/highlight"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _highlight = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					let deprecationWarningShown = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function getDefs(chalk) {
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    gutter: chalk.grey,
 | 
				
			||||||
 | 
					    marker: chalk.red.bold,
 | 
				
			||||||
 | 
					    message: chalk.red.bold
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function getMarkerLines(loc, source, opts) {
 | 
				
			||||||
 | 
					  const startLoc = Object.assign({
 | 
				
			||||||
 | 
					    column: 0,
 | 
				
			||||||
 | 
					    line: -1
 | 
				
			||||||
 | 
					  }, loc.start);
 | 
				
			||||||
 | 
					  const endLoc = Object.assign({}, startLoc, loc.end);
 | 
				
			||||||
 | 
					  const {
 | 
				
			||||||
 | 
					    linesAbove = 2,
 | 
				
			||||||
 | 
					    linesBelow = 3
 | 
				
			||||||
 | 
					  } = opts || {};
 | 
				
			||||||
 | 
					  const startLine = startLoc.line;
 | 
				
			||||||
 | 
					  const startColumn = startLoc.column;
 | 
				
			||||||
 | 
					  const endLine = endLoc.line;
 | 
				
			||||||
 | 
					  const endColumn = endLoc.column;
 | 
				
			||||||
 | 
					  let start = Math.max(startLine - (linesAbove + 1), 0);
 | 
				
			||||||
 | 
					  let end = Math.min(source.length, endLine + linesBelow);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (startLine === -1) {
 | 
				
			||||||
 | 
					    start = 0;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (endLine === -1) {
 | 
				
			||||||
 | 
					    end = source.length;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const lineDiff = endLine - startLine;
 | 
				
			||||||
 | 
					  const markerLines = {};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (lineDiff) {
 | 
				
			||||||
 | 
					    for (let i = 0; i <= lineDiff; i++) {
 | 
				
			||||||
 | 
					      const lineNumber = i + startLine;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (!startColumn) {
 | 
				
			||||||
 | 
					        markerLines[lineNumber] = true;
 | 
				
			||||||
 | 
					      } else if (i === 0) {
 | 
				
			||||||
 | 
					        const sourceLength = source[lineNumber - 1].length;
 | 
				
			||||||
 | 
					        markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];
 | 
				
			||||||
 | 
					      } else if (i === lineDiff) {
 | 
				
			||||||
 | 
					        markerLines[lineNumber] = [0, endColumn];
 | 
				
			||||||
 | 
					      } else {
 | 
				
			||||||
 | 
					        const sourceLength = source[lineNumber - i].length;
 | 
				
			||||||
 | 
					        markerLines[lineNumber] = [0, sourceLength];
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  } else {
 | 
				
			||||||
 | 
					    if (startColumn === endColumn) {
 | 
				
			||||||
 | 
					      if (startColumn) {
 | 
				
			||||||
 | 
					        markerLines[startLine] = [startColumn, 0];
 | 
				
			||||||
 | 
					      } else {
 | 
				
			||||||
 | 
					        markerLines[startLine] = true;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    } else {
 | 
				
			||||||
 | 
					      markerLines[startLine] = [startColumn, endColumn - startColumn];
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    start,
 | 
				
			||||||
 | 
					    end,
 | 
				
			||||||
 | 
					    markerLines
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function codeFrameColumns(rawLines, loc, opts = {}) {
 | 
				
			||||||
 | 
					  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight().shouldHighlight)(opts);
 | 
				
			||||||
 | 
					  const chalk = (0, _highlight().getChalk)(opts);
 | 
				
			||||||
 | 
					  const defs = getDefs(chalk);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const maybeHighlight = (chalkFn, string) => {
 | 
				
			||||||
 | 
					    return highlighted ? chalkFn(string) : string;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const lines = rawLines.split(NEWLINE);
 | 
				
			||||||
 | 
					  const {
 | 
				
			||||||
 | 
					    start,
 | 
				
			||||||
 | 
					    end,
 | 
				
			||||||
 | 
					    markerLines
 | 
				
			||||||
 | 
					  } = getMarkerLines(loc, lines, opts);
 | 
				
			||||||
 | 
					  const hasColumns = loc.start && typeof loc.start.column === "number";
 | 
				
			||||||
 | 
					  const numberMaxWidth = String(end).length;
 | 
				
			||||||
 | 
					  const highlightedLines = highlighted ? (0, _highlight().default)(rawLines, opts) : rawLines;
 | 
				
			||||||
 | 
					  let frame = highlightedLines.split(NEWLINE).slice(start, end).map((line, index) => {
 | 
				
			||||||
 | 
					    const number = start + 1 + index;
 | 
				
			||||||
 | 
					    const paddedNumber = ` ${number}`.slice(-numberMaxWidth);
 | 
				
			||||||
 | 
					    const gutter = ` ${paddedNumber} | `;
 | 
				
			||||||
 | 
					    const hasMarker = markerLines[number];
 | 
				
			||||||
 | 
					    const lastMarkerLine = !markerLines[number + 1];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (hasMarker) {
 | 
				
			||||||
 | 
					      let markerLine = "";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (Array.isArray(hasMarker)) {
 | 
				
			||||||
 | 
					        const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " ");
 | 
				
			||||||
 | 
					        const numberOfMarkers = hasMarker[1] || 1;
 | 
				
			||||||
 | 
					        markerLine = ["\n ", maybeHighlight(defs.gutter, gutter.replace(/\d/g, " ")), markerSpacing, maybeHighlight(defs.marker, "^").repeat(numberOfMarkers)].join("");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (lastMarkerLine && opts.message) {
 | 
				
			||||||
 | 
					          markerLine += " " + maybeHighlight(defs.message, opts.message);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      return [maybeHighlight(defs.marker, ">"), maybeHighlight(defs.gutter, gutter), line, markerLine].join("");
 | 
				
			||||||
 | 
					    } else {
 | 
				
			||||||
 | 
					      return ` ${maybeHighlight(defs.gutter, gutter)}${line}`;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }).join("\n");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (opts.message && !hasColumns) {
 | 
				
			||||||
 | 
					    frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\n${frame}`;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (highlighted) {
 | 
				
			||||||
 | 
					    return chalk.reset(frame);
 | 
				
			||||||
 | 
					  } else {
 | 
				
			||||||
 | 
					    return frame;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _default(rawLines, lineNumber, colNumber, opts = {}) {
 | 
				
			||||||
 | 
					  if (!deprecationWarningShown) {
 | 
				
			||||||
 | 
					    deprecationWarningShown = true;
 | 
				
			||||||
 | 
					    const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (process.emitWarning) {
 | 
				
			||||||
 | 
					      process.emitWarning(message, "DeprecationWarning");
 | 
				
			||||||
 | 
					    } else {
 | 
				
			||||||
 | 
					      const deprecationError = new Error(message);
 | 
				
			||||||
 | 
					      deprecationError.name = "DeprecationWarning";
 | 
				
			||||||
 | 
					      console.warn(new Error(message));
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  colNumber = Math.max(colNumber, 0);
 | 
				
			||||||
 | 
					  const location = {
 | 
				
			||||||
 | 
					    start: {
 | 
				
			||||||
 | 
					      column: colNumber,
 | 
				
			||||||
 | 
					      line: lineNumber
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					  return codeFrameColumns(rawLines, location, opts);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										57
									
								
								node_modules/@babel/code-frame/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								node_modules/@babel/code-frame/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,57 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "_from": "@babel/code-frame@^7.0.0",
 | 
				
			||||||
 | 
					  "_id": "@babel/code-frame@7.5.5",
 | 
				
			||||||
 | 
					  "_inBundle": false,
 | 
				
			||||||
 | 
					  "_integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==",
 | 
				
			||||||
 | 
					  "_location": "/@babel/code-frame",
 | 
				
			||||||
 | 
					  "_phantomChildren": {},
 | 
				
			||||||
 | 
					  "_requested": {
 | 
				
			||||||
 | 
					    "type": "range",
 | 
				
			||||||
 | 
					    "registry": true,
 | 
				
			||||||
 | 
					    "raw": "@babel/code-frame@^7.0.0",
 | 
				
			||||||
 | 
					    "name": "@babel/code-frame",
 | 
				
			||||||
 | 
					    "escapedName": "@babel%2fcode-frame",
 | 
				
			||||||
 | 
					    "scope": "@babel",
 | 
				
			||||||
 | 
					    "rawSpec": "^7.0.0",
 | 
				
			||||||
 | 
					    "saveSpec": null,
 | 
				
			||||||
 | 
					    "fetchSpec": "^7.0.0"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "_requiredBy": [
 | 
				
			||||||
 | 
					    "/@babel/core",
 | 
				
			||||||
 | 
					    "/@babel/template",
 | 
				
			||||||
 | 
					    "/@babel/traverse",
 | 
				
			||||||
 | 
					    "/jest-message-util",
 | 
				
			||||||
 | 
					    "/read-pkg/parse-json"
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
 | 
					  "_resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz",
 | 
				
			||||||
 | 
					  "_shasum": "bc0782f6d69f7b7d49531219699b988f669a8f9d",
 | 
				
			||||||
 | 
					  "_spec": "@babel/code-frame@^7.0.0",
 | 
				
			||||||
 | 
					  "_where": "E:\\github\\setup-java\\node_modules\\read-pkg\\node_modules\\parse-json",
 | 
				
			||||||
 | 
					  "author": {
 | 
				
			||||||
 | 
					    "name": "Sebastian McKenzie",
 | 
				
			||||||
 | 
					    "email": "sebmck@gmail.com"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "bundleDependencies": false,
 | 
				
			||||||
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
					    "@babel/highlight": "^7.0.0"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "deprecated": false,
 | 
				
			||||||
 | 
					  "description": "Generate errors that contain a code frame that point to source locations.",
 | 
				
			||||||
 | 
					  "devDependencies": {
 | 
				
			||||||
 | 
					    "chalk": "^2.0.0",
 | 
				
			||||||
 | 
					    "strip-ansi": "^4.0.0"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "gitHead": "0407f034f09381b95e9cabefbf6b176c76485a43",
 | 
				
			||||||
 | 
					  "homepage": "https://babeljs.io/",
 | 
				
			||||||
 | 
					  "license": "MIT",
 | 
				
			||||||
 | 
					  "main": "lib/index.js",
 | 
				
			||||||
 | 
					  "name": "@babel/code-frame",
 | 
				
			||||||
 | 
					  "publishConfig": {
 | 
				
			||||||
 | 
					    "access": "public"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "repository": {
 | 
				
			||||||
 | 
					    "type": "git",
 | 
				
			||||||
 | 
					    "url": "https://github.com/babel/babel/tree/master/packages/babel-code-frame"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "version": "7.5.5"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										22
									
								
								node_modules/@babel/core/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								node_modules/@babel/core/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,22 @@
 | 
				
			|||||||
 | 
					MIT License
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Copyright (c) 2014-present Sebastian McKenzie and other contributors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Permission is hereby granted, free of charge, to any person obtaining
 | 
				
			||||||
 | 
					a copy of this software and associated documentation files (the
 | 
				
			||||||
 | 
					"Software"), to deal in the Software without restriction, including
 | 
				
			||||||
 | 
					without limitation the rights to use, copy, modify, merge, publish,
 | 
				
			||||||
 | 
					distribute, sublicense, and/or sell copies of the Software, and to
 | 
				
			||||||
 | 
					permit persons to whom the Software is furnished to do so, subject to
 | 
				
			||||||
 | 
					the following conditions:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The above copyright notice and this permission notice shall be
 | 
				
			||||||
 | 
					included in all copies or substantial portions of the Software.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 | 
				
			||||||
 | 
					EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 | 
				
			||||||
 | 
					MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 | 
				
			||||||
 | 
					NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 | 
				
			||||||
 | 
					LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 | 
				
			||||||
 | 
					OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 | 
				
			||||||
 | 
					WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 | 
				
			||||||
							
								
								
									
										19
									
								
								node_modules/@babel/core/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								node_modules/@babel/core/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					# @babel/core
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> Babel compiler core.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					See our website [@babel/core](https://babeljs.io/docs/en/next/babel-core.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen) associated with this package.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Using npm:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```sh
 | 
				
			||||||
 | 
					npm install --save-dev @babel/core
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					or using yarn:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```sh
 | 
				
			||||||
 | 
					yarn add @babel/core --dev
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
							
								
								
									
										199
									
								
								node_modules/@babel/core/lib/config/caching.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										199
									
								
								node_modules/@babel/core/lib/config/caching.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,199 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.makeStrongCache = makeStrongCache;
 | 
				
			||||||
 | 
					exports.makeWeakCache = makeWeakCache;
 | 
				
			||||||
 | 
					exports.assertSimpleType = assertSimpleType;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function makeStrongCache(handler) {
 | 
				
			||||||
 | 
					  return makeCachedFunction(new Map(), handler);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function makeWeakCache(handler) {
 | 
				
			||||||
 | 
					  return makeCachedFunction(new WeakMap(), handler);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function makeCachedFunction(callCache, handler) {
 | 
				
			||||||
 | 
					  return function cachedFunction(arg, data) {
 | 
				
			||||||
 | 
					    let cachedValue = callCache.get(arg);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (cachedValue) {
 | 
				
			||||||
 | 
					      for (const _ref of cachedValue) {
 | 
				
			||||||
 | 
					        const {
 | 
				
			||||||
 | 
					          value,
 | 
				
			||||||
 | 
					          valid
 | 
				
			||||||
 | 
					        } = _ref;
 | 
				
			||||||
 | 
					        if (valid(data)) return value;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    const cache = new CacheConfigurator(data);
 | 
				
			||||||
 | 
					    const value = handler(arg, cache);
 | 
				
			||||||
 | 
					    if (!cache.configured()) cache.forever();
 | 
				
			||||||
 | 
					    cache.deactivate();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    switch (cache.mode()) {
 | 
				
			||||||
 | 
					      case "forever":
 | 
				
			||||||
 | 
					        cachedValue = [{
 | 
				
			||||||
 | 
					          value,
 | 
				
			||||||
 | 
					          valid: () => true
 | 
				
			||||||
 | 
					        }];
 | 
				
			||||||
 | 
					        callCache.set(arg, cachedValue);
 | 
				
			||||||
 | 
					        break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      case "invalidate":
 | 
				
			||||||
 | 
					        cachedValue = [{
 | 
				
			||||||
 | 
					          value,
 | 
				
			||||||
 | 
					          valid: cache.validator()
 | 
				
			||||||
 | 
					        }];
 | 
				
			||||||
 | 
					        callCache.set(arg, cachedValue);
 | 
				
			||||||
 | 
					        break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      case "valid":
 | 
				
			||||||
 | 
					        if (cachedValue) {
 | 
				
			||||||
 | 
					          cachedValue.push({
 | 
				
			||||||
 | 
					            value,
 | 
				
			||||||
 | 
					            valid: cache.validator()
 | 
				
			||||||
 | 
					          });
 | 
				
			||||||
 | 
					        } else {
 | 
				
			||||||
 | 
					          cachedValue = [{
 | 
				
			||||||
 | 
					            value,
 | 
				
			||||||
 | 
					            valid: cache.validator()
 | 
				
			||||||
 | 
					          }];
 | 
				
			||||||
 | 
					          callCache.set(arg, cachedValue);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return value;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class CacheConfigurator {
 | 
				
			||||||
 | 
					  constructor(data) {
 | 
				
			||||||
 | 
					    this._active = true;
 | 
				
			||||||
 | 
					    this._never = false;
 | 
				
			||||||
 | 
					    this._forever = false;
 | 
				
			||||||
 | 
					    this._invalidate = false;
 | 
				
			||||||
 | 
					    this._configured = false;
 | 
				
			||||||
 | 
					    this._pairs = [];
 | 
				
			||||||
 | 
					    this._data = data;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  simple() {
 | 
				
			||||||
 | 
					    return makeSimpleConfigurator(this);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  mode() {
 | 
				
			||||||
 | 
					    if (this._never) return "never";
 | 
				
			||||||
 | 
					    if (this._forever) return "forever";
 | 
				
			||||||
 | 
					    if (this._invalidate) return "invalidate";
 | 
				
			||||||
 | 
					    return "valid";
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  forever() {
 | 
				
			||||||
 | 
					    if (!this._active) {
 | 
				
			||||||
 | 
					      throw new Error("Cannot change caching after evaluation has completed.");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (this._never) {
 | 
				
			||||||
 | 
					      throw new Error("Caching has already been configured with .never()");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    this._forever = true;
 | 
				
			||||||
 | 
					    this._configured = true;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  never() {
 | 
				
			||||||
 | 
					    if (!this._active) {
 | 
				
			||||||
 | 
					      throw new Error("Cannot change caching after evaluation has completed.");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (this._forever) {
 | 
				
			||||||
 | 
					      throw new Error("Caching has already been configured with .forever()");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    this._never = true;
 | 
				
			||||||
 | 
					    this._configured = true;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  using(handler) {
 | 
				
			||||||
 | 
					    if (!this._active) {
 | 
				
			||||||
 | 
					      throw new Error("Cannot change caching after evaluation has completed.");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (this._never || this._forever) {
 | 
				
			||||||
 | 
					      throw new Error("Caching has already been configured with .never or .forever()");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    this._configured = true;
 | 
				
			||||||
 | 
					    const key = handler(this._data);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    this._pairs.push([key, handler]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return key;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  invalidate(handler) {
 | 
				
			||||||
 | 
					    if (!this._active) {
 | 
				
			||||||
 | 
					      throw new Error("Cannot change caching after evaluation has completed.");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (this._never || this._forever) {
 | 
				
			||||||
 | 
					      throw new Error("Caching has already been configured with .never or .forever()");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    this._invalidate = true;
 | 
				
			||||||
 | 
					    this._configured = true;
 | 
				
			||||||
 | 
					    const key = handler(this._data);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    this._pairs.push([key, handler]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return key;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  validator() {
 | 
				
			||||||
 | 
					    const pairs = this._pairs;
 | 
				
			||||||
 | 
					    return data => pairs.every(([key, fn]) => key === fn(data));
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  deactivate() {
 | 
				
			||||||
 | 
					    this._active = false;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  configured() {
 | 
				
			||||||
 | 
					    return this._configured;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function makeSimpleConfigurator(cache) {
 | 
				
			||||||
 | 
					  function cacheFn(val) {
 | 
				
			||||||
 | 
					    if (typeof val === "boolean") {
 | 
				
			||||||
 | 
					      if (val) cache.forever();else cache.never();
 | 
				
			||||||
 | 
					      return;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return cache.using(() => assertSimpleType(val()));
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  cacheFn.forever = () => cache.forever();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  cacheFn.never = () => cache.never();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  cacheFn.using = cb => cache.using(() => assertSimpleType(cb()));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  cacheFn.invalidate = cb => cache.invalidate(() => assertSimpleType(cb()));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return cacheFn;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function assertSimpleType(value) {
 | 
				
			||||||
 | 
					  if (value != null && typeof value !== "string" && typeof value !== "boolean" && typeof value !== "number") {
 | 
				
			||||||
 | 
					    throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return value;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										439
									
								
								node_modules/@babel/core/lib/config/config-chain.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										439
									
								
								node_modules/@babel/core/lib/config/config-chain.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,439 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.buildPresetChain = buildPresetChain;
 | 
				
			||||||
 | 
					exports.buildRootChain = buildRootChain;
 | 
				
			||||||
 | 
					exports.buildPresetChainWalker = void 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _path() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("path"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _path = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _debug() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("debug"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _debug = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _options = require("./validation/options");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _patternToRegex = _interopRequireDefault(require("./pattern-to-regex"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _files = require("./files");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _caching = require("./caching");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _configDescriptors = require("./config-descriptors");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const debug = (0, _debug().default)("babel:config:config-chain");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function buildPresetChain(arg, context) {
 | 
				
			||||||
 | 
					  const chain = buildPresetChainWalker(arg, context);
 | 
				
			||||||
 | 
					  if (!chain) return null;
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    plugins: dedupDescriptors(chain.plugins),
 | 
				
			||||||
 | 
					    presets: dedupDescriptors(chain.presets),
 | 
				
			||||||
 | 
					    options: chain.options.map(o => normalizeOptions(o))
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const buildPresetChainWalker = makeChainWalker({
 | 
				
			||||||
 | 
					  init: arg => arg,
 | 
				
			||||||
 | 
					  root: preset => loadPresetDescriptors(preset),
 | 
				
			||||||
 | 
					  env: (preset, envName) => loadPresetEnvDescriptors(preset)(envName),
 | 
				
			||||||
 | 
					  overrides: (preset, index) => loadPresetOverridesDescriptors(preset)(index),
 | 
				
			||||||
 | 
					  overridesEnv: (preset, index, envName) => loadPresetOverridesEnvDescriptors(preset)(index)(envName)
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.buildPresetChainWalker = buildPresetChainWalker;
 | 
				
			||||||
 | 
					const loadPresetDescriptors = (0, _caching.makeWeakCache)(preset => buildRootDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors));
 | 
				
			||||||
 | 
					const loadPresetEnvDescriptors = (0, _caching.makeWeakCache)(preset => (0, _caching.makeStrongCache)(envName => buildEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, envName)));
 | 
				
			||||||
 | 
					const loadPresetOverridesDescriptors = (0, _caching.makeWeakCache)(preset => (0, _caching.makeStrongCache)(index => buildOverrideDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index)));
 | 
				
			||||||
 | 
					const loadPresetOverridesEnvDescriptors = (0, _caching.makeWeakCache)(preset => (0, _caching.makeStrongCache)(index => (0, _caching.makeStrongCache)(envName => buildOverrideEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index, envName))));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function buildRootChain(opts, context) {
 | 
				
			||||||
 | 
					  const programmaticChain = loadProgrammaticChain({
 | 
				
			||||||
 | 
					    options: opts,
 | 
				
			||||||
 | 
					    dirname: context.cwd
 | 
				
			||||||
 | 
					  }, context);
 | 
				
			||||||
 | 
					  if (!programmaticChain) return null;
 | 
				
			||||||
 | 
					  let configFile;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof opts.configFile === "string") {
 | 
				
			||||||
 | 
					    configFile = (0, _files.loadConfig)(opts.configFile, context.cwd, context.envName, context.caller);
 | 
				
			||||||
 | 
					  } else if (opts.configFile !== false) {
 | 
				
			||||||
 | 
					    configFile = (0, _files.findRootConfig)(context.root, context.envName, context.caller);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  let {
 | 
				
			||||||
 | 
					    babelrc,
 | 
				
			||||||
 | 
					    babelrcRoots
 | 
				
			||||||
 | 
					  } = opts;
 | 
				
			||||||
 | 
					  let babelrcRootsDirectory = context.cwd;
 | 
				
			||||||
 | 
					  const configFileChain = emptyChain();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (configFile) {
 | 
				
			||||||
 | 
					    const validatedFile = validateConfigFile(configFile);
 | 
				
			||||||
 | 
					    const result = loadFileChain(validatedFile, context);
 | 
				
			||||||
 | 
					    if (!result) return null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (babelrc === undefined) {
 | 
				
			||||||
 | 
					      babelrc = validatedFile.options.babelrc;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (babelrcRoots === undefined) {
 | 
				
			||||||
 | 
					      babelrcRootsDirectory = validatedFile.dirname;
 | 
				
			||||||
 | 
					      babelrcRoots = validatedFile.options.babelrcRoots;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    mergeChain(configFileChain, result);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const pkgData = typeof context.filename === "string" ? (0, _files.findPackageData)(context.filename) : null;
 | 
				
			||||||
 | 
					  let ignoreFile, babelrcFile;
 | 
				
			||||||
 | 
					  const fileChain = emptyChain();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if ((babelrc === true || babelrc === undefined) && pkgData && babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory)) {
 | 
				
			||||||
 | 
					    ({
 | 
				
			||||||
 | 
					      ignore: ignoreFile,
 | 
				
			||||||
 | 
					      config: babelrcFile
 | 
				
			||||||
 | 
					    } = (0, _files.findRelativeConfig)(pkgData, context.envName, context.caller));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (ignoreFile && shouldIgnore(context, ignoreFile.ignore, null, ignoreFile.dirname)) {
 | 
				
			||||||
 | 
					      return null;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (babelrcFile) {
 | 
				
			||||||
 | 
					      const result = loadFileChain(validateBabelrcFile(babelrcFile), context);
 | 
				
			||||||
 | 
					      if (!result) return null;
 | 
				
			||||||
 | 
					      mergeChain(fileChain, result);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const chain = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain);
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    plugins: dedupDescriptors(chain.plugins),
 | 
				
			||||||
 | 
					    presets: dedupDescriptors(chain.presets),
 | 
				
			||||||
 | 
					    options: chain.options.map(o => normalizeOptions(o)),
 | 
				
			||||||
 | 
					    ignore: ignoreFile || undefined,
 | 
				
			||||||
 | 
					    babelrc: babelrcFile || undefined,
 | 
				
			||||||
 | 
					    config: configFile || undefined
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory) {
 | 
				
			||||||
 | 
					  if (typeof babelrcRoots === "boolean") return babelrcRoots;
 | 
				
			||||||
 | 
					  const absoluteRoot = context.root;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (babelrcRoots === undefined) {
 | 
				
			||||||
 | 
					    return pkgData.directories.indexOf(absoluteRoot) !== -1;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  let babelrcPatterns = babelrcRoots;
 | 
				
			||||||
 | 
					  if (!Array.isArray(babelrcPatterns)) babelrcPatterns = [babelrcPatterns];
 | 
				
			||||||
 | 
					  babelrcPatterns = babelrcPatterns.map(pat => {
 | 
				
			||||||
 | 
					    return typeof pat === "string" ? _path().default.resolve(babelrcRootsDirectory, pat) : pat;
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (babelrcPatterns.length === 1 && babelrcPatterns[0] === absoluteRoot) {
 | 
				
			||||||
 | 
					    return pkgData.directories.indexOf(absoluteRoot) !== -1;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return babelrcPatterns.some(pat => {
 | 
				
			||||||
 | 
					    if (typeof pat === "string") {
 | 
				
			||||||
 | 
					      pat = (0, _patternToRegex.default)(pat, babelrcRootsDirectory);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return pkgData.directories.some(directory => {
 | 
				
			||||||
 | 
					      return matchPattern(pat, babelrcRootsDirectory, directory, context);
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const validateConfigFile = (0, _caching.makeWeakCache)(file => ({
 | 
				
			||||||
 | 
					  filepath: file.filepath,
 | 
				
			||||||
 | 
					  dirname: file.dirname,
 | 
				
			||||||
 | 
					  options: (0, _options.validate)("configfile", file.options)
 | 
				
			||||||
 | 
					}));
 | 
				
			||||||
 | 
					const validateBabelrcFile = (0, _caching.makeWeakCache)(file => ({
 | 
				
			||||||
 | 
					  filepath: file.filepath,
 | 
				
			||||||
 | 
					  dirname: file.dirname,
 | 
				
			||||||
 | 
					  options: (0, _options.validate)("babelrcfile", file.options)
 | 
				
			||||||
 | 
					}));
 | 
				
			||||||
 | 
					const validateExtendFile = (0, _caching.makeWeakCache)(file => ({
 | 
				
			||||||
 | 
					  filepath: file.filepath,
 | 
				
			||||||
 | 
					  dirname: file.dirname,
 | 
				
			||||||
 | 
					  options: (0, _options.validate)("extendsfile", file.options)
 | 
				
			||||||
 | 
					}));
 | 
				
			||||||
 | 
					const loadProgrammaticChain = makeChainWalker({
 | 
				
			||||||
 | 
					  root: input => buildRootDescriptors(input, "base", _configDescriptors.createCachedDescriptors),
 | 
				
			||||||
 | 
					  env: (input, envName) => buildEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, envName),
 | 
				
			||||||
 | 
					  overrides: (input, index) => buildOverrideDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index),
 | 
				
			||||||
 | 
					  overridesEnv: (input, index, envName) => buildOverrideEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index, envName)
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					const loadFileChain = makeChainWalker({
 | 
				
			||||||
 | 
					  root: file => loadFileDescriptors(file),
 | 
				
			||||||
 | 
					  env: (file, envName) => loadFileEnvDescriptors(file)(envName),
 | 
				
			||||||
 | 
					  overrides: (file, index) => loadFileOverridesDescriptors(file)(index),
 | 
				
			||||||
 | 
					  overridesEnv: (file, index, envName) => loadFileOverridesEnvDescriptors(file)(index)(envName)
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					const loadFileDescriptors = (0, _caching.makeWeakCache)(file => buildRootDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors));
 | 
				
			||||||
 | 
					const loadFileEnvDescriptors = (0, _caching.makeWeakCache)(file => (0, _caching.makeStrongCache)(envName => buildEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, envName)));
 | 
				
			||||||
 | 
					const loadFileOverridesDescriptors = (0, _caching.makeWeakCache)(file => (0, _caching.makeStrongCache)(index => buildOverrideDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index)));
 | 
				
			||||||
 | 
					const loadFileOverridesEnvDescriptors = (0, _caching.makeWeakCache)(file => (0, _caching.makeStrongCache)(index => (0, _caching.makeStrongCache)(envName => buildOverrideEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index, envName))));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function buildRootDescriptors({
 | 
				
			||||||
 | 
					  dirname,
 | 
				
			||||||
 | 
					  options
 | 
				
			||||||
 | 
					}, alias, descriptors) {
 | 
				
			||||||
 | 
					  return descriptors(dirname, options, alias);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function buildEnvDescriptors({
 | 
				
			||||||
 | 
					  dirname,
 | 
				
			||||||
 | 
					  options
 | 
				
			||||||
 | 
					}, alias, descriptors, envName) {
 | 
				
			||||||
 | 
					  const opts = options.env && options.env[envName];
 | 
				
			||||||
 | 
					  return opts ? descriptors(dirname, opts, `${alias}.env["${envName}"]`) : null;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function buildOverrideDescriptors({
 | 
				
			||||||
 | 
					  dirname,
 | 
				
			||||||
 | 
					  options
 | 
				
			||||||
 | 
					}, alias, descriptors, index) {
 | 
				
			||||||
 | 
					  const opts = options.overrides && options.overrides[index];
 | 
				
			||||||
 | 
					  if (!opts) throw new Error("Assertion failure - missing override");
 | 
				
			||||||
 | 
					  return descriptors(dirname, opts, `${alias}.overrides[${index}]`);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function buildOverrideEnvDescriptors({
 | 
				
			||||||
 | 
					  dirname,
 | 
				
			||||||
 | 
					  options
 | 
				
			||||||
 | 
					}, alias, descriptors, index, envName) {
 | 
				
			||||||
 | 
					  const override = options.overrides && options.overrides[index];
 | 
				
			||||||
 | 
					  if (!override) throw new Error("Assertion failure - missing override");
 | 
				
			||||||
 | 
					  const opts = override.env && override.env[envName];
 | 
				
			||||||
 | 
					  return opts ? descriptors(dirname, opts, `${alias}.overrides[${index}].env["${envName}"]`) : null;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function makeChainWalker({
 | 
				
			||||||
 | 
					  root,
 | 
				
			||||||
 | 
					  env,
 | 
				
			||||||
 | 
					  overrides,
 | 
				
			||||||
 | 
					  overridesEnv
 | 
				
			||||||
 | 
					}) {
 | 
				
			||||||
 | 
					  return (input, context, files = new Set()) => {
 | 
				
			||||||
 | 
					    const {
 | 
				
			||||||
 | 
					      dirname
 | 
				
			||||||
 | 
					    } = input;
 | 
				
			||||||
 | 
					    const flattenedConfigs = [];
 | 
				
			||||||
 | 
					    const rootOpts = root(input);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (configIsApplicable(rootOpts, dirname, context)) {
 | 
				
			||||||
 | 
					      flattenedConfigs.push(rootOpts);
 | 
				
			||||||
 | 
					      const envOpts = env(input, context.envName);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (envOpts && configIsApplicable(envOpts, dirname, context)) {
 | 
				
			||||||
 | 
					        flattenedConfigs.push(envOpts);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      (rootOpts.options.overrides || []).forEach((_, index) => {
 | 
				
			||||||
 | 
					        const overrideOps = overrides(input, index);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (configIsApplicable(overrideOps, dirname, context)) {
 | 
				
			||||||
 | 
					          flattenedConfigs.push(overrideOps);
 | 
				
			||||||
 | 
					          const overrideEnvOpts = overridesEnv(input, index, context.envName);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          if (overrideEnvOpts && configIsApplicable(overrideEnvOpts, dirname, context)) {
 | 
				
			||||||
 | 
					            flattenedConfigs.push(overrideEnvOpts);
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      });
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (flattenedConfigs.some(({
 | 
				
			||||||
 | 
					      options: {
 | 
				
			||||||
 | 
					        ignore,
 | 
				
			||||||
 | 
					        only
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }) => shouldIgnore(context, ignore, only, dirname))) {
 | 
				
			||||||
 | 
					      return null;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    const chain = emptyChain();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    for (const op of flattenedConfigs) {
 | 
				
			||||||
 | 
					      if (!mergeExtendsChain(chain, op.options, dirname, context, files)) {
 | 
				
			||||||
 | 
					        return null;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      mergeChainOpts(chain, op);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return chain;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function mergeExtendsChain(chain, opts, dirname, context, files) {
 | 
				
			||||||
 | 
					  if (opts.extends === undefined) return true;
 | 
				
			||||||
 | 
					  const file = (0, _files.loadConfig)(opts.extends, dirname, context.envName, context.caller);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (files.has(file)) {
 | 
				
			||||||
 | 
					    throw new Error(`Configuration cycle detected loading ${file.filepath}.\n` + `File already loaded following the config chain:\n` + Array.from(files, file => ` - ${file.filepath}`).join("\n"));
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  files.add(file);
 | 
				
			||||||
 | 
					  const fileChain = loadFileChain(validateExtendFile(file), context, files);
 | 
				
			||||||
 | 
					  files.delete(file);
 | 
				
			||||||
 | 
					  if (!fileChain) return false;
 | 
				
			||||||
 | 
					  mergeChain(chain, fileChain);
 | 
				
			||||||
 | 
					  return true;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function mergeChain(target, source) {
 | 
				
			||||||
 | 
					  target.options.push(...source.options);
 | 
				
			||||||
 | 
					  target.plugins.push(...source.plugins);
 | 
				
			||||||
 | 
					  target.presets.push(...source.presets);
 | 
				
			||||||
 | 
					  return target;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function mergeChainOpts(target, {
 | 
				
			||||||
 | 
					  options,
 | 
				
			||||||
 | 
					  plugins,
 | 
				
			||||||
 | 
					  presets
 | 
				
			||||||
 | 
					}) {
 | 
				
			||||||
 | 
					  target.options.push(options);
 | 
				
			||||||
 | 
					  target.plugins.push(...plugins());
 | 
				
			||||||
 | 
					  target.presets.push(...presets());
 | 
				
			||||||
 | 
					  return target;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function emptyChain() {
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    options: [],
 | 
				
			||||||
 | 
					    presets: [],
 | 
				
			||||||
 | 
					    plugins: []
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function normalizeOptions(opts) {
 | 
				
			||||||
 | 
					  const options = Object.assign({}, opts);
 | 
				
			||||||
 | 
					  delete options.extends;
 | 
				
			||||||
 | 
					  delete options.env;
 | 
				
			||||||
 | 
					  delete options.overrides;
 | 
				
			||||||
 | 
					  delete options.plugins;
 | 
				
			||||||
 | 
					  delete options.presets;
 | 
				
			||||||
 | 
					  delete options.passPerPreset;
 | 
				
			||||||
 | 
					  delete options.ignore;
 | 
				
			||||||
 | 
					  delete options.only;
 | 
				
			||||||
 | 
					  delete options.test;
 | 
				
			||||||
 | 
					  delete options.include;
 | 
				
			||||||
 | 
					  delete options.exclude;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (options.hasOwnProperty("sourceMap")) {
 | 
				
			||||||
 | 
					    options.sourceMaps = options.sourceMap;
 | 
				
			||||||
 | 
					    delete options.sourceMap;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return options;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function dedupDescriptors(items) {
 | 
				
			||||||
 | 
					  const map = new Map();
 | 
				
			||||||
 | 
					  const descriptors = [];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  for (const item of items) {
 | 
				
			||||||
 | 
					    if (typeof item.value === "function") {
 | 
				
			||||||
 | 
					      const fnKey = item.value;
 | 
				
			||||||
 | 
					      let nameMap = map.get(fnKey);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (!nameMap) {
 | 
				
			||||||
 | 
					        nameMap = new Map();
 | 
				
			||||||
 | 
					        map.set(fnKey, nameMap);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      let desc = nameMap.get(item.name);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (!desc) {
 | 
				
			||||||
 | 
					        desc = {
 | 
				
			||||||
 | 
					          value: item
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					        descriptors.push(desc);
 | 
				
			||||||
 | 
					        if (!item.ownPass) nameMap.set(item.name, desc);
 | 
				
			||||||
 | 
					      } else {
 | 
				
			||||||
 | 
					        desc.value = item;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    } else {
 | 
				
			||||||
 | 
					      descriptors.push({
 | 
				
			||||||
 | 
					        value: item
 | 
				
			||||||
 | 
					      });
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return descriptors.reduce((acc, desc) => {
 | 
				
			||||||
 | 
					    acc.push(desc.value);
 | 
				
			||||||
 | 
					    return acc;
 | 
				
			||||||
 | 
					  }, []);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function configIsApplicable({
 | 
				
			||||||
 | 
					  options
 | 
				
			||||||
 | 
					}, dirname, context) {
 | 
				
			||||||
 | 
					  return (options.test === undefined || configFieldIsApplicable(context, options.test, dirname)) && (options.include === undefined || configFieldIsApplicable(context, options.include, dirname)) && (options.exclude === undefined || !configFieldIsApplicable(context, options.exclude, dirname));
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function configFieldIsApplicable(context, test, dirname) {
 | 
				
			||||||
 | 
					  const patterns = Array.isArray(test) ? test : [test];
 | 
				
			||||||
 | 
					  return matchesPatterns(context, patterns, dirname);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function shouldIgnore(context, ignore, only, dirname) {
 | 
				
			||||||
 | 
					  if (ignore && matchesPatterns(context, ignore, dirname)) {
 | 
				
			||||||
 | 
					    debug("Ignored %o because it matched one of %O from %o", context.filename, ignore, dirname);
 | 
				
			||||||
 | 
					    return true;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (only && !matchesPatterns(context, only, dirname)) {
 | 
				
			||||||
 | 
					    debug("Ignored %o because it failed to match one of %O from %o", context.filename, only, dirname);
 | 
				
			||||||
 | 
					    return true;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return false;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function matchesPatterns(context, patterns, dirname) {
 | 
				
			||||||
 | 
					  return patterns.some(pattern => matchPattern(pattern, dirname, context.filename, context));
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function matchPattern(pattern, dirname, pathToTest, context) {
 | 
				
			||||||
 | 
					  if (typeof pattern === "function") {
 | 
				
			||||||
 | 
					    return !!pattern(pathToTest, {
 | 
				
			||||||
 | 
					      dirname,
 | 
				
			||||||
 | 
					      envName: context.envName,
 | 
				
			||||||
 | 
					      caller: context.caller
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof pathToTest !== "string") {
 | 
				
			||||||
 | 
					    throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof pattern === "string") {
 | 
				
			||||||
 | 
					    pattern = (0, _patternToRegex.default)(pattern, dirname);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return pattern.test(pathToTest);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										210
									
								
								node_modules/@babel/core/lib/config/config-descriptors.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										210
									
								
								node_modules/@babel/core/lib/config/config-descriptors.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,210 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.createCachedDescriptors = createCachedDescriptors;
 | 
				
			||||||
 | 
					exports.createUncachedDescriptors = createUncachedDescriptors;
 | 
				
			||||||
 | 
					exports.createDescriptor = createDescriptor;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _files = require("./files");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _item = require("./item");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _caching = require("./caching");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function isEqualDescriptor(a, b) {
 | 
				
			||||||
 | 
					  return a.name === b.name && a.value === b.value && a.options === b.options && a.dirname === b.dirname && a.alias === b.alias && a.ownPass === b.ownPass && (a.file && a.file.request) === (b.file && b.file.request) && (a.file && a.file.resolved) === (b.file && b.file.resolved);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function createCachedDescriptors(dirname, options, alias) {
 | 
				
			||||||
 | 
					  const {
 | 
				
			||||||
 | 
					    plugins,
 | 
				
			||||||
 | 
					    presets,
 | 
				
			||||||
 | 
					    passPerPreset
 | 
				
			||||||
 | 
					  } = options;
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    options,
 | 
				
			||||||
 | 
					    plugins: plugins ? () => createCachedPluginDescriptors(plugins, dirname)(alias) : () => [],
 | 
				
			||||||
 | 
					    presets: presets ? () => createCachedPresetDescriptors(presets, dirname)(alias)(!!passPerPreset) : () => []
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function createUncachedDescriptors(dirname, options, alias) {
 | 
				
			||||||
 | 
					  let plugins;
 | 
				
			||||||
 | 
					  let presets;
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    options,
 | 
				
			||||||
 | 
					    plugins: () => {
 | 
				
			||||||
 | 
					      if (!plugins) {
 | 
				
			||||||
 | 
					        plugins = createPluginDescriptors(options.plugins || [], dirname, alias);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      return plugins;
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    presets: () => {
 | 
				
			||||||
 | 
					      if (!presets) {
 | 
				
			||||||
 | 
					        presets = createPresetDescriptors(options.presets || [], dirname, alias, !!options.passPerPreset);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      return presets;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const PRESET_DESCRIPTOR_CACHE = new WeakMap();
 | 
				
			||||||
 | 
					const createCachedPresetDescriptors = (0, _caching.makeWeakCache)((items, cache) => {
 | 
				
			||||||
 | 
					  const dirname = cache.using(dir => dir);
 | 
				
			||||||
 | 
					  return (0, _caching.makeStrongCache)(alias => (0, _caching.makeStrongCache)(passPerPreset => createPresetDescriptors(items, dirname, alias, passPerPreset).map(desc => loadCachedDescriptor(PRESET_DESCRIPTOR_CACHE, desc))));
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					const PLUGIN_DESCRIPTOR_CACHE = new WeakMap();
 | 
				
			||||||
 | 
					const createCachedPluginDescriptors = (0, _caching.makeWeakCache)((items, cache) => {
 | 
				
			||||||
 | 
					  const dirname = cache.using(dir => dir);
 | 
				
			||||||
 | 
					  return (0, _caching.makeStrongCache)(alias => createPluginDescriptors(items, dirname, alias).map(desc => loadCachedDescriptor(PLUGIN_DESCRIPTOR_CACHE, desc)));
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					const DEFAULT_OPTIONS = {};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadCachedDescriptor(cache, desc) {
 | 
				
			||||||
 | 
					  const {
 | 
				
			||||||
 | 
					    value,
 | 
				
			||||||
 | 
					    options = DEFAULT_OPTIONS
 | 
				
			||||||
 | 
					  } = desc;
 | 
				
			||||||
 | 
					  if (options === false) return desc;
 | 
				
			||||||
 | 
					  let cacheByOptions = cache.get(value);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (!cacheByOptions) {
 | 
				
			||||||
 | 
					    cacheByOptions = new WeakMap();
 | 
				
			||||||
 | 
					    cache.set(value, cacheByOptions);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  let possibilities = cacheByOptions.get(options);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (!possibilities) {
 | 
				
			||||||
 | 
					    possibilities = [];
 | 
				
			||||||
 | 
					    cacheByOptions.set(options, possibilities);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (possibilities.indexOf(desc) === -1) {
 | 
				
			||||||
 | 
					    const matches = possibilities.filter(possibility => isEqualDescriptor(possibility, desc));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (matches.length > 0) {
 | 
				
			||||||
 | 
					      return matches[0];
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    possibilities.push(desc);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return desc;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function createPresetDescriptors(items, dirname, alias, passPerPreset) {
 | 
				
			||||||
 | 
					  return createDescriptors("preset", items, dirname, alias, passPerPreset);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function createPluginDescriptors(items, dirname, alias) {
 | 
				
			||||||
 | 
					  return createDescriptors("plugin", items, dirname, alias);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function createDescriptors(type, items, dirname, alias, ownPass) {
 | 
				
			||||||
 | 
					  const descriptors = items.map((item, index) => createDescriptor(item, dirname, {
 | 
				
			||||||
 | 
					    type,
 | 
				
			||||||
 | 
					    alias: `${alias}$${index}`,
 | 
				
			||||||
 | 
					    ownPass: !!ownPass
 | 
				
			||||||
 | 
					  }));
 | 
				
			||||||
 | 
					  assertNoDuplicates(descriptors);
 | 
				
			||||||
 | 
					  return descriptors;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function createDescriptor(pair, dirname, {
 | 
				
			||||||
 | 
					  type,
 | 
				
			||||||
 | 
					  alias,
 | 
				
			||||||
 | 
					  ownPass
 | 
				
			||||||
 | 
					}) {
 | 
				
			||||||
 | 
					  const desc = (0, _item.getItemDescriptor)(pair);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (desc) {
 | 
				
			||||||
 | 
					    return desc;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  let name;
 | 
				
			||||||
 | 
					  let options;
 | 
				
			||||||
 | 
					  let value = pair;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (Array.isArray(value)) {
 | 
				
			||||||
 | 
					    if (value.length === 3) {
 | 
				
			||||||
 | 
					      [value, options, name] = value;
 | 
				
			||||||
 | 
					    } else {
 | 
				
			||||||
 | 
					      [value, options] = value;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  let file = undefined;
 | 
				
			||||||
 | 
					  let filepath = null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof value === "string") {
 | 
				
			||||||
 | 
					    if (typeof type !== "string") {
 | 
				
			||||||
 | 
					      throw new Error("To resolve a string-based item, the type of item must be given");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    const resolver = type === "plugin" ? _files.loadPlugin : _files.loadPreset;
 | 
				
			||||||
 | 
					    const request = value;
 | 
				
			||||||
 | 
					    ({
 | 
				
			||||||
 | 
					      filepath,
 | 
				
			||||||
 | 
					      value
 | 
				
			||||||
 | 
					    } = resolver(value, dirname));
 | 
				
			||||||
 | 
					    file = {
 | 
				
			||||||
 | 
					      request,
 | 
				
			||||||
 | 
					      resolved: filepath
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (!value) {
 | 
				
			||||||
 | 
					    throw new Error(`Unexpected falsy value: ${String(value)}`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof value === "object" && value.__esModule) {
 | 
				
			||||||
 | 
					    if (value.default) {
 | 
				
			||||||
 | 
					      value = value.default;
 | 
				
			||||||
 | 
					    } else {
 | 
				
			||||||
 | 
					      throw new Error("Must export a default export when using ES6 modules.");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof value !== "object" && typeof value !== "function") {
 | 
				
			||||||
 | 
					    throw new Error(`Unsupported format: ${typeof value}. Expected an object or a function.`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (filepath !== null && typeof value === "object" && value) {
 | 
				
			||||||
 | 
					    throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${filepath}`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    name,
 | 
				
			||||||
 | 
					    alias: filepath || alias,
 | 
				
			||||||
 | 
					    value,
 | 
				
			||||||
 | 
					    options,
 | 
				
			||||||
 | 
					    dirname,
 | 
				
			||||||
 | 
					    ownPass,
 | 
				
			||||||
 | 
					    file
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function assertNoDuplicates(items) {
 | 
				
			||||||
 | 
					  const map = new Map();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  for (const item of items) {
 | 
				
			||||||
 | 
					    if (typeof item.value !== "function") continue;
 | 
				
			||||||
 | 
					    let nameMap = map.get(item.value);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (!nameMap) {
 | 
				
			||||||
 | 
					      nameMap = new Set();
 | 
				
			||||||
 | 
					      map.set(item.value, nameMap);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (nameMap.has(item.name)) {
 | 
				
			||||||
 | 
					      throw new Error([`Duplicate plugin/preset detected.`, `If you'd like to use two separate instances of a plugin,`, `they need separate names, e.g.`, ``, `  plugins: [`, `    ['some-plugin', {}],`, `    ['some-plugin', {}, 'some unique name'],`, `  ]`].join("\n"));
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    nameMap.add(item.name);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										323
									
								
								node_modules/@babel/core/lib/config/files/configuration.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										323
									
								
								node_modules/@babel/core/lib/config/files/configuration.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,323 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.findConfigUpwards = findConfigUpwards;
 | 
				
			||||||
 | 
					exports.findRelativeConfig = findRelativeConfig;
 | 
				
			||||||
 | 
					exports.findRootConfig = findRootConfig;
 | 
				
			||||||
 | 
					exports.loadConfig = loadConfig;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _debug() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("debug"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _debug = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _path() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("path"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _path = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _fs() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("fs"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _fs = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _json() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("json5"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _json = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _resolve() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("resolve"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _resolve = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _caching = require("../caching");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _configApi = _interopRequireDefault(require("../helpers/config-api"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _utils = require("./utils");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _patternToRegex = _interopRequireDefault(require("../pattern-to-regex"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const debug = (0, _debug().default)("babel:config:loading:files:configuration");
 | 
				
			||||||
 | 
					const BABEL_CONFIG_JS_FILENAME = "babel.config.js";
 | 
				
			||||||
 | 
					const BABELRC_FILENAME = ".babelrc";
 | 
				
			||||||
 | 
					const BABELRC_JS_FILENAME = ".babelrc.js";
 | 
				
			||||||
 | 
					const BABELIGNORE_FILENAME = ".babelignore";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function findConfigUpwards(rootDir) {
 | 
				
			||||||
 | 
					  let dirname = rootDir;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  while (true) {
 | 
				
			||||||
 | 
					    if (_fs().default.existsSync(_path().default.join(dirname, BABEL_CONFIG_JS_FILENAME))) {
 | 
				
			||||||
 | 
					      return dirname;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    const nextDir = _path().default.dirname(dirname);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (dirname === nextDir) break;
 | 
				
			||||||
 | 
					    dirname = nextDir;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return null;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function findRelativeConfig(packageData, envName, caller) {
 | 
				
			||||||
 | 
					  let config = null;
 | 
				
			||||||
 | 
					  let ignore = null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const dirname = _path().default.dirname(packageData.filepath);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  for (const loc of packageData.directories) {
 | 
				
			||||||
 | 
					    if (!config) {
 | 
				
			||||||
 | 
					      config = [BABELRC_FILENAME, BABELRC_JS_FILENAME].reduce((previousConfig, name) => {
 | 
				
			||||||
 | 
					        const filepath = _path().default.join(loc, name);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        const config = readConfig(filepath, envName, caller);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (config && previousConfig) {
 | 
				
			||||||
 | 
					          throw new Error(`Multiple configuration files found. Please remove one:\n` + ` - ${_path().default.basename(previousConfig.filepath)}\n` + ` - ${name}\n` + `from ${loc}`);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return config || previousConfig;
 | 
				
			||||||
 | 
					      }, null);
 | 
				
			||||||
 | 
					      const pkgConfig = packageData.pkg && packageData.pkg.dirname === loc ? packageToBabelConfig(packageData.pkg) : null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (pkgConfig) {
 | 
				
			||||||
 | 
					        if (config) {
 | 
				
			||||||
 | 
					          throw new Error(`Multiple configuration files found. Please remove one:\n` + ` - ${_path().default.basename(pkgConfig.filepath)}#babel\n` + ` - ${_path().default.basename(config.filepath)}\n` + `from ${loc}`);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        config = pkgConfig;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (config) {
 | 
				
			||||||
 | 
					        debug("Found configuration %o from %o.", config.filepath, dirname);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (!ignore) {
 | 
				
			||||||
 | 
					      const ignoreLoc = _path().default.join(loc, BABELIGNORE_FILENAME);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      ignore = readIgnoreConfig(ignoreLoc);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (ignore) {
 | 
				
			||||||
 | 
					        debug("Found ignore %o from %o.", ignore.filepath, dirname);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    config,
 | 
				
			||||||
 | 
					    ignore
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function findRootConfig(dirname, envName, caller) {
 | 
				
			||||||
 | 
					  const filepath = _path().default.resolve(dirname, BABEL_CONFIG_JS_FILENAME);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const conf = readConfig(filepath, envName, caller);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (conf) {
 | 
				
			||||||
 | 
					    debug("Found root config %o in %o.", BABEL_CONFIG_JS_FILENAME, dirname);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return conf;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadConfig(name, dirname, envName, caller) {
 | 
				
			||||||
 | 
					  const filepath = _resolve().default.sync(name, {
 | 
				
			||||||
 | 
					    basedir: dirname
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const conf = readConfig(filepath, envName, caller);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (!conf) {
 | 
				
			||||||
 | 
					    throw new Error(`Config file ${filepath} contains no configuration data`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  debug("Loaded config %o from %o.", name, dirname);
 | 
				
			||||||
 | 
					  return conf;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function readConfig(filepath, envName, caller) {
 | 
				
			||||||
 | 
					  return _path().default.extname(filepath) === ".js" ? readConfigJS(filepath, {
 | 
				
			||||||
 | 
					    envName,
 | 
				
			||||||
 | 
					    caller
 | 
				
			||||||
 | 
					  }) : readConfigJSON5(filepath);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const LOADING_CONFIGS = new Set();
 | 
				
			||||||
 | 
					const readConfigJS = (0, _caching.makeStrongCache)((filepath, cache) => {
 | 
				
			||||||
 | 
					  if (!_fs().default.existsSync(filepath)) {
 | 
				
			||||||
 | 
					    cache.forever();
 | 
				
			||||||
 | 
					    return null;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (LOADING_CONFIGS.has(filepath)) {
 | 
				
			||||||
 | 
					    cache.never();
 | 
				
			||||||
 | 
					    debug("Auto-ignoring usage of config %o.", filepath);
 | 
				
			||||||
 | 
					    return {
 | 
				
			||||||
 | 
					      filepath,
 | 
				
			||||||
 | 
					      dirname: _path().default.dirname(filepath),
 | 
				
			||||||
 | 
					      options: {}
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  let options;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  try {
 | 
				
			||||||
 | 
					    LOADING_CONFIGS.add(filepath);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    const configModule = require(filepath);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    options = configModule && configModule.__esModule ? configModule.default || undefined : configModule;
 | 
				
			||||||
 | 
					  } catch (err) {
 | 
				
			||||||
 | 
					    err.message = `${filepath}: Error while loading config - ${err.message}`;
 | 
				
			||||||
 | 
					    throw err;
 | 
				
			||||||
 | 
					  } finally {
 | 
				
			||||||
 | 
					    LOADING_CONFIGS.delete(filepath);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof options === "function") {
 | 
				
			||||||
 | 
					    options = options((0, _configApi.default)(cache));
 | 
				
			||||||
 | 
					    if (!cache.configured()) throwConfigError();
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (!options || typeof options !== "object" || Array.isArray(options)) {
 | 
				
			||||||
 | 
					    throw new Error(`${filepath}: Configuration should be an exported JavaScript object.`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof options.then === "function") {
 | 
				
			||||||
 | 
					    throw new Error(`You appear to be using an async configuration, ` + `which your current version of Babel does not support. ` + `We may add support for this in the future, ` + `but if you're on the most recent version of @babel/core and still ` + `seeing this error, then you'll need to synchronously return your config.`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    filepath,
 | 
				
			||||||
 | 
					    dirname: _path().default.dirname(filepath),
 | 
				
			||||||
 | 
					    options
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					const packageToBabelConfig = (0, _caching.makeWeakCache)(file => {
 | 
				
			||||||
 | 
					  const babel = file.options["babel"];
 | 
				
			||||||
 | 
					  if (typeof babel === "undefined") return null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof babel !== "object" || Array.isArray(babel) || babel === null) {
 | 
				
			||||||
 | 
					    throw new Error(`${file.filepath}: .babel property must be an object`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    filepath: file.filepath,
 | 
				
			||||||
 | 
					    dirname: file.dirname,
 | 
				
			||||||
 | 
					    options: babel
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					const readConfigJSON5 = (0, _utils.makeStaticFileCache)((filepath, content) => {
 | 
				
			||||||
 | 
					  let options;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  try {
 | 
				
			||||||
 | 
					    options = _json().default.parse(content);
 | 
				
			||||||
 | 
					  } catch (err) {
 | 
				
			||||||
 | 
					    err.message = `${filepath}: Error while parsing config - ${err.message}`;
 | 
				
			||||||
 | 
					    throw err;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (!options) throw new Error(`${filepath}: No config detected`);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof options !== "object") {
 | 
				
			||||||
 | 
					    throw new Error(`${filepath}: Config returned typeof ${typeof options}`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (Array.isArray(options)) {
 | 
				
			||||||
 | 
					    throw new Error(`${filepath}: Expected config object but found array`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    filepath,
 | 
				
			||||||
 | 
					    dirname: _path().default.dirname(filepath),
 | 
				
			||||||
 | 
					    options
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					const readIgnoreConfig = (0, _utils.makeStaticFileCache)((filepath, content) => {
 | 
				
			||||||
 | 
					  const ignoreDir = _path().default.dirname(filepath);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const ignorePatterns = content.split("\n").map(line => line.replace(/#(.*?)$/, "").trim()).filter(line => !!line);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  for (const pattern of ignorePatterns) {
 | 
				
			||||||
 | 
					    if (pattern[0] === "!") {
 | 
				
			||||||
 | 
					      throw new Error(`Negation of file paths is not supported.`);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    filepath,
 | 
				
			||||||
 | 
					    dirname: _path().default.dirname(filepath),
 | 
				
			||||||
 | 
					    ignore: ignorePatterns.map(pattern => (0, _patternToRegex.default)(pattern, ignoreDir))
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function throwConfigError() {
 | 
				
			||||||
 | 
					  throw new Error(`\
 | 
				
			||||||
 | 
					Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured
 | 
				
			||||||
 | 
					for various types of caching, using the first param of their handler functions:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					module.exports = function(api) {
 | 
				
			||||||
 | 
					  // The API exposes the following:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // Cache the returned value forever and don't call this function again.
 | 
				
			||||||
 | 
					  api.cache(true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // Don't cache at all. Not recommended because it will be very slow.
 | 
				
			||||||
 | 
					  api.cache(false);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // Cached based on the value of some function. If this function returns a value different from
 | 
				
			||||||
 | 
					  // a previously-encountered value, the plugins will re-evaluate.
 | 
				
			||||||
 | 
					  var env = api.cache(() => process.env.NODE_ENV);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for
 | 
				
			||||||
 | 
					  // any possible NODE_ENV value that might come up during plugin execution.
 | 
				
			||||||
 | 
					  var isProd = api.cache(() => process.env.NODE_ENV === "production");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // .cache(fn) will perform a linear search though instances to find the matching plugin based
 | 
				
			||||||
 | 
					  // based on previous instantiated plugins. If you want to recreate the plugin and discard the
 | 
				
			||||||
 | 
					  // previous instance whenever something changes, you may use:
 | 
				
			||||||
 | 
					  var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // Note, we also expose the following more-verbose versions of the above examples:
 | 
				
			||||||
 | 
					  api.cache.forever(); // api.cache(true)
 | 
				
			||||||
 | 
					  api.cache.never();   // api.cache(false)
 | 
				
			||||||
 | 
					  api.cache.using(fn); // api.cache(fn)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // Return the value that will be cached.
 | 
				
			||||||
 | 
					  return { };
 | 
				
			||||||
 | 
					};`);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										59
									
								
								node_modules/@babel/core/lib/config/files/index-browser.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										59
									
								
								node_modules/@babel/core/lib/config/files/index-browser.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,59 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.findConfigUpwards = findConfigUpwards;
 | 
				
			||||||
 | 
					exports.findPackageData = findPackageData;
 | 
				
			||||||
 | 
					exports.findRelativeConfig = findRelativeConfig;
 | 
				
			||||||
 | 
					exports.findRootConfig = findRootConfig;
 | 
				
			||||||
 | 
					exports.loadConfig = loadConfig;
 | 
				
			||||||
 | 
					exports.resolvePlugin = resolvePlugin;
 | 
				
			||||||
 | 
					exports.resolvePreset = resolvePreset;
 | 
				
			||||||
 | 
					exports.loadPlugin = loadPlugin;
 | 
				
			||||||
 | 
					exports.loadPreset = loadPreset;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function findConfigUpwards(rootDir) {
 | 
				
			||||||
 | 
					  return null;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function findPackageData(filepath) {
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    filepath,
 | 
				
			||||||
 | 
					    directories: [],
 | 
				
			||||||
 | 
					    pkg: null,
 | 
				
			||||||
 | 
					    isPackage: false
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function findRelativeConfig(pkgData, envName, caller) {
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    pkg: null,
 | 
				
			||||||
 | 
					    config: null,
 | 
				
			||||||
 | 
					    ignore: null
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function findRootConfig(dirname, envName, caller) {
 | 
				
			||||||
 | 
					  return null;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadConfig(name, dirname, envName, caller) {
 | 
				
			||||||
 | 
					  throw new Error(`Cannot load ${name} relative to ${dirname} in a browser`);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function resolvePlugin(name, dirname) {
 | 
				
			||||||
 | 
					  return null;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function resolvePreset(name, dirname) {
 | 
				
			||||||
 | 
					  return null;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadPlugin(name, dirname) {
 | 
				
			||||||
 | 
					  throw new Error(`Cannot load plugin ${name} relative to ${dirname} in a browser`);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadPreset(name, dirname) {
 | 
				
			||||||
 | 
					  throw new Error(`Cannot load preset ${name} relative to ${dirname} in a browser`);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										67
									
								
								node_modules/@babel/core/lib/config/files/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								node_modules/@babel/core/lib/config/files/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,67 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "findPackageData", {
 | 
				
			||||||
 | 
					  enumerable: true,
 | 
				
			||||||
 | 
					  get: function () {
 | 
				
			||||||
 | 
					    return _package.findPackageData;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "findConfigUpwards", {
 | 
				
			||||||
 | 
					  enumerable: true,
 | 
				
			||||||
 | 
					  get: function () {
 | 
				
			||||||
 | 
					    return _configuration.findConfigUpwards;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "findRelativeConfig", {
 | 
				
			||||||
 | 
					  enumerable: true,
 | 
				
			||||||
 | 
					  get: function () {
 | 
				
			||||||
 | 
					    return _configuration.findRelativeConfig;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "findRootConfig", {
 | 
				
			||||||
 | 
					  enumerable: true,
 | 
				
			||||||
 | 
					  get: function () {
 | 
				
			||||||
 | 
					    return _configuration.findRootConfig;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "loadConfig", {
 | 
				
			||||||
 | 
					  enumerable: true,
 | 
				
			||||||
 | 
					  get: function () {
 | 
				
			||||||
 | 
					    return _configuration.loadConfig;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "resolvePlugin", {
 | 
				
			||||||
 | 
					  enumerable: true,
 | 
				
			||||||
 | 
					  get: function () {
 | 
				
			||||||
 | 
					    return _plugins.resolvePlugin;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "resolvePreset", {
 | 
				
			||||||
 | 
					  enumerable: true,
 | 
				
			||||||
 | 
					  get: function () {
 | 
				
			||||||
 | 
					    return _plugins.resolvePreset;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "loadPlugin", {
 | 
				
			||||||
 | 
					  enumerable: true,
 | 
				
			||||||
 | 
					  get: function () {
 | 
				
			||||||
 | 
					    return _plugins.loadPlugin;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "loadPreset", {
 | 
				
			||||||
 | 
					  enumerable: true,
 | 
				
			||||||
 | 
					  get: function () {
 | 
				
			||||||
 | 
					    return _plugins.loadPreset;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _package = require("./package");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _configuration = require("./configuration");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _plugins = require("./plugins");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					({});
 | 
				
			||||||
							
								
								
									
										76
									
								
								node_modules/@babel/core/lib/config/files/package.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										76
									
								
								node_modules/@babel/core/lib/config/files/package.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,76 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.findPackageData = findPackageData;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _path() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("path"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _path = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _utils = require("./utils");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const PACKAGE_FILENAME = "package.json";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function findPackageData(filepath) {
 | 
				
			||||||
 | 
					  let pkg = null;
 | 
				
			||||||
 | 
					  const directories = [];
 | 
				
			||||||
 | 
					  let isPackage = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  let dirname = _path().default.dirname(filepath);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  while (!pkg && _path().default.basename(dirname) !== "node_modules") {
 | 
				
			||||||
 | 
					    directories.push(dirname);
 | 
				
			||||||
 | 
					    pkg = readConfigPackage(_path().default.join(dirname, PACKAGE_FILENAME));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    const nextLoc = _path().default.dirname(dirname);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (dirname === nextLoc) {
 | 
				
			||||||
 | 
					      isPackage = false;
 | 
				
			||||||
 | 
					      break;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    dirname = nextLoc;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    filepath,
 | 
				
			||||||
 | 
					    directories,
 | 
				
			||||||
 | 
					    pkg,
 | 
				
			||||||
 | 
					    isPackage
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const readConfigPackage = (0, _utils.makeStaticFileCache)((filepath, content) => {
 | 
				
			||||||
 | 
					  let options;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  try {
 | 
				
			||||||
 | 
					    options = JSON.parse(content);
 | 
				
			||||||
 | 
					  } catch (err) {
 | 
				
			||||||
 | 
					    err.message = `${filepath}: Error while parsing JSON - ${err.message}`;
 | 
				
			||||||
 | 
					    throw err;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof options !== "object") {
 | 
				
			||||||
 | 
					    throw new Error(`${filepath}: Config returned typeof ${typeof options}`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (Array.isArray(options)) {
 | 
				
			||||||
 | 
					    throw new Error(`${filepath}: Expected config object but found array`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    filepath,
 | 
				
			||||||
 | 
					    dirname: _path().default.dirname(filepath),
 | 
				
			||||||
 | 
					    options
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
							
								
								
									
										169
									
								
								node_modules/@babel/core/lib/config/files/plugins.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										169
									
								
								node_modules/@babel/core/lib/config/files/plugins.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,169 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.resolvePlugin = resolvePlugin;
 | 
				
			||||||
 | 
					exports.resolvePreset = resolvePreset;
 | 
				
			||||||
 | 
					exports.loadPlugin = loadPlugin;
 | 
				
			||||||
 | 
					exports.loadPreset = loadPreset;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _debug() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("debug"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _debug = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _resolve() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("resolve"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _resolve = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _path() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("path"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _path = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const debug = (0, _debug().default)("babel:config:loading:files:plugins");
 | 
				
			||||||
 | 
					const EXACT_RE = /^module:/;
 | 
				
			||||||
 | 
					const BABEL_PLUGIN_PREFIX_RE = /^(?!@|module:|[^/]+\/|babel-plugin-)/;
 | 
				
			||||||
 | 
					const BABEL_PRESET_PREFIX_RE = /^(?!@|module:|[^/]+\/|babel-preset-)/;
 | 
				
			||||||
 | 
					const BABEL_PLUGIN_ORG_RE = /^(@babel\/)(?!plugin-|[^/]+\/)/;
 | 
				
			||||||
 | 
					const BABEL_PRESET_ORG_RE = /^(@babel\/)(?!preset-|[^/]+\/)/;
 | 
				
			||||||
 | 
					const OTHER_PLUGIN_ORG_RE = /^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;
 | 
				
			||||||
 | 
					const OTHER_PRESET_ORG_RE = /^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;
 | 
				
			||||||
 | 
					const OTHER_ORG_DEFAULT_RE = /^(@(?!babel$)[^/]+)$/;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function resolvePlugin(name, dirname) {
 | 
				
			||||||
 | 
					  return resolveStandardizedName("plugin", name, dirname);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function resolvePreset(name, dirname) {
 | 
				
			||||||
 | 
					  return resolveStandardizedName("preset", name, dirname);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadPlugin(name, dirname) {
 | 
				
			||||||
 | 
					  const filepath = resolvePlugin(name, dirname);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (!filepath) {
 | 
				
			||||||
 | 
					    throw new Error(`Plugin ${name} not found relative to ${dirname}`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const value = requireModule("plugin", filepath);
 | 
				
			||||||
 | 
					  debug("Loaded plugin %o from %o.", name, dirname);
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    filepath,
 | 
				
			||||||
 | 
					    value
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadPreset(name, dirname) {
 | 
				
			||||||
 | 
					  const filepath = resolvePreset(name, dirname);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (!filepath) {
 | 
				
			||||||
 | 
					    throw new Error(`Preset ${name} not found relative to ${dirname}`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const value = requireModule("preset", filepath);
 | 
				
			||||||
 | 
					  debug("Loaded preset %o from %o.", name, dirname);
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    filepath,
 | 
				
			||||||
 | 
					    value
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function standardizeName(type, name) {
 | 
				
			||||||
 | 
					  if (_path().default.isAbsolute(name)) return name;
 | 
				
			||||||
 | 
					  const isPreset = type === "preset";
 | 
				
			||||||
 | 
					  return name.replace(isPreset ? BABEL_PRESET_PREFIX_RE : BABEL_PLUGIN_PREFIX_RE, `babel-${type}-`).replace(isPreset ? BABEL_PRESET_ORG_RE : BABEL_PLUGIN_ORG_RE, `$1${type}-`).replace(isPreset ? OTHER_PRESET_ORG_RE : OTHER_PLUGIN_ORG_RE, `$1babel-${type}-`).replace(OTHER_ORG_DEFAULT_RE, `$1/babel-${type}`).replace(EXACT_RE, "");
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function resolveStandardizedName(type, name, dirname = process.cwd()) {
 | 
				
			||||||
 | 
					  const standardizedName = standardizeName(type, name);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  try {
 | 
				
			||||||
 | 
					    return _resolve().default.sync(standardizedName, {
 | 
				
			||||||
 | 
					      basedir: dirname
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					  } catch (e) {
 | 
				
			||||||
 | 
					    if (e.code !== "MODULE_NOT_FOUND") throw e;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (standardizedName !== name) {
 | 
				
			||||||
 | 
					      let resolvedOriginal = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      try {
 | 
				
			||||||
 | 
					        _resolve().default.sync(name, {
 | 
				
			||||||
 | 
					          basedir: dirname
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        resolvedOriginal = true;
 | 
				
			||||||
 | 
					      } catch (e2) {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (resolvedOriginal) {
 | 
				
			||||||
 | 
					        e.message += `\n- If you want to resolve "${name}", use "module:${name}"`;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    let resolvedBabel = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    try {
 | 
				
			||||||
 | 
					      _resolve().default.sync(standardizeName(type, "@babel/" + name), {
 | 
				
			||||||
 | 
					        basedir: dirname
 | 
				
			||||||
 | 
					      });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      resolvedBabel = true;
 | 
				
			||||||
 | 
					    } catch (e2) {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (resolvedBabel) {
 | 
				
			||||||
 | 
					      e.message += `\n- Did you mean "@babel/${name}"?`;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    let resolvedOppositeType = false;
 | 
				
			||||||
 | 
					    const oppositeType = type === "preset" ? "plugin" : "preset";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    try {
 | 
				
			||||||
 | 
					      _resolve().default.sync(standardizeName(oppositeType, name), {
 | 
				
			||||||
 | 
					        basedir: dirname
 | 
				
			||||||
 | 
					      });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      resolvedOppositeType = true;
 | 
				
			||||||
 | 
					    } catch (e2) {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (resolvedOppositeType) {
 | 
				
			||||||
 | 
					      e.message += `\n- Did you accidentally pass a ${oppositeType} as a ${type}?`;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    throw e;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const LOADING_MODULES = new Set();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function requireModule(type, name) {
 | 
				
			||||||
 | 
					  if (LOADING_MODULES.has(name)) {
 | 
				
			||||||
 | 
					    throw new Error(`Reentrant ${type} detected trying to load "${name}". This module is not ignored ` + "and is trying to load itself while compiling itself, leading to a dependency cycle. " + 'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.');
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  try {
 | 
				
			||||||
 | 
					    LOADING_MODULES.add(name);
 | 
				
			||||||
 | 
					    return require(name);
 | 
				
			||||||
 | 
					  } finally {
 | 
				
			||||||
 | 
					    LOADING_MODULES.delete(name);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										0
									
								
								node_modules/@babel/core/lib/config/files/types.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								node_modules/@babel/core/lib/config/files/types.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
								
								
									
										41
									
								
								node_modules/@babel/core/lib/config/files/utils.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								node_modules/@babel/core/lib/config/files/utils.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,41 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.makeStaticFileCache = makeStaticFileCache;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _fs() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("fs"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _fs = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _caching = require("../caching");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function makeStaticFileCache(fn) {
 | 
				
			||||||
 | 
					  return (0, _caching.makeStrongCache)((filepath, cache) => {
 | 
				
			||||||
 | 
					    if (cache.invalidate(() => fileMtime(filepath)) === null) {
 | 
				
			||||||
 | 
					      cache.forever();
 | 
				
			||||||
 | 
					      return null;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return fn(filepath, _fs().default.readFileSync(filepath, "utf8"));
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function fileMtime(filepath) {
 | 
				
			||||||
 | 
					  try {
 | 
				
			||||||
 | 
					    return +_fs().default.statSync(filepath).mtime;
 | 
				
			||||||
 | 
					  } catch (e) {
 | 
				
			||||||
 | 
					    if (e.code !== "ENOENT" && e.code !== "ENOTDIR") throw e;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return null;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										258
									
								
								node_modules/@babel/core/lib/config/full.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										258
									
								
								node_modules/@babel/core/lib/config/full.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,258 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.default = loadFullConfig;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _util = require("./util");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var context = _interopRequireWildcard(require("../index"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _plugin = _interopRequireDefault(require("./plugin"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _item = require("./item");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _configChain = require("./config-chain");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _traverse() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("@babel/traverse"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _traverse = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _caching = require("./caching");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _options = require("./validation/options");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _plugins = require("./validation/plugins");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _configApi = _interopRequireDefault(require("./helpers/config-api"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _partial = _interopRequireDefault(require("./partial"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadFullConfig(inputOpts) {
 | 
				
			||||||
 | 
					  const result = (0, _partial.default)(inputOpts);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (!result) {
 | 
				
			||||||
 | 
					    return null;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const {
 | 
				
			||||||
 | 
					    options,
 | 
				
			||||||
 | 
					    context
 | 
				
			||||||
 | 
					  } = result;
 | 
				
			||||||
 | 
					  const optionDefaults = {};
 | 
				
			||||||
 | 
					  const passes = [[]];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  try {
 | 
				
			||||||
 | 
					    const {
 | 
				
			||||||
 | 
					      plugins,
 | 
				
			||||||
 | 
					      presets
 | 
				
			||||||
 | 
					    } = options;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (!plugins || !presets) {
 | 
				
			||||||
 | 
					      throw new Error("Assertion failure - plugins and presets exist");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    const ignored = function recurseDescriptors(config, pass) {
 | 
				
			||||||
 | 
					      const plugins = config.plugins.reduce((acc, descriptor) => {
 | 
				
			||||||
 | 
					        if (descriptor.options !== false) {
 | 
				
			||||||
 | 
					          acc.push(loadPluginDescriptor(descriptor, context));
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return acc;
 | 
				
			||||||
 | 
					      }, []);
 | 
				
			||||||
 | 
					      const presets = config.presets.reduce((acc, descriptor) => {
 | 
				
			||||||
 | 
					        if (descriptor.options !== false) {
 | 
				
			||||||
 | 
					          acc.push({
 | 
				
			||||||
 | 
					            preset: loadPresetDescriptor(descriptor, context),
 | 
				
			||||||
 | 
					            pass: descriptor.ownPass ? [] : pass
 | 
				
			||||||
 | 
					          });
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return acc;
 | 
				
			||||||
 | 
					      }, []);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (presets.length > 0) {
 | 
				
			||||||
 | 
					        passes.splice(1, 0, ...presets.map(o => o.pass).filter(p => p !== pass));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        for (const _ref of presets) {
 | 
				
			||||||
 | 
					          const {
 | 
				
			||||||
 | 
					            preset,
 | 
				
			||||||
 | 
					            pass
 | 
				
			||||||
 | 
					          } = _ref;
 | 
				
			||||||
 | 
					          if (!preset) return true;
 | 
				
			||||||
 | 
					          const ignored = recurseDescriptors({
 | 
				
			||||||
 | 
					            plugins: preset.plugins,
 | 
				
			||||||
 | 
					            presets: preset.presets
 | 
				
			||||||
 | 
					          }, pass);
 | 
				
			||||||
 | 
					          if (ignored) return true;
 | 
				
			||||||
 | 
					          preset.options.forEach(opts => {
 | 
				
			||||||
 | 
					            (0, _util.mergeOptions)(optionDefaults, opts);
 | 
				
			||||||
 | 
					          });
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (plugins.length > 0) {
 | 
				
			||||||
 | 
					        pass.unshift(...plugins);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }({
 | 
				
			||||||
 | 
					      plugins: plugins.map(item => {
 | 
				
			||||||
 | 
					        const desc = (0, _item.getItemDescriptor)(item);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (!desc) {
 | 
				
			||||||
 | 
					          throw new Error("Assertion failure - must be config item");
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return desc;
 | 
				
			||||||
 | 
					      }),
 | 
				
			||||||
 | 
					      presets: presets.map(item => {
 | 
				
			||||||
 | 
					        const desc = (0, _item.getItemDescriptor)(item);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (!desc) {
 | 
				
			||||||
 | 
					          throw new Error("Assertion failure - must be config item");
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return desc;
 | 
				
			||||||
 | 
					      })
 | 
				
			||||||
 | 
					    }, passes[0]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (ignored) return null;
 | 
				
			||||||
 | 
					  } catch (e) {
 | 
				
			||||||
 | 
					    if (!/^\[BABEL\]/.test(e.message)) {
 | 
				
			||||||
 | 
					      e.message = `[BABEL] ${context.filename || "unknown"}: ${e.message}`;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    throw e;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const opts = optionDefaults;
 | 
				
			||||||
 | 
					  (0, _util.mergeOptions)(opts, options);
 | 
				
			||||||
 | 
					  opts.plugins = passes[0];
 | 
				
			||||||
 | 
					  opts.presets = passes.slice(1).filter(plugins => plugins.length > 0).map(plugins => ({
 | 
				
			||||||
 | 
					    plugins
 | 
				
			||||||
 | 
					  }));
 | 
				
			||||||
 | 
					  opts.passPerPreset = opts.presets.length > 0;
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    options: opts,
 | 
				
			||||||
 | 
					    passes: passes
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const loadDescriptor = (0, _caching.makeWeakCache)(({
 | 
				
			||||||
 | 
					  value,
 | 
				
			||||||
 | 
					  options,
 | 
				
			||||||
 | 
					  dirname,
 | 
				
			||||||
 | 
					  alias
 | 
				
			||||||
 | 
					}, cache) => {
 | 
				
			||||||
 | 
					  if (options === false) throw new Error("Assertion failure");
 | 
				
			||||||
 | 
					  options = options || {};
 | 
				
			||||||
 | 
					  let item = value;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof value === "function") {
 | 
				
			||||||
 | 
					    const api = Object.assign({}, context, (0, _configApi.default)(cache));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    try {
 | 
				
			||||||
 | 
					      item = value(api, options, dirname);
 | 
				
			||||||
 | 
					    } catch (e) {
 | 
				
			||||||
 | 
					      if (alias) {
 | 
				
			||||||
 | 
					        e.message += ` (While processing: ${JSON.stringify(alias)})`;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      throw e;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (!item || typeof item !== "object") {
 | 
				
			||||||
 | 
					    throw new Error("Plugin/Preset did not return an object.");
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof item.then === "function") {
 | 
				
			||||||
 | 
					    throw new Error(`You appear to be using an async plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, ` + `you may need to upgrade your @babel/core version.`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    value: item,
 | 
				
			||||||
 | 
					    options,
 | 
				
			||||||
 | 
					    dirname,
 | 
				
			||||||
 | 
					    alias
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadPluginDescriptor(descriptor, context) {
 | 
				
			||||||
 | 
					  if (descriptor.value instanceof _plugin.default) {
 | 
				
			||||||
 | 
					    if (descriptor.options) {
 | 
				
			||||||
 | 
					      throw new Error("Passed options to an existing Plugin instance will not work.");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return descriptor.value;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return instantiatePlugin(loadDescriptor(descriptor, context), context);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const instantiatePlugin = (0, _caching.makeWeakCache)(({
 | 
				
			||||||
 | 
					  value,
 | 
				
			||||||
 | 
					  options,
 | 
				
			||||||
 | 
					  dirname,
 | 
				
			||||||
 | 
					  alias
 | 
				
			||||||
 | 
					}, cache) => {
 | 
				
			||||||
 | 
					  const pluginObj = (0, _plugins.validatePluginObject)(value);
 | 
				
			||||||
 | 
					  const plugin = Object.assign({}, pluginObj);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (plugin.visitor) {
 | 
				
			||||||
 | 
					    plugin.visitor = _traverse().default.explode(Object.assign({}, plugin.visitor));
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (plugin.inherits) {
 | 
				
			||||||
 | 
					    const inheritsDescriptor = {
 | 
				
			||||||
 | 
					      name: undefined,
 | 
				
			||||||
 | 
					      alias: `${alias}$inherits`,
 | 
				
			||||||
 | 
					      value: plugin.inherits,
 | 
				
			||||||
 | 
					      options,
 | 
				
			||||||
 | 
					      dirname
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					    const inherits = cache.invalidate(data => loadPluginDescriptor(inheritsDescriptor, data));
 | 
				
			||||||
 | 
					    plugin.pre = chain(inherits.pre, plugin.pre);
 | 
				
			||||||
 | 
					    plugin.post = chain(inherits.post, plugin.post);
 | 
				
			||||||
 | 
					    plugin.manipulateOptions = chain(inherits.manipulateOptions, plugin.manipulateOptions);
 | 
				
			||||||
 | 
					    plugin.visitor = _traverse().default.visitors.merge([inherits.visitor || {}, plugin.visitor || {}]);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return new _plugin.default(plugin, options, alias);
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const loadPresetDescriptor = (descriptor, context) => {
 | 
				
			||||||
 | 
					  return (0, _configChain.buildPresetChain)(instantiatePreset(loadDescriptor(descriptor, context)), context);
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const instantiatePreset = (0, _caching.makeWeakCache)(({
 | 
				
			||||||
 | 
					  value,
 | 
				
			||||||
 | 
					  dirname,
 | 
				
			||||||
 | 
					  alias
 | 
				
			||||||
 | 
					}) => {
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    options: (0, _options.validate)("preset", value),
 | 
				
			||||||
 | 
					    alias,
 | 
				
			||||||
 | 
					    dirname
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function chain(a, b) {
 | 
				
			||||||
 | 
					  const fns = [a, b].filter(Boolean);
 | 
				
			||||||
 | 
					  if (fns.length <= 1) return fns[0];
 | 
				
			||||||
 | 
					  return function (...args) {
 | 
				
			||||||
 | 
					    for (const fn of fns) {
 | 
				
			||||||
 | 
					      fn.apply(this, args);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										86
									
								
								node_modules/@babel/core/lib/config/helpers/config-api.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										86
									
								
								node_modules/@babel/core/lib/config/helpers/config-api.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,86 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.default = makeAPI;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _semver() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("semver"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _semver = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _ = require("../../");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _caching = require("../caching");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function makeAPI(cache) {
 | 
				
			||||||
 | 
					  const env = value => cache.using(data => {
 | 
				
			||||||
 | 
					    if (typeof value === "undefined") return data.envName;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (typeof value === "function") {
 | 
				
			||||||
 | 
					      return (0, _caching.assertSimpleType)(value(data.envName));
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (!Array.isArray(value)) value = [value];
 | 
				
			||||||
 | 
					    return value.some(entry => {
 | 
				
			||||||
 | 
					      if (typeof entry !== "string") {
 | 
				
			||||||
 | 
					        throw new Error("Unexpected non-string value");
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      return entry === data.envName;
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const caller = cb => cache.using(data => (0, _caching.assertSimpleType)(cb(data.caller)));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    version: _.version,
 | 
				
			||||||
 | 
					    cache: cache.simple(),
 | 
				
			||||||
 | 
					    env,
 | 
				
			||||||
 | 
					    async: () => false,
 | 
				
			||||||
 | 
					    caller,
 | 
				
			||||||
 | 
					    assertVersion,
 | 
				
			||||||
 | 
					    tokTypes: undefined
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function assertVersion(range) {
 | 
				
			||||||
 | 
					  if (typeof range === "number") {
 | 
				
			||||||
 | 
					    if (!Number.isInteger(range)) {
 | 
				
			||||||
 | 
					      throw new Error("Expected string or integer value.");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    range = `^${range}.0.0-0`;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof range !== "string") {
 | 
				
			||||||
 | 
					    throw new Error("Expected string or integer value.");
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (_semver().default.satisfies(_.version, range)) return;
 | 
				
			||||||
 | 
					  const limit = Error.stackTraceLimit;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof limit === "number" && limit < 25) {
 | 
				
			||||||
 | 
					    Error.stackTraceLimit = 25;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const err = new Error(`Requires Babel "${range}", but was loaded with "${_.version}". ` + `If you are sure you have a compatible version of @babel/core, ` + `it is likely that something in your build process is loading the ` + `wrong version. Inspect the stack trace of this error to look for ` + `the first entry that doesn't mention "@babel/core" or "babel-core" ` + `to see what is calling Babel.`);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (typeof limit === "number") {
 | 
				
			||||||
 | 
					    Error.stackTraceLimit = limit;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  throw Object.assign(err, {
 | 
				
			||||||
 | 
					    code: "BABEL_VERSION_UNSUPPORTED",
 | 
				
			||||||
 | 
					    version: _.version,
 | 
				
			||||||
 | 
					    range
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										10
									
								
								node_modules/@babel/core/lib/config/helpers/environment.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								node_modules/@babel/core/lib/config/helpers/environment.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.getEnv = getEnv;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function getEnv(defaultValue = "development") {
 | 
				
			||||||
 | 
					  return process.env.BABEL_ENV || process.env.NODE_ENV || defaultValue;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										29
									
								
								node_modules/@babel/core/lib/config/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								node_modules/@babel/core/lib/config/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,29 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.loadOptions = loadOptions;
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "default", {
 | 
				
			||||||
 | 
					  enumerable: true,
 | 
				
			||||||
 | 
					  get: function () {
 | 
				
			||||||
 | 
					    return _full.default;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "loadPartialConfig", {
 | 
				
			||||||
 | 
					  enumerable: true,
 | 
				
			||||||
 | 
					  get: function () {
 | 
				
			||||||
 | 
					    return _partial.loadPartialConfig;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _full = _interopRequireDefault(require("./full"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _partial = require("./partial");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadOptions(opts) {
 | 
				
			||||||
 | 
					  const config = (0, _full.default)(opts);
 | 
				
			||||||
 | 
					  return config ? config.options : null;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										66
									
								
								node_modules/@babel/core/lib/config/item.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								node_modules/@babel/core/lib/config/item.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,66 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.createItemFromDescriptor = createItemFromDescriptor;
 | 
				
			||||||
 | 
					exports.createConfigItem = createConfigItem;
 | 
				
			||||||
 | 
					exports.getItemDescriptor = getItemDescriptor;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _path() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("path"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _path = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _configDescriptors = require("./config-descriptors");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function createItemFromDescriptor(desc) {
 | 
				
			||||||
 | 
					  return new ConfigItem(desc);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function createConfigItem(value, {
 | 
				
			||||||
 | 
					  dirname = ".",
 | 
				
			||||||
 | 
					  type
 | 
				
			||||||
 | 
					} = {}) {
 | 
				
			||||||
 | 
					  const descriptor = (0, _configDescriptors.createDescriptor)(value, _path().default.resolve(dirname), {
 | 
				
			||||||
 | 
					    type,
 | 
				
			||||||
 | 
					    alias: "programmatic item"
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					  return createItemFromDescriptor(descriptor);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function getItemDescriptor(item) {
 | 
				
			||||||
 | 
					  if (item instanceof ConfigItem) {
 | 
				
			||||||
 | 
					    return item._descriptor;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return undefined;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class ConfigItem {
 | 
				
			||||||
 | 
					  constructor(descriptor) {
 | 
				
			||||||
 | 
					    this._descriptor = descriptor;
 | 
				
			||||||
 | 
					    Object.defineProperty(this, "_descriptor", {
 | 
				
			||||||
 | 
					      enumerable: false
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					    this.value = this._descriptor.value;
 | 
				
			||||||
 | 
					    this.options = this._descriptor.options;
 | 
				
			||||||
 | 
					    this.dirname = this._descriptor.dirname;
 | 
				
			||||||
 | 
					    this.name = this._descriptor.name;
 | 
				
			||||||
 | 
					    this.file = this._descriptor.file ? {
 | 
				
			||||||
 | 
					      request: this._descriptor.file.request,
 | 
				
			||||||
 | 
					      resolved: this._descriptor.file.resolved
 | 
				
			||||||
 | 
					    } : undefined;
 | 
				
			||||||
 | 
					    Object.freeze(this);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.freeze(ConfigItem.prototype);
 | 
				
			||||||
							
								
								
									
										141
									
								
								node_modules/@babel/core/lib/config/partial.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										141
									
								
								node_modules/@babel/core/lib/config/partial.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,141 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.default = loadPrivatePartialConfig;
 | 
				
			||||||
 | 
					exports.loadPartialConfig = loadPartialConfig;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _path() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("path"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _path = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _plugin = _interopRequireDefault(require("./plugin"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _util = require("./util");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _item = require("./item");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _configChain = require("./config-chain");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _environment = require("./helpers/environment");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _options = require("./validation/options");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var _files = require("./files");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function resolveRootMode(rootDir, rootMode) {
 | 
				
			||||||
 | 
					  switch (rootMode) {
 | 
				
			||||||
 | 
					    case "root":
 | 
				
			||||||
 | 
					      return rootDir;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    case "upward-optional":
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        const upwardRootDir = (0, _files.findConfigUpwards)(rootDir);
 | 
				
			||||||
 | 
					        return upwardRootDir === null ? rootDir : upwardRootDir;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    case "upward":
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        const upwardRootDir = (0, _files.findConfigUpwards)(rootDir);
 | 
				
			||||||
 | 
					        if (upwardRootDir !== null) return upwardRootDir;
 | 
				
			||||||
 | 
					        throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not ` + `be found when searching upward from "${rootDir}"`), {
 | 
				
			||||||
 | 
					          code: "BABEL_ROOT_NOT_FOUND",
 | 
				
			||||||
 | 
					          dirname: rootDir
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    default:
 | 
				
			||||||
 | 
					      throw new Error(`Assertion failure - unknown rootMode value`);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadPrivatePartialConfig(inputOpts) {
 | 
				
			||||||
 | 
					  if (inputOpts != null && (typeof inputOpts !== "object" || Array.isArray(inputOpts))) {
 | 
				
			||||||
 | 
					    throw new Error("Babel options must be an object, null, or undefined");
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const args = inputOpts ? (0, _options.validate)("arguments", inputOpts) : {};
 | 
				
			||||||
 | 
					  const {
 | 
				
			||||||
 | 
					    envName = (0, _environment.getEnv)(),
 | 
				
			||||||
 | 
					    cwd = ".",
 | 
				
			||||||
 | 
					    root: rootDir = ".",
 | 
				
			||||||
 | 
					    rootMode = "root",
 | 
				
			||||||
 | 
					    caller
 | 
				
			||||||
 | 
					  } = args;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const absoluteCwd = _path().default.resolve(cwd);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const absoluteRootDir = resolveRootMode(_path().default.resolve(absoluteCwd, rootDir), rootMode);
 | 
				
			||||||
 | 
					  const context = {
 | 
				
			||||||
 | 
					    filename: typeof args.filename === "string" ? _path().default.resolve(cwd, args.filename) : undefined,
 | 
				
			||||||
 | 
					    cwd: absoluteCwd,
 | 
				
			||||||
 | 
					    root: absoluteRootDir,
 | 
				
			||||||
 | 
					    envName,
 | 
				
			||||||
 | 
					    caller
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					  const configChain = (0, _configChain.buildRootChain)(args, context);
 | 
				
			||||||
 | 
					  if (!configChain) return null;
 | 
				
			||||||
 | 
					  const options = {};
 | 
				
			||||||
 | 
					  configChain.options.forEach(opts => {
 | 
				
			||||||
 | 
					    (0, _util.mergeOptions)(options, opts);
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					  options.babelrc = false;
 | 
				
			||||||
 | 
					  options.configFile = false;
 | 
				
			||||||
 | 
					  options.passPerPreset = false;
 | 
				
			||||||
 | 
					  options.envName = context.envName;
 | 
				
			||||||
 | 
					  options.cwd = context.cwd;
 | 
				
			||||||
 | 
					  options.root = context.root;
 | 
				
			||||||
 | 
					  options.filename = typeof context.filename === "string" ? context.filename : undefined;
 | 
				
			||||||
 | 
					  options.plugins = configChain.plugins.map(descriptor => (0, _item.createItemFromDescriptor)(descriptor));
 | 
				
			||||||
 | 
					  options.presets = configChain.presets.map(descriptor => (0, _item.createItemFromDescriptor)(descriptor));
 | 
				
			||||||
 | 
					  return {
 | 
				
			||||||
 | 
					    options,
 | 
				
			||||||
 | 
					    context,
 | 
				
			||||||
 | 
					    ignore: configChain.ignore,
 | 
				
			||||||
 | 
					    babelrc: configChain.babelrc,
 | 
				
			||||||
 | 
					    config: configChain.config
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function loadPartialConfig(inputOpts) {
 | 
				
			||||||
 | 
					  const result = loadPrivatePartialConfig(inputOpts);
 | 
				
			||||||
 | 
					  if (!result) return null;
 | 
				
			||||||
 | 
					  const {
 | 
				
			||||||
 | 
					    options,
 | 
				
			||||||
 | 
					    babelrc,
 | 
				
			||||||
 | 
					    ignore,
 | 
				
			||||||
 | 
					    config
 | 
				
			||||||
 | 
					  } = result;
 | 
				
			||||||
 | 
					  (options.plugins || []).forEach(item => {
 | 
				
			||||||
 | 
					    if (item.value instanceof _plugin.default) {
 | 
				
			||||||
 | 
					      throw new Error("Passing cached plugin instances is not supported in " + "babel.loadPartialConfig()");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					  return new PartialConfig(options, babelrc ? babelrc.filepath : undefined, ignore ? ignore.filepath : undefined, config ? config.filepath : undefined);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class PartialConfig {
 | 
				
			||||||
 | 
					  constructor(options, babelrc, ignore, config) {
 | 
				
			||||||
 | 
					    this.options = options;
 | 
				
			||||||
 | 
					    this.babelignore = ignore;
 | 
				
			||||||
 | 
					    this.babelrc = babelrc;
 | 
				
			||||||
 | 
					    this.config = config;
 | 
				
			||||||
 | 
					    Object.freeze(this);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  hasFilesystemConfig() {
 | 
				
			||||||
 | 
					    return this.babelrc !== undefined || this.config !== undefined;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.freeze(PartialConfig.prototype);
 | 
				
			||||||
							
								
								
									
										52
									
								
								node_modules/@babel/core/lib/config/pattern-to-regex.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								node_modules/@babel/core/lib/config/pattern-to-regex.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,52 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.default = pathToPattern;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _path() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("path"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _path = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _escapeRegExp() {
 | 
				
			||||||
 | 
					  const data = _interopRequireDefault(require("lodash/escapeRegExp"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  _escapeRegExp = function () {
 | 
				
			||||||
 | 
					    return data;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return data;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const sep = `\\${_path().default.sep}`;
 | 
				
			||||||
 | 
					const endSep = `(?:${sep}|$)`;
 | 
				
			||||||
 | 
					const substitution = `[^${sep}]+`;
 | 
				
			||||||
 | 
					const starPat = `(?:${substitution}${sep})`;
 | 
				
			||||||
 | 
					const starPatLast = `(?:${substitution}${endSep})`;
 | 
				
			||||||
 | 
					const starStarPat = `${starPat}*?`;
 | 
				
			||||||
 | 
					const starStarPatLast = `${starPat}*?${starPatLast}?`;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function pathToPattern(pattern, dirname) {
 | 
				
			||||||
 | 
					  const parts = _path().default.resolve(dirname, pattern).split(_path().default.sep);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return new RegExp(["^", ...parts.map((part, i) => {
 | 
				
			||||||
 | 
					    const last = i === parts.length - 1;
 | 
				
			||||||
 | 
					    if (part === "**") return last ? starStarPatLast : starStarPat;
 | 
				
			||||||
 | 
					    if (part === "*") return last ? starPatLast : starPat;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (part.indexOf("*.") === 0) {
 | 
				
			||||||
 | 
					      return substitution + (0, _escapeRegExp().default)(part.slice(1)) + (last ? endSep : sep);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return (0, _escapeRegExp().default)(part) + (last ? endSep : sep);
 | 
				
			||||||
 | 
					  })].join(""));
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										22
									
								
								node_modules/@babel/core/lib/config/plugin.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								node_modules/@babel/core/lib/config/plugin.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,22 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.default = void 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class Plugin {
 | 
				
			||||||
 | 
					  constructor(plugin, options, key) {
 | 
				
			||||||
 | 
					    this.key = plugin.name || key;
 | 
				
			||||||
 | 
					    this.manipulateOptions = plugin.manipulateOptions;
 | 
				
			||||||
 | 
					    this.post = plugin.post;
 | 
				
			||||||
 | 
					    this.pre = plugin.pre;
 | 
				
			||||||
 | 
					    this.visitor = plugin.visitor || {};
 | 
				
			||||||
 | 
					    this.parserOverride = plugin.parserOverride;
 | 
				
			||||||
 | 
					    this.generatorOverride = plugin.generatorOverride;
 | 
				
			||||||
 | 
					    this.options = options;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					exports.default = Plugin;
 | 
				
			||||||
							
								
								
									
										30
									
								
								node_modules/@babel/core/lib/config/util.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								node_modules/@babel/core/lib/config/util.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,30 @@
 | 
				
			|||||||
 | 
					"use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Object.defineProperty(exports, "__esModule", {
 | 
				
			||||||
 | 
					  value: true
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					exports.mergeOptions = mergeOptions;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function mergeOptions(target, source) {
 | 
				
			||||||
 | 
					  for (const k of Object.keys(source)) {
 | 
				
			||||||
 | 
					    if (k === "parserOpts" && source.parserOpts) {
 | 
				
			||||||
 | 
					      const parserOpts = source.parserOpts;
 | 
				
			||||||
 | 
					      const targetObj = target.parserOpts = target.parserOpts || {};
 | 
				
			||||||
 | 
					      mergeDefaultFields(targetObj, parserOpts);
 | 
				
			||||||
 | 
					    } else if (k === "generatorOpts" && source.generatorOpts) {
 | 
				
			||||||
 | 
					      const generatorOpts = source.generatorOpts;
 | 
				
			||||||
 | 
					      const targetObj = target.generatorOpts = target.generatorOpts || {};
 | 
				
			||||||
 | 
					      mergeDefaultFields(targetObj, generatorOpts);
 | 
				
			||||||
 | 
					    } else {
 | 
				
			||||||
 | 
					      const val = source[k];
 | 
				
			||||||
 | 
					      if (val !== undefined) target[k] = val;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function mergeDefaultFields(target, source) {
 | 
				
			||||||
 | 
					  for (const k of Object.keys(source)) {
 | 
				
			||||||
 | 
					    const val = source[k];
 | 
				
			||||||
 | 
					    if (val !== undefined) target[k] = val;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
		Reference in New Issue
	
	Block a user