{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":675245893,"defaultBranch":"main","name":"hortu","ownerLogin":"necmettindev","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-08-06T09:25:33.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/32331164?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1691313934.4446201","currentOid":""},"activityList":{"items":[{"before":"fa61e94ddb7358423841525eeac24e0064cf7d02","after":"0bbd797ee04f5f7300a6d32fd43ff01b8cd62e46","ref":"refs/heads/main","pushedAt":"2023-08-26T14:36:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"chore(lang): add new utility functions for type checking and data manipulation\n\nThis commit adds several new utility functions to the `lang` module. The added functions are:\n- `isBuffer`: checks if a value is a Buffer object\n- `isDate`: checks if a value is a Date object\n- `isElement`: checks if a value is a DOM element\n- `isMap`: checks if a value is a Map object\n- `isNull`: checks if a value is null\n- `isObjectLike`: checks if a value is an object-like value\n- `isPlainObject`: checks if a value is a plain object\n- `isSet`: checks if a value is a Set object\n- `toLength`: converts a value to a valid array-like length\n- `toPlainObject`: converts a value to a plain object\n- `toSafeInteger`: converts a value to a safe integer\n- `toString`: converts a value to a string\n\nThese utility functions provide additional functionality for type checking and data manipulation, improving the overall capabilities of the `lang` module.","shortMessageHtmlLink":"chore(lang): add new utility functions for type checking and data man…"}},{"before":"093c90139a76dfa4e940fbc3622bf3b25e05af1f","after":"fa61e94ddb7358423841525eeac24e0064cf7d02","ref":"refs/heads/main","pushedAt":"2023-08-26T14:34:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(function): add debounce.ts file to export debounce function\nThe commit adds a new file `debounce.ts` to the `function` directory in the library. This file exports the `debounce` function. The purpose of this change is to provide a utility function for debouncing function calls in the library.","shortMessageHtmlLink":"feat(function): add debounce.ts file to export debounce function"}},{"before":"91fd0e2309cdc450c405acc59f6f522ef8428f6a","after":"093c90139a76dfa4e940fbc3622bf3b25e05af1f","ref":"refs/heads/main","pushedAt":"2023-08-26T14:34:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(array): add array utility functions for chunking, compacting, slicing, taking, and taking right\nThis commit adds a new file `index.ts` to the `array` directory in the `library/src` folder. The file exports utility functions for manipulating arrays. The functions included are `chunk`, `compact`, `slice`, `take`, and `takeRight`. These functions provide convenient ways to perform common operations on arrays, such as dividing an array into chunks, removing falsy values, extracting a portion of an array, and taking elements from the beginning or end of an array. These utility functions enhance the functionality of the array module in the library.","shortMessageHtmlLink":"feat(array): add array utility functions for chunking, compacting, sl…"}},{"before":"4a38fc92752b8e9e938fe4593561b6402ca0f1c0","after":"91fd0e2309cdc450c405acc59f6f522ef8428f6a","ref":"refs/heads/main","pushedAt":"2023-08-26T14:34:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(module.ts): add module.ts file to export all modules from src/index.ts\nThe module.ts file is added to the library directory to serve as a central export file for all modules in the src/index.ts file. This allows for easier importing of modules from the library.","shortMessageHtmlLink":"feat(module.ts): add module.ts file to export all modules from src/in…"}},{"before":"875d6ee271d38b7f2eb3635e5f4db4a172742a7e","after":"4a38fc92752b8e9e938fe4593561b6402ca0f1c0","ref":"refs/heads/main","pushedAt":"2023-08-26T14:34:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"chore(playground.js): remove unused import statement\nThe import statement from './dist/index.js' has been removed as it was not being used in the code. This change improves code cleanliness and removes unnecessary dependencies.","shortMessageHtmlLink":"chore(playground.js): remove unused import statement"}},{"before":"c682dcda6936e3748a2d530dbf8a0c8929f5825d","after":"875d6ee271d38b7f2eb3635e5f4db4a172742a7e","ref":"refs/heads/main","pushedAt":"2023-08-26T14:33:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"chore(tsup.config.ts): update tsup configuration to enable minification, shimming, and sourcemap generation\nThe tsup configuration has been updated to enable minification using the 'terser' minifier, minify identifiers, syntax, and whitespace, enable shimming, generate sourcemaps, and bundle the output. These changes aim to optimize the size and performance of the generated code.","shortMessageHtmlLink":"chore(tsup.config.ts): update tsup configuration to enable minificati…"}},{"before":"709f4cdb1f51543ccc271075cc4ddd9b34efef27","after":"c682dcda6936e3748a2d530dbf8a0c8929f5825d","ref":"refs/heads/main","pushedAt":"2023-08-26T12:37:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"chore: add .prettierignore file to exclude unnecessary files and directories from prettier formatting\nThe .prettierignore file is added to the project to specify files and directories that should be excluded from prettier formatting. This helps to keep the codebase clean and organized by preventing unnecessary files and directories from being modified by the prettier tool.","shortMessageHtmlLink":"chore: add .prettierignore file to exclude unnecessary files and dire…"}},{"before":"2e86b63872400dad6260c6620bd4c6613d8b4f52","after":"709f4cdb1f51543ccc271075cc4ddd9b34efef27","ref":"refs/heads/main","pushedAt":"2023-08-26T12:36:36.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"initial","shortMessageHtmlLink":"initial"}},{"before":"07b4bd2c2173a57faa0fc2605aec17c40ea9f2c6","after":"2e86b63872400dad6260c6620bd4c6613d8b4f52","ref":"refs/heads/main","pushedAt":"2023-08-26T12:29:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"chore(.gitignore): remove package lock files and add server to gitignore\nThe commit removes the package lock files (pnpm-lock.yaml, package-lock.json, yarn.lock) from the gitignore file. Additionally, the commit adds \"server\" to the gitignore file to exclude it from version control.","shortMessageHtmlLink":"chore(.gitignore): remove package lock files and add server to gitignore"}},{"before":"a6a18d14bda9ad0a63bf0a66901a8aa7c4fe1ee7","after":"07b4bd2c2173a57faa0fc2605aec17c40ea9f2c6","ref":"refs/heads/main","pushedAt":"2023-08-26T12:29:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"chore(pnpm-workspace.yaml): add pnpm workspace configuration file\nA new file `pnpm-workspace.yaml` has been added to the project. This file is used to configure the pnpm workspace and specify the packages that are part of the workspace. The `library` and `docs` packages have been added to the workspace configuration. This allows pnpm to manage the dependencies of these packages in a unified manner within the workspace.","shortMessageHtmlLink":"chore(pnpm-workspace.yaml): add pnpm workspace configuration file"}},{"before":"b15d51cbdf89ee218f18acb323036baf98c267ca","after":"a6a18d14bda9ad0a63bf0a66901a8aa7c4fe1ee7","ref":"refs/heads/main","pushedAt":"2023-08-26T12:28:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(library): add new functions for type checking and number manipulation\n\n- Added `isElement` function to check if a value is an element object.\n- Added `isMap` function to check if a value is a Map object.\n- Added `isPlainObject` function to check if a value is a plain object.\n- Added `isSet` function to check if a value is a Set object.\n- Added `clamp` function to clamp a number within given bounds.\n\nThese new functions enhance the library's capabilities by providing more robust type checking and number manipulation functionalities. They allow users to easily determine the type of an object and perform operations on numbers within specified ranges.\n\nfeat(number): add clamp function to library\n\nThe `clamp` function is added to the number module in the library. It takes a number and clamps it within the inclusive lower and upper bounds. This ensures that the number is within the specified range. The function is useful for scenarios where you want to restrict a value to a specific range.\n\nfeat(number): add inRange function to library\n\nThe `inRange` function is added to the number module in the library. It checks if a number is between the start and up to, but not including, the end. If the end is not specified, it defaults to the start value. The function returns true if the number is in the range, otherwise it returns false. This function is useful for validating if a number falls within a specific range.\n\nfeat(number): add random function to library\n\nThe `random` function is added to the number module in the library. It generates a random number between the lower and upper bounds. The function accepts optional parameters for specifying whether the result should be a floating point number or an integer. If no arguments are provided, the function returns a random number between 0 and 1. This function is useful for generating random numbers within a specified range.","shortMessageHtmlLink":"feat(library): add new functions for type checking and number manipul…"}},{"before":"cd9afd7fbe99c46b73b4701991b0c0639bb323be","after":"b15d51cbdf89ee218f18acb323036baf98c267ca","ref":"refs/heads/main","pushedAt":"2023-08-26T12:27:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(isDate.test.ts): add unit tests for the isDate function\nThe isDate.test.ts file is added to the project to include unit tests for the isDate function. The tests cover various scenarios, including checking if a given value is a date, checking if a given value is a non-date with only tag check, checking if a string date is considered a date, and checking if various non-date values are correctly identified as non-dates. These tests ensure the accuracy and reliability of the isDate function.","shortMessageHtmlLink":"feat(isDate.test.ts): add unit tests for the isDate function"}},{"before":"90ad84fee66c17305d164c4d8f86718fdf217f9e","after":"cd9afd7fbe99c46b73b4701991b0c0639bb323be","ref":"refs/heads/main","pushedAt":"2023-08-26T12:25:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(isDate.ts): add isDate function to check if a value is a date object\nThe `isDate` function is added to the `lang` module in the library. This function checks if the given value is a date object. It first checks if the value is an object-like value, and then uses the `Symbol.toStringTag` property to determine if the value is a date object. If `Symbol.toStringTag` is not available or if the `onlyTagCheck` option is set to `true`, it falls back to using the `getTag` function to check the object's tag.","shortMessageHtmlLink":"feat(isDate.ts): add isDate function to check if a value is a date ob…"}},{"before":"62b4e4eac06229f6291e668423f5bb9d92ac374a","after":"90ad84fee66c17305d164c4d8f86718fdf217f9e","ref":"refs/heads/main","pushedAt":"2023-08-26T12:24:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(isBuffer.test.ts): add tests for the isBuffer function to ensure correct behavior\nThe isBuffer.test.ts file is added to the project to include tests for the isBuffer function. These tests cover both positive cases where the function should return true for buffers, and negative cases where the function should return false for non-buffers. This addition helps ensure the correctness of the isBuffer function and improves the overall test coverage of the project.","shortMessageHtmlLink":"feat(isBuffer.test.ts): add tests for the isBuffer function to ensure…"}},{"before":"41371bda4aca8ccae79d2c179e4c3ec5e4d7f7e8","after":"62b4e4eac06229f6291e668423f5bb9d92ac374a","ref":"refs/heads/main","pushedAt":"2023-08-26T12:24:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(isBuffer.ts): add isBuffer function to check if an object is a buffer\nThe `isBuffer` function is added to check if the given object is a buffer. It supports checking in Web, Node.js, and React Native environments. The function checks if the object has a `constructor.isBuffer` method and calls it if available. If the method is not available, it checks if the object is an instance of `Uint8Array`.","shortMessageHtmlLink":"feat(isBuffer.ts): add isBuffer function to check if an object is a b…"}},{"before":"10501431b939fb3b3cecd3bc75796cd9eed694b2","after":"41371bda4aca8ccae79d2c179e4c3ec5e4d7f7e8","ref":"refs/heads/main","pushedAt":"2023-08-26T12:23:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(compact.test.ts): add tests for the `compact` function in the array library\nThe `compact.test.ts` file is added to the array library to include tests for the `compact` function. The tests cover scenarios such as returning an empty array when provided `null` or `undefined`, returning an empty array when provided an empty array, returning an array with truthy values, and filtering out falsy values. These tests ensure the correctness of the `compact` function and validate its behavior in different scenarios.","shortMessageHtmlLink":"feat(compact.test.ts): add tests for the compact function in the ar…"}},{"before":"0b78ce69b99d36532dd305b47e71c81646952f7a","after":"10501431b939fb3b3cecd3bc75796cd9eed694b2","ref":"refs/heads/main","pushedAt":"2023-08-26T12:22:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(compact.ts): add compact function to filter out falsy values from an array\nThe `compact` function is added to the `array` module. This function takes an array as input and returns a new array with only truthy values. Falsy values such as `false`, `0`, `\"\"`, `null`, `undefined`, and `NaN` are filtered out from the input array. This function improves code readability and provides a convenient way to remove falsy values from an array.","shortMessageHtmlLink":"feat(compact.ts): add compact function to filter out falsy values fro…"}},{"before":"a6115d01d4718fe10540698f540accfe0fbefa26","after":"0b78ce69b99d36532dd305b47e71c81646952f7a","ref":"refs/heads/main","pushedAt":"2023-08-26T12:22:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(chunk.test.ts): add tests for the chunk function\nThe chunk.test.ts file is added to the project to include tests for the chunk function. The tests cover various scenarios such as chunking arrays into smaller arrays, handling remaining elements, handling null or undefined values, and working as an iteratee for methods like `_.map`. These tests ensure the correctness and reliability of the chunk function.","shortMessageHtmlLink":"feat(chunk.test.ts): add tests for the chunk function"}},{"before":"08704e0c0ed8ac92ca5665b082b3faccf602174b","after":"a6115d01d4718fe10540698f540accfe0fbefa26","ref":"refs/heads/main","pushedAt":"2023-08-26T12:22:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(chunk.ts): add chunk function to split an array into smaller chunks\nThe chunk function takes an array and splits it into smaller chunks of a specified size. If the array cannot be split evenly, the final chunk will contain the remaining elements. The function also provides an option to remove empty arrays from the result. The function is now available for use in the library's array module.","shortMessageHtmlLink":"feat(chunk.ts): add chunk function to split an array into smaller chunks"}},{"before":"ae3efb2734c958aaee7883aa26c15bc098cef53c","after":"08704e0c0ed8ac92ca5665b082b3faccf602174b","ref":"refs/heads/main","pushedAt":"2023-08-26T12:22:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"refactor(debounce.ts): remove unnecessary example comment\nThe example comment in the debounce.ts file is removed as it is not necessary and does not provide any additional value to the code.","shortMessageHtmlLink":"refactor(debounce.ts): remove unnecessary example comment"}},{"before":"33a8df43a9c79497e54b5033665e1756fb095ea1","after":"ae3efb2734c958aaee7883aa26c15bc098cef53c","ref":"refs/heads/main","pushedAt":"2023-08-26T12:21:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(debounce.ts): add debounce function for rate-limiting tasks\n\nThe `debounce.ts` file introduces a new `debounce` function that creates a debounced version of a provided function. This debounced function delays invoking the original function until after a specified number of milliseconds have elapsed since the last time the debounced function was invoked. It is useful for rate-limiting tasks like event handlers for user input events such as resize, scroll, and input.\n\nThe `debounce` function accepts the following parameters:\n- `func`: The function to debounce.\n- `waitMs`: The number of milliseconds to delay the invocation of the original function (default is 50).\n- `options`: An optional configuration object with the following properties:\n - `isImmediate`: If `true`, the function will be invoked on the leading edge instead of the trailing edge.\n - `maxWait`: The maximum time the function is allowed to be delayed before it's invoked.\n - `callback`: An optional callback function that is invoked with the result of the original function after it is called.\n\nThe debounced function returned by `debounce` has the following properties:\n- It can be invoked with any number of arguments.\n- It returns a promise that resolves with the result of the original function.\n- It has a `cancel` method that can be used to cancel any pending invocation of the original function.\n\nExample usage:\n```typescript\nconst debouncedSave = debounce(saveData, 200);\ndebouncedSave(data); // Will delay the invocation of `saveData` by 200ms.\n```\n\nThe `debounce` function improves the performance and responsiveness of event handlers by limiting the frequency of their execution, ensuring that they are only invoked after a certain delay has passed since the last invocation.","shortMessageHtmlLink":"feat(debounce.ts): add debounce function for rate-limiting tasks"}},{"before":"192dbf57303cdf89229e71d3d306384b15fcf1c6","after":"33a8df43a9c79497e54b5033665e1756fb095ea1","ref":"refs/heads/main","pushedAt":"2023-08-26T09:45:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(debounce.test.ts): add tests for the debounce function\nThe debounce.test.ts file is added to the library/src/function directory. This file contains tests for the debounce function. The tests cover various scenarios such as delaying the function call, calling the function immediately, canceling the debounce, and invoking the function with different options. These tests ensure that the debounce function works correctly and handles different cases as expected.\n\ntest(debounce): add tests for debounce function with maxWait option\nThis commit adds tests for the debounce function with the maxWait option. The first test verifies that the debounced function is called twice when called multiple times within the wait time. The second test verifies that the debounced function is only called once after the maxWait time has passed. These tests ensure that the debounce function behaves correctly when the maxWait option is used.","shortMessageHtmlLink":"feat(debounce.test.ts): add tests for the debounce function"}},{"before":"8e334cf78505c91851b4707550648010315e9dae","after":"192dbf57303cdf89229e71d3d306384b15fcf1c6","ref":"refs/heads/main","pushedAt":"2023-08-25T18:24:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"test(toString.test.ts): add additional tests for toString function\nThe additional tests cover scenarios where the value is a mixed string and number array, a mixed string and number object, and an array with various data types. These tests ensure that the toString function correctly converts these values to strings. Additionally, a test is added to verify that the function correctly converts -0 to the string '-0'. These tests improve the test coverage and ensure the accuracy of the toString function.","shortMessageHtmlLink":"test(toString.test.ts): add additional tests for toString function"}},{"before":"574d89c5f186709d0dfd5a3abaf30bcca69cc09c","after":"8e334cf78505c91851b4707550648010315e9dae","ref":"refs/heads/main","pushedAt":"2023-08-25T18:24:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"test(toSafeInteger.test.ts): add tests for values below and above Number.MAX_SAFE_INTEGER\nfix(toSafeInteger.ts): simplify the return statement for the case when value is falsy\nThe tests in toSafeInteger.test.ts have been expanded to include cases where the input value is below and above Number.MAX_SAFE_INTEGER. This ensures that the toSafeInteger function handles these cases correctly. In toSafeInteger.ts, the return statement for the case when the value is falsy has been simplified to always return 0. This improves readability and removes unnecessary checks.","shortMessageHtmlLink":"test(toSafeInteger.test.ts): add tests for values below and above Num…"}},{"before":"bb3127d944ff2c66f15577eea17f1490473f2dc7","after":"574d89c5f186709d0dfd5a3abaf30bcca69cc09c","ref":"refs/heads/main","pushedAt":"2023-08-25T18:24:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"refactor(toNumber.ts): improve code readability and maintainability\n\nThe changes in this commit include:\n- Removed the unused `NAN` constant.\n- Extracted the logic for getting the coerced value of `value` into a separate function `getCoercedValue()` to improve code readability and maintainability.\n- Extracted the logic for handling string values into a separate function `handleStringValue()` to improve code readability and maintainability.\n- Extracted the logic for handling non-string values into a separate function `handleNonStringValue()` to improve code readability and maintainability.\n\nThese changes were made to improve the readability and maintainability of the `toNumber()` function in the `toNumber.ts` file. By extracting the logic into separate functions, the code becomes more modular and easier to understand.","shortMessageHtmlLink":"refactor(toNumber.ts): improve code readability and maintainability"}},{"before":"891bb559ab5116dfd80c9118357fbdabc1bfb7ee","after":"bb3127d944ff2c66f15577eea17f1490473f2dc7","ref":"refs/heads/main","pushedAt":"2023-08-25T18:22:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"test(toInteger.test.ts): add tests for handling float values in toInteger function\nThe added tests ensure that the toInteger function correctly handles float values. This helps to validate the behavior of the function and ensure that it returns the expected integer value for float inputs.","shortMessageHtmlLink":"test(toInteger.test.ts): add tests for handling float values in toInt…"}},{"before":"82330db77bfc7c4c2481ee140aa9bd43638aa3ae","after":"891bb559ab5116dfd80c9118357fbdabc1bfb7ee","ref":"refs/heads/main","pushedAt":"2023-08-25T18:22:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"fix(toNumber.test.ts): fix import statement for toNumber function\nfeat(toNumber.test.ts): update test cases for toNumber function to reflect correct behavior and handle additional edge cases\nThe import statement for the toNumber function was incorrect and has been fixed. The test cases for the toNumber function have been updated to reflect the correct behavior. Additional edge cases such as handling symbols, undefined, objects, functions, arrays, regular expressions, dates, errors, binary, octal, floats, NaN, and hex values have been added to ensure the function handles these cases correctly.\n\ntest(toNumber): add test cases for invalid hexadecimal strings and fix typo in existing test case\nThe test cases have been added to cover invalid hexadecimal strings. These test cases ensure that the toNumber function correctly returns NaN for invalid hexadecimal strings. Additionally, a typo in an existing test case has been fixed to ensure accuracy.\n\nfix(toNumber.ts): update regular expression for detecting bad hex values to include case-insensitive matching\nThe regular expression `reIsBadHex` has been updated to include the `i` flag for case-insensitive matching. This ensures that both uppercase and lowercase letters are accepted in the hex value. This improves the accuracy of detecting bad hex values and prevents incorrect conversions.","shortMessageHtmlLink":"fix(toNumber.test.ts): fix import statement for toNumber function"}},{"before":"1e22c604078980e9092933eec50a889c14d6f38c","after":"82330db77bfc7c4c2481ee140aa9bd43638aa3ae","ref":"refs/heads/main","pushedAt":"2023-08-25T18:21:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"feat(array): add takeRight function and corresponding tests\nThe takeRight function allows you to take the last n elements from an array. It takes an array and an optional parameter n, which specifies the number of elements to take from the end. If the array is empty or n is negative, an empty array is returned. The function has been implemented in the takeRight.ts file. Tests have been added in the takeRight.test.ts file to ensure the correctness of the function.","shortMessageHtmlLink":"feat(array): add takeRight function and corresponding tests"}},{"before":"df9abe13cff3e16575c4d47b414374d5debd087f","after":"1e22c604078980e9092933eec50a889c14d6f38c","ref":"refs/heads/main","pushedAt":"2023-08-25T18:20:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"test(slice.test.ts): add additional test cases for slice function\nfix(slice.ts): handle null input for array parameter in slice function\nThe additional test cases in slice.test.ts cover scenarios where the start and end parameters are negative, the input array is null, and the start parameter is negative and less than the negative length of the array. The slice.ts file is updated to handle null input for the array parameter in the slice function, ensuring that it returns an empty array in such cases.","shortMessageHtmlLink":"test(slice.test.ts): add additional test cases for slice function"}},{"before":"982e96c46e26abcc189745319c3ed9af377c7bb5","after":"df9abe13cff3e16575c4d47b414374d5debd087f","ref":"refs/heads/main","pushedAt":"2023-08-25T17:39:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"necmettindev","name":"Necmettin","path":"/necmettindev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32331164?s=80&v=4"},"commit":{"message":"chore(README.md): add mention of modular structure to project description\nThe README.md file has been updated to include a mention of the project's modular structure. This provides additional information to users about the project's organization and design.","shortMessageHtmlLink":"chore(README.md): add mention of modular structure to project descrip…"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADcxeM5AA","startCursor":null,"endCursor":null}},"title":"Activity · necmettindev/hortu"}