mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-07 11:08:54 +08:00
dependencies: update and clean (and auto-fix style issues) (#1195)
* Update npm dependencies (and auto-fix style issues) * Updated Documentation in README.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
* [AllCombinationsOfSizeK](Backtracking/AllCombinationsOfSizeK.js)
|
||||
* [GeneratePermutations](Backtracking/GeneratePermutations.js)
|
||||
* [KnightTour](Backtracking/KnightTour.js)
|
||||
* [NQueen](Backtracking/NQueen.js)
|
||||
* [NQueens](Backtracking/NQueens.js)
|
||||
* [RatInAMaze](Backtracking/RatInAMaze.js)
|
||||
* [Sudoku](Backtracking/Sudoku.js)
|
||||
* [SumOfSubset](Backtracking/SumOfSubset.js)
|
||||
@ -149,6 +149,7 @@
|
||||
* [CollatzSequence](Maths/CollatzSequence.js)
|
||||
* [Coordinate](Maths/Coordinate.js)
|
||||
* [CoPrimeCheck](Maths/CoPrimeCheck.js)
|
||||
* [CountNumbersDivisible](Maths/CountNumbersDivisible.js)
|
||||
* [DecimalExpansion](Maths/DecimalExpansion.js)
|
||||
* [DecimalIsolate](Maths/DecimalIsolate.js)
|
||||
* [DegreeToRadian](Maths/DegreeToRadian.js)
|
||||
@ -172,6 +173,7 @@
|
||||
* [IsDivisible](Maths/IsDivisible.js)
|
||||
* [IsEven](Maths/IsEven.js)
|
||||
* [IsOdd](Maths/IsOdd.js)
|
||||
* [isPalindromeIntegerNumber](Maths/isPalindromeIntegerNumber.js)
|
||||
* [IsPronic](Maths/IsPronic.js)
|
||||
* [IsSquareFree](Maths/IsSquareFree.js)
|
||||
* [JugglerSequence](Maths/JugglerSequence.js)
|
||||
@ -227,6 +229,7 @@
|
||||
* [Problem008](Project-Euler/Problem008.js)
|
||||
* [Problem009](Project-Euler/Problem009.js)
|
||||
* [Problem010](Project-Euler/Problem010.js)
|
||||
* [Problem011](Project-Euler/Problem011.js)
|
||||
* [Problem012](Project-Euler/Problem012.js)
|
||||
* [Problem013](Project-Euler/Problem013.js)
|
||||
* [Problem014](Project-Euler/Problem014.js)
|
||||
@ -237,6 +240,7 @@
|
||||
* [Problem020](Project-Euler/Problem020.js)
|
||||
* [Problem023](Project-Euler/Problem023.js)
|
||||
* [Problem025](Project-Euler/Problem025.js)
|
||||
* [Problem044](Project-Euler/Problem044.js)
|
||||
* **Recursive**
|
||||
* [BinaryEquivalent](Recursive/BinaryEquivalent.js)
|
||||
* [BinarySearch](Recursive/BinarySearch.js)
|
||||
@ -290,6 +294,7 @@
|
||||
* [ShellSort](Sorts/ShellSort.js)
|
||||
* [SimplifiedWiggleSort](Sorts/SimplifiedWiggleSort.js)
|
||||
* [StoogeSort](Sorts/StoogeSort.js)
|
||||
* [SwapSort](Sorts/SwapSort.js)
|
||||
* [TimSort](Sorts/TimSort.js)
|
||||
* [TopologicalSort](Sorts/TopologicalSort.js)
|
||||
* **String**
|
||||
|
@ -26,5 +26,5 @@ export function collatz (n) {
|
||||
steps.push(n)
|
||||
}
|
||||
|
||||
return { result: n, steps: steps }
|
||||
return { result: n, steps }
|
||||
}
|
||||
|
13253
package-lock.json
generated
13253
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
20
package.json
20
package.json
@ -11,18 +11,18 @@
|
||||
"author": "TheAlgorithms",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.11.6",
|
||||
"@babel/plugin-transform-runtime": "^7.11.5",
|
||||
"@babel/preset-env": "^7.11.5"
|
||||
"@babel/core": "^7.19.3",
|
||||
"@babel/plugin-transform-runtime": "^7.19.1",
|
||||
"@babel/preset-env": "^7.19.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/eslint-parser": "^7.17.0",
|
||||
"@types/jest": "^27.4.1",
|
||||
"babel-jest": "^26.3.0",
|
||||
"globby": "^12.0.2",
|
||||
"husky": "^7.0.4",
|
||||
"jest": "^26.6.3",
|
||||
"standard": "^16.0.4"
|
||||
"@babel/eslint-parser": "^7.19.1",
|
||||
"@types/jest": "^29.1.2",
|
||||
"babel-jest": "^29.2.0",
|
||||
"globby": "^13.1.2",
|
||||
"husky": "^8.0.1",
|
||||
"jest": "^29.2.0",
|
||||
"standard": "^17.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.6.0"
|
||||
|
Reference in New Issue
Block a user