Skip to content

Releases: nyxblabs/CodeBoost

v0.0.6

11 May 10:56
Compare
Choose a tag to compare

🏡 Chore

  • package.json): update package version to 0.0.5 🐛 fix(index.test.ts: Update package name in test to match new package name The package version has been updated to 0.0.5 to reflect changes made to the package. The package name has also been changed from pkg-def to nyxpath which required updating the test to match the new package name. (cfd112f)

❤️ Contributors

First Release

11 May 07:30
Compare
Choose a tag to compare

Changelog

v0.0.1

🚀 Enhancements

  • nyxdefer: Add package.json and tsconfig.json files The package.json file contains metadata about the package, including its name, version, description, author, license, homepage, repository, bugs, bin, sideEffects, type, main, module, types, exports, scripts, dependencies, devDependencies, files, and keywords. The tsconfig.json file contains the TypeScript compiler options, including the root directory and the files to include. These files are necessary for the package to be published and used as a dependency in other projects. (2a0548a)
  • nyxdefer: Add nyxdefer function to debounce async functions The nyxdefer function is a utility function that can be used to debounce async functions. It takes in a function and a wait time in milliseconds and returns a new function that delays calling the original function until after the wait time has elapsed since the last time it was called. The function also has options to call the function on the leading edge of the timeout and to call the function on the trailing edge with the last used arguments. The function is useful for optimizing performance by reducing the number of times a function is called. (74d3bb9)
  • nyxdefer): add nyxdefer package with tests ✨ feat(nyxdefer: Add MIT license The nyxdefer package has been added, which provides a function that returns a debounced version of the input function. The package includes tests for the nyxdefer function, which test its functionality in various scenarios. Additionally, an MIT license has been added to the package. (b805496)
  • nyxdefer): add nyxdefer package with tests, package.json, tsconfig.json, README.md, and license 🏡 chore(nyxdefer: Add .eslintignore file to ignore dist and node_modules directories, remove unused bin property from package.json, add author field to package.json, add lint and lint:fix scripts to package.json, add release script to package.json, and add test script to package.json The nyxdefer package has been added, which provides a function that returns a debounced version of the input function. The package includes tests for the nyxdefer function, which test its functionality in various scenarios. Additionally, a package.json file has been added to the package, which contains metadata about the package, including its name, version, description, author, license, homepage, repository, bugs, bin, sideEffects, type, main, module, types, exports, scripts, dependencies, devDependencies, files, and (f2474db)
  • nyxdefaults: Add nyxdefaults package The nyxdefaults package is a lightweight and fast utility that recursively assigns default properties. It includes a base function to apply defaults, a nyxdefaults wrapper with optional merger and multi-argument support, and a standard version. It also includes custom versions with function merge support and function merge support only for defined arrays. The package includes types and a tsconfig file. (1ed6bbd)
  • nyxdefaults): add nyxdefaults package with custom merger and function merger support, and types 🏡 chore(nyxdefaults: Add package.json, tsconfig.json, README-npm.md, and LICENSE The nyxdefaults package has been added, which provides a lightweight and fast utility that recursively assigns default properties. It includes a base function to apply defaults, a nyxdefaults wrapper with optional merger and multi-argument support, and a standard version. It also includes custom versions with function merge support and function merge support only for defined arrays. The package includes types and a tsconfig file. The package.json file contains metadata about the package, including its name, version, description, author, license, homepage, repository, bugs, bin, sideEffects, type, main, module, types, exports, scripts, dependencies, devDependencies, files, and keywords. The README-npm.md file contains information about how to install and use the package (1188db5)
  • nyxdefer: Add nyxdefer package with improved debounce function with Promise support The nyxdefer package provides an improved debounce function with Promise support. It is well tested and has native Promise support. It avoids duplicate calls while the promise is being resolved and has configurable trailing and leading behavior. The package can be installed via nyxi, pnpm, npm, or yarn. The debounce function can be imported via ESM or CommonJS. The package also includes development instructions and is published under the MIT License. (5ea0ffa)
  • fetch-for-all: Add fetch-for-all package The fetch-for-all package is added to the project. It is a better redistribution of node-fetch that provides better backward and forward compatibility. It prefers native globals when available, has a compact build and smaller install size with zero dependencies, supports both CommonJS and ESM usage, uses native version if imported without node condition using conditional exports with zero bundle overhead, and has polyfill support for Node.js. The package also has an alias to node-fetch and supports forcing the use of non-native version. (7d5f62e)
  • fetch-for-all: Add fetch-for-all package with improved backward and forward compatibility The fetch-for-all package has been added to the project. It provides better backward and forward compatibility than node-fetch, preferring native globals when available, having a compact build and smaller install size with zero dependencies, supporting both CommonJS and ESM usage, using native version if imported without node condition using conditional exports with zero bundle overhead, and having polyfill support for Node.js. The package also has an alias to node-fetch and supports forcing the use of non-native version. The package.json file has been updated with new scripts, including build, lint, lint:fix, prepack, changelog, release, and test. The changelog script generates a changelog based on the conventional commit format, and the release script automates the release process. The test script runs linting, building, and testing of the codebase. (86ffa39)
  • nyxjson: Add new package nyxjson for faster, secure and convenient alternative for JSON.parse The nyxjson package provides a faster, secure and convenient alternative for JSON.parse. It includes a fallback to the original value if parsing fails, avoids prototype pollution, and supports strict mode. The package also includes benchmarks to compare its performance with other JSON parsers. (a3823f6)
  • pkg-def: Add test file for index.ts This commit adds a new test file for the index.ts file in the pkg-def package. The test file is currently empty and will be populated with tests in future commits. (0d5cda5)
  • pkg-def: Add new package with initial configuration files A new package named "pkg-def" has been added to the project. It includes a package.json file with basic information such as name, version, description, author, license, homepage, repository, bugs, bin, main, module, types, exports, scripts, dependencies, devDependencies, files, and keywords. Additionally, it includes a tsconfig.json file that extends the "@codeboost/tsconfig/base.json" configuration file and specifies the "src" directory as the root directory. The "src" directory includes an empty index.ts file and a types directory with empty files for packagejson.ts and tsconfig.ts. Finally, a utils.ts file is also included in the "src" directory, but it is empty. (1f4a5b4)
  • url-ops: Add encoding and parsing utilities for URLs This commit adds a set of functions to encode and decode different parts of a URL, including the path, query, hash, and host. It also includes a function to parse a URL string into its different components, such as the protocol, auth, host, pathname, search, and hash. Finally, it includes a function to stringify a parsed URL object back into a URL string. The commit also includes a minified version of the punycode library to support encoding of non-ASCII characters in the host name. (94db36f)
  • url-ops: Add unit tests for url-ops package This commit adds unit tests for the url-ops package. The tests cover the following functions: hasProtocol, isEqual, isRelative, parsePath, stringifyParsedURL, withHttp, withHttps, withProtocol, and withoutProtocol. The tests ensure that the functions work as expected and that they handle different edge cases. (05e7fe8)
  • url-ops: Add tests for isSamePath and joinURL functions This commit adds tests for the isSamePath and joinURL functions in the url-ops package. The tests ensure that the functions work as expected and that they return the correct output for different input values. (1864b8b)
  • url-ops: Add tests for URL normalization, parsing, and query string manipulation This commit adds tests for the normalizeURL, parseURL, parseHost, withQuery, and getQuery functions in the url-ops package. These tests ensure that the functions work as expected and that they handle various edge cases and input formats. (8dd7044)
  • url-ops: Add tests for url-ops package Added tests for the withBase, withoutBase, cleanDoubleSlashes, encode, encodeHash, encodeParam, encodePath, encodeQueryKey, encodeQueryValue, and decode functions. The tests ensure that the functions work as expected and handle various edge cases. The toASCII function was also tested using a fixture file. (9845255)
  • toascii.json: Add test fixture for UTS #46 ToASCII conversion This commit adds a new test fixture file for the UTS #46 ToASCII conversion. The file contains a set of test cases that cover various scenarios, including labels with hyphens, leading/trailing hyphens, empty labels, invalid/valid Punycode, mixed labels, and labels longer than 63 code points. The test cases also cover scenarios where CheckJoiners and CheckBidi are true, and processing_option is Nontransitional_Processing. Finally, the test cases also cover scenarios where...
Read more