Skip to content

Commit

Permalink
update to new remote link
Browse files Browse the repository at this point in the history
  • Loading branch information
201flaviosilva committed May 16, 2024
1 parent a7455e6 commit 0e47297
Show file tree
Hide file tree
Showing 8 changed files with 96 additions and 75 deletions.
118 changes: 70 additions & 48 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,39 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
This file was based on [this template](https://gist.github.com/juampynr/4c18214a8eb554084e21d6e288a18a2c).

----
## [1.3 - Tests and some Data Structures](https://github.com/201flaviosilva-labs/utilidades/milestone/4)
## [1.4 - New utils](https://github.com/201flaviosilva/utilidades/milestone/3)

### [1.3.3] - XX-XX-2023
### [1.4.1] - 16-05-2023
- Move repository to a new Github organization;

### [1.4.0] - 16-05-2023

## Fixed
- DataStructures/BinarySearchTree;
- DataStructures/DoublyLinkedList;
- DataStructures/LinkedList;
- DataStructures/Queue;
- DataStructures/Stack;

----
## [1.3 - Tests and some Data Structures](https://github.com/201flaviosilva/utilidades/milestone/4)

### [1.3.3] - 13-05-2023

#### Added
- randomWalk function;
- step function;
- Maths/isDecimal;
- DataStructures/DoublyLinkedList;
- DataStructures/Queue;
- DataStructures/Stack;

#### Fixed/Updated
- DataStructures/BinarySearchTree;
- DataStructures/LinkedList;

#### Breaking Changes
- Removed: randomWalk1d, randomWalk3d, randomWalk3d functions
- Removed: randomWalk1d, randomWalk3d, randomWalk3d functions;

### [1.3.2] - 26-05-2023

Expand All @@ -41,53 +63,53 @@ This file was based on [this template](https://gist.github.com/juampynr/4c18214a

#### Breaking Changes
- Multiple files was organized!
- Removed: SortingAlgorithms - Moved sort function to the [play-code project](https://github.com/201flaviosilva-labs/play-code);
- Removed: SortingAlgorithms - Moved sort function to the [play-code project](https://github.com/201flaviosilva/play-code);

## [1.2.0 - More Functions](https://github.com/201flaviosilva-labs/utilidades/milestone/2)
## [1.2.0 - More Functions](https://github.com/201flaviosilva/utilidades/milestone/2)

### [1.2.10] - 21-10-2022

#### Added
- [Add some Sorting Algorithm](https://github.com/201flaviosilva-labs/utilidades/commit/5d248aa08a3f4de28843aa5c788bfe9cc55f9fda);
- [Array New Sort](https://github.com/201flaviosilva-labs/utilidades/commit/9260d39f2d567705d09aa0ee2b69fec2a429b3c2) - Return a new array sorted based in the given one;
- [Array Is Sorted](https://github.com/201flaviosilva-labs/utilidades/commit/9260d39f2d567705d09aa0ee2b69fec2a429b3c2) - Check if the array is sorted;
- [Get Position With Angle Distance](https://github.com/201flaviosilva-labs/utilidades/commit/80b83a7f35508d9997fb95bf2b6af066b8b4e553);
- [Is Falsy](https://github.com/201flaviosilva-labs/utilidades/commit/25b13f2b7fc66c01e6709ac8adee2e57f79fc5fd) #84;
- [Is Truthy](https://github.com/201flaviosilva-labs/utilidades/commit/25b13f2b7fc66c01e6709ac8adee2e57f79fc5fd) #84;
- [getBrowser](https://github.com/201flaviosilva-labs/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d) - Returns the browser name #44;
- [getBrowserVersion](https://github.com/201flaviosilva-labs/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d) - Returns the browser version #44;
- [getOS](https://github.com/201flaviosilva-labs/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d) - Returns the OS name #44;
- [getOSVersion](https://github.com/201flaviosilva-labs/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d) - Returns the OS version #44;
- [isMobile](https://github.com/201flaviosilva-labs/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d) - Check if is in a mobile device #44;
- [Add some Sorting Algorithm](https://github.com/201flaviosilva/utilidades/commit/5d248aa08a3f4de28843aa5c788bfe9cc55f9fda);
- [Array New Sort](https://github.com/201flaviosilva/utilidades/commit/9260d39f2d567705d09aa0ee2b69fec2a429b3c2) - Return a new array sorted based in the given one;
- [Array Is Sorted](https://github.com/201flaviosilva/utilidades/commit/9260d39f2d567705d09aa0ee2b69fec2a429b3c2) - Check if the array is sorted;
- [Get Position With Angle Distance](https://github.com/201flaviosilva/utilidades/commit/80b83a7f35508d9997fb95bf2b6af066b8b4e553);
- [Is Falsy](https://github.com/201flaviosilva/utilidades/commit/25b13f2b7fc66c01e6709ac8adee2e57f79fc5fd) #84;
- [Is Truthy](https://github.com/201flaviosilva/utilidades/commit/25b13f2b7fc66c01e6709ac8adee2e57f79fc5fd) #84;
- [getBrowser](https://github.com/201flaviosilva/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d) - Returns the browser name #44;
- [getBrowserVersion](https://github.com/201flaviosilva/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d) - Returns the browser version #44;
- [getOS](https://github.com/201flaviosilva/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d) - Returns the OS name #44;
- [getOSVersion](https://github.com/201flaviosilva/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d) - Returns the OS version #44;
- [isMobile](https://github.com/201flaviosilva/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d) - Check if is in a mobile device #44;

#### Changed
- [Add more examples to the functions](https://github.com/201flaviosilva-labs/utilidades/commit/06c75f5b84da32b9af4521eab48afc3d4982a8aa);
- [`and` and `or` can receive infinity args](https://github.com/201flaviosilva-labs/utilidades/commit/2473d089c7a699650abfce108425ee0d479ce7e7) #88;
- [Add more examples to the functions](https://github.com/201flaviosilva/utilidades/commit/06c75f5b84da32b9af4521eab48afc3d4982a8aa);
- [`and` and `or` can receive infinity args](https://github.com/201flaviosilva/utilidades/commit/2473d089c7a699650abfce108425ee0d479ce7e7) #88;

#### Fixed

#### Breaking Changes
- Move project from GitLab to GitHub;
- Change some functions names to array function;
- [Move `toggleFullScreen` to `DOM/toggleFullScreen`](https://github.com/201flaviosilva-labs/utilidades/commit/2c0e9f8d293c68f36e9297b70c18321678e40921);
- [Only export `getDate` function from `getDate` file](https://github.com/201flaviosilva-labs/utilidades/commit/2c0e9f8d293c68f36e9297b70c18321678e40921);
- [Removed `nand`, `nor`, `not` and `xnor`](https://github.com/201flaviosilva-labs/utilidades/commit/2473d089c7a699650abfce108425ee0d479ce7e7) #88;
- [Move array functions to a folder](https://github.com/201flaviosilva-labs/utilidades/commit/237cbf42f22131dd83c5126107f21b32ce33e232) #89;
- [Move date function to device folder/namespace](https://github.com/201flaviosilva-labs/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d);
- [Removed Games](https://github.com/201flaviosilva-labs/utilidades/commit/40367810b608d5271f2795df44ec4e7dea02fd29);
- [Move `toggleFullScreen` to `DOM/toggleFullScreen`](https://github.com/201flaviosilva/utilidades/commit/2c0e9f8d293c68f36e9297b70c18321678e40921);
- [Only export `getDate` function from `getDate` file](https://github.com/201flaviosilva/utilidades/commit/2c0e9f8d293c68f36e9297b70c18321678e40921);
- [Removed `nand`, `nor`, `not` and `xnor`](https://github.com/201flaviosilva/utilidades/commit/2473d089c7a699650abfce108425ee0d479ce7e7) #88;
- [Move array functions to a folder](https://github.com/201flaviosilva/utilidades/commit/237cbf42f22131dd83c5126107f21b32ce33e232) #89;
- [Move date function to device folder/namespace](https://github.com/201flaviosilva/utilidades/commit/c81f718f9497adc9f69f057950f7594b12dfa52d);
- [Removed Games](https://github.com/201flaviosilva/utilidades/commit/40367810b608d5271f2795df44ec4e7dea02fd29);


### [1.2.9] - 02-09-2022

#### Added
- [Random Walk](https://github.com/201flaviosilva-labs/utilidades/commit/56eebcaac033c05401140c4418b54e9579fb8d38) #46;
- [Binary Search Tree](https://github.com/201flaviosilva-labs/utilidades/commit/b141db4e7a0089a7c99a9ca8a70f7a37f73d59ef) #11;
- [Random Walk](https://github.com/201flaviosilva/utilidades/commit/56eebcaac033c05401140c4418b54e9579fb8d38) #46;
- [Binary Search Tree](https://github.com/201flaviosilva/utilidades/commit/b141db4e7a0089a7c99a9ca8a70f7a37f73d59ef) #11;

#### Changed
- ["Skip" zones in range](https://github.com/201flaviosilva-labs/utilidades/commit/b0d7a1d585f194c093ba22f621ebf71a0d5ce793) #68;
- ["Skip" zones in range](https://github.com/201flaviosilva/utilidades/commit/b0d7a1d585f194c093ba22f621ebf71a0d5ce793) #68;

#### Fixed
- [Median](https://github.com/201flaviosilva-labs/utilidades/commit/bb9e8d4aba6f64cc6752b7f0853460c2edc03d74);
- [Median](https://github.com/201flaviosilva/utilidades/commit/bb9e8d4aba6f64cc6752b7f0853460c2edc03d74);

#### Breaking Changes
- `findBigArrObj` and `getMaxArrayObjects` change to `arrayFindBigObject` #74;
Expand All @@ -100,39 +122,39 @@ This file was based on [this template](https://gist.github.com/juampynr/4c18214a
### [1.2.8] - 22-07-2022

#### Added
- [(DOM) KeyboardManager - A basic keyboard manager (like check if the key is pressed)](https://github.com/201flaviosilva-labs/utilidades/commit/985b59849d66b1d00b5e5660f66e1fb8c87eaad4) #3;
- [(DOM) MouseManager - A basic mouse manager (like check if a button is pressed)](https://github.com/201flaviosilva-labs/utilidades/commit/caa9e7bd9c1fe82280a0abf13b61b488ac792a60) #4;
- [divideEvenly - Returns a array with the dived evenly between the two numbers](https://github.com/201flaviosilva-labs/utilidades/commit/95da63534f0a346cc82041303ef991e2bb2d0973) #55;
- [isObjectEmpty - check if a array is empty](https://github.com/201flaviosilva-labs/utilidades/commit/6d5a1c55256c2663c5d3ece18c6bc360b5fd4b1d);
- [Median - Returns the median of the givens numbers](https://github.com/201flaviosilva-labs/utilidades/commit/fd8bd65ca24ac7696db29b1c76a25fbd69273a65) #53;
- [Mode](https://github.com/201flaviosilva-labs/utilidades/commit/fd8bd65ca24ac7696db29b1c76a25fbd69273a65) #53;
- [(DOM) KeyboardManager - A basic keyboard manager (like check if the key is pressed)](https://github.com/201flaviosilva/utilidades/commit/985b59849d66b1d00b5e5660f66e1fb8c87eaad4) #3;
- [(DOM) MouseManager - A basic mouse manager (like check if a button is pressed)](https://github.com/201flaviosilva/utilidades/commit/caa9e7bd9c1fe82280a0abf13b61b488ac792a60) #4;
- [divideEvenly - Returns a array with the dived evenly between the two numbers](https://github.com/201flaviosilva/utilidades/commit/95da63534f0a346cc82041303ef991e2bb2d0973) #55;
- [isObjectEmpty - check if a array is empty](https://github.com/201flaviosilva/utilidades/commit/6d5a1c55256c2663c5d3ece18c6bc360b5fd4b1d);
- [Median - Returns the median of the givens numbers](https://github.com/201flaviosilva/utilidades/commit/fd8bd65ca24ac7696db29b1c76a25fbd69273a65) #53;
- [Mode](https://github.com/201flaviosilva/utilidades/commit/fd8bd65ca24ac7696db29b1c76a25fbd69273a65) #53;

#### Changed
- [moved random numbers functions to the randomNumber.js file;](https://github.com/201flaviosilva-labs/utilidades/commit/b46c29d9c16641781f018746a0037afe0dcec83a)
- [moved random colors functions to the randomColor.js file](https://github.com/201flaviosilva-labs/utilidades/commit/b46c29d9c16641781f018746a0037afe0dcec83a);
- [moved random numbers functions to the randomNumber.js file;](https://github.com/201flaviosilva/utilidades/commit/b46c29d9c16641781f018746a0037afe0dcec83a)
- [moved random colors functions to the randomColor.js file](https://github.com/201flaviosilva/utilidades/commit/b46c29d9c16641781f018746a0037afe0dcec83a);

#### Fixed
- [randomInt - Fix return a number between the given min and max;](https://github.com/201flaviosilva-labs/utilidades/commit/9e250dbcad6044a1e1b669a2d77bfd45df64060e)
- [arrayChoice - Fixed not returning the last element](https://github.com/201flaviosilva-labs/utilidades/commit/9e250dbcad6044a1e1b669a2d77bfd45df64060e);
- [isObjectEmpty - Check is the given object is empty](https://github.com/201flaviosilva-labs/utilidades/commit/6d5a1c55256c2663c5d3ece18c6bc360b5fd4b1d);
- [randomInt - Fix return a number between the given min and max;](https://github.com/201flaviosilva/utilidades/commit/9e250dbcad6044a1e1b669a2d77bfd45df64060e)
- [arrayChoice - Fixed not returning the last element](https://github.com/201flaviosilva/utilidades/commit/9e250dbcad6044a1e1b669a2d77bfd45df64060e);
- [isObjectEmpty - Check is the given object is empty](https://github.com/201flaviosilva/utilidades/commit/6d5a1c55256c2663c5d3ece18c6bc360b5fd4b1d);

#### Breaking Changes
- [rockPaperScissor - move to /Games folder](https://github.com/201flaviosilva-labs/utilidades/commit/29b31bdc1fd60790e071d0429b4790f9d5a9d082) #60;
- [exportFile - move to /DOM folder](https://github.com/201flaviosilva-labs/utilidades/commit/fd8bd65ca24ac7696db29b1c76a25fbd69273a65);
- [rockPaperScissor - move to /Games folder](https://github.com/201flaviosilva/utilidades/commit/29b31bdc1fd60790e071d0429b4790f9d5a9d082) #60;
- [exportFile - move to /DOM folder](https://github.com/201flaviosilva/utilidades/commit/fd8bd65ca24ac7696db29b1c76a25fbd69273a65);

### [1.2.7] - 15-07-2022
#### Added
- [Full Screen](https://github.com/201flaviosilva-labs/utilidades/commit/cedd102ff36ffd712d0d20be30f21b9003253027) #41;
- [arrayRandom](https://github.com/201flaviosilva-labs/utilidades/commit/cbdb864e76c5b7d8379352f3524a6a1d85f171fb);
- [Full Screen](https://github.com/201flaviosilva/utilidades/commit/cedd102ff36ffd712d0d20be30f21b9003253027) #41;
- [arrayRandom](https://github.com/201flaviosilva/utilidades/commit/cbdb864e76c5b7d8379352f3524a6a1d85f171fb);

### [1.2.6] - 08-07-2022

#### Added
- [recursiveFibonacci](https://github.com/201flaviosilva-labs/utilidades/commit/04dc0aaf31690f39e37f110ce8e6d9e0df56803c);
- [factorial](https://github.com/201flaviosilva-labs/utilidades/commit/0acd876787cbbeb546efede06458b75aace09421);
- [randomString](https://github.com/201flaviosilva-labs/utilidades/commit/100b27ae279d94af6f1f3c5c5df05321767fd3e5) #50;
- [Array Choice](https://github.com/201flaviosilva-labs/utilidades/commit/82b391a59c2ec709cbf42c4945d277263d858613) #38;
- [Array Shuffle](https://github.com/201flaviosilva-labs/utilidades/commit/1d9b11083ee4d4493c3d17cb71e514f389b04e0e) #48;
- [recursiveFibonacci](https://github.com/201flaviosilva/utilidades/commit/04dc0aaf31690f39e37f110ce8e6d9e0df56803c);
- [factorial](https://github.com/201flaviosilva/utilidades/commit/0acd876787cbbeb546efede06458b75aace09421);
- [randomString](https://github.com/201flaviosilva/utilidades/commit/100b27ae279d94af6f1f3c5c5df05321767fd3e5) #50;
- [Array Choice](https://github.com/201flaviosilva/utilidades/commit/82b391a59c2ec709cbf42c4945d277263d858613) #38;
- [Array Shuffle](https://github.com/201flaviosilva/utilidades/commit/1d9b11083ee4d4493c3d17cb71e514f389b04e0e) #48;

#### Changed
- Vector2 - fixed some formulas and add new functions
Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ npm i utilidades

or
```sh
npm i https://github.com/201flaviosilva-labs/utilidades#v1.3.3
npm i https://github.com/201flaviosilva/utilidades#v1.4.1
```

#### Import to the project
Expand All @@ -25,7 +25,7 @@ console.log(randomNumber(1, 20));

### Using CDN (jsdelivr)
```html
<script src="https://cdn.jsdelivr.net/npm/utilidades@1.3.3/build/utils.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/utilidades@1.4.1/build/utils.min.js"></script>
<script src="./your-js-file.js"></script>
```

Expand All @@ -47,16 +47,15 @@ console.log(randomNumber(1, 20));
| `npm run bump` | Update lib in the npm |

## Links
- [WebPage (Documentation)](https://201flaviosilva-labs.github.io/utilidades/);
- [WebPage (Documentation)](https://201flaviosilva.github.io/utilidades/);
- [Package](https://www.npmjs.com/package/utilidades);
- [GitHub](https://github.com/201flaviosilva-labs/utilidades);
- [Wiki](https://github.com/201flaviosilva-labs/utilidades/wiki);
- [Issues](https://github.com/201flaviosilva-labs/utilidades/issues);
- [Snippets (More Utils)](https://github.com/201flaviosilva-labs/utilidades/tree/main/snippets);
- [Releases](https://github.com/201flaviosilva-labs/utilidades/releases);
- [GitHub](https://github.com/201flaviosilva/utilidades);
- [Wiki](https://github.com/201flaviosilva/utilidades/wiki);
- [Issues](https://github.com/201flaviosilva/utilidades/issues);
- [Releases](https://github.com/201flaviosilva/utilidades/releases);

## Examples
- [Code Sandbox](https://codesandbox.io/examples/package/utilidades);
- [Code Sandbox](https://codesandbox.io/examples/package/utilidades);
- [Code Sandbox (old lib)](https://codesandbox.io/examples/package/201flaviosilva-utils);
- [GitHub Repositories](https://github.com/201flaviosilva-labs/utilidades/network/dependents);
- [GitHub Repositories](https://github.com/201flaviosilva/utilidades/network/dependents);
6 changes: 3 additions & 3 deletions dist/utilidades.js
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,7 @@ function L() {
function te() {
return k() + "/" + $() + "/" + L();
}
const ee = "utilidades", ne = "1.3.3", ie = "Just simple utils for javascript :)", se = "https://201flaviosilva-labs.github.io/utilidades/", re = "201flaviosilva", ue = "MIT", le = "module", he = "./dist/utilidades.umd.cjs", oe = "./dist/utilidades.js", ae = "./types/main.d.ts", ce = {
const ee = "utilidades", ne = "1.4.0", ie = "Just simple utils for javascript :)", se = "https://201flaviosilva.github.io/utilidades/", re = "201flaviosilva", ue = "MIT", le = "module", he = "./dist/utilidades.umd.cjs", oe = "./dist/utilidades.js", ae = "./types/main.d.ts", ce = {
clear: "rm -rf types && rm -rf docs && rm -rf build && rm -rf dist",
dev: "vite",
test: "vitest --watch=false",
Expand Down Expand Up @@ -1964,9 +1964,9 @@ const ee = "utilidades", ne = "1.3.3", ie = "Just simple utils for javascript :)
"utils"
], pe = {
type: "git",
url: "git+https://github.com/201flaviosilva-labs/utilidades.git"
url: "git+https://github.com/201flaviosilva/utilidades.git"
}, xe = {
url: "https://github.com/201flaviosilva-labs/utilidades/issues"
url: "https://github.com/201flaviosilva/utilidades/issues"
}, we = {
name: ee,
version: ne,
Expand Down
2 changes: 1 addition & 1 deletion dist/utilidades.umd.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jsdoc.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"menu": [
{
"title": "GitHub",
"link": "https://github.com/201flaviosilva-labs/utilidades/",
"link": "https://github.com/201flaviosilva/utilidades/",
"target": "_blank"
}
]
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "utilidades",
"version": "1.4.0",
"description": "Just simple utils for javascript :)",
"homepage": "https://201flaviosilva-labs.github.io/utilidades/",
"homepage": "https://201flaviosilva.github.io/utilidades/",
"author": "201flaviosilva",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -52,9 +52,9 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/201flaviosilva-labs/utilidades.git"
"url": "git+https://github.com/201flaviosilva/utilidades.git"
},
"bugs": {
"url": "https://github.com/201flaviosilva-labs/utilidades/issues"
"url": "https://github.com/201flaviosilva/utilidades/issues"
}
}
2 changes: 1 addition & 1 deletion wiki/Custom-Build.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ One way to do that it’s cloning the repository, opening a new terminal, and pa

(You need to have git installed on your machine)
```sh
git clone https://github.com/201flaviosilva-labs/utilidades.git
git clone https://github.com/201flaviosilva/utilidades.git
```

### Install the decencies
Expand Down

0 comments on commit 0e47297

Please sign in to comment.