add 2021
This commit is contained in:
parent
3fa5a03fb2
commit
b8bacd133b
BIN
2021/01/first
Executable file
BIN
2021/01/first
Executable file
Binary file not shown.
21
2021/01/first.go
Normal file
21
2021/01/first.go
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
)
|
||||||
|
|
||||||
|
func checkErr(e error) {
|
||||||
|
if e!=nil{
|
||||||
|
panic(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func main(){
|
||||||
|
numbers := getNumbers("numbers")
|
||||||
|
|
||||||
|
}
|
||||||
|
func getNumbers(filename string)[]byte{
|
||||||
|
dat, err := os.ReadFile(filename)
|
||||||
|
checkErr(err)
|
||||||
|
return dat
|
||||||
|
}
|
8
2021/01/first.js
Normal file
8
2021/01/first.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import fs from 'fs'
|
||||||
|
let input = fs.readFileSync('numbers',{encoding:"utf8"}).split('\n')
|
||||||
|
let result = 0
|
||||||
|
for (let i = 1; i < input.length; i++) {
|
||||||
|
if (Number(input[i]) >= Number(input[i - 1]))
|
||||||
|
result++
|
||||||
|
}
|
||||||
|
console.log(result)
|
2000
2021/01/numbers
Normal file
2000
2021/01/numbers
Normal file
File diff suppressed because it is too large
Load Diff
11
2021/01/package.json
Normal file
11
2021/01/package.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "01",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"main": "index.js",
|
||||||
|
"license": "MIT",
|
||||||
|
"type":"module",
|
||||||
|
"scripts": {
|
||||||
|
"first": "node first.js",
|
||||||
|
"second": "node second.js"
|
||||||
|
}
|
||||||
|
}
|
11
2021/01/second.js
Normal file
11
2021/01/second.js
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import fs from 'fs'
|
||||||
|
let input = fs.readFileSync('numbers',{encoding:"utf8"}).split('\n').map(x=>Number(x))
|
||||||
|
|
||||||
|
let result = 0
|
||||||
|
let sums = []
|
||||||
|
for (let i = 0; i < input.length; i++) {
|
||||||
|
sums.push(input[i] + input[i + 1] + input[i + 2])
|
||||||
|
if (sums[sums.length-1] > sums[sums.length - 2])
|
||||||
|
result++
|
||||||
|
}
|
||||||
|
console.log(result)
|
BIN
2021/02/first
Executable file
BIN
2021/02/first
Executable file
Binary file not shown.
53
2021/02/first.go
Normal file
53
2021/02/first.go
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bufio"
|
||||||
|
"fmt"
|
||||||
|
"log"
|
||||||
|
"os"
|
||||||
|
"strings"
|
||||||
|
"strconv"
|
||||||
|
)
|
||||||
|
|
||||||
|
var vertical int = 0
|
||||||
|
var horizontal int = 0
|
||||||
|
func checkErr(e error){
|
||||||
|
if e != nil{
|
||||||
|
log.Fatal(e)
|
||||||
|
panic(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func main(){
|
||||||
|
f, err:=os.Open("input")
|
||||||
|
checkErr(err)
|
||||||
|
defer f.Close()
|
||||||
|
scanner := bufio.NewScanner(f)
|
||||||
|
for scanner.Scan(){
|
||||||
|
evalCommand(scanner.Text())
|
||||||
|
}
|
||||||
|
|
||||||
|
fmt.Println(horizontal*vertical)
|
||||||
|
|
||||||
|
}
|
||||||
|
func evalCommand(c string){
|
||||||
|
s := strings.Split(c," ")
|
||||||
|
|
||||||
|
switch s[0]{
|
||||||
|
case "forward":
|
||||||
|
s,err := strconv.Atoi(s[1])
|
||||||
|
checkErr(err)
|
||||||
|
horizontal = horizontal+s
|
||||||
|
case "backward":
|
||||||
|
s,err := strconv.Atoi(s[1])
|
||||||
|
checkErr(err)
|
||||||
|
horizontal = horizontal-s
|
||||||
|
case "up":
|
||||||
|
s,err := strconv.Atoi(s[1])
|
||||||
|
checkErr(err)
|
||||||
|
vertical=vertical-s
|
||||||
|
case "down":
|
||||||
|
s,err := strconv.Atoi(s[1])
|
||||||
|
checkErr(err)
|
||||||
|
vertical=vertical+s
|
||||||
|
}
|
||||||
|
}
|
1000
2021/02/input
Normal file
1000
2021/02/input
Normal file
File diff suppressed because it is too large
Load Diff
BIN
2021/02/second
Executable file
BIN
2021/02/second
Executable file
Binary file not shown.
43
2021/02/second.go
Normal file
43
2021/02/second.go
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bufio"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
"strings"
|
||||||
|
"strconv"
|
||||||
|
)
|
||||||
|
|
||||||
|
var vertical int = 0
|
||||||
|
var horizontal int = 0
|
||||||
|
var aim int = 0
|
||||||
|
|
||||||
|
func checkErr(e error){
|
||||||
|
if e != nil{
|
||||||
|
panic(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func main(){
|
||||||
|
f,e:=os.Open("input")
|
||||||
|
checkErr(e)
|
||||||
|
defer f.Close()
|
||||||
|
scanner := bufio.NewScanner(f)
|
||||||
|
for scanner.Scan(){
|
||||||
|
evalCommand(scanner.Text())
|
||||||
|
}
|
||||||
|
defer fmt.Println(horizontal*vertical)
|
||||||
|
}
|
||||||
|
func evalCommand(c string){
|
||||||
|
s := strings.Split(c," ")
|
||||||
|
value,e:= strconv.Atoi(s[1])
|
||||||
|
checkErr(e)
|
||||||
|
switch s[0]{
|
||||||
|
case "forward":
|
||||||
|
horizontal += value
|
||||||
|
vertical += aim* value
|
||||||
|
case "up":
|
||||||
|
aim -= value
|
||||||
|
case "down":
|
||||||
|
aim += value
|
||||||
|
}
|
||||||
|
}
|
6
2021/02/testinput
Normal file
6
2021/02/testinput
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
forward 5
|
||||||
|
down 5
|
||||||
|
forward 8
|
||||||
|
up 3
|
||||||
|
down 8
|
||||||
|
forward 2
|
0
2021/03/README.md
Normal file
0
2021/03/README.md
Normal file
BIN
2021/03/first
Executable file
BIN
2021/03/first
Executable file
Binary file not shown.
172
2021/03/first.go
Normal file
172
2021/03/first.go
Normal file
@ -0,0 +1,172 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bufio"
|
||||||
|
"fmt"
|
||||||
|
"log"
|
||||||
|
"os"
|
||||||
|
"strconv"
|
||||||
|
)
|
||||||
|
|
||||||
|
var gamma int64 = 0
|
||||||
|
var epsilon int64 = 0
|
||||||
|
var lines int = 0
|
||||||
|
var ones []int
|
||||||
|
var scannedLines []string
|
||||||
|
var e error
|
||||||
|
|
||||||
|
func checkErr(e error) {
|
||||||
|
if e != nil {
|
||||||
|
log.Fatal(e)
|
||||||
|
panic(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func main() {
|
||||||
|
ones = readTextFile()
|
||||||
|
gammaBinary, epsilonBinary := getMostAndLeast(ones, len(scannedLines), 1)
|
||||||
|
calcPower(gammaBinary, epsilonBinary)
|
||||||
|
|
||||||
|
oxygen := calcOxygen()
|
||||||
|
scrubber := calcCO2ScrubberRating()
|
||||||
|
|
||||||
|
rating := oxygen * scrubber
|
||||||
|
fmt.Print("Support Rating ")
|
||||||
|
fmt.Println(rating)
|
||||||
|
}
|
||||||
|
func calcCO2ScrubberRating() int64 {
|
||||||
|
scrub := findCO2Scrubber(scannedLines, 0)
|
||||||
|
scrubber, e := strconv.ParseInt(scrub, 2, 64)
|
||||||
|
checkErr(e)
|
||||||
|
return scrubber
|
||||||
|
}
|
||||||
|
func calcOxygen() int64 {
|
||||||
|
oxy := findOxgenRating(scannedLines, 0)
|
||||||
|
oxygen, e := strconv.ParseInt(oxy, 2, 64)
|
||||||
|
checkErr(e)
|
||||||
|
return oxygen
|
||||||
|
}
|
||||||
|
|
||||||
|
func findCO2Scrubber(lines []string, startingPoint int) string {
|
||||||
|
least := getLeastCommonAtPos(lines, startingPoint, 0)
|
||||||
|
resultLines := filterListByBitAtPos(lines, least, startingPoint)
|
||||||
|
if len(resultLines) == 1 {
|
||||||
|
return resultLines[0]
|
||||||
|
} else {
|
||||||
|
return findCO2Scrubber(resultLines, startingPoint+1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func filterListByBitAtPos(lines []string, bit string, pos int) []string {
|
||||||
|
returnLines := make([]string, 0)
|
||||||
|
for _, val := range lines {
|
||||||
|
valueAtPos := val[pos : pos+1]
|
||||||
|
if valueAtPos == bit {
|
||||||
|
returnLines = append(returnLines, val)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return returnLines
|
||||||
|
}
|
||||||
|
func findOxgenRating(lines []string, startingPoint int) string {
|
||||||
|
most := getMostCommonAtPos(lines, startingPoint, 1)
|
||||||
|
resultLines := filterListByBitAtPos(lines, most, startingPoint)
|
||||||
|
if len(resultLines) == 1 {
|
||||||
|
return resultLines[0]
|
||||||
|
} else {
|
||||||
|
return findOxgenRating(resultLines, startingPoint+1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func getLeastCommonAtPos(lines []string, pos int, onEqual int) string {
|
||||||
|
ones, zeroes := 0, 0
|
||||||
|
for _, val := range lines {
|
||||||
|
bit := val[pos : pos+1]
|
||||||
|
if bit == "1" {
|
||||||
|
ones++
|
||||||
|
} else {
|
||||||
|
zeroes++
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ones < zeroes {
|
||||||
|
return "1"
|
||||||
|
} else if ones > zeroes {
|
||||||
|
return "0"
|
||||||
|
} else {
|
||||||
|
return fmt.Sprint(onEqual)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func getMostCommonAtPos(lines []string, pos int, onEqual int) string {
|
||||||
|
ones, zeroes := 0, 0
|
||||||
|
for _, val := range lines {
|
||||||
|
bit := val[pos : pos+1]
|
||||||
|
if bit == "1" {
|
||||||
|
ones++
|
||||||
|
} else {
|
||||||
|
zeroes++
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ones > zeroes {
|
||||||
|
return "1"
|
||||||
|
} else if ones < zeroes {
|
||||||
|
return "0"
|
||||||
|
} else {
|
||||||
|
return fmt.Sprint(onEqual)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func calcPower(gammaBinary string, epsilonBinary string) {
|
||||||
|
gamma, e = strconv.ParseInt(gammaBinary, 2, 64)
|
||||||
|
checkErr(e)
|
||||||
|
epsilon, e = strconv.ParseInt(epsilonBinary, 2, 64)
|
||||||
|
checkErr(e)
|
||||||
|
fmt.Print("Power Level ")
|
||||||
|
fmt.Println(gamma * epsilon)
|
||||||
|
}
|
||||||
|
|
||||||
|
func getMostAndLeast(ones []int, lineNumber int, onEqual int) (string, string) {
|
||||||
|
most := ""
|
||||||
|
for _, value := range ones {
|
||||||
|
if value > lineNumber/2 {
|
||||||
|
most += "1"
|
||||||
|
} else if value < lineNumber/2 {
|
||||||
|
most += "0"
|
||||||
|
} else {
|
||||||
|
most += fmt.Sprint(onEqual)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
least := ""
|
||||||
|
for _, value := range most {
|
||||||
|
if value == '0' {
|
||||||
|
least += "1"
|
||||||
|
}
|
||||||
|
if value == '1' {
|
||||||
|
least += "0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return most, least
|
||||||
|
}
|
||||||
|
func readTextFile() []int {
|
||||||
|
var onelist []int
|
||||||
|
f, err := os.Open("input")
|
||||||
|
checkErr(err)
|
||||||
|
defer f.Close()
|
||||||
|
scanner := bufio.NewScanner(f)
|
||||||
|
for scanner.Scan() {
|
||||||
|
scannedText := scanner.Text()
|
||||||
|
scannedLines = append(scannedLines, scannedText)
|
||||||
|
lines++
|
||||||
|
}
|
||||||
|
onelist = getOnesList(scannedLines)
|
||||||
|
return onelist
|
||||||
|
}
|
||||||
|
func getOnesList(text []string) []int {
|
||||||
|
onelist := make([]int, len(text[0]))
|
||||||
|
for _, scannedText := range text {
|
||||||
|
|
||||||
|
for pos, char := range scannedText {
|
||||||
|
if char == '1' {
|
||||||
|
onelist[pos] = onelist[pos] + 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return onelist
|
||||||
|
}
|
1000
2021/03/input
Normal file
1000
2021/03/input
Normal file
File diff suppressed because it is too large
Load Diff
12
2021/03/testinput
Normal file
12
2021/03/testinput
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
00100
|
||||||
|
11110
|
||||||
|
10110
|
||||||
|
10111
|
||||||
|
10101
|
||||||
|
01111
|
||||||
|
00111
|
||||||
|
11100
|
||||||
|
10000
|
||||||
|
11001
|
||||||
|
00010
|
||||||
|
01010
|
129
2021/04/BingoField/bingofield.go
Normal file
129
2021/04/BingoField/bingofield.go
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
package BingoField
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"strconv"
|
||||||
|
"strings"
|
||||||
|
)
|
||||||
|
|
||||||
|
type BingoField struct {
|
||||||
|
rawData []string
|
||||||
|
columns [][]string
|
||||||
|
rows [][]string
|
||||||
|
}
|
||||||
|
|
||||||
|
func checkErr(e error) {
|
||||||
|
if e != nil {
|
||||||
|
panic(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func New(rawData []string) BingoField {
|
||||||
|
e := BingoField{rawData, make([][]string, 0), make([][]string, 0)}
|
||||||
|
e.rows = e.getRows()
|
||||||
|
e.columns = e.getColumns()
|
||||||
|
return e
|
||||||
|
}
|
||||||
|
func transpose(input [][]string) [][]string {
|
||||||
|
xLen := len(input[0])
|
||||||
|
yLen := len(input)
|
||||||
|
result := make([][]string, xLen)
|
||||||
|
for i := range result {
|
||||||
|
result[i] = make([]string, yLen)
|
||||||
|
}
|
||||||
|
for i := 0; i < xLen; i++ {
|
||||||
|
for j := 0; j < yLen; j++ {
|
||||||
|
result[i][j] = input[j][i]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result
|
||||||
|
}
|
||||||
|
func (b BingoField) getColumns() [][]string {
|
||||||
|
if len(b.columns) == 0 {
|
||||||
|
if len(b.rows) == 0 {
|
||||||
|
b.rows = b.getRows()
|
||||||
|
}
|
||||||
|
b.columns = transpose(b.rows)
|
||||||
|
}
|
||||||
|
//fmt.Println("cols ", b.columns)
|
||||||
|
return b.columns
|
||||||
|
}
|
||||||
|
func (b BingoField) getRows() [][]string {
|
||||||
|
if len(b.rows) == 0 {
|
||||||
|
intermediateList := make([][]string, 0)
|
||||||
|
for _, a := range b.rawData {
|
||||||
|
lineContent := strings.Fields(a)
|
||||||
|
intermediateList = append(intermediateList, lineContent)
|
||||||
|
}
|
||||||
|
b.rows = intermediateList
|
||||||
|
}
|
||||||
|
//fmt.Println("rows ", b.rows)
|
||||||
|
return b.rows
|
||||||
|
|
||||||
|
}
|
||||||
|
func stringIsPresenInArray(input string, array []string) bool {
|
||||||
|
for _, x := range array {
|
||||||
|
if x == input {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
func hasMatchInCollection(collection [][]string, numbers []string) bool {
|
||||||
|
for _, subcol := range collection {
|
||||||
|
matchcount := 0
|
||||||
|
for _, number := range numbers {
|
||||||
|
if stringIsPresenInArray(number, subcol) {
|
||||||
|
matchcount++
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if matchcount >= 5 {
|
||||||
|
//fmt.Println("Match is found in ",collection)
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
func (b BingoField) GetScore(numbers []string) int {
|
||||||
|
lastNum, e := strconv.Atoi(numbers[len(numbers)-1])
|
||||||
|
checkErr(e)
|
||||||
|
notMatchedNumbers := make([]string, 0)
|
||||||
|
for _, row := range b.rows {
|
||||||
|
for _, val := range row {
|
||||||
|
matched := false
|
||||||
|
for _, number := range numbers {
|
||||||
|
if val == number {
|
||||||
|
matched = true
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if !matched {
|
||||||
|
notMatchedNumbers = append(notMatchedNumbers, val)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
sum := sumOfList(notMatchedNumbers)
|
||||||
|
fmt.Println("not Matched ",notMatchedNumbers)
|
||||||
|
fmt.Println("called numbers ",numbers)
|
||||||
|
fmt.Println("sum of not matched ",sum)
|
||||||
|
product := sum * int(lastNum)
|
||||||
|
return product
|
||||||
|
}
|
||||||
|
func sumOfList(numbers []string) int {
|
||||||
|
acc := 0
|
||||||
|
for _, val := range numbers {
|
||||||
|
inc, e := strconv.Atoi(val)
|
||||||
|
checkErr(e)
|
||||||
|
//fmt.Println("Acc ", acc, "Inc ", inc)
|
||||||
|
acc += inc
|
||||||
|
}
|
||||||
|
return acc
|
||||||
|
}
|
||||||
|
func (b BingoField) HasMatchInField(numbers []string) bool {
|
||||||
|
return b.HasMatchInRows(numbers) || b.HasMatchInColumns(numbers)
|
||||||
|
}
|
||||||
|
func (b BingoField) HasMatchInRows(numbers []string) bool {
|
||||||
|
return hasMatchInCollection(b.rows, numbers)
|
||||||
|
}
|
||||||
|
func (b BingoField) HasMatchInColumns(numbers []string) bool {
|
||||||
|
return hasMatchInCollection(b.columns, numbers)
|
||||||
|
}
|
0
2021/04/README.md
Normal file
0
2021/04/README.md
Normal file
BIN
2021/04/first
Executable file
BIN
2021/04/first
Executable file
Binary file not shown.
117
2021/04/first.go
Normal file
117
2021/04/first.go
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"04/BingoField"
|
||||||
|
"bufio"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
"strings"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
inputLines := readTextFile()
|
||||||
|
bingoNumbers := getBingoNumbers(inputLines)
|
||||||
|
if bingoNumbers == nil {
|
||||||
|
panic(1)
|
||||||
|
}
|
||||||
|
bingoFields := getBingoFields(inputLines)
|
||||||
|
if bingoFields == nil {
|
||||||
|
panic(1)
|
||||||
|
}
|
||||||
|
fmt.Println("First Part -------------------------------------")
|
||||||
|
getFirstWinningBoard(bingoNumbers, bingoFields)
|
||||||
|
fmt.Println("Second Part -------------------------------------")
|
||||||
|
getLastWinningBoard(bingoNumbers, bingoFields)
|
||||||
|
}
|
||||||
|
func removeItemFromSlice(s []BingoField.BingoField, i int) []BingoField.BingoField{
|
||||||
|
s[i] = s[len(s)-1]
|
||||||
|
return s[:len(s)-1]
|
||||||
|
}
|
||||||
|
func filterList(s []BingoField.BingoField, positions []int)[]BingoField.BingoField{
|
||||||
|
outputList := make([]BingoField.BingoField,0)
|
||||||
|
for _,val := range positions{
|
||||||
|
outputList = append(outputList,s[val])
|
||||||
|
}
|
||||||
|
return outputList
|
||||||
|
}
|
||||||
|
func getLastWinningBoard(bingoNumbers []string, bingoFields []BingoField.BingoField) {
|
||||||
|
numbersToCheck := make([]string, 0)
|
||||||
|
var winningField BingoField.BingoField
|
||||||
|
for _, number := range bingoNumbers {
|
||||||
|
numbersToCheck = append(numbersToCheck, number)
|
||||||
|
matchedFields := make([]BingoField.BingoField, 0)
|
||||||
|
positionsToRemove := make([]int,0)
|
||||||
|
for pos, field := range bingoFields {
|
||||||
|
if field.HasMatchInField(numbersToCheck) {
|
||||||
|
matchedFields = append(matchedFields, field)
|
||||||
|
positionsToRemove = append(positionsToRemove,pos)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(len(positionsToRemove)>0){
|
||||||
|
bingoFields =filterList(bingoFields,positionsToRemove)
|
||||||
|
}
|
||||||
|
fmt.Println(bingoFields)
|
||||||
|
if len(bingoFields) == 0{
|
||||||
|
winningField = matchedFields[len(matchedFields)-1]
|
||||||
|
break
|
||||||
|
}
|
||||||
|
if len(bingoFields) == 0 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
score := winningField.GetScore(numbersToCheck)
|
||||||
|
fmt.Println("Field Score ",score)
|
||||||
|
}
|
||||||
|
func getFirstWinningBoard(bingoNumbers []string, bingoFields []BingoField.BingoField) {
|
||||||
|
numbersToCheck := make([]string, 0)
|
||||||
|
var winningField BingoField.BingoField
|
||||||
|
for _, number := range bingoNumbers {
|
||||||
|
numbersToCheck = append(numbersToCheck, number)
|
||||||
|
matchedFields := make([]BingoField.BingoField, 0)
|
||||||
|
for _, field := range bingoFields {
|
||||||
|
if field.HasMatchInField(numbersToCheck) {
|
||||||
|
matchedFields = append(matchedFields, field)
|
||||||
|
break
|
||||||
|
}
|
||||||
|
if len(matchedFields) > 0 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if len(matchedFields) > 0 {
|
||||||
|
winningField = matchedFields[0]
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
score := winningField.GetScore(numbersToCheck)
|
||||||
|
fmt.Println("Field Score ",score)
|
||||||
|
}
|
||||||
|
|
||||||
|
func getBingoNumbers(inputLines []string) []string {
|
||||||
|
numbers := strings.Split(inputLines[0], ",")
|
||||||
|
return numbers
|
||||||
|
}
|
||||||
|
func getBingoFields(inputLines []string) []BingoField.BingoField {
|
||||||
|
var fields []BingoField.BingoField
|
||||||
|
for startingPoint := 2; startingPoint < len(inputLines); startingPoint += 6 {
|
||||||
|
fields = append(fields, BingoField.New(inputLines[startingPoint:startingPoint+5]))
|
||||||
|
}
|
||||||
|
return fields
|
||||||
|
}
|
||||||
|
func checkErr(e error) {
|
||||||
|
if e != nil {
|
||||||
|
panic(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func readTextFile() []string {
|
||||||
|
f, err := os.Open("testinput")
|
||||||
|
checkErr(err)
|
||||||
|
defer f.Close()
|
||||||
|
scanner := bufio.NewScanner(f)
|
||||||
|
scannedLines := make([]string, 0)
|
||||||
|
for scanner.Scan() {
|
||||||
|
scannedText := scanner.Text()
|
||||||
|
scannedLines = append(scannedLines, scannedText)
|
||||||
|
}
|
||||||
|
return scannedLines
|
||||||
|
}
|
3
2021/04/go.mod
Normal file
3
2021/04/go.mod
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module 04
|
||||||
|
|
||||||
|
go 1.17
|
602
2021/04/input
Normal file
602
2021/04/input
Normal file
@ -0,0 +1,602 @@
|
|||||||
|
46,79,77,45,57,34,44,13,32,88,86,82,91,97,89,1,48,31,18,10,55,74,24,11,80,78,28,37,47,17,21,61,26,85,99,96,23,70,3,54,5,41,50,63,14,64,42,36,95,52,76,68,29,9,98,35,84,83,71,49,73,58,56,66,92,30,51,20,81,69,65,15,6,16,39,43,67,7,59,40,60,4,90,72,22,0,93,94,38,53,87,27,12,2,25,19,8,62,33,75
|
||||||
|
|
||||||
|
84 94 24 52 44
|
||||||
|
96 33 74 35 13
|
||||||
|
60 51 41 19 95
|
||||||
|
50 93 27 40 1
|
||||||
|
67 23 37 88 85
|
||||||
|
|
||||||
|
12 85 6 97 77
|
||||||
|
79 28 24 70 51
|
||||||
|
71 72 78 55 73
|
||||||
|
11 36 5 98 19
|
||||||
|
30 67 89 95 62
|
||||||
|
|
||||||
|
54 38 70 29 51
|
||||||
|
16 19 80 96 63
|
||||||
|
76 23 10 30 24
|
||||||
|
45 81 97 82 90
|
||||||
|
60 94 28 11 83
|
||||||
|
|
||||||
|
50 56 42 68 48
|
||||||
|
6 70 78 22 27
|
||||||
|
75 11 63 24 47
|
||||||
|
29 99 91 73 97
|
||||||
|
7 16 28 12 44
|
||||||
|
|
||||||
|
20 62 50 36 12
|
||||||
|
3 10 40 8 56
|
||||||
|
78 61 66 37 89
|
||||||
|
72 26 19 65 22
|
||||||
|
30 91 27 5 63
|
||||||
|
|
||||||
|
75 91 84 0 96
|
||||||
|
1 58 83 81 20
|
||||||
|
36 8 82 66 77
|
||||||
|
59 15 71 80 56
|
||||||
|
17 45 46 26 73
|
||||||
|
|
||||||
|
33 71 28 10 80
|
||||||
|
90 0 92 30 74
|
||||||
|
66 46 43 88 75
|
||||||
|
11 36 42 67 22
|
||||||
|
37 79 69 17 94
|
||||||
|
|
||||||
|
46 66 4 20 77
|
||||||
|
59 34 23 30 52
|
||||||
|
85 65 61 33 40
|
||||||
|
19 48 82 68 37
|
||||||
|
88 11 12 43 75
|
||||||
|
|
||||||
|
4 53 32 29 3
|
||||||
|
0 6 17 5 76
|
||||||
|
13 67 92 2 24
|
||||||
|
64 57 80 42 30
|
||||||
|
18 85 21 65 44
|
||||||
|
|
||||||
|
90 98 50 8 89
|
||||||
|
40 9 42 62 61
|
||||||
|
60 86 48 31 32
|
||||||
|
15 96 88 95 1
|
||||||
|
93 68 72 74 73
|
||||||
|
|
||||||
|
75 90 96 59 95
|
||||||
|
84 38 26 70 73
|
||||||
|
23 11 63 29 48
|
||||||
|
28 1 4 80 55
|
||||||
|
15 14 67 12 61
|
||||||
|
|
||||||
|
1 93 54 63 56
|
||||||
|
61 19 20 8 95
|
||||||
|
3 73 22 60 36
|
||||||
|
91 27 37 38 99
|
||||||
|
83 64 74 87 28
|
||||||
|
|
||||||
|
13 89 95 72 37
|
||||||
|
10 81 47 52 88
|
||||||
|
56 78 50 42 73
|
||||||
|
38 0 5 43 55
|
||||||
|
77 69 74 28 94
|
||||||
|
|
||||||
|
7 59 76 36 43
|
||||||
|
48 82 57 4 83
|
||||||
|
22 62 1 16 11
|
||||||
|
37 27 54 34 87
|
||||||
|
95 89 85 3 44
|
||||||
|
|
||||||
|
76 6 53 52 89
|
||||||
|
31 18 81 23 25
|
||||||
|
77 79 20 66 7
|
||||||
|
72 19 73 91 57
|
||||||
|
17 33 63 92 88
|
||||||
|
|
||||||
|
52 51 1 19 7
|
||||||
|
36 46 73 37 6
|
||||||
|
87 77 2 56 57
|
||||||
|
8 18 40 23 71
|
||||||
|
50 58 5 65 31
|
||||||
|
|
||||||
|
45 86 87 12 75
|
||||||
|
95 20 93 72 50
|
||||||
|
90 1 55 13 66
|
||||||
|
14 3 70 97 54
|
||||||
|
32 26 60 11 62
|
||||||
|
|
||||||
|
20 25 0 82 83
|
||||||
|
3 14 61 34 46
|
||||||
|
85 58 65 76 26
|
||||||
|
47 15 86 81 88
|
||||||
|
49 90 16 42 70
|
||||||
|
|
||||||
|
87 85 68 17 57
|
||||||
|
69 40 99 71 24
|
||||||
|
12 55 86 95 64
|
||||||
|
42 2 1 72 3
|
||||||
|
80 7 18 94 31
|
||||||
|
|
||||||
|
27 41 21 89 46
|
||||||
|
57 3 18 98 4
|
||||||
|
5 60 62 54 14
|
||||||
|
31 26 81 53 71
|
||||||
|
91 13 43 12 15
|
||||||
|
|
||||||
|
66 82 9 23 8
|
||||||
|
52 64 79 99 29
|
||||||
|
21 7 39 74 70
|
||||||
|
50 0 89 26 5
|
||||||
|
1 83 62 6 93
|
||||||
|
|
||||||
|
64 85 74 73 11
|
||||||
|
1 57 0 97 93
|
||||||
|
95 7 17 45 47
|
||||||
|
52 5 28 81 34
|
||||||
|
18 8 80 29 54
|
||||||
|
|
||||||
|
0 10 92 70 88
|
||||||
|
30 14 77 24 33
|
||||||
|
56 6 75 40 48
|
||||||
|
17 34 65 79 68
|
||||||
|
51 67 71 64 8
|
||||||
|
|
||||||
|
36 10 94 91 34
|
||||||
|
8 23 6 79 40
|
||||||
|
4 44 15 0 67
|
||||||
|
90 97 12 26 30
|
||||||
|
57 93 22 99 27
|
||||||
|
|
||||||
|
22 90 32 83 40
|
||||||
|
84 67 69 4 49
|
||||||
|
39 42 16 29 71
|
||||||
|
47 77 15 13 78
|
||||||
|
19 92 43 62 35
|
||||||
|
|
||||||
|
50 7 86 9 33
|
||||||
|
93 73 51 26 46
|
||||||
|
91 84 67 29 56
|
||||||
|
69 54 74 19 35
|
||||||
|
2 43 63 53 78
|
||||||
|
|
||||||
|
85 51 4 17 90
|
||||||
|
21 67 24 40 99
|
||||||
|
10 83 84 11 48
|
||||||
|
8 56 87 2 6
|
||||||
|
7 30 74 35 43
|
||||||
|
|
||||||
|
11 67 27 60 39
|
||||||
|
43 40 94 1 50
|
||||||
|
15 42 75 24 21
|
||||||
|
87 68 29 41 84
|
||||||
|
86 16 63 74 2
|
||||||
|
|
||||||
|
84 64 7 11 50
|
||||||
|
54 70 40 60 86
|
||||||
|
67 66 58 18 98
|
||||||
|
85 32 91 90 75
|
||||||
|
81 97 74 94 28
|
||||||
|
|
||||||
|
56 93 51 46 89
|
||||||
|
29 14 53 17 64
|
||||||
|
9 94 82 79 62
|
||||||
|
81 84 58 78 90
|
||||||
|
95 67 37 30 44
|
||||||
|
|
||||||
|
91 17 88 54 41
|
||||||
|
5 22 37 15 63
|
||||||
|
36 89 34 48 49
|
||||||
|
11 27 83 40 80
|
||||||
|
8 7 26 69 33
|
||||||
|
|
||||||
|
77 57 52 75 18
|
||||||
|
8 33 48 9 97
|
||||||
|
99 80 10 31 28
|
||||||
|
64 14 49 68 72
|
||||||
|
26 66 35 36 45
|
||||||
|
|
||||||
|
81 22 65 55 39
|
||||||
|
32 97 18 4 23
|
||||||
|
61 91 60 33 40
|
||||||
|
3 54 48 2 68
|
||||||
|
24 62 67 53 77
|
||||||
|
|
||||||
|
86 87 78 73 75
|
||||||
|
0 2 54 95 63
|
||||||
|
99 83 12 68 27
|
||||||
|
13 90 44 77 88
|
||||||
|
79 47 72 84 4
|
||||||
|
|
||||||
|
30 48 23 81 93
|
||||||
|
36 89 79 75 43
|
||||||
|
54 55 29 74 92
|
||||||
|
71 32 51 52 62
|
||||||
|
13 72 6 63 65
|
||||||
|
|
||||||
|
44 78 4 57 37
|
||||||
|
15 24 88 30 89
|
||||||
|
34 35 69 16 91
|
||||||
|
36 12 98 55 51
|
||||||
|
31 27 49 46 48
|
||||||
|
|
||||||
|
60 32 24 98 58
|
||||||
|
63 14 91 4 1
|
||||||
|
74 69 56 65 40
|
||||||
|
36 77 79 28 43
|
||||||
|
95 31 12 88 55
|
||||||
|
|
||||||
|
22 36 33 3 46
|
||||||
|
64 79 25 38 10
|
||||||
|
1 5 99 48 82
|
||||||
|
35 96 21 50 7
|
||||||
|
15 88 58 27 66
|
||||||
|
|
||||||
|
87 62 22 41 79
|
||||||
|
57 0 82 18 48
|
||||||
|
17 73 83 46 60
|
||||||
|
14 97 7 28 31
|
||||||
|
90 94 16 58 66
|
||||||
|
|
||||||
|
21 56 79 8 54
|
||||||
|
35 58 25 12 22
|
||||||
|
27 75 7 93 86
|
||||||
|
3 99 9 59 32
|
||||||
|
45 40 64 60 68
|
||||||
|
|
||||||
|
96 26 19 49 28
|
||||||
|
7 58 72 14 12
|
||||||
|
55 80 1 35 71
|
||||||
|
29 41 63 74 65
|
||||||
|
69 46 75 82 73
|
||||||
|
|
||||||
|
57 71 64 13 56
|
||||||
|
31 77 95 40 66
|
||||||
|
80 9 7 88 49
|
||||||
|
73 47 82 46 75
|
||||||
|
23 15 1 36 2
|
||||||
|
|
||||||
|
62 23 58 0 75
|
||||||
|
14 96 60 85 59
|
||||||
|
49 43 80 64 29
|
||||||
|
5 44 24 30 54
|
||||||
|
78 90 98 97 38
|
||||||
|
|
||||||
|
86 40 56 32 41
|
||||||
|
27 19 69 30 77
|
||||||
|
48 31 4 26 58
|
||||||
|
55 78 94 34 99
|
||||||
|
72 65 92 37 71
|
||||||
|
|
||||||
|
16 23 61 65 34
|
||||||
|
62 88 52 10 29
|
||||||
|
11 77 67 2 90
|
||||||
|
44 30 82 32 13
|
||||||
|
26 53 56 93 9
|
||||||
|
|
||||||
|
60 6 79 29 12
|
||||||
|
28 68 21 71 97
|
||||||
|
3 24 34 63 95
|
||||||
|
13 52 74 18 91
|
||||||
|
14 64 57 94 20
|
||||||
|
|
||||||
|
98 84 40 24 45
|
||||||
|
69 81 1 85 49
|
||||||
|
91 29 78 7 35
|
||||||
|
5 20 27 93 61
|
||||||
|
47 95 43 39 17
|
||||||
|
|
||||||
|
49 35 97 41 26
|
||||||
|
10 51 36 94 14
|
||||||
|
65 83 82 27 55
|
||||||
|
24 88 29 13 95
|
||||||
|
56 57 38 16 21
|
||||||
|
|
||||||
|
98 3 62 58 45
|
||||||
|
67 17 81 93 19
|
||||||
|
86 42 10 99 51
|
||||||
|
8 57 55 63 92
|
||||||
|
25 50 76 18 4
|
||||||
|
|
||||||
|
39 99 67 56 30
|
||||||
|
41 1 7 68 70
|
||||||
|
37 75 29 62 50
|
||||||
|
61 55 16 52 15
|
||||||
|
84 0 73 31 33
|
||||||
|
|
||||||
|
19 3 87 72 90
|
||||||
|
57 43 35 8 15
|
||||||
|
51 10 4 42 56
|
||||||
|
86 62 25 29 83
|
||||||
|
97 49 28 70 59
|
||||||
|
|
||||||
|
8 13 31 38 59
|
||||||
|
86 94 55 10 1
|
||||||
|
81 18 45 48 32
|
||||||
|
43 25 37 49 67
|
||||||
|
22 95 11 82 44
|
||||||
|
|
||||||
|
12 87 40 76 5
|
||||||
|
18 43 69 98 27
|
||||||
|
30 4 63 20 89
|
||||||
|
7 97 0 9 54
|
||||||
|
39 45 25 53 52
|
||||||
|
|
||||||
|
14 32 62 54 56
|
||||||
|
57 66 19 99 51
|
||||||
|
65 41 90 94 11
|
||||||
|
36 10 87 83 73
|
||||||
|
84 82 50 95 29
|
||||||
|
|
||||||
|
2 92 14 4 11
|
||||||
|
9 63 81 20 46
|
||||||
|
26 39 70 15 7
|
||||||
|
18 85 68 79 84
|
||||||
|
74 32 57 12 28
|
||||||
|
|
||||||
|
70 59 90 17 15
|
||||||
|
33 16 3 41 26
|
||||||
|
8 49 73 95 76
|
||||||
|
93 13 94 55 91
|
||||||
|
20 54 30 74 52
|
||||||
|
|
||||||
|
95 8 54 84 34
|
||||||
|
33 24 68 14 64
|
||||||
|
88 42 27 10 20
|
||||||
|
70 40 52 6 32
|
||||||
|
99 9 1 72 73
|
||||||
|
|
||||||
|
81 63 67 98 79
|
||||||
|
42 14 48 74 4
|
||||||
|
10 51 8 13 56
|
||||||
|
90 61 3 18 23
|
||||||
|
33 58 43 75 41
|
||||||
|
|
||||||
|
93 42 68 44 53
|
||||||
|
26 1 21 22 64
|
||||||
|
56 32 30 9 35
|
||||||
|
63 91 29 40 47
|
||||||
|
99 57 11 96 15
|
||||||
|
|
||||||
|
43 29 69 68 65
|
||||||
|
23 16 15 86 6
|
||||||
|
50 56 78 9 21
|
||||||
|
73 82 36 7 22
|
||||||
|
8 18 37 58 95
|
||||||
|
|
||||||
|
19 85 36 73 71
|
||||||
|
65 62 14 52 3
|
||||||
|
30 83 44 41 5
|
||||||
|
55 15 0 61 95
|
||||||
|
28 13 32 31 88
|
||||||
|
|
||||||
|
48 92 33 50 7
|
||||||
|
11 47 46 35 76
|
||||||
|
36 37 54 2 89
|
||||||
|
23 63 52 69 9
|
||||||
|
56 20 67 14 43
|
||||||
|
|
||||||
|
38 28 47 70 57
|
||||||
|
4 85 46 97 34
|
||||||
|
14 94 2 35 72
|
||||||
|
27 58 63 68 39
|
||||||
|
6 92 54 91 96
|
||||||
|
|
||||||
|
28 96 60 89 37
|
||||||
|
83 77 57 5 27
|
||||||
|
71 67 99 91 29
|
||||||
|
88 10 41 19 50
|
||||||
|
76 9 20 14 98
|
||||||
|
|
||||||
|
52 43 80 33 1
|
||||||
|
68 83 59 37 87
|
||||||
|
10 85 24 90 58
|
||||||
|
48 79 69 27 42
|
||||||
|
76 61 86 23 7
|
||||||
|
|
||||||
|
72 49 51 12 43
|
||||||
|
73 56 83 4 27
|
||||||
|
48 94 38 18 32
|
||||||
|
14 96 36 8 13
|
||||||
|
87 60 5 77 42
|
||||||
|
|
||||||
|
41 36 16 28 2
|
||||||
|
94 15 97 70 48
|
||||||
|
32 39 80 95 69
|
||||||
|
31 75 21 8 19
|
||||||
|
79 65 50 14 67
|
||||||
|
|
||||||
|
76 67 16 49 87
|
||||||
|
3 22 11 82 65
|
||||||
|
73 15 78 13 52
|
||||||
|
19 17 64 9 56
|
||||||
|
60 77 24 91 38
|
||||||
|
|
||||||
|
11 56 41 8 86
|
||||||
|
53 38 69 62 67
|
||||||
|
32 6 35 24 66
|
||||||
|
57 84 83 49 2
|
||||||
|
82 88 10 28 47
|
||||||
|
|
||||||
|
13 60 28 34 76
|
||||||
|
57 54 59 48 99
|
||||||
|
19 85 53 22 45
|
||||||
|
9 69 55 32 64
|
||||||
|
70 15 5 71 33
|
||||||
|
|
||||||
|
91 63 9 8 85
|
||||||
|
37 46 23 60 24
|
||||||
|
59 50 87 43 3
|
||||||
|
57 47 51 98 25
|
||||||
|
53 86 4 42 52
|
||||||
|
|
||||||
|
19 82 11 14 89
|
||||||
|
4 78 92 43 5
|
||||||
|
96 61 67 47 69
|
||||||
|
50 45 49 86 44
|
||||||
|
27 88 32 98 59
|
||||||
|
|
||||||
|
83 8 33 54 16
|
||||||
|
30 95 23 86 27
|
||||||
|
44 72 5 43 2
|
||||||
|
76 26 28 63 81
|
||||||
|
24 37 45 90 73
|
||||||
|
|
||||||
|
16 48 9 62 61
|
||||||
|
50 45 92 59 4
|
||||||
|
56 86 98 3 44
|
||||||
|
76 43 97 40 11
|
||||||
|
38 58 67 20 74
|
||||||
|
|
||||||
|
14 75 39 44 42
|
||||||
|
47 80 99 57 77
|
||||||
|
1 48 24 85 79
|
||||||
|
68 38 25 28 49
|
||||||
|
17 20 11 36 67
|
||||||
|
|
||||||
|
67 59 32 19 53
|
||||||
|
45 26 0 35 91
|
||||||
|
85 80 89 51 25
|
||||||
|
7 95 11 78 73
|
||||||
|
50 5 1 88 62
|
||||||
|
|
||||||
|
38 91 25 80 14
|
||||||
|
26 96 82 52 67
|
||||||
|
8 53 92 77 34
|
||||||
|
49 76 50 35 42
|
||||||
|
66 17 85 75 16
|
||||||
|
|
||||||
|
36 63 78 73 26
|
||||||
|
51 28 74 57 54
|
||||||
|
21 27 14 2 67
|
||||||
|
19 69 16 40 41
|
||||||
|
95 45 38 70 8
|
||||||
|
|
||||||
|
12 23 17 46 91
|
||||||
|
75 88 58 25 9
|
||||||
|
65 64 62 49 33
|
||||||
|
27 59 63 21 73
|
||||||
|
56 31 87 81 0
|
||||||
|
|
||||||
|
14 82 79 46 51
|
||||||
|
32 77 11 1 99
|
||||||
|
0 29 15 25 64
|
||||||
|
44 16 35 60 95
|
||||||
|
41 54 72 61 87
|
||||||
|
|
||||||
|
58 2 13 51 1
|
||||||
|
29 97 98 71 36
|
||||||
|
66 89 50 38 62
|
||||||
|
87 42 79 75 76
|
||||||
|
37 6 77 11 72
|
||||||
|
|
||||||
|
97 98 88 90 73
|
||||||
|
36 50 71 33 57
|
||||||
|
44 9 37 54 25
|
||||||
|
27 15 13 77 60
|
||||||
|
21 24 72 68 85
|
||||||
|
|
||||||
|
77 58 45 95 32
|
||||||
|
38 79 84 56 90
|
||||||
|
1 70 24 88 12
|
||||||
|
7 91 98 9 18
|
||||||
|
93 89 37 81 25
|
||||||
|
|
||||||
|
53 34 44 59 46
|
||||||
|
61 42 89 37 15
|
||||||
|
23 30 43 3 55
|
||||||
|
49 6 60 79 50
|
||||||
|
77 10 92 36 17
|
||||||
|
|
||||||
|
60 14 58 49 19
|
||||||
|
9 87 80 76 3
|
||||||
|
81 62 66 38 50
|
||||||
|
53 28 69 12 64
|
||||||
|
98 83 72 34 85
|
||||||
|
|
||||||
|
38 30 52 43 24
|
||||||
|
75 29 57 4 3
|
||||||
|
97 72 94 41 19
|
||||||
|
80 90 39 9 20
|
||||||
|
6 91 10 44 67
|
||||||
|
|
||||||
|
51 43 76 64 42
|
||||||
|
16 56 46 82 99
|
||||||
|
55 72 35 39 65
|
||||||
|
66 86 93 23 34
|
||||||
|
31 84 9 96 74
|
||||||
|
|
||||||
|
64 68 14 2 97
|
||||||
|
88 22 99 23 28
|
||||||
|
5 41 11 47 63
|
||||||
|
81 17 10 27 89
|
||||||
|
24 36 0 58 86
|
||||||
|
|
||||||
|
20 34 1 89 36
|
||||||
|
86 15 79 30 17
|
||||||
|
96 31 4 50 16
|
||||||
|
92 23 61 12 99
|
||||||
|
60 65 91 13 76
|
||||||
|
|
||||||
|
41 67 90 27 78
|
||||||
|
85 48 40 57 19
|
||||||
|
43 36 30 11 68
|
||||||
|
16 91 76 74 81
|
||||||
|
97 39 86 75 80
|
||||||
|
|
||||||
|
94 92 54 14 60
|
||||||
|
31 17 39 77 73
|
||||||
|
11 12 52 49 40
|
||||||
|
63 96 68 35 71
|
||||||
|
98 75 37 65 44
|
||||||
|
|
||||||
|
3 97 59 72 85
|
||||||
|
14 55 96 87 28
|
||||||
|
47 63 91 81 50
|
||||||
|
68 79 9 35 37
|
||||||
|
49 10 1 24 20
|
||||||
|
|
||||||
|
42 66 54 29 95
|
||||||
|
47 28 81 14 68
|
||||||
|
37 15 22 58 13
|
||||||
|
49 36 90 72 5
|
||||||
|
74 71 88 34 70
|
||||||
|
|
||||||
|
34 65 39 6 86
|
||||||
|
80 43 8 14 27
|
||||||
|
72 45 0 25 23
|
||||||
|
50 2 13 41 26
|
||||||
|
64 18 9 69 35
|
||||||
|
|
||||||
|
36 43 4 3 90
|
||||||
|
69 47 95 10 65
|
||||||
|
6 56 30 13 22
|
||||||
|
55 50 63 99 76
|
||||||
|
54 92 51 96 23
|
||||||
|
|
||||||
|
56 4 52 37 98
|
||||||
|
84 49 95 33 85
|
||||||
|
34 87 75 15 91
|
||||||
|
14 68 13 24 97
|
||||||
|
59 58 10 90 93
|
||||||
|
|
||||||
|
26 63 36 68 39
|
||||||
|
47 79 33 25 8
|
||||||
|
91 52 11 59 93
|
||||||
|
50 67 96 34 6
|
||||||
|
20 54 41 89 3
|
||||||
|
|
||||||
|
63 59 34 62 74
|
||||||
|
84 76 88 54 8
|
||||||
|
15 61 60 7 77
|
||||||
|
22 55 18 80 37
|
||||||
|
90 2 94 91 70
|
||||||
|
|
||||||
|
23 12 16 11 50
|
||||||
|
59 27 58 32 35
|
||||||
|
92 42 75 19 70
|
||||||
|
31 88 28 30 95
|
||||||
|
17 72 80 39 91
|
||||||
|
|
||||||
|
38 46 18 54 76
|
||||||
|
25 22 47 10 11
|
||||||
|
63 29 74 71 92
|
||||||
|
75 98 0 65 4
|
||||||
|
87 14 13 64 12
|
||||||
|
|
19
2021/04/testinput
Normal file
19
2021/04/testinput
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
7,4,9,5,11,17,23,2,0,14,21,24,10,16,13,6,15,25,12,22,18,20,8,19,3,26,1
|
||||||
|
|
||||||
|
22 13 17 11 0
|
||||||
|
8 2 23 4 24
|
||||||
|
21 9 14 16 7
|
||||||
|
6 10 3 18 5
|
||||||
|
1 12 20 15 19
|
||||||
|
|
||||||
|
3 15 0 2 22
|
||||||
|
9 18 13 17 5
|
||||||
|
19 8 7 25 23
|
||||||
|
20 11 10 24 4
|
||||||
|
14 21 16 12 6
|
||||||
|
|
||||||
|
14 21 17 24 4
|
||||||
|
10 16 15 9 19
|
||||||
|
18 8 23 26 20
|
||||||
|
22 11 13 6 5
|
||||||
|
2 0 12 3 7
|
0
2021/05/README.md
Normal file
0
2021/05/README.md
Normal file
145
2021/05/first.ts
Normal file
145
2021/05/first.ts
Normal file
@ -0,0 +1,145 @@
|
|||||||
|
import fs from 'fs'
|
||||||
|
const values = fs.readFileSync('input', 'utf8')
|
||||||
|
function main() {
|
||||||
|
let coordinates = values
|
||||||
|
.split('\n')
|
||||||
|
.map((x) => x.split(' -> '))
|
||||||
|
.map((y) => y.map((z) => z.split(',')))
|
||||||
|
doDiagonalLinesCalculation(coordinates)
|
||||||
|
doStraightLinesCalculation(coordinates)
|
||||||
|
}
|
||||||
|
|
||||||
|
async function doDiagonalLinesCalculation(c: string[][][]): Promise<void> {
|
||||||
|
let ventLocations = makeVentLocationList(c)
|
||||||
|
let diagnoalLines = ventLocations.map(expandLines)
|
||||||
|
buildOceanFloor(diagnoalLines, true)
|
||||||
|
}
|
||||||
|
async function doStraightLinesCalculation(c: string[][][]): Promise<void> {
|
||||||
|
let ventLocations = makeVentLocationList(c)
|
||||||
|
let straightVents = ventLocations.filter(filterVentLocForStraightLines)
|
||||||
|
let straightLines = straightVents.map(expandLines)
|
||||||
|
buildOceanFloor(straightLines)
|
||||||
|
}
|
||||||
|
function makeVentLocationList(coordinates: string[][][]): thermalVent[] {
|
||||||
|
let vl: thermalVent[] = []
|
||||||
|
for (const coord of coordinates) {
|
||||||
|
if (coord.length == 1) continue
|
||||||
|
let startLoc = {
|
||||||
|
x: parseInt(coord[0][0]),
|
||||||
|
y: parseInt(coord[0][1])
|
||||||
|
}
|
||||||
|
let endLoc = {
|
||||||
|
x: parseInt(coord[1][0]),
|
||||||
|
y: parseInt(coord[1][1])
|
||||||
|
}
|
||||||
|
vl.push({ start: startLoc, end: endLoc, body: [startLoc, endLoc] })
|
||||||
|
}
|
||||||
|
return vl
|
||||||
|
}
|
||||||
|
function filterVentLocForStraightLines(v: thermalVent): boolean {
|
||||||
|
return v.start.x == v.end.x || v.start.y == v.end.y
|
||||||
|
}
|
||||||
|
function setKeyToMap(key: string, oceanFloor: Map<string, number>): void {
|
||||||
|
if (oceanFloor.has(key)) {
|
||||||
|
let cellValue = oceanFloor.get(key)
|
||||||
|
if (cellValue) {
|
||||||
|
oceanFloor.set(key, (cellValue += 1))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
oceanFloor.set(key, 1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function buildOceanFloor(straighLines: thermalVent[], diagonal?: boolean): void {
|
||||||
|
let oceanFloor = new Map<string, number>()
|
||||||
|
for (const vent of straighLines) {
|
||||||
|
if (vent.body) {
|
||||||
|
for (const location of vent.body) {
|
||||||
|
setKeyToMap(`${location.x},${location.y}`, oceanFloor)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (diagonal) console.log(`Diagonal crossings: ${getCrossings(oceanFloor)}`)
|
||||||
|
else console.log(`Straight crossings: ${getCrossings(oceanFloor)}`)
|
||||||
|
}
|
||||||
|
function getCrossings(oceanFloor: Map<string, number>): number {
|
||||||
|
let valid = 0
|
||||||
|
oceanFloor.forEach((v, k, m) => {
|
||||||
|
if (v >= 2) valid++
|
||||||
|
})
|
||||||
|
return valid
|
||||||
|
}
|
||||||
|
|
||||||
|
function expandLines(t: thermalVent): thermalVent {
|
||||||
|
// console.log(`Expanding: ${JSON.stringify(t)}`)
|
||||||
|
if (t.start.x == t.end.x) {
|
||||||
|
if (t.start.y < t.end.y) {
|
||||||
|
for (let i = t.start.y + 1; i < t.end.y; i++) {
|
||||||
|
const newSection = { x: t.start.x, y: i }
|
||||||
|
t.body?.splice(t.body.length - 1, 0, newSection)
|
||||||
|
}
|
||||||
|
// console.log(`\tDone Expanding Y Forward: ${JSON.stringify(t.body)}`)
|
||||||
|
} else if (t.start.y > t.end.y) {
|
||||||
|
for (let i = t.start.y - 1; i > t.end.y; i--) {
|
||||||
|
const newSection = { x: t.start.x, y: i }
|
||||||
|
t.body?.splice(t.body.length - 1, 0, newSection)
|
||||||
|
}
|
||||||
|
// console.log(`\tDone Expanding Y Backward: ${JSON.stringify(t.body)}`)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//forward
|
||||||
|
if (t.start.y == t.end.y) {
|
||||||
|
if (t.start.x < t.end.x) {
|
||||||
|
for (let i = t.start.x + 1; i < t.end.x; i++) {
|
||||||
|
const newSection = { x: i, y: t.start.y }
|
||||||
|
t.body?.splice(t.body.length - 1, 0, newSection)
|
||||||
|
}
|
||||||
|
// console.log(`\tDone Expanding X Forward: ${JSON.stringify(t.body)}`)
|
||||||
|
} else if (t.start.x > t.end.x) {
|
||||||
|
for (let i = t.start.x - 1; i > t.end.x; i--) {
|
||||||
|
const newSection = { x: i, y: t.start.y }
|
||||||
|
// console.log(JSON.stringify(newSection))
|
||||||
|
t.body?.splice(t.body.length - 1, 0, newSection)
|
||||||
|
// console.log(JSON.stringify(t.body))
|
||||||
|
}
|
||||||
|
// console.log(`\tDone Expanding X Backward: ${JSON.stringify(t.body)}`)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (t.start.x != t.end.x && t.start.y != t.end.y) {
|
||||||
|
if (t.start.x < t.end.x) {
|
||||||
|
for (let i = t.start.x + 1; i < t.end.x; i++) {
|
||||||
|
const newSection = { x: i, y: t.start.y }
|
||||||
|
t.body?.splice(t.body.length - 1, 0, newSection)
|
||||||
|
}
|
||||||
|
// console.log(`\tDone Expanding X Forward: ${JSON.stringify(t.body)}`)
|
||||||
|
} else if (t.start.x > t.end.x) {
|
||||||
|
for (let i = t.start.x - 1; i > t.end.x; i--) {
|
||||||
|
const newSection = { x: i, y: t.start.y }
|
||||||
|
t.body?.splice(t.body.length - 1, 0, newSection)
|
||||||
|
}
|
||||||
|
// console.log(`\tDone Expanding X Backward: ${JSON.stringify(t.body)}`)
|
||||||
|
}
|
||||||
|
if (t.start.y < t.end.y) {
|
||||||
|
for (let i = 1; i < t.body?.length - 1; i++) {
|
||||||
|
t.body[i].y = t.body[i - 1].y + 1
|
||||||
|
}
|
||||||
|
} else if (t.start.y > t.end.y) {
|
||||||
|
for (let i = 1; i < t.body?.length - 1; i++) {
|
||||||
|
t.body[i].y = t.body[i - 1].y - 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return t
|
||||||
|
}
|
||||||
|
|
||||||
|
interface thermalVent {
|
||||||
|
end: ventLocation
|
||||||
|
start: ventLocation
|
||||||
|
body: ventLocation[]
|
||||||
|
}
|
||||||
|
interface ventLocation {
|
||||||
|
x: number
|
||||||
|
y: number
|
||||||
|
}
|
||||||
|
|
||||||
|
main()
|
500
2021/05/input
Normal file
500
2021/05/input
Normal file
@ -0,0 +1,500 @@
|
|||||||
|
503,977 -> 843,637
|
||||||
|
437,518 -> 437,225
|
||||||
|
269,250 -> 625,250
|
||||||
|
846,751 -> 646,751
|
||||||
|
18,731 -> 402,731
|
||||||
|
749,923 -> 749,986
|
||||||
|
557,758 -> 557,797
|
||||||
|
589,54 -> 589,616
|
||||||
|
20,136 -> 819,935
|
||||||
|
123,983 -> 12,983
|
||||||
|
802,624 -> 709,624
|
||||||
|
600,458 -> 128,458
|
||||||
|
209,703 -> 459,703
|
||||||
|
944,415 -> 742,415
|
||||||
|
270,718 -> 656,332
|
||||||
|
168,339 -> 283,339
|
||||||
|
558,172 -> 695,309
|
||||||
|
519,524 -> 480,524
|
||||||
|
456,400 -> 134,722
|
||||||
|
355,961 -> 352,961
|
||||||
|
757,158 -> 49,866
|
||||||
|
300,254 -> 618,254
|
||||||
|
554,275 -> 859,275
|
||||||
|
47,612 -> 622,37
|
||||||
|
696,885 -> 696,856
|
||||||
|
342,803 -> 342,429
|
||||||
|
830,649 -> 254,73
|
||||||
|
54,921 -> 958,17
|
||||||
|
72,691 -> 818,691
|
||||||
|
80,72 -> 80,546
|
||||||
|
762,649 -> 762,371
|
||||||
|
117,39 -> 605,39
|
||||||
|
778,605 -> 610,773
|
||||||
|
159,25 -> 67,25
|
||||||
|
462,825 -> 766,825
|
||||||
|
295,167 -> 357,167
|
||||||
|
741,379 -> 11,379
|
||||||
|
942,230 -> 942,26
|
||||||
|
802,672 -> 802,311
|
||||||
|
672,759 -> 330,759
|
||||||
|
419,97 -> 848,526
|
||||||
|
244,262 -> 938,956
|
||||||
|
281,988 -> 281,879
|
||||||
|
471,451 -> 471,907
|
||||||
|
238,387 -> 238,665
|
||||||
|
907,129 -> 907,368
|
||||||
|
119,734 -> 155,770
|
||||||
|
306,119 -> 306,568
|
||||||
|
166,175 -> 166,277
|
||||||
|
591,32 -> 591,855
|
||||||
|
779,324 -> 916,324
|
||||||
|
785,245 -> 884,245
|
||||||
|
504,884 -> 781,884
|
||||||
|
405,967 -> 664,967
|
||||||
|
17,16 -> 989,988
|
||||||
|
429,944 -> 729,944
|
||||||
|
15,31 -> 918,934
|
||||||
|
22,963 -> 971,14
|
||||||
|
199,280 -> 481,562
|
||||||
|
792,550 -> 792,485
|
||||||
|
215,141 -> 215,58
|
||||||
|
511,560 -> 511,224
|
||||||
|
940,134 -> 166,908
|
||||||
|
666,212 -> 666,193
|
||||||
|
881,514 -> 117,514
|
||||||
|
271,416 -> 614,73
|
||||||
|
354,784 -> 354,41
|
||||||
|
866,152 -> 866,969
|
||||||
|
75,924 -> 868,131
|
||||||
|
944,507 -> 944,556
|
||||||
|
726,315 -> 624,315
|
||||||
|
195,122 -> 593,520
|
||||||
|
463,311 -> 946,794
|
||||||
|
734,698 -> 734,953
|
||||||
|
520,98 -> 915,98
|
||||||
|
125,139 -> 616,139
|
||||||
|
570,841 -> 206,477
|
||||||
|
430,442 -> 430,893
|
||||||
|
653,59 -> 653,155
|
||||||
|
906,883 -> 314,291
|
||||||
|
932,157 -> 100,989
|
||||||
|
526,244 -> 362,244
|
||||||
|
28,837 -> 792,73
|
||||||
|
386,426 -> 386,673
|
||||||
|
121,66 -> 203,66
|
||||||
|
747,121 -> 392,476
|
||||||
|
590,989 -> 230,989
|
||||||
|
795,83 -> 795,398
|
||||||
|
741,522 -> 741,677
|
||||||
|
142,166 -> 470,166
|
||||||
|
13,645 -> 493,165
|
||||||
|
418,567 -> 418,970
|
||||||
|
94,877 -> 782,189
|
||||||
|
603,426 -> 603,916
|
||||||
|
364,304 -> 191,304
|
||||||
|
754,146 -> 754,507
|
||||||
|
294,678 -> 438,678
|
||||||
|
641,633 -> 217,633
|
||||||
|
31,133 -> 831,933
|
||||||
|
250,976 -> 250,355
|
||||||
|
274,558 -> 899,558
|
||||||
|
818,507 -> 693,507
|
||||||
|
414,465 -> 924,975
|
||||||
|
116,729 -> 116,951
|
||||||
|
960,843 -> 149,32
|
||||||
|
724,127 -> 498,353
|
||||||
|
552,43 -> 964,43
|
||||||
|
224,853 -> 224,363
|
||||||
|
768,214 -> 768,88
|
||||||
|
518,414 -> 518,119
|
||||||
|
917,824 -> 948,824
|
||||||
|
37,81 -> 882,926
|
||||||
|
333,390 -> 967,390
|
||||||
|
175,453 -> 388,240
|
||||||
|
960,395 -> 960,697
|
||||||
|
468,37 -> 468,275
|
||||||
|
745,318 -> 425,318
|
||||||
|
676,425 -> 903,198
|
||||||
|
531,663 -> 86,663
|
||||||
|
557,834 -> 557,967
|
||||||
|
650,931 -> 383,664
|
||||||
|
906,197 -> 906,567
|
||||||
|
675,637 -> 326,288
|
||||||
|
227,977 -> 51,977
|
||||||
|
347,524 -> 793,970
|
||||||
|
778,850 -> 778,342
|
||||||
|
343,155 -> 343,739
|
||||||
|
970,167 -> 161,976
|
||||||
|
800,127 -> 800,667
|
||||||
|
531,533 -> 193,533
|
||||||
|
222,776 -> 222,873
|
||||||
|
922,29 -> 13,938
|
||||||
|
452,808 -> 452,793
|
||||||
|
926,142 -> 926,198
|
||||||
|
940,93 -> 55,978
|
||||||
|
335,51 -> 938,654
|
||||||
|
789,352 -> 307,352
|
||||||
|
457,419 -> 469,419
|
||||||
|
463,12 -> 463,132
|
||||||
|
881,95 -> 431,95
|
||||||
|
531,57 -> 531,40
|
||||||
|
179,308 -> 516,308
|
||||||
|
767,907 -> 629,907
|
||||||
|
362,457 -> 362,262
|
||||||
|
774,896 -> 154,276
|
||||||
|
549,243 -> 247,243
|
||||||
|
130,933 -> 202,933
|
||||||
|
266,639 -> 189,716
|
||||||
|
209,717 -> 209,844
|
||||||
|
625,296 -> 625,575
|
||||||
|
739,785 -> 873,785
|
||||||
|
713,857 -> 94,238
|
||||||
|
97,28 -> 937,868
|
||||||
|
876,734 -> 344,202
|
||||||
|
180,608 -> 557,608
|
||||||
|
669,566 -> 669,389
|
||||||
|
112,779 -> 267,624
|
||||||
|
325,669 -> 449,669
|
||||||
|
102,915 -> 357,915
|
||||||
|
882,839 -> 882,512
|
||||||
|
330,699 -> 330,858
|
||||||
|
773,851 -> 773,429
|
||||||
|
171,187 -> 450,187
|
||||||
|
166,726 -> 166,74
|
||||||
|
15,134 -> 750,869
|
||||||
|
245,126 -> 245,518
|
||||||
|
919,484 -> 919,602
|
||||||
|
918,900 -> 918,372
|
||||||
|
736,515 -> 708,487
|
||||||
|
790,777 -> 790,303
|
||||||
|
479,541 -> 381,541
|
||||||
|
85,243 -> 317,475
|
||||||
|
619,441 -> 619,823
|
||||||
|
688,658 -> 688,404
|
||||||
|
381,475 -> 891,985
|
||||||
|
461,529 -> 145,213
|
||||||
|
833,885 -> 404,885
|
||||||
|
315,502 -> 315,770
|
||||||
|
450,934 -> 740,934
|
||||||
|
634,334 -> 634,202
|
||||||
|
785,866 -> 785,913
|
||||||
|
976,627 -> 976,102
|
||||||
|
65,491 -> 570,491
|
||||||
|
974,257 -> 503,728
|
||||||
|
662,938 -> 720,938
|
||||||
|
232,472 -> 215,472
|
||||||
|
805,504 -> 805,476
|
||||||
|
99,909 -> 99,399
|
||||||
|
64,947 -> 926,85
|
||||||
|
123,645 -> 153,615
|
||||||
|
908,10 -> 92,826
|
||||||
|
49,174 -> 819,944
|
||||||
|
115,136 -> 863,884
|
||||||
|
695,91 -> 695,612
|
||||||
|
715,527 -> 550,362
|
||||||
|
914,125 -> 914,86
|
||||||
|
14,980 -> 981,13
|
||||||
|
14,308 -> 14,355
|
||||||
|
356,895 -> 766,485
|
||||||
|
989,10 -> 10,989
|
||||||
|
833,292 -> 833,184
|
||||||
|
786,785 -> 733,785
|
||||||
|
824,53 -> 116,53
|
||||||
|
349,547 -> 349,66
|
||||||
|
594,189 -> 636,189
|
||||||
|
359,399 -> 769,809
|
||||||
|
600,751 -> 600,46
|
||||||
|
520,236 -> 228,528
|
||||||
|
978,610 -> 978,832
|
||||||
|
689,575 -> 258,575
|
||||||
|
664,734 -> 850,920
|
||||||
|
245,672 -> 245,878
|
||||||
|
337,509 -> 578,509
|
||||||
|
893,613 -> 380,613
|
||||||
|
875,608 -> 875,444
|
||||||
|
264,701 -> 946,19
|
||||||
|
358,267 -> 358,648
|
||||||
|
926,61 -> 926,378
|
||||||
|
46,885 -> 190,885
|
||||||
|
662,131 -> 82,131
|
||||||
|
301,53 -> 301,533
|
||||||
|
21,839 -> 915,839
|
||||||
|
92,174 -> 113,174
|
||||||
|
145,680 -> 294,680
|
||||||
|
268,773 -> 268,193
|
||||||
|
698,893 -> 809,893
|
||||||
|
300,512 -> 807,512
|
||||||
|
749,408 -> 279,408
|
||||||
|
439,214 -> 439,172
|
||||||
|
622,740 -> 339,740
|
||||||
|
400,253 -> 400,486
|
||||||
|
859,686 -> 387,214
|
||||||
|
974,485 -> 974,486
|
||||||
|
70,987 -> 951,106
|
||||||
|
630,449 -> 630,544
|
||||||
|
796,212 -> 608,24
|
||||||
|
835,959 -> 835,725
|
||||||
|
779,755 -> 96,72
|
||||||
|
582,778 -> 440,636
|
||||||
|
350,479 -> 827,479
|
||||||
|
924,40 -> 605,40
|
||||||
|
918,832 -> 918,617
|
||||||
|
669,590 -> 191,112
|
||||||
|
748,214 -> 748,462
|
||||||
|
350,703 -> 163,703
|
||||||
|
393,791 -> 393,240
|
||||||
|
569,857 -> 569,939
|
||||||
|
412,375 -> 412,603
|
||||||
|
488,975 -> 22,509
|
||||||
|
100,372 -> 100,685
|
||||||
|
170,669 -> 212,669
|
||||||
|
546,734 -> 546,274
|
||||||
|
492,172 -> 492,354
|
||||||
|
36,134 -> 801,899
|
||||||
|
501,773 -> 582,773
|
||||||
|
287,694 -> 287,939
|
||||||
|
381,988 -> 367,988
|
||||||
|
609,360 -> 609,478
|
||||||
|
310,158 -> 25,443
|
||||||
|
409,716 -> 409,27
|
||||||
|
655,959 -> 383,687
|
||||||
|
16,697 -> 611,102
|
||||||
|
184,290 -> 930,290
|
||||||
|
580,79 -> 598,97
|
||||||
|
950,65 -> 777,65
|
||||||
|
144,288 -> 821,965
|
||||||
|
986,685 -> 986,412
|
||||||
|
549,702 -> 549,369
|
||||||
|
841,148 -> 259,730
|
||||||
|
958,31 -> 958,810
|
||||||
|
12,908 -> 856,64
|
||||||
|
264,793 -> 264,960
|
||||||
|
249,115 -> 249,935
|
||||||
|
707,714 -> 108,714
|
||||||
|
527,192 -> 982,647
|
||||||
|
703,883 -> 703,580
|
||||||
|
535,346 -> 543,346
|
||||||
|
851,185 -> 83,953
|
||||||
|
984,586 -> 984,681
|
||||||
|
913,574 -> 350,11
|
||||||
|
317,221 -> 405,221
|
||||||
|
398,673 -> 160,435
|
||||||
|
953,264 -> 547,670
|
||||||
|
790,115 -> 538,367
|
||||||
|
943,236 -> 295,884
|
||||||
|
571,746 -> 571,231
|
||||||
|
286,318 -> 131,318
|
||||||
|
143,251 -> 436,544
|
||||||
|
838,435 -> 793,435
|
||||||
|
732,782 -> 732,407
|
||||||
|
244,287 -> 244,335
|
||||||
|
376,29 -> 75,29
|
||||||
|
604,732 -> 738,732
|
||||||
|
730,30 -> 533,30
|
||||||
|
891,474 -> 891,25
|
||||||
|
786,140 -> 368,140
|
||||||
|
951,583 -> 828,460
|
||||||
|
665,897 -> 44,276
|
||||||
|
217,905 -> 742,905
|
||||||
|
745,583 -> 256,583
|
||||||
|
923,22 -> 23,922
|
||||||
|
763,336 -> 943,516
|
||||||
|
755,678 -> 755,101
|
||||||
|
35,790 -> 706,119
|
||||||
|
841,658 -> 841,634
|
||||||
|
986,66 -> 986,412
|
||||||
|
740,69 -> 740,878
|
||||||
|
852,733 -> 453,733
|
||||||
|
657,273 -> 215,715
|
||||||
|
239,824 -> 239,79
|
||||||
|
340,482 -> 340,238
|
||||||
|
969,834 -> 303,168
|
||||||
|
238,718 -> 931,718
|
||||||
|
603,63 -> 603,363
|
||||||
|
596,135 -> 367,135
|
||||||
|
184,474 -> 184,612
|
||||||
|
39,60 -> 920,941
|
||||||
|
456,103 -> 894,541
|
||||||
|
929,35 -> 738,35
|
||||||
|
199,528 -> 707,528
|
||||||
|
649,251 -> 134,766
|
||||||
|
969,209 -> 719,459
|
||||||
|
568,45 -> 306,307
|
||||||
|
259,703 -> 426,536
|
||||||
|
964,737 -> 342,115
|
||||||
|
101,890 -> 604,890
|
||||||
|
57,223 -> 812,978
|
||||||
|
939,99 -> 167,871
|
||||||
|
920,438 -> 920,247
|
||||||
|
185,384 -> 643,384
|
||||||
|
489,783 -> 121,415
|
||||||
|
837,938 -> 250,351
|
||||||
|
63,920 -> 945,38
|
||||||
|
475,45 -> 510,10
|
||||||
|
881,872 -> 141,132
|
||||||
|
24,238 -> 24,468
|
||||||
|
409,523 -> 409,706
|
||||||
|
200,309 -> 631,740
|
||||||
|
586,385 -> 900,385
|
||||||
|
219,250 -> 219,327
|
||||||
|
854,526 -> 854,725
|
||||||
|
946,343 -> 946,267
|
||||||
|
847,746 -> 717,616
|
||||||
|
172,203 -> 346,29
|
||||||
|
693,652 -> 545,652
|
||||||
|
824,115 -> 192,115
|
||||||
|
843,908 -> 333,908
|
||||||
|
769,784 -> 662,784
|
||||||
|
490,535 -> 490,524
|
||||||
|
545,699 -> 11,699
|
||||||
|
792,544 -> 287,39
|
||||||
|
895,712 -> 895,41
|
||||||
|
887,350 -> 624,350
|
||||||
|
614,475 -> 924,165
|
||||||
|
93,961 -> 265,789
|
||||||
|
57,71 -> 852,866
|
||||||
|
282,738 -> 844,176
|
||||||
|
898,251 -> 898,669
|
||||||
|
949,872 -> 866,872
|
||||||
|
765,408 -> 545,408
|
||||||
|
691,503 -> 235,959
|
||||||
|
198,491 -> 227,462
|
||||||
|
973,40 -> 56,957
|
||||||
|
802,402 -> 752,402
|
||||||
|
911,60 -> 911,932
|
||||||
|
545,244 -> 110,244
|
||||||
|
461,26 -> 461,18
|
||||||
|
916,308 -> 161,308
|
||||||
|
368,476 -> 515,476
|
||||||
|
656,916 -> 409,669
|
||||||
|
118,950 -> 118,135
|
||||||
|
963,294 -> 365,294
|
||||||
|
855,713 -> 323,713
|
||||||
|
849,930 -> 48,129
|
||||||
|
36,337 -> 588,889
|
||||||
|
941,394 -> 941,697
|
||||||
|
685,170 -> 323,170
|
||||||
|
423,683 -> 423,152
|
||||||
|
81,522 -> 121,522
|
||||||
|
357,598 -> 159,796
|
||||||
|
211,192 -> 211,50
|
||||||
|
615,607 -> 270,952
|
||||||
|
687,384 -> 687,128
|
||||||
|
81,896 -> 925,52
|
||||||
|
591,988 -> 20,988
|
||||||
|
950,740 -> 605,740
|
||||||
|
818,772 -> 623,772
|
||||||
|
790,405 -> 790,775
|
||||||
|
483,34 -> 718,34
|
||||||
|
309,190 -> 309,894
|
||||||
|
391,83 -> 483,83
|
||||||
|
721,201 -> 721,843
|
||||||
|
990,464 -> 990,171
|
||||||
|
479,707 -> 688,707
|
||||||
|
23,775 -> 510,775
|
||||||
|
783,863 -> 867,779
|
||||||
|
594,151 -> 208,151
|
||||||
|
416,936 -> 416,720
|
||||||
|
981,972 -> 120,111
|
||||||
|
773,476 -> 138,476
|
||||||
|
604,900 -> 604,395
|
||||||
|
824,437 -> 531,437
|
||||||
|
621,948 -> 32,948
|
||||||
|
802,26 -> 887,26
|
||||||
|
836,335 -> 836,784
|
||||||
|
134,585 -> 634,85
|
||||||
|
649,87 -> 649,263
|
||||||
|
756,804 -> 638,804
|
||||||
|
982,26 -> 21,987
|
||||||
|
134,976 -> 914,196
|
||||||
|
612,539 -> 612,141
|
||||||
|
977,11 -> 22,966
|
||||||
|
40,80 -> 40,644
|
||||||
|
725,562 -> 604,562
|
||||||
|
377,649 -> 352,624
|
||||||
|
418,146 -> 130,434
|
||||||
|
848,927 -> 848,970
|
||||||
|
243,350 -> 342,449
|
||||||
|
46,10 -> 46,112
|
||||||
|
800,654 -> 272,126
|
||||||
|
910,633 -> 910,426
|
||||||
|
296,619 -> 882,33
|
||||||
|
75,922 -> 497,500
|
||||||
|
267,616 -> 864,616
|
||||||
|
884,694 -> 624,694
|
||||||
|
13,656 -> 831,656
|
||||||
|
389,390 -> 389,316
|
||||||
|
26,24 -> 987,985
|
||||||
|
193,557 -> 589,161
|
||||||
|
18,13 -> 978,973
|
||||||
|
43,951 -> 614,951
|
||||||
|
581,398 -> 885,94
|
||||||
|
943,525 -> 279,525
|
||||||
|
787,83 -> 137,83
|
||||||
|
729,271 -> 729,18
|
||||||
|
100,383 -> 100,690
|
||||||
|
337,266 -> 102,266
|
||||||
|
106,640 -> 298,832
|
||||||
|
83,65 -> 543,65
|
||||||
|
102,872 -> 663,872
|
||||||
|
921,765 -> 921,782
|
||||||
|
764,392 -> 471,685
|
||||||
|
325,987 -> 802,987
|
||||||
|
983,43 -> 983,852
|
||||||
|
833,475 -> 416,58
|
||||||
|
25,270 -> 686,931
|
||||||
|
145,433 -> 151,433
|
||||||
|
132,329 -> 973,329
|
||||||
|
611,494 -> 98,494
|
||||||
|
401,633 -> 866,168
|
||||||
|
532,126 -> 532,448
|
||||||
|
988,894 -> 361,894
|
||||||
|
249,177 -> 249,133
|
||||||
|
832,71 -> 832,245
|
||||||
|
263,70 -> 263,152
|
||||||
|
548,333 -> 548,748
|
||||||
|
98,570 -> 438,910
|
||||||
|
954,41 -> 41,954
|
||||||
|
336,199 -> 336,843
|
||||||
|
117,974 -> 845,246
|
||||||
|
831,456 -> 890,515
|
||||||
|
690,114 -> 804,114
|
||||||
|
94,108 -> 94,672
|
||||||
|
289,104 -> 107,286
|
||||||
|
248,580 -> 229,580
|
||||||
|
11,284 -> 885,284
|
||||||
|
401,802 -> 186,802
|
||||||
|
359,245 -> 558,46
|
||||||
|
310,85 -> 310,714
|
||||||
|
920,577 -> 979,577
|
||||||
|
492,236 -> 276,452
|
||||||
|
650,961 -> 49,360
|
||||||
|
118,705 -> 118,794
|
||||||
|
970,24 -> 80,914
|
||||||
|
943,454 -> 943,30
|
||||||
|
875,935 -> 716,776
|
||||||
|
241,717 -> 392,717
|
||||||
|
694,345 -> 620,345
|
||||||
|
533,435 -> 467,435
|
||||||
|
827,166 -> 374,166
|
||||||
|
633,849 -> 884,849
|
||||||
|
414,640 -> 875,179
|
||||||
|
240,790 -> 709,321
|
||||||
|
48,222 -> 104,222
|
||||||
|
889,897 -> 44,52
|
||||||
|
980,438 -> 455,963
|
||||||
|
469,875 -> 469,706
|
||||||
|
572,869 -> 250,547
|
||||||
|
834,11 -> 834,188
|
||||||
|
395,966 -> 395,547
|
||||||
|
12,681 -> 567,681
|
||||||
|
268,957 -> 947,957
|
||||||
|
450,478 -> 893,921
|
||||||
|
418,707 -> 602,891
|
||||||
|
404,303 -> 218,489
|
||||||
|
657,232 -> 657,945
|
||||||
|
518,392 -> 518,621
|
||||||
|
268,959 -> 896,331
|
||||||
|
886,616 -> 841,616
|
||||||
|
375,503 -> 375,387
|
19
2021/05/package.json
Normal file
19
2021/05/package.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"name": "05",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"main": "index.js",
|
||||||
|
"license": "MIT",
|
||||||
|
"scripts": {
|
||||||
|
"start": "node build/first.js",
|
||||||
|
"build": "tsc",
|
||||||
|
"watch": "yarn run build -- -w",
|
||||||
|
"monitor": "nodemon build/first.js"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"nodemon": "^2.0.15",
|
||||||
|
"typescript": "^4.5.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/node": "^16.11.11"
|
||||||
|
}
|
||||||
|
}
|
10
2021/05/testinput
Normal file
10
2021/05/testinput
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
0,9 -> 5,9
|
||||||
|
8,0 -> 0,8
|
||||||
|
9,4 -> 3,4
|
||||||
|
2,2 -> 2,1
|
||||||
|
7,0 -> 7,4
|
||||||
|
6,4 -> 2,0
|
||||||
|
0,9 -> 2,9
|
||||||
|
3,4 -> 1,4
|
||||||
|
0,0 -> 8,8
|
||||||
|
5,5 -> 8,2
|
14
2021/05/tsconfig.json
Normal file
14
2021/05/tsconfig.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "es6",
|
||||||
|
"module": "commonjs",
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"removeComments": true,
|
||||||
|
"preserveConstEnums": true,
|
||||||
|
"outDir": "./build",
|
||||||
|
"strict":true,
|
||||||
|
"esModuleInterop":true,
|
||||||
|
"inlineSourceMap":true
|
||||||
|
},
|
||||||
|
"exclude":["node_modules"]
|
||||||
|
}
|
780
2021/05/yarn.lock
Normal file
780
2021/05/yarn.lock
Normal file
@ -0,0 +1,780 @@
|
|||||||
|
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||||
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
|
"@sindresorhus/is@^0.14.0":
|
||||||
|
version "0.14.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
|
||||||
|
integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==
|
||||||
|
|
||||||
|
"@szmarczak/http-timer@^1.1.2":
|
||||||
|
version "1.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421"
|
||||||
|
integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==
|
||||||
|
dependencies:
|
||||||
|
defer-to-connect "^1.0.1"
|
||||||
|
|
||||||
|
"@types/node@^16.11.11":
|
||||||
|
version "16.11.11"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.11.tgz#6ea7342dfb379ea1210835bada87b3c512120234"
|
||||||
|
integrity sha512-KB0sixD67CeecHC33MYn+eYARkqTheIRNuu97y2XMjR7Wu3XibO1vaY6VBV6O/a89SPI81cEUIYT87UqUWlZNw==
|
||||||
|
|
||||||
|
abbrev@1:
|
||||||
|
version "1.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
|
||||||
|
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
|
||||||
|
|
||||||
|
ansi-align@^3.0.0:
|
||||||
|
version "3.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59"
|
||||||
|
integrity sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==
|
||||||
|
dependencies:
|
||||||
|
string-width "^4.1.0"
|
||||||
|
|
||||||
|
ansi-regex@^5.0.1:
|
||||||
|
version "5.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
|
||||||
|
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
|
||||||
|
|
||||||
|
ansi-styles@^4.0.0, ansi-styles@^4.1.0:
|
||||||
|
version "4.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937"
|
||||||
|
integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==
|
||||||
|
dependencies:
|
||||||
|
color-convert "^2.0.1"
|
||||||
|
|
||||||
|
anymatch@~3.1.2:
|
||||||
|
version "3.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716"
|
||||||
|
integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==
|
||||||
|
dependencies:
|
||||||
|
normalize-path "^3.0.0"
|
||||||
|
picomatch "^2.0.4"
|
||||||
|
|
||||||
|
balanced-match@^1.0.0:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
||||||
|
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
|
||||||
|
|
||||||
|
binary-extensions@^2.0.0:
|
||||||
|
version "2.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
|
||||||
|
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
|
||||||
|
|
||||||
|
boxen@^5.0.0:
|
||||||
|
version "5.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/boxen/-/boxen-5.1.2.tgz#788cb686fc83c1f486dfa8a40c68fc2b831d2b50"
|
||||||
|
integrity sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==
|
||||||
|
dependencies:
|
||||||
|
ansi-align "^3.0.0"
|
||||||
|
camelcase "^6.2.0"
|
||||||
|
chalk "^4.1.0"
|
||||||
|
cli-boxes "^2.2.1"
|
||||||
|
string-width "^4.2.2"
|
||||||
|
type-fest "^0.20.2"
|
||||||
|
widest-line "^3.1.0"
|
||||||
|
wrap-ansi "^7.0.0"
|
||||||
|
|
||||||
|
brace-expansion@^1.1.7:
|
||||||
|
version "1.1.11"
|
||||||
|
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
||||||
|
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
|
||||||
|
dependencies:
|
||||||
|
balanced-match "^1.0.0"
|
||||||
|
concat-map "0.0.1"
|
||||||
|
|
||||||
|
braces@~3.0.2:
|
||||||
|
version "3.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
|
||||||
|
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
|
||||||
|
dependencies:
|
||||||
|
fill-range "^7.0.1"
|
||||||
|
|
||||||
|
cacheable-request@^6.0.0:
|
||||||
|
version "6.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912"
|
||||||
|
integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==
|
||||||
|
dependencies:
|
||||||
|
clone-response "^1.0.2"
|
||||||
|
get-stream "^5.1.0"
|
||||||
|
http-cache-semantics "^4.0.0"
|
||||||
|
keyv "^3.0.0"
|
||||||
|
lowercase-keys "^2.0.0"
|
||||||
|
normalize-url "^4.1.0"
|
||||||
|
responselike "^1.0.2"
|
||||||
|
|
||||||
|
camelcase@^6.2.0:
|
||||||
|
version "6.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.1.tgz#250fd350cfd555d0d2160b1d51510eaf8326e86e"
|
||||||
|
integrity sha512-tVI4q5jjFV5CavAU8DXfza/TJcZutVKo/5Foskmsqcm0MsL91moHvwiGNnqaa2o6PF/7yT5ikDRcVcl8Rj6LCA==
|
||||||
|
|
||||||
|
chalk@^4.1.0:
|
||||||
|
version "4.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
|
||||||
|
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
|
||||||
|
dependencies:
|
||||||
|
ansi-styles "^4.1.0"
|
||||||
|
supports-color "^7.1.0"
|
||||||
|
|
||||||
|
chokidar@^3.5.2:
|
||||||
|
version "3.5.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75"
|
||||||
|
integrity sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==
|
||||||
|
dependencies:
|
||||||
|
anymatch "~3.1.2"
|
||||||
|
braces "~3.0.2"
|
||||||
|
glob-parent "~5.1.2"
|
||||||
|
is-binary-path "~2.1.0"
|
||||||
|
is-glob "~4.0.1"
|
||||||
|
normalize-path "~3.0.0"
|
||||||
|
readdirp "~3.6.0"
|
||||||
|
optionalDependencies:
|
||||||
|
fsevents "~2.3.2"
|
||||||
|
|
||||||
|
ci-info@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
|
||||||
|
integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==
|
||||||
|
|
||||||
|
cli-boxes@^2.2.1:
|
||||||
|
version "2.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.1.tgz#ddd5035d25094fce220e9cab40a45840a440318f"
|
||||||
|
integrity sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==
|
||||||
|
|
||||||
|
clone-response@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b"
|
||||||
|
integrity sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=
|
||||||
|
dependencies:
|
||||||
|
mimic-response "^1.0.0"
|
||||||
|
|
||||||
|
color-convert@^2.0.1:
|
||||||
|
version "2.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
|
||||||
|
integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
|
||||||
|
dependencies:
|
||||||
|
color-name "~1.1.4"
|
||||||
|
|
||||||
|
color-name@~1.1.4:
|
||||||
|
version "1.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
||||||
|
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
||||||
|
|
||||||
|
concat-map@0.0.1:
|
||||||
|
version "0.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
||||||
|
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
|
||||||
|
|
||||||
|
configstore@^5.0.1:
|
||||||
|
version "5.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/configstore/-/configstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96"
|
||||||
|
integrity sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==
|
||||||
|
dependencies:
|
||||||
|
dot-prop "^5.2.0"
|
||||||
|
graceful-fs "^4.1.2"
|
||||||
|
make-dir "^3.0.0"
|
||||||
|
unique-string "^2.0.0"
|
||||||
|
write-file-atomic "^3.0.0"
|
||||||
|
xdg-basedir "^4.0.0"
|
||||||
|
|
||||||
|
crypto-random-string@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5"
|
||||||
|
integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==
|
||||||
|
|
||||||
|
debug@^3.2.7:
|
||||||
|
version "3.2.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
|
||||||
|
integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==
|
||||||
|
dependencies:
|
||||||
|
ms "^2.1.1"
|
||||||
|
|
||||||
|
decompress-response@^3.3.0:
|
||||||
|
version "3.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3"
|
||||||
|
integrity sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=
|
||||||
|
dependencies:
|
||||||
|
mimic-response "^1.0.0"
|
||||||
|
|
||||||
|
deep-extend@^0.6.0:
|
||||||
|
version "0.6.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
|
||||||
|
integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==
|
||||||
|
|
||||||
|
defer-to-connect@^1.0.1:
|
||||||
|
version "1.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591"
|
||||||
|
integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==
|
||||||
|
|
||||||
|
dot-prop@^5.2.0:
|
||||||
|
version "5.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88"
|
||||||
|
integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==
|
||||||
|
dependencies:
|
||||||
|
is-obj "^2.0.0"
|
||||||
|
|
||||||
|
duplexer3@^0.1.4:
|
||||||
|
version "0.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"
|
||||||
|
integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=
|
||||||
|
|
||||||
|
emoji-regex@^8.0.0:
|
||||||
|
version "8.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
|
||||||
|
integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
|
||||||
|
|
||||||
|
end-of-stream@^1.1.0:
|
||||||
|
version "1.4.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
|
||||||
|
integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
|
||||||
|
dependencies:
|
||||||
|
once "^1.4.0"
|
||||||
|
|
||||||
|
escape-goat@^2.0.0:
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675"
|
||||||
|
integrity sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==
|
||||||
|
|
||||||
|
fill-range@^7.0.1:
|
||||||
|
version "7.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
|
||||||
|
integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
|
||||||
|
dependencies:
|
||||||
|
to-regex-range "^5.0.1"
|
||||||
|
|
||||||
|
fsevents@~2.3.2:
|
||||||
|
version "2.3.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
|
||||||
|
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
|
||||||
|
|
||||||
|
get-stream@^4.1.0:
|
||||||
|
version "4.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"
|
||||||
|
integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==
|
||||||
|
dependencies:
|
||||||
|
pump "^3.0.0"
|
||||||
|
|
||||||
|
get-stream@^5.1.0:
|
||||||
|
version "5.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3"
|
||||||
|
integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==
|
||||||
|
dependencies:
|
||||||
|
pump "^3.0.0"
|
||||||
|
|
||||||
|
glob-parent@~5.1.2:
|
||||||
|
version "5.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
|
||||||
|
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
|
||||||
|
dependencies:
|
||||||
|
is-glob "^4.0.1"
|
||||||
|
|
||||||
|
global-dirs@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-3.0.0.tgz#70a76fe84ea315ab37b1f5576cbde7d48ef72686"
|
||||||
|
integrity sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==
|
||||||
|
dependencies:
|
||||||
|
ini "2.0.0"
|
||||||
|
|
||||||
|
got@^9.6.0:
|
||||||
|
version "9.6.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85"
|
||||||
|
integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==
|
||||||
|
dependencies:
|
||||||
|
"@sindresorhus/is" "^0.14.0"
|
||||||
|
"@szmarczak/http-timer" "^1.1.2"
|
||||||
|
cacheable-request "^6.0.0"
|
||||||
|
decompress-response "^3.3.0"
|
||||||
|
duplexer3 "^0.1.4"
|
||||||
|
get-stream "^4.1.0"
|
||||||
|
lowercase-keys "^1.0.1"
|
||||||
|
mimic-response "^1.0.1"
|
||||||
|
p-cancelable "^1.0.0"
|
||||||
|
to-readable-stream "^1.0.0"
|
||||||
|
url-parse-lax "^3.0.0"
|
||||||
|
|
||||||
|
graceful-fs@^4.1.2:
|
||||||
|
version "4.2.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a"
|
||||||
|
integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==
|
||||||
|
|
||||||
|
has-flag@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
|
||||||
|
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
|
||||||
|
|
||||||
|
has-flag@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
|
||||||
|
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
|
||||||
|
|
||||||
|
has-yarn@^2.1.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77"
|
||||||
|
integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==
|
||||||
|
|
||||||
|
http-cache-semantics@^4.0.0:
|
||||||
|
version "4.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390"
|
||||||
|
integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==
|
||||||
|
|
||||||
|
ignore-by-default@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09"
|
||||||
|
integrity sha1-SMptcvbGo68Aqa1K5odr44ieKwk=
|
||||||
|
|
||||||
|
import-lazy@^2.1.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43"
|
||||||
|
integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=
|
||||||
|
|
||||||
|
imurmurhash@^0.1.4:
|
||||||
|
version "0.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
|
||||||
|
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
|
||||||
|
|
||||||
|
ini@2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5"
|
||||||
|
integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==
|
||||||
|
|
||||||
|
ini@~1.3.0:
|
||||||
|
version "1.3.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c"
|
||||||
|
integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==
|
||||||
|
|
||||||
|
is-binary-path@~2.1.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
|
||||||
|
integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==
|
||||||
|
dependencies:
|
||||||
|
binary-extensions "^2.0.0"
|
||||||
|
|
||||||
|
is-ci@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
|
||||||
|
integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==
|
||||||
|
dependencies:
|
||||||
|
ci-info "^2.0.0"
|
||||||
|
|
||||||
|
is-extglob@^2.1.1:
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
||||||
|
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
|
||||||
|
|
||||||
|
is-fullwidth-code-point@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
|
||||||
|
integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
|
||||||
|
|
||||||
|
is-glob@^4.0.1, is-glob@~4.0.1:
|
||||||
|
version "4.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
|
||||||
|
integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
|
||||||
|
dependencies:
|
||||||
|
is-extglob "^2.1.1"
|
||||||
|
|
||||||
|
is-installed-globally@^0.4.0:
|
||||||
|
version "0.4.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.4.0.tgz#9a0fd407949c30f86eb6959ef1b7994ed0b7b520"
|
||||||
|
integrity sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==
|
||||||
|
dependencies:
|
||||||
|
global-dirs "^3.0.0"
|
||||||
|
is-path-inside "^3.0.2"
|
||||||
|
|
||||||
|
is-npm@^5.0.0:
|
||||||
|
version "5.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-5.0.0.tgz#43e8d65cc56e1b67f8d47262cf667099193f45a8"
|
||||||
|
integrity sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==
|
||||||
|
|
||||||
|
is-number@^7.0.0:
|
||||||
|
version "7.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
|
||||||
|
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
|
||||||
|
|
||||||
|
is-obj@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982"
|
||||||
|
integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==
|
||||||
|
|
||||||
|
is-path-inside@^3.0.2:
|
||||||
|
version "3.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
|
||||||
|
integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==
|
||||||
|
|
||||||
|
is-typedarray@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
|
||||||
|
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
|
||||||
|
|
||||||
|
is-yarn-global@^0.3.0:
|
||||||
|
version "0.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232"
|
||||||
|
integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==
|
||||||
|
|
||||||
|
json-buffer@3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898"
|
||||||
|
integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=
|
||||||
|
|
||||||
|
keyv@^3.0.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9"
|
||||||
|
integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==
|
||||||
|
dependencies:
|
||||||
|
json-buffer "3.0.0"
|
||||||
|
|
||||||
|
latest-version@^5.1.0:
|
||||||
|
version "5.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-5.1.0.tgz#119dfe908fe38d15dfa43ecd13fa12ec8832face"
|
||||||
|
integrity sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==
|
||||||
|
dependencies:
|
||||||
|
package-json "^6.3.0"
|
||||||
|
|
||||||
|
lowercase-keys@^1.0.0, lowercase-keys@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f"
|
||||||
|
integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==
|
||||||
|
|
||||||
|
lowercase-keys@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479"
|
||||||
|
integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==
|
||||||
|
|
||||||
|
lru-cache@^6.0.0:
|
||||||
|
version "6.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
|
||||||
|
integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==
|
||||||
|
dependencies:
|
||||||
|
yallist "^4.0.0"
|
||||||
|
|
||||||
|
make-dir@^3.0.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f"
|
||||||
|
integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==
|
||||||
|
dependencies:
|
||||||
|
semver "^6.0.0"
|
||||||
|
|
||||||
|
mimic-response@^1.0.0, mimic-response@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b"
|
||||||
|
integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==
|
||||||
|
|
||||||
|
minimatch@^3.0.4:
|
||||||
|
version "3.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
||||||
|
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
|
||||||
|
dependencies:
|
||||||
|
brace-expansion "^1.1.7"
|
||||||
|
|
||||||
|
minimist@^1.2.0:
|
||||||
|
version "1.2.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
||||||
|
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
||||||
|
|
||||||
|
ms@^2.1.1:
|
||||||
|
version "2.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
|
||||||
|
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
|
||||||
|
|
||||||
|
nodemon@^2.0.15:
|
||||||
|
version "2.0.15"
|
||||||
|
resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.15.tgz#504516ce3b43d9dc9a955ccd9ec57550a31a8d4e"
|
||||||
|
integrity sha512-gdHMNx47Gw7b3kWxJV64NI+Q5nfl0y5DgDbiVtShiwa7Z0IZ07Ll4RLFo6AjrhzMtoEZn5PDE3/c2AbVsiCkpA==
|
||||||
|
dependencies:
|
||||||
|
chokidar "^3.5.2"
|
||||||
|
debug "^3.2.7"
|
||||||
|
ignore-by-default "^1.0.1"
|
||||||
|
minimatch "^3.0.4"
|
||||||
|
pstree.remy "^1.1.8"
|
||||||
|
semver "^5.7.1"
|
||||||
|
supports-color "^5.5.0"
|
||||||
|
touch "^3.1.0"
|
||||||
|
undefsafe "^2.0.5"
|
||||||
|
update-notifier "^5.1.0"
|
||||||
|
|
||||||
|
nopt@~1.0.10:
|
||||||
|
version "1.0.10"
|
||||||
|
resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee"
|
||||||
|
integrity sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=
|
||||||
|
dependencies:
|
||||||
|
abbrev "1"
|
||||||
|
|
||||||
|
normalize-path@^3.0.0, normalize-path@~3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
|
||||||
|
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
|
||||||
|
|
||||||
|
normalize-url@^4.1.0:
|
||||||
|
version "4.5.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a"
|
||||||
|
integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==
|
||||||
|
|
||||||
|
once@^1.3.1, once@^1.4.0:
|
||||||
|
version "1.4.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
||||||
|
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
|
||||||
|
dependencies:
|
||||||
|
wrappy "1"
|
||||||
|
|
||||||
|
p-cancelable@^1.0.0:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc"
|
||||||
|
integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==
|
||||||
|
|
||||||
|
package-json@^6.3.0:
|
||||||
|
version "6.5.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0"
|
||||||
|
integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==
|
||||||
|
dependencies:
|
||||||
|
got "^9.6.0"
|
||||||
|
registry-auth-token "^4.0.0"
|
||||||
|
registry-url "^5.0.0"
|
||||||
|
semver "^6.2.0"
|
||||||
|
|
||||||
|
picomatch@^2.0.4, picomatch@^2.2.1:
|
||||||
|
version "2.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
|
||||||
|
integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==
|
||||||
|
|
||||||
|
prepend-http@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
|
||||||
|
integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=
|
||||||
|
|
||||||
|
pstree.remy@^1.1.8:
|
||||||
|
version "1.1.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a"
|
||||||
|
integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==
|
||||||
|
|
||||||
|
pump@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
|
||||||
|
integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==
|
||||||
|
dependencies:
|
||||||
|
end-of-stream "^1.1.0"
|
||||||
|
once "^1.3.1"
|
||||||
|
|
||||||
|
pupa@^2.1.1:
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/pupa/-/pupa-2.1.1.tgz#f5e8fd4afc2c5d97828faa523549ed8744a20d62"
|
||||||
|
integrity sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==
|
||||||
|
dependencies:
|
||||||
|
escape-goat "^2.0.0"
|
||||||
|
|
||||||
|
rc@^1.2.8:
|
||||||
|
version "1.2.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
|
||||||
|
integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
|
||||||
|
dependencies:
|
||||||
|
deep-extend "^0.6.0"
|
||||||
|
ini "~1.3.0"
|
||||||
|
minimist "^1.2.0"
|
||||||
|
strip-json-comments "~2.0.1"
|
||||||
|
|
||||||
|
readdirp@~3.6.0:
|
||||||
|
version "3.6.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"
|
||||||
|
integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==
|
||||||
|
dependencies:
|
||||||
|
picomatch "^2.2.1"
|
||||||
|
|
||||||
|
registry-auth-token@^4.0.0:
|
||||||
|
version "4.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.1.tgz#6d7b4006441918972ccd5fedcd41dc322c79b250"
|
||||||
|
integrity sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==
|
||||||
|
dependencies:
|
||||||
|
rc "^1.2.8"
|
||||||
|
|
||||||
|
registry-url@^5.0.0:
|
||||||
|
version "5.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009"
|
||||||
|
integrity sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==
|
||||||
|
dependencies:
|
||||||
|
rc "^1.2.8"
|
||||||
|
|
||||||
|
responselike@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7"
|
||||||
|
integrity sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=
|
||||||
|
dependencies:
|
||||||
|
lowercase-keys "^1.0.0"
|
||||||
|
|
||||||
|
semver-diff@^3.1.1:
|
||||||
|
version "3.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b"
|
||||||
|
integrity sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==
|
||||||
|
dependencies:
|
||||||
|
semver "^6.3.0"
|
||||||
|
|
||||||
|
semver@^5.7.1:
|
||||||
|
version "5.7.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
|
||||||
|
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
|
||||||
|
|
||||||
|
semver@^6.0.0, semver@^6.2.0, semver@^6.3.0:
|
||||||
|
version "6.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
|
||||||
|
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
|
||||||
|
|
||||||
|
semver@^7.3.4:
|
||||||
|
version "7.3.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
|
||||||
|
integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
|
||||||
|
dependencies:
|
||||||
|
lru-cache "^6.0.0"
|
||||||
|
|
||||||
|
signal-exit@^3.0.2:
|
||||||
|
version "3.0.6"
|
||||||
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.6.tgz#24e630c4b0f03fea446a2bd299e62b4a6ca8d0af"
|
||||||
|
integrity sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==
|
||||||
|
|
||||||
|
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.2:
|
||||||
|
version "4.2.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
||||||
|
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
||||||
|
dependencies:
|
||||||
|
emoji-regex "^8.0.0"
|
||||||
|
is-fullwidth-code-point "^3.0.0"
|
||||||
|
strip-ansi "^6.0.1"
|
||||||
|
|
||||||
|
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
||||||
|
version "6.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
||||||
|
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
||||||
|
dependencies:
|
||||||
|
ansi-regex "^5.0.1"
|
||||||
|
|
||||||
|
strip-json-comments@~2.0.1:
|
||||||
|
version "2.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
||||||
|
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
|
||||||
|
|
||||||
|
supports-color@^5.5.0:
|
||||||
|
version "5.5.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
|
||||||
|
integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
|
||||||
|
dependencies:
|
||||||
|
has-flag "^3.0.0"
|
||||||
|
|
||||||
|
supports-color@^7.1.0:
|
||||||
|
version "7.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
|
||||||
|
integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
|
||||||
|
dependencies:
|
||||||
|
has-flag "^4.0.0"
|
||||||
|
|
||||||
|
to-readable-stream@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771"
|
||||||
|
integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==
|
||||||
|
|
||||||
|
to-regex-range@^5.0.1:
|
||||||
|
version "5.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"
|
||||||
|
integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==
|
||||||
|
dependencies:
|
||||||
|
is-number "^7.0.0"
|
||||||
|
|
||||||
|
touch@^3.1.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b"
|
||||||
|
integrity sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==
|
||||||
|
dependencies:
|
||||||
|
nopt "~1.0.10"
|
||||||
|
|
||||||
|
type-fest@^0.20.2:
|
||||||
|
version "0.20.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4"
|
||||||
|
integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==
|
||||||
|
|
||||||
|
typedarray-to-buffer@^3.1.5:
|
||||||
|
version "3.1.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"
|
||||||
|
integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==
|
||||||
|
dependencies:
|
||||||
|
is-typedarray "^1.0.0"
|
||||||
|
|
||||||
|
typescript@^4.5.2:
|
||||||
|
version "4.5.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998"
|
||||||
|
integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==
|
||||||
|
|
||||||
|
undefsafe@^2.0.5:
|
||||||
|
version "2.0.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c"
|
||||||
|
integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==
|
||||||
|
|
||||||
|
unique-string@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-2.0.0.tgz#39c6451f81afb2749de2b233e3f7c5e8843bd89d"
|
||||||
|
integrity sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==
|
||||||
|
dependencies:
|
||||||
|
crypto-random-string "^2.0.0"
|
||||||
|
|
||||||
|
update-notifier@^5.1.0:
|
||||||
|
version "5.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-5.1.0.tgz#4ab0d7c7f36a231dd7316cf7729313f0214d9ad9"
|
||||||
|
integrity sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==
|
||||||
|
dependencies:
|
||||||
|
boxen "^5.0.0"
|
||||||
|
chalk "^4.1.0"
|
||||||
|
configstore "^5.0.1"
|
||||||
|
has-yarn "^2.1.0"
|
||||||
|
import-lazy "^2.1.0"
|
||||||
|
is-ci "^2.0.0"
|
||||||
|
is-installed-globally "^0.4.0"
|
||||||
|
is-npm "^5.0.0"
|
||||||
|
is-yarn-global "^0.3.0"
|
||||||
|
latest-version "^5.1.0"
|
||||||
|
pupa "^2.1.1"
|
||||||
|
semver "^7.3.4"
|
||||||
|
semver-diff "^3.1.1"
|
||||||
|
xdg-basedir "^4.0.0"
|
||||||
|
|
||||||
|
url-parse-lax@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c"
|
||||||
|
integrity sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=
|
||||||
|
dependencies:
|
||||||
|
prepend-http "^2.0.0"
|
||||||
|
|
||||||
|
widest-line@^3.1.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca"
|
||||||
|
integrity sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==
|
||||||
|
dependencies:
|
||||||
|
string-width "^4.0.0"
|
||||||
|
|
||||||
|
wrap-ansi@^7.0.0:
|
||||||
|
version "7.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
||||||
|
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
||||||
|
dependencies:
|
||||||
|
ansi-styles "^4.0.0"
|
||||||
|
string-width "^4.1.0"
|
||||||
|
strip-ansi "^6.0.0"
|
||||||
|
|
||||||
|
wrappy@1:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
||||||
|
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
|
||||||
|
|
||||||
|
write-file-atomic@^3.0.0:
|
||||||
|
version "3.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8"
|
||||||
|
integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==
|
||||||
|
dependencies:
|
||||||
|
imurmurhash "^0.1.4"
|
||||||
|
is-typedarray "^1.0.0"
|
||||||
|
signal-exit "^3.0.2"
|
||||||
|
typedarray-to-buffer "^3.1.5"
|
||||||
|
|
||||||
|
xdg-basedir@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13"
|
||||||
|
integrity sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==
|
||||||
|
|
||||||
|
yallist@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
|
||||||
|
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
|
0
2021/06/README.md
Normal file
0
2021/06/README.md
Normal file
2
2021/06/build/fish.js
Normal file
2
2021/06/build/fish.js
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
"use strict";
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlzaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL2Zpc2gudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
1
2021/06/build/input
Normal file
1
2021/06/build/input
Normal file
@ -0,0 +1 @@
|
|||||||
|
2,5,2,3,5,3,5,5,4,2,1,5,5,5,5,1,2,5,1,1,1,1,1,5,5,1,5,4,3,3,1,2,4,2,4,5,4,5,5,5,4,4,1,3,5,1,2,2,4,2,1,1,2,1,1,4,2,1,2,1,2,1,3,3,3,5,1,1,1,3,4,4,1,3,1,5,5,1,5,3,1,5,2,2,2,2,1,1,1,1,3,3,3,1,4,3,5,3,5,5,1,4,4,2,5,1,5,5,4,5,5,1,5,4,4,1,3,4,1,2,3,2,5,1,3,1,5,5,2,2,2,1,3,3,1,1,1,4,2,5,1,2,4,4,2,5,1,1,3,5,4,2,1,2,5,4,1,5,5,2,4,3,5,2,4,1,4,3,5,5,3,1,5,1,3,5,1,1,1,4,2,4,4,1,1,1,1,1,3,4,5,2,3,4,5,1,4,1,2,3,4,2,1,4,4,2,1,5,3,4,1,1,2,2,1,5,5,2,5,1,4,4,2,1,3,1,5,5,1,4,2,2,1,1,1,5,1,3,4,1,3,3,5,3,5,5,3,1,4,4,1,1,1,3,3,2,3,1,1,1,5,4,2,5,3,5,4,4,5,2,3,2,5,2,1,1,1,2,1,5,3,5,1,4,1,2,1,5,3,5,2,1,3,1,2,4,5,3,4,3
|
69
2021/06/build/main.js
Normal file
69
2021/06/build/main.js
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
const fs_1 = require("fs");
|
||||||
|
const process_1 = require("process");
|
||||||
|
class LanternFish {
|
||||||
|
constructor(_days) {
|
||||||
|
this.isNew = false;
|
||||||
|
this.justBirthed = false;
|
||||||
|
this.days = _days;
|
||||||
|
this.isNew = true;
|
||||||
|
this.justBirthed = false;
|
||||||
|
}
|
||||||
|
eligibileForNewFish() {
|
||||||
|
return this.days == 0;
|
||||||
|
}
|
||||||
|
passDay() {
|
||||||
|
if (this.isNew) {
|
||||||
|
this.isNew = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (this.justBirthed) {
|
||||||
|
this.justBirthed = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.days--;
|
||||||
|
}
|
||||||
|
createNew() {
|
||||||
|
this.days = 6;
|
||||||
|
this.justBirthed = true;
|
||||||
|
return new LanternFish(8);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function createBaseFishPopulation(baseDays) {
|
||||||
|
const fish = baseDays.map(x => new LanternFish(x));
|
||||||
|
fish.map(x => x.isNew = false);
|
||||||
|
return fish;
|
||||||
|
}
|
||||||
|
function simulateDay(fish) {
|
||||||
|
const newFish = fish.filter(x => x.eligibileForNewFish()).map(x => x.createNew());
|
||||||
|
const fishesToHandle = [...fish, ...newFish];
|
||||||
|
fishesToHandle.forEach(x => x.passDay());
|
||||||
|
return fishesToHandle;
|
||||||
|
}
|
||||||
|
function iterateOverGivenDaySpan(days, fish) {
|
||||||
|
for (let i = 0; i < days; i++) {
|
||||||
|
fish = simulateDay(fish);
|
||||||
|
console.log(`Day ${i + 1}|Fishes: ${fish.length}`);
|
||||||
|
}
|
||||||
|
return fish;
|
||||||
|
}
|
||||||
|
function printAllFishDays(fish) {
|
||||||
|
return fish.days.toString();
|
||||||
|
}
|
||||||
|
function main() {
|
||||||
|
console.log(JSON.stringify(process_1.argv));
|
||||||
|
if (process_1.argv[2] && process_1.argv[2] != "") {
|
||||||
|
const values = (0, fs_1.readFileSync)(process_1.argv[2], "utf8");
|
||||||
|
const inputs = values.replace('\n', '').split(',').map(x => parseInt(x));
|
||||||
|
let fish = createBaseFishPopulation(inputs);
|
||||||
|
fish = iterateOverGivenDaySpan(256, fish);
|
||||||
|
console.log(`Fishes ${fish.length}`);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
console.log("No filename");
|
||||||
|
(0, process_1.exit)();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
main();
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL21haW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwyQkFBaUM7QUFDakMscUNBQW9DO0FBRXBDLE1BQU0sV0FBVztJQUloQixZQUFZLEtBQWE7UUFGekIsVUFBSyxHQUFZLEtBQUssQ0FBQTtRQUN0QixnQkFBVyxHQUFZLEtBQUssQ0FBQTtRQUUzQixJQUFJLENBQUMsSUFBSSxHQUFHLEtBQUssQ0FBQTtRQUNqQixJQUFJLENBQUMsS0FBSyxHQUFHLElBQUksQ0FBQTtRQUNqQixJQUFJLENBQUMsV0FBVyxHQUFHLEtBQUssQ0FBQTtJQUN6QixDQUFDO0lBQ0QsbUJBQW1CO1FBQ2xCLE9BQU8sSUFBSSxDQUFDLElBQUksSUFBSSxDQUFDLENBQUE7SUFDdEIsQ0FBQztJQUNELE9BQU87UUFDTixJQUFJLElBQUksQ0FBQyxLQUFLLEVBQUU7WUFDZixJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQTtZQUNsQixPQUFNO1NBQ047UUFDRCxJQUFJLElBQUksQ0FBQyxXQUFXLEVBQUU7WUFDckIsSUFBSSxDQUFDLFdBQVcsR0FBRyxLQUFLLENBQUE7WUFDeEIsT0FBTTtTQUNOO1FBQ0QsSUFBSSxDQUFDLElBQUksRUFBRSxDQUFBO0lBQ1osQ0FBQztJQUNELFNBQVM7UUFDUixJQUFJLENBQUMsSUFBSSxHQUFHLENBQUMsQ0FBQTtRQUNiLElBQUksQ0FBQyxXQUFXLEdBQUcsSUFBSSxDQUFBO1FBQ3ZCLE9BQU8sSUFBSSxXQUFXLENBQUMsQ0FBQyxDQUFDLENBQUE7SUFDMUIsQ0FBQztDQUNEO0FBRUQsU0FBUyx3QkFBd0IsQ0FBQyxRQUFrQjtJQUNuRCxNQUFNLElBQUksR0FBRyxRQUFRLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsSUFBSSxXQUFXLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtJQUNsRCxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLEtBQUssR0FBRyxLQUFLLENBQUMsQ0FBQTtJQUM5QixPQUFPLElBQUksQ0FBQTtBQUNaLENBQUM7QUFDRCxTQUFTLFdBQVcsQ0FBQyxJQUFtQjtJQUN2QyxNQUFNLE9BQU8sR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLG1CQUFtQixFQUFFLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsU0FBUyxFQUFFLENBQUMsQ0FBQTtJQUNqRixNQUFNLGNBQWMsR0FBRyxDQUFDLEdBQUcsSUFBSSxFQUFFLEdBQUcsT0FBTyxDQUFDLENBQUE7SUFDNUMsY0FBYyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFBO0lBQ3hDLE9BQU8sY0FBYyxDQUFBO0FBQ3RCLENBQUM7QUFDRCxTQUFTLHVCQUF1QixDQUFDLElBQVksRUFBRSxJQUFtQjtJQUNqRSxLQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsSUFBSSxFQUFFLENBQUMsRUFBRSxFQUFFO1FBQzlCLElBQUksR0FBRyxXQUFXLENBQUMsSUFBSSxDQUFDLENBQUE7UUFFeEIsT0FBTyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLFlBQVksSUFBSSxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUE7S0FDbEQ7SUFDRCxPQUFPLElBQUksQ0FBQTtBQUNaLENBQUM7QUFDRCxTQUFTLGdCQUFnQixDQUFDLElBQWlCO0lBQzFDLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxRQUFRLEVBQUUsQ0FBQTtBQUM1QixDQUFDO0FBQ0QsU0FBUyxJQUFJO0lBQ1osT0FBTyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLGNBQUksQ0FBQyxDQUFDLENBQUE7SUFDakMsSUFBSSxjQUFJLENBQUMsQ0FBQyxDQUFDLElBQUksY0FBSSxDQUFDLENBQUMsQ0FBQyxJQUFJLEVBQUUsRUFBRTtRQUM3QixNQUFNLE1BQU0sR0FBRyxJQUFBLGlCQUFZLEVBQUMsY0FBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLE1BQU0sQ0FBQyxDQUFBO1FBQzVDLE1BQU0sTUFBTSxHQUFHLE1BQU0sQ0FBQyxPQUFPLENBQUMsSUFBSSxFQUFFLEVBQUUsQ0FBQyxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtRQUN4RSxJQUFJLElBQUksR0FBRyx3QkFBd0IsQ0FBQyxNQUFNLENBQUMsQ0FBQTtRQUUzQyxJQUFJLEdBQUcsdUJBQXVCLENBQUMsR0FBRyxFQUFFLElBQUksQ0FBQyxDQUFBO1FBQ3pDLE9BQU8sQ0FBQyxHQUFHLENBQUMsVUFBVSxJQUFJLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQTtLQUNwQztTQUFNO1FBQ04sT0FBTyxDQUFDLEdBQUcsQ0FBQyxhQUFhLENBQUMsQ0FBQTtRQUMxQixJQUFBLGNBQUksR0FBRSxDQUFBO0tBQ047QUFDRixDQUFDO0FBQ0QsSUFBSSxFQUFFLENBQUEifQ==
|
1
2021/06/build/testinput
Normal file
1
2021/06/build/testinput
Normal file
@ -0,0 +1 @@
|
|||||||
|
3,4,3,1,2
|
0
2021/06/fish.ts
Normal file
0
2021/06/fish.ts
Normal file
1
2021/06/input
Normal file
1
2021/06/input
Normal file
@ -0,0 +1 @@
|
|||||||
|
2,5,2,3,5,3,5,5,4,2,1,5,5,5,5,1,2,5,1,1,1,1,1,5,5,1,5,4,3,3,1,2,4,2,4,5,4,5,5,5,4,4,1,3,5,1,2,2,4,2,1,1,2,1,1,4,2,1,2,1,2,1,3,3,3,5,1,1,1,3,4,4,1,3,1,5,5,1,5,3,1,5,2,2,2,2,1,1,1,1,3,3,3,1,4,3,5,3,5,5,1,4,4,2,5,1,5,5,4,5,5,1,5,4,4,1,3,4,1,2,3,2,5,1,3,1,5,5,2,2,2,1,3,3,1,1,1,4,2,5,1,2,4,4,2,5,1,1,3,5,4,2,1,2,5,4,1,5,5,2,4,3,5,2,4,1,4,3,5,5,3,1,5,1,3,5,1,1,1,4,2,4,4,1,1,1,1,1,3,4,5,2,3,4,5,1,4,1,2,3,4,2,1,4,4,2,1,5,3,4,1,1,2,2,1,5,5,2,5,1,4,4,2,1,3,1,5,5,1,4,2,2,1,1,1,5,1,3,4,1,3,3,5,3,5,5,3,1,4,4,1,1,1,3,3,2,3,1,1,1,5,4,2,5,3,5,4,4,5,2,3,2,5,2,1,1,1,2,1,5,3,5,1,4,1,2,1,5,3,5,2,1,3,1,2,4,5,3,4,3
|
70
2021/06/main.ts
Normal file
70
2021/06/main.ts
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
import { readFileSync } from "fs"
|
||||||
|
import { argv, exit } from "process"
|
||||||
|
|
||||||
|
class LanternFish {
|
||||||
|
days: number
|
||||||
|
isNew: boolean = false
|
||||||
|
justBirthed: boolean = false
|
||||||
|
constructor(_days: number) {
|
||||||
|
this.days = _days
|
||||||
|
this.isNew = true
|
||||||
|
this.justBirthed = false
|
||||||
|
}
|
||||||
|
eligibileForNewFish(): boolean {
|
||||||
|
return this.days == 0
|
||||||
|
}
|
||||||
|
passDay() {
|
||||||
|
if (this.isNew) {
|
||||||
|
this.isNew = false
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (this.justBirthed) {
|
||||||
|
this.justBirthed = false
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.days--
|
||||||
|
}
|
||||||
|
createNew(): LanternFish {
|
||||||
|
this.days = 6
|
||||||
|
this.justBirthed = true
|
||||||
|
return new LanternFish(8)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function createBaseFishPopulation(baseDays: number[]): LanternFish[] {
|
||||||
|
const fish = baseDays.map(x => new LanternFish(x))
|
||||||
|
fish.map(x => x.isNew = false)
|
||||||
|
return fish
|
||||||
|
}
|
||||||
|
function simulateDay(fish: LanternFish[]): LanternFish[] {
|
||||||
|
const newFish = fish.filter(x => x.eligibileForNewFish()).map(x => x.createNew())
|
||||||
|
const fishesToHandle = [...fish, ...newFish]
|
||||||
|
fishesToHandle.forEach(x => x.passDay())
|
||||||
|
return fishesToHandle
|
||||||
|
}
|
||||||
|
function iterateOverGivenDaySpan(days: number, fish: LanternFish[]): LanternFish[] {
|
||||||
|
for (let i = 0; i < days; i++) {
|
||||||
|
fish = simulateDay(fish)
|
||||||
|
//console.log(`Day ${i + 1}: ${fish.length}: ${fish.map(printAllFishDays)}`)
|
||||||
|
console.log(`Day ${i + 1}|Fishes: ${fish.length}`)
|
||||||
|
}
|
||||||
|
return fish
|
||||||
|
}
|
||||||
|
function printAllFishDays(fish: LanternFish): string {
|
||||||
|
return fish.days.toString()
|
||||||
|
}
|
||||||
|
function main(): void {
|
||||||
|
console.log(JSON.stringify(argv))
|
||||||
|
if (argv[2] && argv[2] != "") {
|
||||||
|
const values = readFileSync(argv[2], "utf8")
|
||||||
|
const inputs = values.replace('\n', '').split(',').map(x => parseInt(x))
|
||||||
|
let fish = createBaseFishPopulation(inputs)
|
||||||
|
//console.log(`Day 0,${JSON.stringify(fish)}`)
|
||||||
|
fish = iterateOverGivenDaySpan(256, fish)
|
||||||
|
console.log(`Fishes ${fish.length}`)
|
||||||
|
} else {
|
||||||
|
console.log("No filename")
|
||||||
|
exit()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
main()
|
20
2021/06/package.json
Normal file
20
2021/06/package.json
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"name": "06",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"main": "index.js",
|
||||||
|
"license": "MIT",
|
||||||
|
"scripts": {
|
||||||
|
"start": "node build/main.js",
|
||||||
|
"copy-inputs":"cp *input build/",
|
||||||
|
"build": "yarn run copy-inputs && tsc",
|
||||||
|
"watch": "yarn run build -- -w",
|
||||||
|
"monitor": "nodemon build/main.js testinput"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"nodemon": "^2.0.15",
|
||||||
|
"typescript": "^4.5.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/node": "^16.11.11"
|
||||||
|
}
|
||||||
|
}
|
1
2021/06/testinput
Normal file
1
2021/06/testinput
Normal file
@ -0,0 +1 @@
|
|||||||
|
3,4,3,1,2
|
14
2021/06/tsconfig.json
Normal file
14
2021/06/tsconfig.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "es6",
|
||||||
|
"module": "commonjs",
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"removeComments": true,
|
||||||
|
"preserveConstEnums": true,
|
||||||
|
"outDir": "./build",
|
||||||
|
"strict":true,
|
||||||
|
"esModuleInterop":true,
|
||||||
|
"inlineSourceMap":true
|
||||||
|
},
|
||||||
|
"exclude":["node_modules"]
|
||||||
|
}
|
780
2021/06/yarn.lock
Normal file
780
2021/06/yarn.lock
Normal file
@ -0,0 +1,780 @@
|
|||||||
|
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||||
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
|
"@sindresorhus/is@^0.14.0":
|
||||||
|
version "0.14.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
|
||||||
|
integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==
|
||||||
|
|
||||||
|
"@szmarczak/http-timer@^1.1.2":
|
||||||
|
version "1.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421"
|
||||||
|
integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==
|
||||||
|
dependencies:
|
||||||
|
defer-to-connect "^1.0.1"
|
||||||
|
|
||||||
|
"@types/node@^16.11.11":
|
||||||
|
version "16.11.11"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.11.tgz#6ea7342dfb379ea1210835bada87b3c512120234"
|
||||||
|
integrity sha512-KB0sixD67CeecHC33MYn+eYARkqTheIRNuu97y2XMjR7Wu3XibO1vaY6VBV6O/a89SPI81cEUIYT87UqUWlZNw==
|
||||||
|
|
||||||
|
abbrev@1:
|
||||||
|
version "1.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
|
||||||
|
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
|
||||||
|
|
||||||
|
ansi-align@^3.0.0:
|
||||||
|
version "3.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59"
|
||||||
|
integrity sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==
|
||||||
|
dependencies:
|
||||||
|
string-width "^4.1.0"
|
||||||
|
|
||||||
|
ansi-regex@^5.0.1:
|
||||||
|
version "5.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
|
||||||
|
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
|
||||||
|
|
||||||
|
ansi-styles@^4.0.0, ansi-styles@^4.1.0:
|
||||||
|
version "4.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937"
|
||||||
|
integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==
|
||||||
|
dependencies:
|
||||||
|
color-convert "^2.0.1"
|
||||||
|
|
||||||
|
anymatch@~3.1.2:
|
||||||
|
version "3.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716"
|
||||||
|
integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==
|
||||||
|
dependencies:
|
||||||
|
normalize-path "^3.0.0"
|
||||||
|
picomatch "^2.0.4"
|
||||||
|
|
||||||
|
balanced-match@^1.0.0:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
||||||
|
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
|
||||||
|
|
||||||
|
binary-extensions@^2.0.0:
|
||||||
|
version "2.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
|
||||||
|
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
|
||||||
|
|
||||||
|
boxen@^5.0.0:
|
||||||
|
version "5.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/boxen/-/boxen-5.1.2.tgz#788cb686fc83c1f486dfa8a40c68fc2b831d2b50"
|
||||||
|
integrity sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==
|
||||||
|
dependencies:
|
||||||
|
ansi-align "^3.0.0"
|
||||||
|
camelcase "^6.2.0"
|
||||||
|
chalk "^4.1.0"
|
||||||
|
cli-boxes "^2.2.1"
|
||||||
|
string-width "^4.2.2"
|
||||||
|
type-fest "^0.20.2"
|
||||||
|
widest-line "^3.1.0"
|
||||||
|
wrap-ansi "^7.0.0"
|
||||||
|
|
||||||
|
brace-expansion@^1.1.7:
|
||||||
|
version "1.1.11"
|
||||||
|
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
||||||
|
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
|
||||||
|
dependencies:
|
||||||
|
balanced-match "^1.0.0"
|
||||||
|
concat-map "0.0.1"
|
||||||
|
|
||||||
|
braces@~3.0.2:
|
||||||
|
version "3.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
|
||||||
|
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
|
||||||
|
dependencies:
|
||||||
|
fill-range "^7.0.1"
|
||||||
|
|
||||||
|
cacheable-request@^6.0.0:
|
||||||
|
version "6.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912"
|
||||||
|
integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==
|
||||||
|
dependencies:
|
||||||
|
clone-response "^1.0.2"
|
||||||
|
get-stream "^5.1.0"
|
||||||
|
http-cache-semantics "^4.0.0"
|
||||||
|
keyv "^3.0.0"
|
||||||
|
lowercase-keys "^2.0.0"
|
||||||
|
normalize-url "^4.1.0"
|
||||||
|
responselike "^1.0.2"
|
||||||
|
|
||||||
|
camelcase@^6.2.0:
|
||||||
|
version "6.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.1.tgz#250fd350cfd555d0d2160b1d51510eaf8326e86e"
|
||||||
|
integrity sha512-tVI4q5jjFV5CavAU8DXfza/TJcZutVKo/5Foskmsqcm0MsL91moHvwiGNnqaa2o6PF/7yT5ikDRcVcl8Rj6LCA==
|
||||||
|
|
||||||
|
chalk@^4.1.0:
|
||||||
|
version "4.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
|
||||||
|
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
|
||||||
|
dependencies:
|
||||||
|
ansi-styles "^4.1.0"
|
||||||
|
supports-color "^7.1.0"
|
||||||
|
|
||||||
|
chokidar@^3.5.2:
|
||||||
|
version "3.5.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75"
|
||||||
|
integrity sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==
|
||||||
|
dependencies:
|
||||||
|
anymatch "~3.1.2"
|
||||||
|
braces "~3.0.2"
|
||||||
|
glob-parent "~5.1.2"
|
||||||
|
is-binary-path "~2.1.0"
|
||||||
|
is-glob "~4.0.1"
|
||||||
|
normalize-path "~3.0.0"
|
||||||
|
readdirp "~3.6.0"
|
||||||
|
optionalDependencies:
|
||||||
|
fsevents "~2.3.2"
|
||||||
|
|
||||||
|
ci-info@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
|
||||||
|
integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==
|
||||||
|
|
||||||
|
cli-boxes@^2.2.1:
|
||||||
|
version "2.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.1.tgz#ddd5035d25094fce220e9cab40a45840a440318f"
|
||||||
|
integrity sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==
|
||||||
|
|
||||||
|
clone-response@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b"
|
||||||
|
integrity sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=
|
||||||
|
dependencies:
|
||||||
|
mimic-response "^1.0.0"
|
||||||
|
|
||||||
|
color-convert@^2.0.1:
|
||||||
|
version "2.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
|
||||||
|
integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
|
||||||
|
dependencies:
|
||||||
|
color-name "~1.1.4"
|
||||||
|
|
||||||
|
color-name@~1.1.4:
|
||||||
|
version "1.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
||||||
|
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
||||||
|
|
||||||
|
concat-map@0.0.1:
|
||||||
|
version "0.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
||||||
|
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
|
||||||
|
|
||||||
|
configstore@^5.0.1:
|
||||||
|
version "5.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/configstore/-/configstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96"
|
||||||
|
integrity sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==
|
||||||
|
dependencies:
|
||||||
|
dot-prop "^5.2.0"
|
||||||
|
graceful-fs "^4.1.2"
|
||||||
|
make-dir "^3.0.0"
|
||||||
|
unique-string "^2.0.0"
|
||||||
|
write-file-atomic "^3.0.0"
|
||||||
|
xdg-basedir "^4.0.0"
|
||||||
|
|
||||||
|
crypto-random-string@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5"
|
||||||
|
integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==
|
||||||
|
|
||||||
|
debug@^3.2.7:
|
||||||
|
version "3.2.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
|
||||||
|
integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==
|
||||||
|
dependencies:
|
||||||
|
ms "^2.1.1"
|
||||||
|
|
||||||
|
decompress-response@^3.3.0:
|
||||||
|
version "3.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3"
|
||||||
|
integrity sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=
|
||||||
|
dependencies:
|
||||||
|
mimic-response "^1.0.0"
|
||||||
|
|
||||||
|
deep-extend@^0.6.0:
|
||||||
|
version "0.6.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
|
||||||
|
integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==
|
||||||
|
|
||||||
|
defer-to-connect@^1.0.1:
|
||||||
|
version "1.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591"
|
||||||
|
integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==
|
||||||
|
|
||||||
|
dot-prop@^5.2.0:
|
||||||
|
version "5.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88"
|
||||||
|
integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==
|
||||||
|
dependencies:
|
||||||
|
is-obj "^2.0.0"
|
||||||
|
|
||||||
|
duplexer3@^0.1.4:
|
||||||
|
version "0.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"
|
||||||
|
integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=
|
||||||
|
|
||||||
|
emoji-regex@^8.0.0:
|
||||||
|
version "8.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
|
||||||
|
integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
|
||||||
|
|
||||||
|
end-of-stream@^1.1.0:
|
||||||
|
version "1.4.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
|
||||||
|
integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
|
||||||
|
dependencies:
|
||||||
|
once "^1.4.0"
|
||||||
|
|
||||||
|
escape-goat@^2.0.0:
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675"
|
||||||
|
integrity sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==
|
||||||
|
|
||||||
|
fill-range@^7.0.1:
|
||||||
|
version "7.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
|
||||||
|
integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
|
||||||
|
dependencies:
|
||||||
|
to-regex-range "^5.0.1"
|
||||||
|
|
||||||
|
fsevents@~2.3.2:
|
||||||
|
version "2.3.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
|
||||||
|
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
|
||||||
|
|
||||||
|
get-stream@^4.1.0:
|
||||||
|
version "4.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"
|
||||||
|
integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==
|
||||||
|
dependencies:
|
||||||
|
pump "^3.0.0"
|
||||||
|
|
||||||
|
get-stream@^5.1.0:
|
||||||
|
version "5.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3"
|
||||||
|
integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==
|
||||||
|
dependencies:
|
||||||
|
pump "^3.0.0"
|
||||||
|
|
||||||
|
glob-parent@~5.1.2:
|
||||||
|
version "5.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
|
||||||
|
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
|
||||||
|
dependencies:
|
||||||
|
is-glob "^4.0.1"
|
||||||
|
|
||||||
|
global-dirs@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-3.0.0.tgz#70a76fe84ea315ab37b1f5576cbde7d48ef72686"
|
||||||
|
integrity sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==
|
||||||
|
dependencies:
|
||||||
|
ini "2.0.0"
|
||||||
|
|
||||||
|
got@^9.6.0:
|
||||||
|
version "9.6.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85"
|
||||||
|
integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==
|
||||||
|
dependencies:
|
||||||
|
"@sindresorhus/is" "^0.14.0"
|
||||||
|
"@szmarczak/http-timer" "^1.1.2"
|
||||||
|
cacheable-request "^6.0.0"
|
||||||
|
decompress-response "^3.3.0"
|
||||||
|
duplexer3 "^0.1.4"
|
||||||
|
get-stream "^4.1.0"
|
||||||
|
lowercase-keys "^1.0.1"
|
||||||
|
mimic-response "^1.0.1"
|
||||||
|
p-cancelable "^1.0.0"
|
||||||
|
to-readable-stream "^1.0.0"
|
||||||
|
url-parse-lax "^3.0.0"
|
||||||
|
|
||||||
|
graceful-fs@^4.1.2:
|
||||||
|
version "4.2.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a"
|
||||||
|
integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==
|
||||||
|
|
||||||
|
has-flag@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
|
||||||
|
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
|
||||||
|
|
||||||
|
has-flag@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
|
||||||
|
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
|
||||||
|
|
||||||
|
has-yarn@^2.1.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77"
|
||||||
|
integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==
|
||||||
|
|
||||||
|
http-cache-semantics@^4.0.0:
|
||||||
|
version "4.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390"
|
||||||
|
integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==
|
||||||
|
|
||||||
|
ignore-by-default@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09"
|
||||||
|
integrity sha1-SMptcvbGo68Aqa1K5odr44ieKwk=
|
||||||
|
|
||||||
|
import-lazy@^2.1.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43"
|
||||||
|
integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=
|
||||||
|
|
||||||
|
imurmurhash@^0.1.4:
|
||||||
|
version "0.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
|
||||||
|
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
|
||||||
|
|
||||||
|
ini@2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5"
|
||||||
|
integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==
|
||||||
|
|
||||||
|
ini@~1.3.0:
|
||||||
|
version "1.3.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c"
|
||||||
|
integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==
|
||||||
|
|
||||||
|
is-binary-path@~2.1.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
|
||||||
|
integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==
|
||||||
|
dependencies:
|
||||||
|
binary-extensions "^2.0.0"
|
||||||
|
|
||||||
|
is-ci@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
|
||||||
|
integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==
|
||||||
|
dependencies:
|
||||||
|
ci-info "^2.0.0"
|
||||||
|
|
||||||
|
is-extglob@^2.1.1:
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
||||||
|
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
|
||||||
|
|
||||||
|
is-fullwidth-code-point@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
|
||||||
|
integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
|
||||||
|
|
||||||
|
is-glob@^4.0.1, is-glob@~4.0.1:
|
||||||
|
version "4.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
|
||||||
|
integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
|
||||||
|
dependencies:
|
||||||
|
is-extglob "^2.1.1"
|
||||||
|
|
||||||
|
is-installed-globally@^0.4.0:
|
||||||
|
version "0.4.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.4.0.tgz#9a0fd407949c30f86eb6959ef1b7994ed0b7b520"
|
||||||
|
integrity sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==
|
||||||
|
dependencies:
|
||||||
|
global-dirs "^3.0.0"
|
||||||
|
is-path-inside "^3.0.2"
|
||||||
|
|
||||||
|
is-npm@^5.0.0:
|
||||||
|
version "5.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-5.0.0.tgz#43e8d65cc56e1b67f8d47262cf667099193f45a8"
|
||||||
|
integrity sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==
|
||||||
|
|
||||||
|
is-number@^7.0.0:
|
||||||
|
version "7.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
|
||||||
|
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
|
||||||
|
|
||||||
|
is-obj@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982"
|
||||||
|
integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==
|
||||||
|
|
||||||
|
is-path-inside@^3.0.2:
|
||||||
|
version "3.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
|
||||||
|
integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==
|
||||||
|
|
||||||
|
is-typedarray@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
|
||||||
|
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
|
||||||
|
|
||||||
|
is-yarn-global@^0.3.0:
|
||||||
|
version "0.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232"
|
||||||
|
integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==
|
||||||
|
|
||||||
|
json-buffer@3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898"
|
||||||
|
integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=
|
||||||
|
|
||||||
|
keyv@^3.0.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9"
|
||||||
|
integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==
|
||||||
|
dependencies:
|
||||||
|
json-buffer "3.0.0"
|
||||||
|
|
||||||
|
latest-version@^5.1.0:
|
||||||
|
version "5.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-5.1.0.tgz#119dfe908fe38d15dfa43ecd13fa12ec8832face"
|
||||||
|
integrity sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==
|
||||||
|
dependencies:
|
||||||
|
package-json "^6.3.0"
|
||||||
|
|
||||||
|
lowercase-keys@^1.0.0, lowercase-keys@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f"
|
||||||
|
integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==
|
||||||
|
|
||||||
|
lowercase-keys@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479"
|
||||||
|
integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==
|
||||||
|
|
||||||
|
lru-cache@^6.0.0:
|
||||||
|
version "6.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
|
||||||
|
integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==
|
||||||
|
dependencies:
|
||||||
|
yallist "^4.0.0"
|
||||||
|
|
||||||
|
make-dir@^3.0.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f"
|
||||||
|
integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==
|
||||||
|
dependencies:
|
||||||
|
semver "^6.0.0"
|
||||||
|
|
||||||
|
mimic-response@^1.0.0, mimic-response@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b"
|
||||||
|
integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==
|
||||||
|
|
||||||
|
minimatch@^3.0.4:
|
||||||
|
version "3.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
||||||
|
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
|
||||||
|
dependencies:
|
||||||
|
brace-expansion "^1.1.7"
|
||||||
|
|
||||||
|
minimist@^1.2.0:
|
||||||
|
version "1.2.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
||||||
|
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
||||||
|
|
||||||
|
ms@^2.1.1:
|
||||||
|
version "2.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
|
||||||
|
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
|
||||||
|
|
||||||
|
nodemon@^2.0.15:
|
||||||
|
version "2.0.15"
|
||||||
|
resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.15.tgz#504516ce3b43d9dc9a955ccd9ec57550a31a8d4e"
|
||||||
|
integrity sha512-gdHMNx47Gw7b3kWxJV64NI+Q5nfl0y5DgDbiVtShiwa7Z0IZ07Ll4RLFo6AjrhzMtoEZn5PDE3/c2AbVsiCkpA==
|
||||||
|
dependencies:
|
||||||
|
chokidar "^3.5.2"
|
||||||
|
debug "^3.2.7"
|
||||||
|
ignore-by-default "^1.0.1"
|
||||||
|
minimatch "^3.0.4"
|
||||||
|
pstree.remy "^1.1.8"
|
||||||
|
semver "^5.7.1"
|
||||||
|
supports-color "^5.5.0"
|
||||||
|
touch "^3.1.0"
|
||||||
|
undefsafe "^2.0.5"
|
||||||
|
update-notifier "^5.1.0"
|
||||||
|
|
||||||
|
nopt@~1.0.10:
|
||||||
|
version "1.0.10"
|
||||||
|
resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee"
|
||||||
|
integrity sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=
|
||||||
|
dependencies:
|
||||||
|
abbrev "1"
|
||||||
|
|
||||||
|
normalize-path@^3.0.0, normalize-path@~3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
|
||||||
|
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
|
||||||
|
|
||||||
|
normalize-url@^4.1.0:
|
||||||
|
version "4.5.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a"
|
||||||
|
integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==
|
||||||
|
|
||||||
|
once@^1.3.1, once@^1.4.0:
|
||||||
|
version "1.4.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
||||||
|
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
|
||||||
|
dependencies:
|
||||||
|
wrappy "1"
|
||||||
|
|
||||||
|
p-cancelable@^1.0.0:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc"
|
||||||
|
integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==
|
||||||
|
|
||||||
|
package-json@^6.3.0:
|
||||||
|
version "6.5.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0"
|
||||||
|
integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==
|
||||||
|
dependencies:
|
||||||
|
got "^9.6.0"
|
||||||
|
registry-auth-token "^4.0.0"
|
||||||
|
registry-url "^5.0.0"
|
||||||
|
semver "^6.2.0"
|
||||||
|
|
||||||
|
picomatch@^2.0.4, picomatch@^2.2.1:
|
||||||
|
version "2.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
|
||||||
|
integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==
|
||||||
|
|
||||||
|
prepend-http@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
|
||||||
|
integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=
|
||||||
|
|
||||||
|
pstree.remy@^1.1.8:
|
||||||
|
version "1.1.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a"
|
||||||
|
integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==
|
||||||
|
|
||||||
|
pump@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
|
||||||
|
integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==
|
||||||
|
dependencies:
|
||||||
|
end-of-stream "^1.1.0"
|
||||||
|
once "^1.3.1"
|
||||||
|
|
||||||
|
pupa@^2.1.1:
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/pupa/-/pupa-2.1.1.tgz#f5e8fd4afc2c5d97828faa523549ed8744a20d62"
|
||||||
|
integrity sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==
|
||||||
|
dependencies:
|
||||||
|
escape-goat "^2.0.0"
|
||||||
|
|
||||||
|
rc@^1.2.8:
|
||||||
|
version "1.2.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
|
||||||
|
integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
|
||||||
|
dependencies:
|
||||||
|
deep-extend "^0.6.0"
|
||||||
|
ini "~1.3.0"
|
||||||
|
minimist "^1.2.0"
|
||||||
|
strip-json-comments "~2.0.1"
|
||||||
|
|
||||||
|
readdirp@~3.6.0:
|
||||||
|
version "3.6.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"
|
||||||
|
integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==
|
||||||
|
dependencies:
|
||||||
|
picomatch "^2.2.1"
|
||||||
|
|
||||||
|
registry-auth-token@^4.0.0:
|
||||||
|
version "4.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.1.tgz#6d7b4006441918972ccd5fedcd41dc322c79b250"
|
||||||
|
integrity sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==
|
||||||
|
dependencies:
|
||||||
|
rc "^1.2.8"
|
||||||
|
|
||||||
|
registry-url@^5.0.0:
|
||||||
|
version "5.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009"
|
||||||
|
integrity sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==
|
||||||
|
dependencies:
|
||||||
|
rc "^1.2.8"
|
||||||
|
|
||||||
|
responselike@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7"
|
||||||
|
integrity sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=
|
||||||
|
dependencies:
|
||||||
|
lowercase-keys "^1.0.0"
|
||||||
|
|
||||||
|
semver-diff@^3.1.1:
|
||||||
|
version "3.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b"
|
||||||
|
integrity sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==
|
||||||
|
dependencies:
|
||||||
|
semver "^6.3.0"
|
||||||
|
|
||||||
|
semver@^5.7.1:
|
||||||
|
version "5.7.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
|
||||||
|
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
|
||||||
|
|
||||||
|
semver@^6.0.0, semver@^6.2.0, semver@^6.3.0:
|
||||||
|
version "6.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
|
||||||
|
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
|
||||||
|
|
||||||
|
semver@^7.3.4:
|
||||||
|
version "7.3.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
|
||||||
|
integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
|
||||||
|
dependencies:
|
||||||
|
lru-cache "^6.0.0"
|
||||||
|
|
||||||
|
signal-exit@^3.0.2:
|
||||||
|
version "3.0.6"
|
||||||
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.6.tgz#24e630c4b0f03fea446a2bd299e62b4a6ca8d0af"
|
||||||
|
integrity sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==
|
||||||
|
|
||||||
|
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.2:
|
||||||
|
version "4.2.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
||||||
|
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
||||||
|
dependencies:
|
||||||
|
emoji-regex "^8.0.0"
|
||||||
|
is-fullwidth-code-point "^3.0.0"
|
||||||
|
strip-ansi "^6.0.1"
|
||||||
|
|
||||||
|
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
||||||
|
version "6.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
||||||
|
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
||||||
|
dependencies:
|
||||||
|
ansi-regex "^5.0.1"
|
||||||
|
|
||||||
|
strip-json-comments@~2.0.1:
|
||||||
|
version "2.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
||||||
|
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
|
||||||
|
|
||||||
|
supports-color@^5.5.0:
|
||||||
|
version "5.5.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
|
||||||
|
integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
|
||||||
|
dependencies:
|
||||||
|
has-flag "^3.0.0"
|
||||||
|
|
||||||
|
supports-color@^7.1.0:
|
||||||
|
version "7.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
|
||||||
|
integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
|
||||||
|
dependencies:
|
||||||
|
has-flag "^4.0.0"
|
||||||
|
|
||||||
|
to-readable-stream@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771"
|
||||||
|
integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==
|
||||||
|
|
||||||
|
to-regex-range@^5.0.1:
|
||||||
|
version "5.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"
|
||||||
|
integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==
|
||||||
|
dependencies:
|
||||||
|
is-number "^7.0.0"
|
||||||
|
|
||||||
|
touch@^3.1.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b"
|
||||||
|
integrity sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==
|
||||||
|
dependencies:
|
||||||
|
nopt "~1.0.10"
|
||||||
|
|
||||||
|
type-fest@^0.20.2:
|
||||||
|
version "0.20.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4"
|
||||||
|
integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==
|
||||||
|
|
||||||
|
typedarray-to-buffer@^3.1.5:
|
||||||
|
version "3.1.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"
|
||||||
|
integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==
|
||||||
|
dependencies:
|
||||||
|
is-typedarray "^1.0.0"
|
||||||
|
|
||||||
|
typescript@^4.5.2:
|
||||||
|
version "4.5.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998"
|
||||||
|
integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==
|
||||||
|
|
||||||
|
undefsafe@^2.0.5:
|
||||||
|
version "2.0.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c"
|
||||||
|
integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==
|
||||||
|
|
||||||
|
unique-string@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-2.0.0.tgz#39c6451f81afb2749de2b233e3f7c5e8843bd89d"
|
||||||
|
integrity sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==
|
||||||
|
dependencies:
|
||||||
|
crypto-random-string "^2.0.0"
|
||||||
|
|
||||||
|
update-notifier@^5.1.0:
|
||||||
|
version "5.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-5.1.0.tgz#4ab0d7c7f36a231dd7316cf7729313f0214d9ad9"
|
||||||
|
integrity sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==
|
||||||
|
dependencies:
|
||||||
|
boxen "^5.0.0"
|
||||||
|
chalk "^4.1.0"
|
||||||
|
configstore "^5.0.1"
|
||||||
|
has-yarn "^2.1.0"
|
||||||
|
import-lazy "^2.1.0"
|
||||||
|
is-ci "^2.0.0"
|
||||||
|
is-installed-globally "^0.4.0"
|
||||||
|
is-npm "^5.0.0"
|
||||||
|
is-yarn-global "^0.3.0"
|
||||||
|
latest-version "^5.1.0"
|
||||||
|
pupa "^2.1.1"
|
||||||
|
semver "^7.3.4"
|
||||||
|
semver-diff "^3.1.1"
|
||||||
|
xdg-basedir "^4.0.0"
|
||||||
|
|
||||||
|
url-parse-lax@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c"
|
||||||
|
integrity sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=
|
||||||
|
dependencies:
|
||||||
|
prepend-http "^2.0.0"
|
||||||
|
|
||||||
|
widest-line@^3.1.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca"
|
||||||
|
integrity sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==
|
||||||
|
dependencies:
|
||||||
|
string-width "^4.0.0"
|
||||||
|
|
||||||
|
wrap-ansi@^7.0.0:
|
||||||
|
version "7.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
||||||
|
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
||||||
|
dependencies:
|
||||||
|
ansi-styles "^4.0.0"
|
||||||
|
string-width "^4.1.0"
|
||||||
|
strip-ansi "^6.0.0"
|
||||||
|
|
||||||
|
wrappy@1:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
||||||
|
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
|
||||||
|
|
||||||
|
write-file-atomic@^3.0.0:
|
||||||
|
version "3.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8"
|
||||||
|
integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==
|
||||||
|
dependencies:
|
||||||
|
imurmurhash "^0.1.4"
|
||||||
|
is-typedarray "^1.0.0"
|
||||||
|
signal-exit "^3.0.2"
|
||||||
|
typedarray-to-buffer "^3.1.5"
|
||||||
|
|
||||||
|
xdg-basedir@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13"
|
||||||
|
integrity sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==
|
||||||
|
|
||||||
|
yallist@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
|
||||||
|
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
|
0
2021/07/README.md
Normal file
0
2021/07/README.md
Normal file
1
2021/07/build/input
Normal file
1
2021/07/build/input
Normal file
@ -0,0 +1 @@
|
|||||||
|
1101,1,29,67,1102,0,1,65,1008,65,35,66,1005,66,28,1,67,65,20,4,0,1001,65,1,65,1106,0,8,99,35,67,101,99,105,32,110,39,101,115,116,32,112,97,115,32,117,110,101,32,105,110,116,99,111,100,101,32,112,114,111,103,114,97,109,10,11,39,71,27,749,252,590,80,445,1125,1044,690,307,145,713,709,468,135,24,330,932,110,1732,1550,826,1,188,1585,388,977,205,351,550,1,782,111,225,523,325,188,134,954,139,448,903,1225,161,791,1539,918,113,15,234,377,2,22,52,1530,119,922,658,41,256,192,161,102,109,8,1492,765,1277,92,245,73,281,1579,485,645,962,287,207,609,109,203,1181,867,371,290,1582,201,16,298,626,329,756,466,433,384,871,84,1661,1177,28,169,263,527,18,619,823,961,41,211,142,842,175,421,202,440,201,104,814,1059,80,17,420,749,522,261,80,540,36,708,1166,357,639,45,224,852,1209,1400,303,13,255,959,83,85,339,184,616,192,688,1145,200,26,376,624,165,10,492,11,866,531,28,20,614,3,500,354,650,74,1156,743,350,8,1641,38,254,673,523,242,186,756,98,1352,425,165,1072,1072,441,487,489,408,685,1083,527,172,32,419,699,672,464,1986,312,941,991,639,260,70,4,490,386,1079,883,285,260,91,204,1724,555,547,468,140,372,94,6,1189,165,439,22,261,255,197,81,9,306,23,61,151,477,326,1393,69,1246,191,113,172,806,116,644,23,500,567,276,237,257,482,262,87,561,530,786,312,1130,251,1391,0,478,85,129,714,64,499,484,771,461,876,563,587,20,4,704,84,230,667,1099,187,491,25,382,1607,14,434,902,1424,263,58,13,394,21,199,885,1113,105,238,423,972,1270,131,103,21,1125,3,1032,122,111,551,122,127,103,1164,1038,688,98,468,547,464,766,1044,1758,718,1476,1057,49,1526,118,391,629,241,280,303,0,915,88,656,1113,100,458,364,1612,362,1090,391,112,722,538,38,54,218,279,893,128,947,336,100,99,1329,342,543,1061,626,40,164,639,640,525,1121,714,592,696,260,103,520,160,151,462,260,1153,1319,132,608,1469,261,1080,96,908,383,36,70,1082,393,99,1573,567,19,1238,391,39,58,334,732,193,79,124,538,1511,185,608,538,0,52,13,190,180,49,184,143,655,74,315,105,906,569,1037,110,224,68,840,1300,130,762,269,560,655,156,819,1137,1483,1037,238,854,91,329,25,677,317,58,563,39,456,919,485,512,37,217,281,1020,914,289,1196,1060,440,1402,85,1130,931,226,325,598,482,861,60,610,308,551,178,1121,436,155,89,1283,887,163,516,1011,26,493,371,538,688,11,1023,148,174,150,401,1115,111,500,84,585,1,307,863,11,1333,414,855,340,810,75,79,292,8,1296,50,17,638,941,260,1250,817,311,184,902,623,97,57,75,425,647,33,225,85,335,34,905,44,644,208,386,194,1427,204,9,226,1278,165,776,510,707,541,378,26,265,661,475,803,344,107,947,307,453,1305,1589,999,55,1364,130,745,545,650,1223,783,965,416,737,275,32,166,951,30,947,1208,159,257,648,214,94,710,386,923,772,910,688,322,312,818,361,77,1,828,280,582,153,428,42,68,1061,271,627,578,12,449,14,583,128,925,355,608,34,492,231,101,6,732,791,94,305,975,1023,201,184,580,591,1604,547,528,417,684,768,1095,925,1429,417,1014,367,1031,160,820,206,227,1045,828,8,170,235,222,483,479,106,182,121,231,282,646,1165,21,68,51,130,14,68,330,1087,76,782,593,85,203,949,164,21,73,14,1590,137,436,163,582,725,46,326,436,59,44,621,317,269,216,486,396,194,713,4,1072,327,186,225,701,320,726,1220,331,17,78,558,1213,1000,436,240,940,1658,19,553,1498,660,152,304,267,33,926,340,556,1098,1434,1813,111,245,1,132,224,782,209,1142,1412,40,716,1,91,184,218,3,484,252,71,263,468,624,12,924,147,687,330,342,746,607,17,709,16,431,232,444,9,1386,44,181,1128,876,74,637,549,213,476,18,320,387,106,61,319,785,165,735,73,806,718,188,327,453,1555,978,13,400,1025,670,698,610,171,97,644,963,1037,53,2,106,20,855,17,7,495,1508,41,205,467,1848,59,243,758,6,396,22,1558,198,227,495,1370,4,128,371,573,1130,591,190,118,1246,1049,122,15,1755,332,567,202,162,989,1061,232,591,308,1433,132,100,564,436,466,15,1229,280,49,1827,701,118,106,246,18,2,184,43,1496,1091,156,334,730,354,429,6,83,1185,1,229,229,16,207,419,1018,197,1492,1805,1334,246,1378,175,297,1362,470,599,263,656,390,119,692,22,859,22,60,1009,5,1310,161,461,157,247,309,195,5,663,402
|
49
2021/07/build/main.js
Normal file
49
2021/07/build/main.js
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
const fs_1 = require("fs");
|
||||||
|
const process_1 = require("process");
|
||||||
|
function second(input) {
|
||||||
|
const average = (input.reduce((a, x) => a += x) / input.length);
|
||||||
|
console.log(`Average: ${average}`);
|
||||||
|
console.log(`Summed Distance Rounded: ${input.map(x => increasingDistanceToAverage(x, Math.floor(average))).reduce((a, x) => a += x)}`);
|
||||||
|
console.log(`Summed Distance +1: ${input.map(x => increasingDistanceToAverage(x, Math.floor(average) + 1)).reduce((a, x) => a += x)}`);
|
||||||
|
console.log(`Summed Distance -1: ${input.map(x => increasingDistanceToAverage(x, Math.floor(average) - 1)).reduce((a, x) => a += x)}`);
|
||||||
|
}
|
||||||
|
function first(input) {
|
||||||
|
const med = findMedian(input.sort((a, b) => compareInt(a, b)));
|
||||||
|
console.log(`Median: ${med}`);
|
||||||
|
const distance = distanceToMedian(input, med);
|
||||||
|
console.log(`Fuel: ${distance}`);
|
||||||
|
}
|
||||||
|
function increasingDistanceToAverage(input, average) {
|
||||||
|
const diff = difference(input, average);
|
||||||
|
console.log(JSON.stringify(diff));
|
||||||
|
return diff;
|
||||||
|
}
|
||||||
|
function distanceToMedian(input, median) {
|
||||||
|
let fuel = 0;
|
||||||
|
input.forEach(x => fuel += difference(x, median));
|
||||||
|
return fuel;
|
||||||
|
}
|
||||||
|
function findMedian(input) {
|
||||||
|
const length = input.length;
|
||||||
|
let location = Math.floor(length / 2);
|
||||||
|
const value = input[location];
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
const difference = (a, b) => { return Math.abs(a - b); };
|
||||||
|
const compareInt = (a, b) => { return a - b; };
|
||||||
|
function main() {
|
||||||
|
if (process_1.argv[2] && process_1.argv[2] != "") {
|
||||||
|
const values = (0, fs_1.readFileSync)(process_1.argv[2], "utf8");
|
||||||
|
const inputs = values.replace('\n', '').split(',').map(x => parseInt(x));
|
||||||
|
first(inputs);
|
||||||
|
second(inputs);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
console.error("No filename");
|
||||||
|
(0, process_1.exit)();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
main();
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL21haW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwyQkFBaUM7QUFDakMscUNBQW9DO0FBSXBDLFNBQVMsTUFBTSxDQUFDLEtBQWU7SUFDOUIsTUFBTSxPQUFPLEdBQUcsQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxHQUFHLEtBQUssQ0FBQyxNQUFNLENBQUMsQ0FBQTtJQUMvRCxPQUFPLENBQUMsR0FBRyxDQUFDLFlBQVksT0FBTyxFQUFFLENBQUMsQ0FBQTtJQUNsQyxPQUFPLENBQUMsR0FBRyxDQUFDLDRCQUE0QixLQUFLLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsMkJBQTJCLENBQUMsQ0FBQyxFQUFFLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUE7SUFDdkksT0FBTyxDQUFDLEdBQUcsQ0FBQyx1QkFBdUIsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLDJCQUEyQixDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQTtJQUN0SSxPQUFPLENBQUMsR0FBRyxDQUFDLHVCQUF1QixLQUFLLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsMkJBQTJCLENBQUMsQ0FBQyxFQUFFLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFBO0FBQ3ZJLENBQUM7QUFFRCxTQUFTLEtBQUssQ0FBQyxLQUFlO0lBQzdCLE1BQU0sR0FBRyxHQUFHLFVBQVUsQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsRUFBRSxFQUFFLENBQUMsVUFBVSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7SUFDOUQsT0FBTyxDQUFDLEdBQUcsQ0FBQyxXQUFXLEdBQUcsRUFBRSxDQUFDLENBQUE7SUFDN0IsTUFBTSxRQUFRLEdBQUcsZ0JBQWdCLENBQUMsS0FBSyxFQUFFLEdBQUcsQ0FBQyxDQUFBO0lBQzdDLE9BQU8sQ0FBQyxHQUFHLENBQUMsU0FBUyxRQUFRLEVBQUUsQ0FBQyxDQUFBO0FBQ2pDLENBQUM7QUFDRCxTQUFTLDJCQUEyQixDQUFDLEtBQWEsRUFBRSxPQUFlO0lBQ2xFLE1BQU0sSUFBSSxHQUFHLFVBQVUsQ0FBQyxLQUFLLEVBQUUsT0FBTyxDQUFDLENBQUE7SUFDdkMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUE7SUFDakMsT0FBTyxJQUFJLENBQUE7QUFDWixDQUFDO0FBRUQsU0FBUyxnQkFBZ0IsQ0FBQyxLQUFlLEVBQUUsTUFBYztJQUN4RCxJQUFJLElBQUksR0FBRyxDQUFDLENBQUE7SUFDWixLQUFLLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsSUFBSSxJQUFJLFVBQVUsQ0FBQyxDQUFDLEVBQUUsTUFBTSxDQUFDLENBQUMsQ0FBQTtJQUNqRCxPQUFPLElBQUksQ0FBQTtBQUNaLENBQUM7QUFDRCxTQUFTLFVBQVUsQ0FBQyxLQUFlO0lBQ2xDLE1BQU0sTUFBTSxHQUFHLEtBQUssQ0FBQyxNQUFNLENBQUE7SUFDM0IsSUFBSSxRQUFRLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLEdBQUcsQ0FBQyxDQUFDLENBQUE7SUFDckMsTUFBTSxLQUFLLEdBQUcsS0FBSyxDQUFDLFFBQVEsQ0FBQyxDQUFBO0lBQzdCLE9BQU8sS0FBSyxDQUFBO0FBQ2IsQ0FBQztBQUVELE1BQU0sVUFBVSxHQUFHLENBQUMsQ0FBUyxFQUFFLENBQVMsRUFBRSxFQUFFLEdBQUcsT0FBTyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQSxDQUFDLENBQUMsQ0FBQTtBQUV2RSxNQUFNLFVBQVUsR0FBRyxDQUFDLENBQVMsRUFBRSxDQUFTLEVBQUUsRUFBRSxHQUFHLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQSxDQUFDLENBQUMsQ0FBQTtBQUU3RCxTQUFTLElBQUk7SUFDWixJQUFJLGNBQUksQ0FBQyxDQUFDLENBQUMsSUFBSSxjQUFJLENBQUMsQ0FBQyxDQUFDLElBQUksRUFBRSxFQUFFO1FBQzdCLE1BQU0sTUFBTSxHQUFHLElBQUEsaUJBQVksRUFBQyxjQUFJLENBQUMsQ0FBQyxDQUFDLEVBQUUsTUFBTSxDQUFDLENBQUE7UUFDNUMsTUFBTSxNQUFNLEdBQUcsTUFBTSxDQUFDLE9BQU8sQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFBO1FBQ3hFLEtBQUssQ0FBQyxNQUFNLENBQUMsQ0FBQTtRQUNiLE1BQU0sQ0FBQyxNQUFNLENBQUMsQ0FBQTtLQUNkO1NBQU07UUFDTixPQUFPLENBQUMsS0FBSyxDQUFDLGFBQWEsQ0FBQyxDQUFBO1FBQzVCLElBQUEsY0FBSSxHQUFFLENBQUE7S0FDTjtBQUNGLENBQUM7QUFDRCxJQUFJLEVBQUUsQ0FBQSJ9
|
1
2021/07/build/testinput
Normal file
1
2021/07/build/testinput
Normal file
@ -0,0 +1 @@
|
|||||||
|
16,1,2,0,4,2,7,1,2,14
|
1
2021/07/input
Normal file
1
2021/07/input
Normal file
@ -0,0 +1 @@
|
|||||||
|
1101,1,29,67,1102,0,1,65,1008,65,35,66,1005,66,28,1,67,65,20,4,0,1001,65,1,65,1106,0,8,99,35,67,101,99,105,32,110,39,101,115,116,32,112,97,115,32,117,110,101,32,105,110,116,99,111,100,101,32,112,114,111,103,114,97,109,10,11,39,71,27,749,252,590,80,445,1125,1044,690,307,145,713,709,468,135,24,330,932,110,1732,1550,826,1,188,1585,388,977,205,351,550,1,782,111,225,523,325,188,134,954,139,448,903,1225,161,791,1539,918,113,15,234,377,2,22,52,1530,119,922,658,41,256,192,161,102,109,8,1492,765,1277,92,245,73,281,1579,485,645,962,287,207,609,109,203,1181,867,371,290,1582,201,16,298,626,329,756,466,433,384,871,84,1661,1177,28,169,263,527,18,619,823,961,41,211,142,842,175,421,202,440,201,104,814,1059,80,17,420,749,522,261,80,540,36,708,1166,357,639,45,224,852,1209,1400,303,13,255,959,83,85,339,184,616,192,688,1145,200,26,376,624,165,10,492,11,866,531,28,20,614,3,500,354,650,74,1156,743,350,8,1641,38,254,673,523,242,186,756,98,1352,425,165,1072,1072,441,487,489,408,685,1083,527,172,32,419,699,672,464,1986,312,941,991,639,260,70,4,490,386,1079,883,285,260,91,204,1724,555,547,468,140,372,94,6,1189,165,439,22,261,255,197,81,9,306,23,61,151,477,326,1393,69,1246,191,113,172,806,116,644,23,500,567,276,237,257,482,262,87,561,530,786,312,1130,251,1391,0,478,85,129,714,64,499,484,771,461,876,563,587,20,4,704,84,230,667,1099,187,491,25,382,1607,14,434,902,1424,263,58,13,394,21,199,885,1113,105,238,423,972,1270,131,103,21,1125,3,1032,122,111,551,122,127,103,1164,1038,688,98,468,547,464,766,1044,1758,718,1476,1057,49,1526,118,391,629,241,280,303,0,915,88,656,1113,100,458,364,1612,362,1090,391,112,722,538,38,54,218,279,893,128,947,336,100,99,1329,342,543,1061,626,40,164,639,640,525,1121,714,592,696,260,103,520,160,151,462,260,1153,1319,132,608,1469,261,1080,96,908,383,36,70,1082,393,99,1573,567,19,1238,391,39,58,334,732,193,79,124,538,1511,185,608,538,0,52,13,190,180,49,184,143,655,74,315,105,906,569,1037,110,224,68,840,1300,130,762,269,560,655,156,819,1137,1483,1037,238,854,91,329,25,677,317,58,563,39,456,919,485,512,37,217,281,1020,914,289,1196,1060,440,1402,85,1130,931,226,325,598,482,861,60,610,308,551,178,1121,436,155,89,1283,887,163,516,1011,26,493,371,538,688,11,1023,148,174,150,401,1115,111,500,84,585,1,307,863,11,1333,414,855,340,810,75,79,292,8,1296,50,17,638,941,260,1250,817,311,184,902,623,97,57,75,425,647,33,225,85,335,34,905,44,644,208,386,194,1427,204,9,226,1278,165,776,510,707,541,378,26,265,661,475,803,344,107,947,307,453,1305,1589,999,55,1364,130,745,545,650,1223,783,965,416,737,275,32,166,951,30,947,1208,159,257,648,214,94,710,386,923,772,910,688,322,312,818,361,77,1,828,280,582,153,428,42,68,1061,271,627,578,12,449,14,583,128,925,355,608,34,492,231,101,6,732,791,94,305,975,1023,201,184,580,591,1604,547,528,417,684,768,1095,925,1429,417,1014,367,1031,160,820,206,227,1045,828,8,170,235,222,483,479,106,182,121,231,282,646,1165,21,68,51,130,14,68,330,1087,76,782,593,85,203,949,164,21,73,14,1590,137,436,163,582,725,46,326,436,59,44,621,317,269,216,486,396,194,713,4,1072,327,186,225,701,320,726,1220,331,17,78,558,1213,1000,436,240,940,1658,19,553,1498,660,152,304,267,33,926,340,556,1098,1434,1813,111,245,1,132,224,782,209,1142,1412,40,716,1,91,184,218,3,484,252,71,263,468,624,12,924,147,687,330,342,746,607,17,709,16,431,232,444,9,1386,44,181,1128,876,74,637,549,213,476,18,320,387,106,61,319,785,165,735,73,806,718,188,327,453,1555,978,13,400,1025,670,698,610,171,97,644,963,1037,53,2,106,20,855,17,7,495,1508,41,205,467,1848,59,243,758,6,396,22,1558,198,227,495,1370,4,128,371,573,1130,591,190,118,1246,1049,122,15,1755,332,567,202,162,989,1061,232,591,308,1433,132,100,564,436,466,15,1229,280,49,1827,701,118,106,246,18,2,184,43,1496,1091,156,334,730,354,429,6,83,1185,1,229,229,16,207,419,1018,197,1492,1805,1334,246,1378,175,297,1362,470,599,263,656,390,119,692,22,859,22,60,1009,5,1310,161,461,157,247,309,195,5,663,402
|
53
2021/07/main.ts
Normal file
53
2021/07/main.ts
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
import { readFileSync } from "fs"
|
||||||
|
import { argv, exit } from "process"
|
||||||
|
// too low 92772307
|
||||||
|
//
|
||||||
|
// too high 92949057
|
||||||
|
function second(input: number[]): void {
|
||||||
|
const average = (input.reduce((a, x) => a += x) / input.length)
|
||||||
|
console.log(`Average: ${average}`)
|
||||||
|
console.log(`Summed Distance Rounded: ${input.map(x => increasingDistanceToAverage(x, Math.floor(average))).reduce((a, x) => a += x)}`)
|
||||||
|
console.log(`Summed Distance +1: ${input.map(x => increasingDistanceToAverage(x, Math.floor(average) + 1)).reduce((a, x) => a += x)}`)
|
||||||
|
console.log(`Summed Distance -1: ${input.map(x => increasingDistanceToAverage(x, Math.floor(average) - 1)).reduce((a, x) => a += x)}`)
|
||||||
|
}
|
||||||
|
|
||||||
|
function first(input: number[]): void {
|
||||||
|
const med = findMedian(input.sort((a, b) => compareInt(a, b)))
|
||||||
|
console.log(`Median: ${med}`)
|
||||||
|
const distance = distanceToMedian(input, med)
|
||||||
|
console.log(`Fuel: ${distance}`)
|
||||||
|
}
|
||||||
|
function increasingDistanceToAverage(input: number, average: number): number {
|
||||||
|
const diff = difference(input, average)
|
||||||
|
console.log(JSON.stringify(diff))
|
||||||
|
return diff
|
||||||
|
}
|
||||||
|
|
||||||
|
function distanceToMedian(input: number[], median: number): number {
|
||||||
|
let fuel = 0
|
||||||
|
input.forEach(x => fuel += difference(x, median))
|
||||||
|
return fuel
|
||||||
|
}
|
||||||
|
function findMedian(input: number[]): number {
|
||||||
|
const length = input.length
|
||||||
|
let location = Math.floor(length / 2)
|
||||||
|
const value = input[location]
|
||||||
|
return value
|
||||||
|
}
|
||||||
|
|
||||||
|
const difference = (a: number, b: number) => { return Math.abs(a - b) }
|
||||||
|
|
||||||
|
const compareInt = (a: number, b: number) => { return a - b }
|
||||||
|
|
||||||
|
function main(): void {
|
||||||
|
if (argv[2] && argv[2] != "") {
|
||||||
|
const values = readFileSync(argv[2], "utf8")
|
||||||
|
const inputs = values.replace('\n', '').split(',').map(x => parseInt(x))
|
||||||
|
first(inputs)
|
||||||
|
second(inputs)
|
||||||
|
} else {
|
||||||
|
console.error("No filename")
|
||||||
|
exit()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
main()
|
19
2021/07/package.json
Normal file
19
2021/07/package.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"name": "change_me",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"main": "index.js",
|
||||||
|
"license": "MIT",
|
||||||
|
"scripts": {
|
||||||
|
"start": "node build/main.js",
|
||||||
|
"build": "cp *input build/ && tsc",
|
||||||
|
"watch": "yarn run build -- -w",
|
||||||
|
"monitor": "nodemon build/main.js testinput"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"nodemon": "^2.0.15",
|
||||||
|
"typescript": "^4.5.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/node": "^16.11.11"
|
||||||
|
}
|
||||||
|
}
|
1
2021/07/testinput
Normal file
1
2021/07/testinput
Normal file
@ -0,0 +1 @@
|
|||||||
|
16,1,2,0,4,2,7,1,2,14
|
14
2021/07/tsconfig.json
Normal file
14
2021/07/tsconfig.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "es6",
|
||||||
|
"module": "commonjs",
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"removeComments": true,
|
||||||
|
"preserveConstEnums": true,
|
||||||
|
"outDir": "./build",
|
||||||
|
"strict":true,
|
||||||
|
"esModuleInterop":true,
|
||||||
|
"inlineSourceMap":true
|
||||||
|
},
|
||||||
|
"exclude":["node_modules"]
|
||||||
|
}
|
780
2021/07/yarn.lock
Normal file
780
2021/07/yarn.lock
Normal file
@ -0,0 +1,780 @@
|
|||||||
|
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||||
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
|
"@sindresorhus/is@^0.14.0":
|
||||||
|
version "0.14.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
|
||||||
|
integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==
|
||||||
|
|
||||||
|
"@szmarczak/http-timer@^1.1.2":
|
||||||
|
version "1.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421"
|
||||||
|
integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==
|
||||||
|
dependencies:
|
||||||
|
defer-to-connect "^1.0.1"
|
||||||
|
|
||||||
|
"@types/node@^16.11.11":
|
||||||
|
version "16.11.12"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.12.tgz#ac7fb693ac587ee182c3780c26eb65546a1a3c10"
|
||||||
|
integrity sha512-+2Iggwg7PxoO5Kyhvsq9VarmPbIelXP070HMImEpbtGCoyWNINQj4wzjbQCXzdHTRXnqufutJb5KAURZANNBAw==
|
||||||
|
|
||||||
|
abbrev@1:
|
||||||
|
version "1.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
|
||||||
|
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
|
||||||
|
|
||||||
|
ansi-align@^3.0.0:
|
||||||
|
version "3.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59"
|
||||||
|
integrity sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==
|
||||||
|
dependencies:
|
||||||
|
string-width "^4.1.0"
|
||||||
|
|
||||||
|
ansi-regex@^5.0.1:
|
||||||
|
version "5.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
|
||||||
|
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
|
||||||
|
|
||||||
|
ansi-styles@^4.0.0, ansi-styles@^4.1.0:
|
||||||
|
version "4.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937"
|
||||||
|
integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==
|
||||||
|
dependencies:
|
||||||
|
color-convert "^2.0.1"
|
||||||
|
|
||||||
|
anymatch@~3.1.2:
|
||||||
|
version "3.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716"
|
||||||
|
integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==
|
||||||
|
dependencies:
|
||||||
|
normalize-path "^3.0.0"
|
||||||
|
picomatch "^2.0.4"
|
||||||
|
|
||||||
|
balanced-match@^1.0.0:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
||||||
|
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
|
||||||
|
|
||||||
|
binary-extensions@^2.0.0:
|
||||||
|
version "2.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
|
||||||
|
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
|
||||||
|
|
||||||
|
boxen@^5.0.0:
|
||||||
|
version "5.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/boxen/-/boxen-5.1.2.tgz#788cb686fc83c1f486dfa8a40c68fc2b831d2b50"
|
||||||
|
integrity sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==
|
||||||
|
dependencies:
|
||||||
|
ansi-align "^3.0.0"
|
||||||
|
camelcase "^6.2.0"
|
||||||
|
chalk "^4.1.0"
|
||||||
|
cli-boxes "^2.2.1"
|
||||||
|
string-width "^4.2.2"
|
||||||
|
type-fest "^0.20.2"
|
||||||
|
widest-line "^3.1.0"
|
||||||
|
wrap-ansi "^7.0.0"
|
||||||
|
|
||||||
|
brace-expansion@^1.1.7:
|
||||||
|
version "1.1.11"
|
||||||
|
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
||||||
|
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
|
||||||
|
dependencies:
|
||||||
|
balanced-match "^1.0.0"
|
||||||
|
concat-map "0.0.1"
|
||||||
|
|
||||||
|
braces@~3.0.2:
|
||||||
|
version "3.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
|
||||||
|
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
|
||||||
|
dependencies:
|
||||||
|
fill-range "^7.0.1"
|
||||||
|
|
||||||
|
cacheable-request@^6.0.0:
|
||||||
|
version "6.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912"
|
||||||
|
integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==
|
||||||
|
dependencies:
|
||||||
|
clone-response "^1.0.2"
|
||||||
|
get-stream "^5.1.0"
|
||||||
|
http-cache-semantics "^4.0.0"
|
||||||
|
keyv "^3.0.0"
|
||||||
|
lowercase-keys "^2.0.0"
|
||||||
|
normalize-url "^4.1.0"
|
||||||
|
responselike "^1.0.2"
|
||||||
|
|
||||||
|
camelcase@^6.2.0:
|
||||||
|
version "6.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.1.tgz#250fd350cfd555d0d2160b1d51510eaf8326e86e"
|
||||||
|
integrity sha512-tVI4q5jjFV5CavAU8DXfza/TJcZutVKo/5Foskmsqcm0MsL91moHvwiGNnqaa2o6PF/7yT5ikDRcVcl8Rj6LCA==
|
||||||
|
|
||||||
|
chalk@^4.1.0:
|
||||||
|
version "4.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
|
||||||
|
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
|
||||||
|
dependencies:
|
||||||
|
ansi-styles "^4.1.0"
|
||||||
|
supports-color "^7.1.0"
|
||||||
|
|
||||||
|
chokidar@^3.5.2:
|
||||||
|
version "3.5.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75"
|
||||||
|
integrity sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==
|
||||||
|
dependencies:
|
||||||
|
anymatch "~3.1.2"
|
||||||
|
braces "~3.0.2"
|
||||||
|
glob-parent "~5.1.2"
|
||||||
|
is-binary-path "~2.1.0"
|
||||||
|
is-glob "~4.0.1"
|
||||||
|
normalize-path "~3.0.0"
|
||||||
|
readdirp "~3.6.0"
|
||||||
|
optionalDependencies:
|
||||||
|
fsevents "~2.3.2"
|
||||||
|
|
||||||
|
ci-info@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
|
||||||
|
integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==
|
||||||
|
|
||||||
|
cli-boxes@^2.2.1:
|
||||||
|
version "2.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.1.tgz#ddd5035d25094fce220e9cab40a45840a440318f"
|
||||||
|
integrity sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==
|
||||||
|
|
||||||
|
clone-response@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b"
|
||||||
|
integrity sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=
|
||||||
|
dependencies:
|
||||||
|
mimic-response "^1.0.0"
|
||||||
|
|
||||||
|
color-convert@^2.0.1:
|
||||||
|
version "2.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
|
||||||
|
integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
|
||||||
|
dependencies:
|
||||||
|
color-name "~1.1.4"
|
||||||
|
|
||||||
|
color-name@~1.1.4:
|
||||||
|
version "1.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
||||||
|
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
||||||
|
|
||||||
|
concat-map@0.0.1:
|
||||||
|
version "0.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
||||||
|
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
|
||||||
|
|
||||||
|
configstore@^5.0.1:
|
||||||
|
version "5.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/configstore/-/configstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96"
|
||||||
|
integrity sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==
|
||||||
|
dependencies:
|
||||||
|
dot-prop "^5.2.0"
|
||||||
|
graceful-fs "^4.1.2"
|
||||||
|
make-dir "^3.0.0"
|
||||||
|
unique-string "^2.0.0"
|
||||||
|
write-file-atomic "^3.0.0"
|
||||||
|
xdg-basedir "^4.0.0"
|
||||||
|
|
||||||
|
crypto-random-string@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5"
|
||||||
|
integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==
|
||||||
|
|
||||||
|
debug@^3.2.7:
|
||||||
|
version "3.2.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
|
||||||
|
integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==
|
||||||
|
dependencies:
|
||||||
|
ms "^2.1.1"
|
||||||
|
|
||||||
|
decompress-response@^3.3.0:
|
||||||
|
version "3.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3"
|
||||||
|
integrity sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=
|
||||||
|
dependencies:
|
||||||
|
mimic-response "^1.0.0"
|
||||||
|
|
||||||
|
deep-extend@^0.6.0:
|
||||||
|
version "0.6.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
|
||||||
|
integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==
|
||||||
|
|
||||||
|
defer-to-connect@^1.0.1:
|
||||||
|
version "1.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591"
|
||||||
|
integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==
|
||||||
|
|
||||||
|
dot-prop@^5.2.0:
|
||||||
|
version "5.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88"
|
||||||
|
integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==
|
||||||
|
dependencies:
|
||||||
|
is-obj "^2.0.0"
|
||||||
|
|
||||||
|
duplexer3@^0.1.4:
|
||||||
|
version "0.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"
|
||||||
|
integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=
|
||||||
|
|
||||||
|
emoji-regex@^8.0.0:
|
||||||
|
version "8.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
|
||||||
|
integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
|
||||||
|
|
||||||
|
end-of-stream@^1.1.0:
|
||||||
|
version "1.4.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
|
||||||
|
integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
|
||||||
|
dependencies:
|
||||||
|
once "^1.4.0"
|
||||||
|
|
||||||
|
escape-goat@^2.0.0:
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675"
|
||||||
|
integrity sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==
|
||||||
|
|
||||||
|
fill-range@^7.0.1:
|
||||||
|
version "7.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
|
||||||
|
integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
|
||||||
|
dependencies:
|
||||||
|
to-regex-range "^5.0.1"
|
||||||
|
|
||||||
|
fsevents@~2.3.2:
|
||||||
|
version "2.3.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
|
||||||
|
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
|
||||||
|
|
||||||
|
get-stream@^4.1.0:
|
||||||
|
version "4.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"
|
||||||
|
integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==
|
||||||
|
dependencies:
|
||||||
|
pump "^3.0.0"
|
||||||
|
|
||||||
|
get-stream@^5.1.0:
|
||||||
|
version "5.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3"
|
||||||
|
integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==
|
||||||
|
dependencies:
|
||||||
|
pump "^3.0.0"
|
||||||
|
|
||||||
|
glob-parent@~5.1.2:
|
||||||
|
version "5.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
|
||||||
|
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
|
||||||
|
dependencies:
|
||||||
|
is-glob "^4.0.1"
|
||||||
|
|
||||||
|
global-dirs@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-3.0.0.tgz#70a76fe84ea315ab37b1f5576cbde7d48ef72686"
|
||||||
|
integrity sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==
|
||||||
|
dependencies:
|
||||||
|
ini "2.0.0"
|
||||||
|
|
||||||
|
got@^9.6.0:
|
||||||
|
version "9.6.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85"
|
||||||
|
integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==
|
||||||
|
dependencies:
|
||||||
|
"@sindresorhus/is" "^0.14.0"
|
||||||
|
"@szmarczak/http-timer" "^1.1.2"
|
||||||
|
cacheable-request "^6.0.0"
|
||||||
|
decompress-response "^3.3.0"
|
||||||
|
duplexer3 "^0.1.4"
|
||||||
|
get-stream "^4.1.0"
|
||||||
|
lowercase-keys "^1.0.1"
|
||||||
|
mimic-response "^1.0.1"
|
||||||
|
p-cancelable "^1.0.0"
|
||||||
|
to-readable-stream "^1.0.0"
|
||||||
|
url-parse-lax "^3.0.0"
|
||||||
|
|
||||||
|
graceful-fs@^4.1.2:
|
||||||
|
version "4.2.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a"
|
||||||
|
integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==
|
||||||
|
|
||||||
|
has-flag@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
|
||||||
|
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
|
||||||
|
|
||||||
|
has-flag@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
|
||||||
|
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
|
||||||
|
|
||||||
|
has-yarn@^2.1.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77"
|
||||||
|
integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==
|
||||||
|
|
||||||
|
http-cache-semantics@^4.0.0:
|
||||||
|
version "4.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390"
|
||||||
|
integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==
|
||||||
|
|
||||||
|
ignore-by-default@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09"
|
||||||
|
integrity sha1-SMptcvbGo68Aqa1K5odr44ieKwk=
|
||||||
|
|
||||||
|
import-lazy@^2.1.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43"
|
||||||
|
integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=
|
||||||
|
|
||||||
|
imurmurhash@^0.1.4:
|
||||||
|
version "0.1.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
|
||||||
|
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
|
||||||
|
|
||||||
|
ini@2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5"
|
||||||
|
integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==
|
||||||
|
|
||||||
|
ini@~1.3.0:
|
||||||
|
version "1.3.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c"
|
||||||
|
integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==
|
||||||
|
|
||||||
|
is-binary-path@~2.1.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
|
||||||
|
integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==
|
||||||
|
dependencies:
|
||||||
|
binary-extensions "^2.0.0"
|
||||||
|
|
||||||
|
is-ci@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
|
||||||
|
integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==
|
||||||
|
dependencies:
|
||||||
|
ci-info "^2.0.0"
|
||||||
|
|
||||||
|
is-extglob@^2.1.1:
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
||||||
|
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
|
||||||
|
|
||||||
|
is-fullwidth-code-point@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
|
||||||
|
integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
|
||||||
|
|
||||||
|
is-glob@^4.0.1, is-glob@~4.0.1:
|
||||||
|
version "4.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
|
||||||
|
integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
|
||||||
|
dependencies:
|
||||||
|
is-extglob "^2.1.1"
|
||||||
|
|
||||||
|
is-installed-globally@^0.4.0:
|
||||||
|
version "0.4.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.4.0.tgz#9a0fd407949c30f86eb6959ef1b7994ed0b7b520"
|
||||||
|
integrity sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==
|
||||||
|
dependencies:
|
||||||
|
global-dirs "^3.0.0"
|
||||||
|
is-path-inside "^3.0.2"
|
||||||
|
|
||||||
|
is-npm@^5.0.0:
|
||||||
|
version "5.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-5.0.0.tgz#43e8d65cc56e1b67f8d47262cf667099193f45a8"
|
||||||
|
integrity sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==
|
||||||
|
|
||||||
|
is-number@^7.0.0:
|
||||||
|
version "7.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
|
||||||
|
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
|
||||||
|
|
||||||
|
is-obj@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982"
|
||||||
|
integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==
|
||||||
|
|
||||||
|
is-path-inside@^3.0.2:
|
||||||
|
version "3.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
|
||||||
|
integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==
|
||||||
|
|
||||||
|
is-typedarray@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
|
||||||
|
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
|
||||||
|
|
||||||
|
is-yarn-global@^0.3.0:
|
||||||
|
version "0.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232"
|
||||||
|
integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==
|
||||||
|
|
||||||
|
json-buffer@3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898"
|
||||||
|
integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=
|
||||||
|
|
||||||
|
keyv@^3.0.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9"
|
||||||
|
integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==
|
||||||
|
dependencies:
|
||||||
|
json-buffer "3.0.0"
|
||||||
|
|
||||||
|
latest-version@^5.1.0:
|
||||||
|
version "5.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-5.1.0.tgz#119dfe908fe38d15dfa43ecd13fa12ec8832face"
|
||||||
|
integrity sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==
|
||||||
|
dependencies:
|
||||||
|
package-json "^6.3.0"
|
||||||
|
|
||||||
|
lowercase-keys@^1.0.0, lowercase-keys@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f"
|
||||||
|
integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==
|
||||||
|
|
||||||
|
lowercase-keys@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479"
|
||||||
|
integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==
|
||||||
|
|
||||||
|
lru-cache@^6.0.0:
|
||||||
|
version "6.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
|
||||||
|
integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==
|
||||||
|
dependencies:
|
||||||
|
yallist "^4.0.0"
|
||||||
|
|
||||||
|
make-dir@^3.0.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f"
|
||||||
|
integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==
|
||||||
|
dependencies:
|
||||||
|
semver "^6.0.0"
|
||||||
|
|
||||||
|
mimic-response@^1.0.0, mimic-response@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b"
|
||||||
|
integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==
|
||||||
|
|
||||||
|
minimatch@^3.0.4:
|
||||||
|
version "3.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
||||||
|
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
|
||||||
|
dependencies:
|
||||||
|
brace-expansion "^1.1.7"
|
||||||
|
|
||||||
|
minimist@^1.2.0:
|
||||||
|
version "1.2.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
||||||
|
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
||||||
|
|
||||||
|
ms@^2.1.1:
|
||||||
|
version "2.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
|
||||||
|
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
|
||||||
|
|
||||||
|
nodemon@^2.0.15:
|
||||||
|
version "2.0.15"
|
||||||
|
resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.15.tgz#504516ce3b43d9dc9a955ccd9ec57550a31a8d4e"
|
||||||
|
integrity sha512-gdHMNx47Gw7b3kWxJV64NI+Q5nfl0y5DgDbiVtShiwa7Z0IZ07Ll4RLFo6AjrhzMtoEZn5PDE3/c2AbVsiCkpA==
|
||||||
|
dependencies:
|
||||||
|
chokidar "^3.5.2"
|
||||||
|
debug "^3.2.7"
|
||||||
|
ignore-by-default "^1.0.1"
|
||||||
|
minimatch "^3.0.4"
|
||||||
|
pstree.remy "^1.1.8"
|
||||||
|
semver "^5.7.1"
|
||||||
|
supports-color "^5.5.0"
|
||||||
|
touch "^3.1.0"
|
||||||
|
undefsafe "^2.0.5"
|
||||||
|
update-notifier "^5.1.0"
|
||||||
|
|
||||||
|
nopt@~1.0.10:
|
||||||
|
version "1.0.10"
|
||||||
|
resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee"
|
||||||
|
integrity sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=
|
||||||
|
dependencies:
|
||||||
|
abbrev "1"
|
||||||
|
|
||||||
|
normalize-path@^3.0.0, normalize-path@~3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
|
||||||
|
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
|
||||||
|
|
||||||
|
normalize-url@^4.1.0:
|
||||||
|
version "4.5.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a"
|
||||||
|
integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==
|
||||||
|
|
||||||
|
once@^1.3.1, once@^1.4.0:
|
||||||
|
version "1.4.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
||||||
|
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
|
||||||
|
dependencies:
|
||||||
|
wrappy "1"
|
||||||
|
|
||||||
|
p-cancelable@^1.0.0:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc"
|
||||||
|
integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==
|
||||||
|
|
||||||
|
package-json@^6.3.0:
|
||||||
|
version "6.5.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0"
|
||||||
|
integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==
|
||||||
|
dependencies:
|
||||||
|
got "^9.6.0"
|
||||||
|
registry-auth-token "^4.0.0"
|
||||||
|
registry-url "^5.0.0"
|
||||||
|
semver "^6.2.0"
|
||||||
|
|
||||||
|
picomatch@^2.0.4, picomatch@^2.2.1:
|
||||||
|
version "2.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
|
||||||
|
integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==
|
||||||
|
|
||||||
|
prepend-http@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
|
||||||
|
integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=
|
||||||
|
|
||||||
|
pstree.remy@^1.1.8:
|
||||||
|
version "1.1.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a"
|
||||||
|
integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==
|
||||||
|
|
||||||
|
pump@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
|
||||||
|
integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==
|
||||||
|
dependencies:
|
||||||
|
end-of-stream "^1.1.0"
|
||||||
|
once "^1.3.1"
|
||||||
|
|
||||||
|
pupa@^2.1.1:
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/pupa/-/pupa-2.1.1.tgz#f5e8fd4afc2c5d97828faa523549ed8744a20d62"
|
||||||
|
integrity sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==
|
||||||
|
dependencies:
|
||||||
|
escape-goat "^2.0.0"
|
||||||
|
|
||||||
|
rc@^1.2.8:
|
||||||
|
version "1.2.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
|
||||||
|
integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
|
||||||
|
dependencies:
|
||||||
|
deep-extend "^0.6.0"
|
||||||
|
ini "~1.3.0"
|
||||||
|
minimist "^1.2.0"
|
||||||
|
strip-json-comments "~2.0.1"
|
||||||
|
|
||||||
|
readdirp@~3.6.0:
|
||||||
|
version "3.6.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"
|
||||||
|
integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==
|
||||||
|
dependencies:
|
||||||
|
picomatch "^2.2.1"
|
||||||
|
|
||||||
|
registry-auth-token@^4.0.0:
|
||||||
|
version "4.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.1.tgz#6d7b4006441918972ccd5fedcd41dc322c79b250"
|
||||||
|
integrity sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==
|
||||||
|
dependencies:
|
||||||
|
rc "^1.2.8"
|
||||||
|
|
||||||
|
registry-url@^5.0.0:
|
||||||
|
version "5.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009"
|
||||||
|
integrity sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==
|
||||||
|
dependencies:
|
||||||
|
rc "^1.2.8"
|
||||||
|
|
||||||
|
responselike@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7"
|
||||||
|
integrity sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=
|
||||||
|
dependencies:
|
||||||
|
lowercase-keys "^1.0.0"
|
||||||
|
|
||||||
|
semver-diff@^3.1.1:
|
||||||
|
version "3.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b"
|
||||||
|
integrity sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==
|
||||||
|
dependencies:
|
||||||
|
semver "^6.3.0"
|
||||||
|
|
||||||
|
semver@^5.7.1:
|
||||||
|
version "5.7.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
|
||||||
|
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
|
||||||
|
|
||||||
|
semver@^6.0.0, semver@^6.2.0, semver@^6.3.0:
|
||||||
|
version "6.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
|
||||||
|
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
|
||||||
|
|
||||||
|
semver@^7.3.4:
|
||||||
|
version "7.3.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
|
||||||
|
integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
|
||||||
|
dependencies:
|
||||||
|
lru-cache "^6.0.0"
|
||||||
|
|
||||||
|
signal-exit@^3.0.2:
|
||||||
|
version "3.0.6"
|
||||||
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.6.tgz#24e630c4b0f03fea446a2bd299e62b4a6ca8d0af"
|
||||||
|
integrity sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==
|
||||||
|
|
||||||
|
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.2:
|
||||||
|
version "4.2.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
||||||
|
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
||||||
|
dependencies:
|
||||||
|
emoji-regex "^8.0.0"
|
||||||
|
is-fullwidth-code-point "^3.0.0"
|
||||||
|
strip-ansi "^6.0.1"
|
||||||
|
|
||||||
|
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
||||||
|
version "6.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
||||||
|
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
||||||
|
dependencies:
|
||||||
|
ansi-regex "^5.0.1"
|
||||||
|
|
||||||
|
strip-json-comments@~2.0.1:
|
||||||
|
version "2.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
||||||
|
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
|
||||||
|
|
||||||
|
supports-color@^5.5.0:
|
||||||
|
version "5.5.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
|
||||||
|
integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
|
||||||
|
dependencies:
|
||||||
|
has-flag "^3.0.0"
|
||||||
|
|
||||||
|
supports-color@^7.1.0:
|
||||||
|
version "7.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
|
||||||
|
integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
|
||||||
|
dependencies:
|
||||||
|
has-flag "^4.0.0"
|
||||||
|
|
||||||
|
to-readable-stream@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771"
|
||||||
|
integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==
|
||||||
|
|
||||||
|
to-regex-range@^5.0.1:
|
||||||
|
version "5.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"
|
||||||
|
integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==
|
||||||
|
dependencies:
|
||||||
|
is-number "^7.0.0"
|
||||||
|
|
||||||
|
touch@^3.1.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b"
|
||||||
|
integrity sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==
|
||||||
|
dependencies:
|
||||||
|
nopt "~1.0.10"
|
||||||
|
|
||||||
|
type-fest@^0.20.2:
|
||||||
|
version "0.20.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4"
|
||||||
|
integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==
|
||||||
|
|
||||||
|
typedarray-to-buffer@^3.1.5:
|
||||||
|
version "3.1.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"
|
||||||
|
integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==
|
||||||
|
dependencies:
|
||||||
|
is-typedarray "^1.0.0"
|
||||||
|
|
||||||
|
typescript@^4.5.2:
|
||||||
|
version "4.5.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998"
|
||||||
|
integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==
|
||||||
|
|
||||||
|
undefsafe@^2.0.5:
|
||||||
|
version "2.0.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c"
|
||||||
|
integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==
|
||||||
|
|
||||||
|
unique-string@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-2.0.0.tgz#39c6451f81afb2749de2b233e3f7c5e8843bd89d"
|
||||||
|
integrity sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==
|
||||||
|
dependencies:
|
||||||
|
crypto-random-string "^2.0.0"
|
||||||
|
|
||||||
|
update-notifier@^5.1.0:
|
||||||
|
version "5.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-5.1.0.tgz#4ab0d7c7f36a231dd7316cf7729313f0214d9ad9"
|
||||||
|
integrity sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==
|
||||||
|
dependencies:
|
||||||
|
boxen "^5.0.0"
|
||||||
|
chalk "^4.1.0"
|
||||||
|
configstore "^5.0.1"
|
||||||
|
has-yarn "^2.1.0"
|
||||||
|
import-lazy "^2.1.0"
|
||||||
|
is-ci "^2.0.0"
|
||||||
|
is-installed-globally "^0.4.0"
|
||||||
|
is-npm "^5.0.0"
|
||||||
|
is-yarn-global "^0.3.0"
|
||||||
|
latest-version "^5.1.0"
|
||||||
|
pupa "^2.1.1"
|
||||||
|
semver "^7.3.4"
|
||||||
|
semver-diff "^3.1.1"
|
||||||
|
xdg-basedir "^4.0.0"
|
||||||
|
|
||||||
|
url-parse-lax@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c"
|
||||||
|
integrity sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=
|
||||||
|
dependencies:
|
||||||
|
prepend-http "^2.0.0"
|
||||||
|
|
||||||
|
widest-line@^3.1.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca"
|
||||||
|
integrity sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==
|
||||||
|
dependencies:
|
||||||
|
string-width "^4.0.0"
|
||||||
|
|
||||||
|
wrap-ansi@^7.0.0:
|
||||||
|
version "7.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
||||||
|
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
||||||
|
dependencies:
|
||||||
|
ansi-styles "^4.0.0"
|
||||||
|
string-width "^4.1.0"
|
||||||
|
strip-ansi "^6.0.0"
|
||||||
|
|
||||||
|
wrappy@1:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
||||||
|
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
|
||||||
|
|
||||||
|
write-file-atomic@^3.0.0:
|
||||||
|
version "3.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8"
|
||||||
|
integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==
|
||||||
|
dependencies:
|
||||||
|
imurmurhash "^0.1.4"
|
||||||
|
is-typedarray "^1.0.0"
|
||||||
|
signal-exit "^3.0.2"
|
||||||
|
typedarray-to-buffer "^3.1.5"
|
||||||
|
|
||||||
|
xdg-basedir@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13"
|
||||||
|
integrity sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==
|
||||||
|
|
||||||
|
yallist@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
|
||||||
|
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
|
0
2021/08/README.md
Normal file
0
2021/08/README.md
Normal file
0
2021/09/README.md
Normal file
0
2021/09/README.md
Normal file
0
2021/10/README.md
Normal file
0
2021/10/README.md
Normal file
0
2021/11/README.md
Normal file
0
2021/11/README.md
Normal file
0
2021/12/README.md
Normal file
0
2021/12/README.md
Normal file
0
2021/13/README.md
Normal file
0
2021/13/README.md
Normal file
0
2021/14/README.md
Normal file
0
2021/14/README.md
Normal file
0
2021/15/README.md
Normal file
0
2021/15/README.md
Normal file
0
2021/16/README.md
Normal file
0
2021/16/README.md
Normal file
0
2021/17/README.md
Normal file
0
2021/17/README.md
Normal file
0
2021/18/README.md
Normal file
0
2021/18/README.md
Normal file
0
2021/19/README.md
Normal file
0
2021/19/README.md
Normal file
0
2021/20/README.md
Normal file
0
2021/20/README.md
Normal file
0
2021/21/README.md
Normal file
0
2021/21/README.md
Normal file
0
2021/22/README.md
Normal file
0
2021/22/README.md
Normal file
0
2021/23/README.md
Normal file
0
2021/23/README.md
Normal file
0
2021/24/README.md
Normal file
0
2021/24/README.md
Normal file
4
2021/README.md
Normal file
4
2021/README.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Advent of Code 2021
|
||||||
|
[Advent of Code](https://adventofcode.com/) is a yearly advent calender with coding challenges.
|
||||||
|
|
||||||
|
This is my first try at participating.
|
4
2021/yarn.lock
Normal file
4
2021/yarn.lock
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||||
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
16
2021/yarn_boilerplate/main.ts
Normal file
16
2021/yarn_boilerplate/main.ts
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
import { readFileSync } from "fs"
|
||||||
|
import { argv, exit } from "process"
|
||||||
|
|
||||||
|
function main(): void {
|
||||||
|
console.log(JSON.stringify(argv))
|
||||||
|
if (argv[2] && argv[2] != "") {
|
||||||
|
const values = readFileSync(argv[2], "utf8")
|
||||||
|
const inputs = values.replace('\n', '').split(',')
|
||||||
|
console.log(JSON.stringify(inputs))
|
||||||
|
} else {
|
||||||
|
console.log("No filename")
|
||||||
|
exit()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
main()
|
19
2021/yarn_boilerplate/package.json
Normal file
19
2021/yarn_boilerplate/package.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"name": "change_me",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"main": "index.js",
|
||||||
|
"license": "MIT",
|
||||||
|
"scripts": {
|
||||||
|
"start": "node build/first.js",
|
||||||
|
"build": "tsc",
|
||||||
|
"watch": "yarn run build -- -w",
|
||||||
|
"monitor": "nodemon build/first.js"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"nodemon": "^2.0.15",
|
||||||
|
"typescript": "^4.5.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/node": "^16.11.11"
|
||||||
|
}
|
||||||
|
}
|
14
2021/yarn_boilerplate/tsconfig.json
Normal file
14
2021/yarn_boilerplate/tsconfig.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "es6",
|
||||||
|
"module": "commonjs",
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"removeComments": true,
|
||||||
|
"preserveConstEnums": true,
|
||||||
|
"outDir": "./build",
|
||||||
|
"strict":true,
|
||||||
|
"esModuleInterop":true,
|
||||||
|
"inlineSourceMap":true
|
||||||
|
},
|
||||||
|
"exclude":["node_modules"]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user