diff --git a/lexer/lexer_test.go b/lexer/lexer_test.go index 31813a0..8fdf107 100755 --- a/lexer/lexer_test.go +++ b/lexer/lexer_test.go @@ -101,7 +101,7 @@ func TestNextToken(t *testing.T) { {token.TRUE, "true"}, {token.SEMICOLON, ";"}, {token.RBRACE, "}"}, - {token.ELSE, "sivyo"}, + {token.ELSE, "else"}, {token.LBRACE, "{"}, {token.RETURN, "return"}, {token.FALSE, "false"}, @@ -154,11 +154,11 @@ func TestNextToken(t *testing.T) { {token.RBRACE, "}"}, {token.RBRACE, "}"}, {token.NULL, "tupu"}, - {token.FOR, "kwa"}, + {token.FOR, "for"}, {token.IDENT, "i"}, {token.COMMA, ","}, {token.IDENT, "v"}, - {token.IN, "ktk"}, + {token.IN, "in"}, {token.IDENT, "j"}, {token.EOF, ""}, } diff --git a/parser/for.go b/parser/for.go index dc92823..8926ab2 100755 --- a/parser/for.go +++ b/parser/for.go @@ -15,7 +15,7 @@ func (p *Parser) parseForExpression() ast.Expression { return p.parseForInExpression(expression) } - // In future will allow: kwa i = 0; i<10; i++ {print(i)} + // In future will allow: for i = 0; i<10; i++ {print(i)} // expression.Identifier = p.curToken.Literal // expression.StarterName = &ast.Identifier{Token: p.curToken, Value: p.curToken.Literal} // if expression.StarterName == nil { diff --git a/parser/parser_test.go b/parser/parser_test.go index 7b1b9cc..18d022d 100755 --- a/parser/parser_test.go +++ b/parser/parser_test.go @@ -87,7 +87,7 @@ func TestReturnStatements(t *testing.T) { expectedValue interface{} }{ {"rudisha 5;", 5}, - {"rudisha kweli;", true}, + {"rudisha true;", true}, {"rudisha bangi;", "bangi"}, } @@ -188,8 +188,8 @@ func TestParsingPrefixExpressions(t *testing.T) { }{ {"!5;", "!", 5}, {"-15;", "-", 15}, - {"!kweli", "!", true}, - {"!sikweli", "!", false}, + {"!true", "!", true}, + {"!false", "!", false}, } for _, tt := range prefixTests { @@ -261,9 +261,9 @@ func TestParsingInfixExpressions(t *testing.T) { {"5 <= 5;", 5, "<=", 5}, {"5 || 5;", 5, "||", 5}, {"5 && 5;", 5, "&&", 5}, - {"kweli == kweli", true, "==", true}, - {"kweli != sikweli", true, "!=", false}, - {"sikweli == sikweli", false, "==", false}, + {"true == true", true, "==", true}, + {"true != false", true, "!=", false}, + {"false == false", false, "==", false}, } for _, tt := range infixTests { @@ -341,20 +341,20 @@ func TestOperatorPrecedenceParsing(t *testing.T) { "((3 + (4 * 5)) == ((3 * 1) + (4 * 5)))", }, { - "kweli", - "kweli", + "true", + "true", }, { - "sikweli", - "sikweli", + "false", + "false", }, { - "3 > 5 == sikweli", - "((3 > 5) == sikweli)", + "3 > 5 == false", + "((3 > 5) == false)", }, { - "3 < 5 == kweli", - "((3 < 5) == kweli)", + "3 < 5 == true", + "((3 < 5) == true)", }, { "1 + (2 + 3) + 4", @@ -373,8 +373,8 @@ func TestOperatorPrecedenceParsing(t *testing.T) { "(-(5 + 5))", }, { - "!(kweli == kweli)", - "(!(kweli == kweli))", + "!(true == true)", + "(!(true == true))", }, { "a + add(b * c) + d", @@ -501,8 +501,8 @@ func TestBooleanExpression(t *testing.T) { input string expectedBoolean bool }{ - {"kweli;", true}, - {"sikweli;", false}, + {"true;", true}, + {"false;", false}, } for _, tt := range tests { @@ -534,7 +534,7 @@ func TestBooleanExpression(t *testing.T) { } func TestIfExpression(t *testing.T) { - input := `kama (x < y) { x }` + input := `if (x < y) { x }` l := lexer.New(input) p := New(l) @@ -578,7 +578,7 @@ func TestIfExpression(t *testing.T) { } func TestIfElseExpression(t *testing.T) { - input := `kama (x < y) { x } sivyo { y }` + input := `if (x < y) { x } else { y }` l := lexer.New(input) p := New(l) @@ -874,7 +874,7 @@ func TestParsingDictLiteralsIntegerKeys(t *testing.T) { } func TestParsingDictLiteralsBoolKeys(t *testing.T) { - input := `{kweli: 1, sikweli: 2}` + input := `{true: 1, false: 2}` l := lexer.New(input) p := New(l) @@ -1033,7 +1033,7 @@ func TestShorthandAssignment(t *testing.T) { } func TestForExpression(t *testing.T) { - input := `kwa i, v ktk j {print(i)}` + input := `for i, v in j {print(i)}` l := lexer.New(input) p := New(l) diff --git a/repl/docs.go b/repl/docs.go index 5768152..d72cc1d 100755 --- a/repl/docs.go +++ b/repl/docs.go @@ -135,7 +135,7 @@ func (pg playground) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } case tea.KeyCtrlR: if strings.Contains(pg.editor.Value(), "input") { - pg.output.SetContent(styles.HelpStyle.Italic(false).Render("Samahani, huwezi kutumia `input()` kwa sasa.")) + pg.output.SetContent(styles.HelpStyle.Italic(false).Render("Samahani, huwezi kutumia `input()` for sasa.")) } else { // this is just for the output will find a better solution code := strings.ReplaceAll(pg.editor.Value(), "print", "_print") @@ -178,7 +178,7 @@ func (pg playground) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case tea.MouseLeft: if zone.Get(pg.id + "run").InBounds(msg) { if strings.Contains(pg.editor.Value(), "input") { - pg.output.SetContent(styles.HelpStyle.Italic(false).Render("Samahani, huwezi kutumia `input()` kwa sasa.")) + pg.output.SetContent(styles.HelpStyle.Italic(false).Render("Samahani, huwezi kutumia `input()` for sasa.")) } else { // this is just for the output will find a better solution code := strings.ReplaceAll(pg.editor.Value(), "print", "_print") diff --git a/repl/docs/en/README.md b/repl/docs/en/README.md index 81626d3..27efdf3 100755 --- a/repl/docs/en/README.md +++ b/repl/docs/en/README.md @@ -23,8 +23,8 @@ This documentation is intended for people with some experience in programming. I - [Single-Line Comments](comments.md#single-line-comments) - [Multi-Line Comments](comments.md#multi-line-comments) - [Conditional Statements in vint](ifStatements.md#conditional-statements-in-vint) - - [If Statement (Kama)](ifStatements.md#if-statement-(kama)) - - [Else If and Else Blocks (Au Kama and Sivyo)](ifStatements.md#else-if-and-else-blocks-(au-kama-and-sivyo)) + - [If Statement (if)](ifStatements.md#if-statement-(if)) + - [Else If and Else Blocks (Au if and else)](ifStatements.md#else-if-and-else-blocks-(au-if-and-else)) - [Dictionaries in vint](dictionaries.md#dictionaries-in-vint) - [Creating Dictionaries](dictionaries.md#creating-dictionaries) - [Accessing Elements](dictionaries.md#accessing-elements) diff --git a/repl/docs/en/arrays.md b/repl/docs/en/arrays.md index df4d9e6..a720121 100755 --- a/repl/docs/en/arrays.md +++ b/repl/docs/en/arrays.md @@ -7,21 +7,21 @@ Arrays in vint are versatile data structures that can hold multiple items, inclu To create an array, use square brackets [] and separate items with commas: ```s -orodha = [1, "pili", kweli] +list = [1, "second", true] ``` ## Accessing and Modifying Array Elements Arrays in vint are zero-indexed. To access an element, use the element's index in square brackets: ```s -namba = [10, 20, 30] -jina = namba[1] // jina is 20 +num = [10, 20, 30] +n = num[1] // n is 20 ``` You can reassign an element in an array using its index: ```s -namba[1] = 25 +num[1] = 25 ``` ## Concatenating Arrays @@ -37,32 +37,32 @@ c = a + b ## Checking for Array Membership -Use the `ktk` keyword to check if an item exists in an array: +Use the `in` keyword to check if an item exists in an array: ```s -namba = [10, 20, 30] -print(20 ktk namba) // will print kweli +num = [10, 20, 30] +print(20 in num) // will print true ``` ## Looping Over Arrays -You can use the kwa and ktk keywords to loop over array elements. To loop over just the values, use the following syntax: +You can use the for and in keywords to loop over array elements. To loop over just the values, use the following syntax: ``` -namba = [1, 2, 3, 4, 5] +num = [1, 2, 3, 4, 5] -kwa thamani ktk namba { - print(thamani) +for value in num { + print(value) } ``` To loop over both index and value pairs, use this syntax: ```s -majina = ["Juma", "Asha", "Haruna"] +man = ["Juma", "Asha", "Haruna"] -kwa idx, jina ktk majina { - print(idx, "-", jina) +for idx, n in man { + print(idx, "-", n) } ``` @@ -70,38 +70,38 @@ kwa idx, jina ktk majina { Arrays in vint have several built-in methods: -### idadi() +### length() -idadi() returns the length of an array: +length() returns the length of an array: ```s a = [1, 2, 3] -urefu = a.idadi() +urefu = a.length() print(urefu) // will print 3 ``` -### sukuma() +### push() -sukuma() adds one or more items to the end of an array: +push() adds one or more items to the end of an array: ```s a = [1, 2, 3] -a.sukuma("s", "g") +a.push("s", "g") print(a) // will print [1, 2, 3, "s", "g"] ``` -### yamwisho() +### last() -yamwisho() returns the last item in an array, or tupu if the array is empty: +last() returns the last item in an array, or tupu if the array is empty: ```s a = [1, 2, 3] -mwisho = a.yamwisho() -print(mwisho) // will print 3 +last_el = a.last() +print(last_el) // will print 3 b = [] -mwisho = b.yamwisho() -print(mwisho) // will print tupu +last_el = b.last() +print(last_el) // will print tupu ``` ### map() @@ -110,21 +110,21 @@ map() goes through every element in the array and applies the passed function to ```s a = [1, 2, 3] -b = a.map(func(x){rudisha x*2}) +b = a.map(func(x){return x*2}) print(b) // [2, 4, 6] ``` -### chuja() +### filter() -chuja() will go through every single element of an array and checks if that element returns true or false when passed into a function. It will return a new array with elements that returned true: +filter() will go through every single element of an array and checks if that element returns true or false when passed into a function. It will return a new array with elements that returned true: ```s a = [1, 2, 3, 4] -b = a.chuja(func(x){ - kama (x % 2 == 0) - {rudisha kweli} - rudisha sikweli +b = a.filter(func(x){ + if (x % 2 == 0) + {return true} + return false }) print(b) // [2, 4] diff --git a/repl/docs/en/dictionaries.md b/repl/docs/en/dictionaries.md index 4219e76..09bcd32 100755 --- a/repl/docs/en/dictionaries.md +++ b/repl/docs/en/dictionaries.md @@ -17,7 +17,7 @@ Keys can be strings, integers, floats, or booleans, while values can be any data k = { "jina": "Juma", "umri": 25, - kweli: "kweli", + true: "true", "salimu": func(x) { print("habari", x) }, "sina value": tupu } @@ -29,7 +29,7 @@ Access individual elements in a dictionary using their keys: ```s -print(k[kweli]) // kweli +print(k[true]) // true print(k["salimu"]("Juma")) // habari Juma ``` @@ -64,12 +64,12 @@ print(vyakula) // {"a": "apple", "b": "banana", "c": "carrot", "d": "daikon"} ## Checking If a Key Exists in a Dictionary -Use the ktk keyword to check if a key exists in a dictionary: +Use the in keyword to check if a key exists in a dictionary: ```s -"umri" ktk k // kweli -"urefu" ktk k // sikweli +"umri" in k // true +"urefu" in k // false ``` ## Looping Over a Dictionary @@ -79,7 +79,7 @@ Loop over a dictionary to access its keys and values: ```s hobby = {"a": "asili", "b": "baiskeli", "c": "chakula"} -kwa i, v ktk hobby { +for i, v in hobby { print(i, "=>", v) } ``` @@ -93,7 +93,7 @@ c => chakula Loop over just the values: ```s -kwa v ktk hobby { +for v in hobby { print(v) } ``` diff --git a/repl/docs/en/for.md b/repl/docs/en/for.md index 62354e1..53636a2 100755 --- a/repl/docs/en/for.md +++ b/repl/docs/en/for.md @@ -3,12 +3,12 @@ For loops are a ffuncmental control structure in vint, used for iterating over iterable objects such as strings, arrays, and dictionaries. This page covers the syntax and usage of for loops in vint, including key-value pair iteration, and the use of break and continue statements. ## Basic Syntax -To create a for loop, use the kwa keyword followed by a temporary identifier (such as i or v) and the iterable object. Enclose the loop body in curly braces {}. Here's an example with a string: +To create a for loop, use the for keyword followed by a temporary identifier (such as i or v) and the iterable object. Enclose the loop body in curly braces {}. Here's an example with a string: ```s jina = "lugano" -kwa i ktk jina { +for i in jina { print(i) } ``` @@ -32,7 +32,7 @@ vint allows you to iterate over both the value or the key-value pair of an itera ```s kamusi = {"a": "andaa", "b": "baba"} -kwa v ktk kamusi { +for v in kamusi { print(v) } ``` @@ -47,7 +47,7 @@ To iterate over both the keys and the values, use two temporary identifiers: ```s -kwa k, v ktk kamusi { +for k, v in kamusi { print(k + " ni " + v) } ``` @@ -63,7 +63,7 @@ b ni baba To iterate over just the values in a string, use one temporary identifier: ```s -kwa v ktk "mojo" { +for v in "mojo" { print(v) } ``` @@ -78,7 +78,7 @@ o To iterate over both the keys and the values in a string, use two temporary identifiers: ```s -kwa i, v ktk "mojo" { +for i, v in "mojo" { print(i, "->", v) } ``` @@ -97,7 +97,7 @@ To iterate over just the values in a list, use one temporary identifier: ```s majina = ["juma", "asha", "haruna"] -kwa v ktk majina { +for v in majina { print(v) } ``` @@ -113,7 +113,7 @@ haruna To iterate over both the keys and the values in a list, use two temporary identifiers: ```s -kwa i, v ktk majina { +for i, v in majina { print(i, "-", v) } ``` @@ -134,8 +134,8 @@ Use the vunja keyword to terminate a loop: ```s -kwa i, v ktk "mojo" { - kama (i == 2) { +for i, v in "mojo" { + if (i == 2) { print("nimevunja") vunja } @@ -156,8 +156,8 @@ nimevunja Use the endelea keyword to skip a specific iteration: ```s -kwa i, v ktk "mojo" { - kama (i == 2) { +for i, v in "mojo" { + if (i == 2) { print("nimeruka") endelea } diff --git a/repl/docs/en/function.md b/repl/docs/en/function.md index 099cb0b..16fa49c 100755 --- a/repl/docs/en/function.md +++ b/repl/docs/en/function.md @@ -65,9 +65,9 @@ vint also supports recursion. Here's an example of a recursive Fibonacci functio ```s fib = func(n) { - kama (n <= 1) { + if (n <= 1) { rudisha n - } sivyo { + } else { rudisha fib(n-1) + fib(n-2) } } diff --git a/repl/docs/en/ifStatements.md b/repl/docs/en/ifStatements.md index d6e7b41..d22b874 100755 --- a/repl/docs/en/ifStatements.md +++ b/repl/docs/en/ifStatements.md @@ -2,37 +2,37 @@ Conditional statements in vint are used to perform different actions based on different conditions. The if/else statement is a ffuncmental control structure that allows you to execute code based on specific conditions. This page covers the basics of if/else statements in vint. -## If Statement (Kama) +## If Statement (if) -An if statement starts with the kama keyword, followed by a condition in parentheses (). If the condition is true, the code inside the curly braces {} will be executed. +An if statement starts with the if keyword, followed by a condition in parentheses (). If the condition is true, the code inside the curly braces {} will be executed. ```s -kama (2 > 1) { - print(kweli) // kweli +if (2 > 1) { + print(true) // true } ``` -In this example, the condition 2 > 1 is true, so the print(kweli) statement is executed, and the output is kweli. +In this example, the condition 2 > 1 is true, so the print(true) statement is executed, and the output is true. -## Else If and Else Blocks (Au Kama and Sivyo) +## Else If and Else Blocks (Au if and else) -You can use au kama to test multiple conditions and sivyo to specify a default block of code to be executed when none of the conditions are true. +You can use au if to test multiple conditions and else to specify a default block of code to be executed when none of the conditions are true. ```s let a = 10 -kama (a > 100) { +if (a > 100) { print("a imezidi 100") -} au kama (a < 10) { +} au if (a < 10) { print("a ndogo kuliko 10") -} sivyo { +} else { print("Thamani ya a ni", a) } // The output will be 'Thamani ya a ni 10' ``` -In this example, the first condition a > 100 is false, and the second condition a < 10 is also false. Therefore, the code inside the sivyo block is executed, and the output is 'Thamani ya a ni 10'. +In this example, the first condition a > 100 is false, and the second condition a < 10 is also false. Therefore, the code inside the else block is executed, and the output is 'Thamani ya a ni 10'. -By using if/else statements with the kama, au kama, and sivyo keywords, you can control the flow of your vint code based on different conditions. \ No newline at end of file +By using if/else statements with the if, au if, and else keywords, you can control the flow of your vint code based on different conditions. \ No newline at end of file diff --git a/repl/docs/en/keywords.md b/repl/docs/en/keywords.md index ac18ab5..1a3340f 100755 --- a/repl/docs/en/keywords.md +++ b/repl/docs/en/keywords.md @@ -9,15 +9,15 @@ The table below lists the reserved keywords in vint. These words have specific m - - + + - + - + @@ -27,8 +27,8 @@ The table below lists the reserved keywords in vint. These words have specific m - - + + diff --git a/repl/docs/en/null.md b/repl/docs/en/null.md index 20f74ba..c70baaf 100755 --- a/repl/docs/en/null.md +++ b/repl/docs/en/null.md @@ -14,9 +14,9 @@ let a = tupu When evaluating a null data type in a conditional expression, it will evaluate to false: ```s -kama (a) { +if (a) { print("niko tupu") -} sivyo { +} else { print("nimevaa nguo") } diff --git a/repl/docs/en/operators.md b/repl/docs/en/operators.md index 8c9a792..f8d49ec 100755 --- a/repl/docs/en/operators.md +++ b/repl/docs/en/operators.md @@ -41,12 +41,12 @@ vint supports the following comparison operators: ## MEMBER OPERATOR -The member operator in vint is `ktk`. It will check if an object exists in another object: +The member operator in vint is `in`. It will check if an object exists in another object: ```go let majina = ['juma', 'asha', 'haruna'] -"haruna" ktk majina // kweli -"halima" ktk majina // sikweli +"haruna" in majina // true +"halima" in majina // false ``` ## LOGIC OPERATORS @@ -70,7 +70,7 @@ Operators have the following precedence, starting from the highest priority to t - `>, >=, <, <=`: Comparison operators - `==, !=`: Equal or Not Equal to - `=`: Assignment Operator -- `ktk`: Member Operator +- `in`: Member Operator - `&&, ||`: Logical AND and OR Understanding operators in vint allows you to create complex expressions, perform calculations, and make decisions based on the values of variables. diff --git a/repl/docs/en/range.md b/repl/docs/en/range.md index 30ce736..c9506cf 100755 --- a/repl/docs/en/range.md +++ b/repl/docs/en/range.md @@ -24,25 +24,25 @@ Returns an array of integers. ```go // Generate numbers from 0 to 4 -kwa i katika mfululizo(5) { +for i katika mfululizo(5) { print(i) } // Output: 0 1 2 3 4 // Generate numbers from 1 to 9 -kwa i katika mfululizo(1, 10) { +for i katika mfululizo(1, 10) { print(i) } // Output: 1 2 3 4 5 6 7 8 9 // Generate even numbers from 0 to 8 -kwa i katika mfululizo(0, 10, 2) { +for i katika mfululizo(0, 10, 2) { print(i) } // Output: 0 2 4 6 8 // Generate numbers in reverse order -kwa i katika mfululizo(10, 0, -1) { +for i katika mfululizo(10, 0, -1) { print(i) } // Output: 10 9 8 7 6 5 4 3 2 1 diff --git a/repl/docs/en/strings.md b/repl/docs/en/strings.md index e5f7278..1e7915f 100755 --- a/repl/docs/en/strings.md +++ b/repl/docs/en/strings.md @@ -46,12 +46,12 @@ a *= 4 ## Looping over a String -You can loop through a string using the kwa keyword: +You can loop through a string using the for keyword: ```s let jina = "avicenna" -kwa i ktk jina {print(i)} +for i in jina {print(i)} ``` Output ```s @@ -68,7 +68,7 @@ a And for key-value pairs: ```s -kwa i, v ktk jina { +for i, v in jina { print(i, "=>", v) } ``` @@ -91,9 +91,9 @@ You can compare two strings using the == operator: ```s let a = "vint" -print(a == "vint") // kweli +print(a == "vint") // true -print(a == "mambo") // sikweli +print(a == "mambo") // false ``` ## String Methods diff --git a/repl/docs/en/while.md b/repl/docs/en/while.md index 1bf04ed..aa282f7 100755 --- a/repl/docs/en/while.md +++ b/repl/docs/en/while.md @@ -31,7 +31,7 @@ Use the vunja keyword to terminate a loop: let i = 1 wakati (i < 5) { - kama (i == 3) { + if (i == 3) { print("nimevunja") vunja } @@ -55,7 +55,7 @@ let i = 0 wakati (i < 5) { i++ - kama (i == 3) { + if (i == 3) { print("nimeruka") endelea } diff --git a/vintFlow/package-lock.json b/vintFlow/package-lock.json index 9f74b67..629d8a7 100644 --- a/vintFlow/package-lock.json +++ b/vintFlow/package-lock.json @@ -793,7 +793,7 @@ "node_modules/@babel/plugin-syntax-private-property-in-object": { "version": "7.14.5", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3inzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -1297,7 +1297,7 @@ "node_modules/@babel/plugin-transform-numeric-separator": { "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.24.7.tgz", - "integrity": "sha512-e6q1TiVUzvH9KRvicuxdBTUj4AdKSRwzIyFFnfnezpCfP2/7Qmbb8qbU2j7GODbl4JMkblitCQjKYUaX/qkkwA==", + "integrity": "sha512-e6q1TiVUzvH9KRvicuxdBTUj4AdKSRwzIyFFnfnezpCfP2/7Qmbb8qbU2j7GODbl4JMkblitCQjKYUaX/qkfor==", "dependencies": { "@babel/helper-plugin-utils": "^7.24.7", "@babel/plugin-syntax-numeric-separator": "^7.10.4" @@ -4646,7 +4646,7 @@ "node_modules/boolbase": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==" + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtoforky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==" }, "node_modules/boolean": { "version": "3.2.0", @@ -10877,7 +10877,7 @@ "node_modules/promise-inflight": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", + "integrity": "sha512-6zWPyEOFaQBJYcGMHBinJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", "dev": true }, "node_modules/promise-retry": { @@ -11876,7 +11876,7 @@ "node_modules/serve-index/node_modules/setprototypeof": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", - "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67inuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", "dev": true }, "node_modules/serve-index/node_modules/statuses": { @@ -12898,7 +12898,7 @@ "node_modules/tsconfig-paths/node_modules/json5": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLinbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "dependencies": { "minimist": "^1.2.0" @@ -13396,7 +13396,7 @@ "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwinXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "dev": true, "bin": { "uuid": "dist/bin/uuid" @@ -14002,7 +14002,7 @@ "node_modules/xterm-addon-search": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/xterm-addon-search/-/xterm-addon-search-0.8.2.tgz", - "integrity": "sha512-I1863mjn8P6uVrqm/X+btalVsqjAKLhnhpbP7SavAOpEkI1jJhbHU2UTp7NjeRtcKTks6UWk/ycgds5snDSejg==", + "integrity": "sha512-I1863mjn8P6uVrqm/X+btalVsqjAKLhnhpbP7SavAOpEkI1jJhbHU2UTp7NjeRtcins6UWk/ycgds5snDSejg==", "deprecated": "This package is now deprecated. Move to @xterm/addon-search instead.", "dev": true, "peerDependencies": { diff --git a/website/package-lock.json b/website/package-lock.json index bb5c1f4..d165250 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -4494,7 +4494,7 @@ "node_modules/json5": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLinbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "license": "MIT", "dependencies": { @@ -5027,7 +5027,7 @@ "node_modules/mdast-util-phrasing": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", - "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAfor0zWOABz2w==", "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -7240,7 +7240,7 @@ "node_modules/string.prototype.includes": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz", - "integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==", + "integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVfor+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==", "dev": true, "license": "MIT", "dependencies": {
kwelisikwelitruefalse func let
kamaif ausivyoelse wakati
tupu
ktkkwainfor switch ikiwa