Commit Graph

27 Commits

Author SHA1 Message Date
Akibur Rahman
5198af80a9 merge: Run "style" and "test" scripts automatically when committing new changes (#918)
* feat: add style and run scripts on pre-commit hooks

* Update package-lock.json
2022-03-09 20:41:14 +05:30
dependabot[bot]
7dd99c1c03 merge: chore(deps): bump node-fetch from 2.6.1 to 3.1.1 (#877)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-23 16:03:35 +05:30
Rak Laptudirm
f8d4a2678d chore: jest fall back 2021-10-28 12:16:15 +05:30
Philip Schikora
8a4f117574 merge: add UnionFind.js plus tests (#814)
* Create UnionFind.js

* Create UnionFindTest.js

* add UnionFind.js plus tests

* implement PR comments

* implement PR comment

* fix codestyle

Co-authored-by: Administrator <pi@pglp.noip.me>
2021-10-26 18:05:22 +05:30
Rak Laptudirm
190ebb02fd chore: use standard without fix 2021-10-22 09:32:12 +05:30
Rak Laptudirm
d38ebe5199 chore: Merge pull request #768 from lvlte/issues/720
Changes for consolidation
2021-10-21 19:32:55 +05:30
Rak Laptudirm
c212bf142c chore: update standard 2021-10-21 19:08:18 +05:30
Eric Lavault
8c64f99316 Officially switching to ES Module system. 2021-10-11 16:23:02 +02:00
Roland Hummel
b13b12e88c chore: merge Fix/742 migrate doctest to jest (#749)
* Remove QuickSelect doctest

There are more Jest test cases already.

* Remove AverageMedian doctest

Already migrated to jest

* Migrate doctest for BinaryExponentiationRecursive.js

(also remove inline "main" test method)

* Migrate doctest for EulersTotient.js

(also remove inline "main" test method)

* Migrate doctest for PrimeFactors.js

(also remove inline "main" test method)

* Migrate doctest for BogoSort.js

Re-write prototype-polluting helper methods, too.

(also remove inline test driver code)

* Migrate doctest for BeadSort.js

(also remove inline test driver code)

* Migrate doctest for BucketSort.js

(also remove inline test driver code)

* Migrate doctest for CocktailShakerSort.js

(also remove inline test driver code)

* Migrate doctest for MergeSort.js

(also remove inline test driver code)

* Migrate doctest for QuickSort.js

(also remove inline test driver code)

* Migrate doctest for ReverseString.js

(also remove inline test driver code)

* Migrate doctest for ReverseString.js

* Migrate doctest for ValidateEmail.js

* Migrate doctest for ConwaysGameOfLife.js

(remove the animate code, too)

* Remove TernarySearch doctest

Already migrated to jest

* Migrate doctest for BubbleSort.js

(also remove inline test driver code)

* Remove doctest from CI and from dependencies

relates to #742
fixes #586

* Migrate doctest for RgbHsvConversion.js

* Add --fix option to "standard" npm script

* Migrate doctest for BreadthFirstSearch.js

(also remove inline test driver code)

* Migrate doctest for BreadthFirstShortestPath.js

(also remove inline test driver code)

* Migrate doctest for EulerMethod.js

(also remove inline test driver code)

Move manual test-code for plotting stuff in the browser in a distinct file, too. Those "*.manual-test.js" files are excluded from the UpdateDirectory.mjs script, as well.

* Migrate doctest for Mandelbrot.js

(also remove inline test driver code & moved manual drawing test into a *.manual-test.js)

* Migrate doctest for FloodFill.js

* Migrate doctest for KochSnowflake.js

(also move manual drawing test into a *.manual-test.js)

* Update npm lockfile

* Update README and COMMITTING with a few bits & bobs regarding testing & code quality
2021-10-07 12:33:38 +05:30
Rak Laptudirm
7be5ce0f1b chore: Merge pull request #748 from chiranjeev-thapliyal/master
added Backtracking/AllCombinationsOfSizeK
2021-10-06 14:39:39 +05:30
Chiranjeev
6919e85c01 added Backtracking/AllCombinationsOfSizeK 2021-10-06 00:13:25 +05:30
Sajeeb Ahamed
98d2cb7579 ♻️ rollback the package.json and the lock file 2021-10-05 23:57:48 +06:00
Sajeeb Ahamed
bf088c0646 add an algorithm for checking a year is a leap year or not 2021-10-04 01:20:08 +06:00
rlfagan
b7ef904b5e Update package.json (#577)
* Update package.json

* Update README.md

* Update README.md
2021-04-03 13:49:54 +05:30
sandyboypraper
ee749bde47 Added EulersTotientFunction function to the Maths Folder 2020-12-14 00:33:55 +05:30
Kayla Golder
d70595e236 Merge branch 'master' into add-trapping-water 2020-10-27 13:07:25 -04:00
Kayla
826d75b61b complete trapping rain water 2020-10-27 12:59:11 -04:00
Pete Looney
faafa34b5c added matrixMult.js 2020-10-12 16:36:25 -05:00
Carlos Carvalho
86ed0d8829 fix code style using standardjs 2020-10-06 00:08:52 -03:00
Carlos Carvalho
5ba5a603bb remove wrong edited file package.json 2020-10-05 17:06:45 -03:00
Carlos Carvalho
bd70fd2ada Added new algoritm 2020-10-05 17:03:56 -03:00
Alexandre Xavier
c5fc353c32 Added tests for Strings algorithms (#390)
* test: added tests for check anagram function
2020-10-04 23:08:48 +05:30
dependabot[bot]
87e16d5dab Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-13 08:35:14 +05:30
Christian Clauss
4cbdc9e072 Add doctest to devDependencies of package.json
As requested at https://github.com/TheAlgorithms/Javascript/issues/142#issuecomment-667625929
2020-08-02 06:47:16 +02:00
Tapajyoti Bose
854e70a210 Added stock price fetch + package-lock.json (#233)
* Added stock price fetch

* Delete package-lock.json

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-08-01 09:14:10 +05:30
Swapnil-2001
3e787629ec Removed package-lock.json (#212)
* fixes: #210

* Fixes: #210
2020-06-28 14:08:17 +05:30
Tapajyoti Bose
412995ac09 Added Web-Programming (Open Weather Maps data fetch) (#196)
* Added Web-Programming (Open Weather Maps data fetch)

* update

Co-authored-by: itsvinayak <itssvinayak@gmail.com>
2020-06-21 22:08:29 +05:30