You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 IDNA ignored code points are present, and the host is empty after domain to ASCII conversion. (#46)
urltestdata: Add test fixture for segments (e7ac523)
pkg-def: Add package definition module with functions to read and write package.json and tsconfig.json files This commit adds a new module to the project, pkg-def, which provides functions to read and write package.json and tsconfig.json files. The module also includes functions to resolve the paths of these files and to find the root directory of a workspace. The PackageJson and TSConfig types are also defined in this module. (e06d6d4)
esmutils: Add syntax detection and validation functions for node imports The hasESMSyntax and hasCJSSyntax functions detect whether a given code string contains ESM or CJS syntax, respectively. The detectSyntax function returns an object with properties indicating whether the code contains ESM syntax, CJS syntax, or both. (79e287b)
esmutils: Add _utils.ts module with utility functions This commit adds a new module named _utils.ts to the esmutils package. The module contains several utility functions that are used throughout the package. The functions include: - BUILTIN_MODULES: a set of built-in Node.js modules - normalizeSlash: a function that replaces backslashes with forward slashes in a string - pcall: a function that wraps a function call in a try-catch block and returns a Promise that resolves with the function's return value or rejects with the caught error - perr: a function that creates a CustomError object from an error and returns a rejected Promise with the error - isObject: a function that checks if a value is an object - matchAll: a function that returns an array of objects with information about all matches of a regular expression in a string. (be8e453)
analyze.ts: Add module for analyzing ESM imports and exports This commit adds a new module for analyzing ESM imports and exports. The module exports functions for finding static and dynamic imports, parsing static imports, finding exports, finding type exports, finding export names, and resolving module export names. The module also exports interfaces for ESM imports and exports. (22ec009)
esmutils: Add functions to evaluate and transform ESM modules This commit adds three functions to the esmutils package: loadModule, evalModule, and transformModule. These functions allow for the evaluation and transformation of ESM modules. The loadModule function resolves the module URL and loads the module code, while the evalModule function evaluates the module code and returns a Promise that resolves to the module's exports. The transformModule function transforms the module code by rewriting import.meta.url and converting JSON to a module. The resolveImports function resolves all imports in the module code and returns a Promise that resolves to the transformed code. (b9af2bf)
esmutils: Add module resolution utilities for ESM modules This commit adds a new module esmutils that provides utilities for resolving ESM modules. The resolve module provides a way to resolve ESM modules, including support for resolving built-in modules, resolving relative and absolute paths, and resolving modules with different extensions. The createResolve module provides a way to create a custom resolver with default options. (85b8633)
esmutils: Add support for CommonJS interop and context creation This commit adds a new file cjs.ts to the esmutils package. The file exports two functions: createCommonJS and interopDefault. createCommonJS creates a CommonJS context object that can be used to load CommonJS modules. interopDefault is a utility function that converts a CommonJS module to an ES module by extracting the default export. (5cdc96c)
esmutils: Add new test fixtures for createCommonJS and eval-err modules Added two new test fixtures to the esmutils package. The first fixture, cjs.mjs, imports the createCommonJS function from the mlly package and uses it to create a CommonJS module. The second fixture, eval-err.mjs, is an async function that throws an error to test the behavior of the eval-err module. (c331963)
imports.test.ts: Add tests for static and dynamic imports This commit adds tests for static and dynamic imports. The tests cover various scenarios for static imports, including default imports, named imports, and namespaced imports. The tests also cover edge cases such as empty imports and comments in imports. The dynamic import tests cover various scenarios for dynamic imports, including using await, using var, and using then. (26e531c)
eval.mjs: Add test fixture for evalModule and loadModule functions This commit adds a new test fixture file for the evalModule and loadModule functions. The fixture tests the functions by evaluating a module that logs a message to the console, importing a function from another module and logging the result, loading a module that exports a function and calling it, loading a package.json file and logging the package name, and loading a module that throws an error and catching it. This fixture will help ensure that the evalModule and loadModule functions work as expected. (e04bca3)
exports.mjs: Add exports for pathe and foo Added exports for pathe and foo to the exports.mjs file. This allows other modules to import these exports and use them in their own code. (e79872b)
esmutils): add test fixtures for package.json and module resolution errors ✨ feat(hello.mjs): add test fixture for package.json import and logging ✨ feat(resolve-err.mjs: Add test fixture for module resolution error logging The new fixtures provide test coverage for the package.json import and module resolution errors. The hello.mjs fixture imports the package.json file and logs the name of the package and the URL of the current module. The resolve-err.mjs fixture imports the non-existent module "./404.mjs" using the mlly package and logs the error message. (e4d0677)
esmutils: Add new test fixtures for mlly package Added new test fixtures to the mlly package to test the resolvePath, createResolve, and resolveImports functions. The new fixtures include foo/index.mjs, resolve.mjs, and utils.mjs. The resolve.mjs fixture imports the createResolve, resolvePath, and resolveImports functions from the mlly package and logs the results of calling these functions with different arguments. The foo/index.mjs fixture logs the import.meta.url property. The utils.mjs fixture exports a reverse function that reverses a string. (bf8b599)
exports.test.ts): add tests for findExports, findExportNames, resolveModuleExportNames, and findTypeExports functions ✨ feat(imports: Add test fixtures for CJS and ESM modules This commit adds tests for the findExports, findExportNames, resolveModuleExportNames, and findTypeExports functions in the exports.test.ts file. It also adds test fixtures for CommonJS and ESM modules in the imports directory. These fixtures will be used to test the import resolution functions. (48e8cf0)
esmutils: Add new test fixtures and tests for syntax detection and node import validation This commit adds new test fixtures and tests for the syntax detection and node import validation functions in the esmutils package. The syntax detection tests cover various ESM and CJS syntax patterns and mixed syntax patterns. The node import validation tests cover various valid and invalid node import patterns. The tests aim to improve the reliability and accuracy of the syntax detection and node import validation functions. (2b1d83b)
url-ops: Add nyxpath package with path module and utility functions The nyxpath package is added to the url-ops package. It includes a path module that is a drop-in replacement for the node.js path module. The path module includes all the functions from the node.js path module and adds a normalizeWindowsPath function to normalize windows paths to posix. The package also includes a normalizeAliases function to resolve aliases in paths and a resolveAlias function to resolve a path with aliases. Finally, a filename function is added to extract the filename from a path. (67ef0df)
esmutils: Add npm publish support by creating temporary README.md copy and restoring it after publish The prepare-readme-for-npm.mjs script creates a temporary copy of the original README.md file and replaces it with the README-npm.md file. The restore-readme.mjs script restores the original README.md file from the temporary copy and deletes the temporary copy. This allows the package to have a different README.md file for npm publishing without affecting the original file. The evalModule function in eval.ts now replaces the dataURL with 'esmutils_eval' if options.url is not provided, which improves the semantics of the error stack trace. (59a0d4e)
pkg-def: Add script to prepare README for npm publish This commit adds a script that prepares the README file for publishing the package to npm. The script creates a temporary copy of the original README file, replaces the original README file with the npm-specific README file, and logs a message to the console indicating that the README file has been updated and that the package can now be published to npm. (b52d1fe)
restore-readme.mjs: Add script to restore original README.md file This commit adds a script that restores the original README.md file from a temporary copy named README-original.md. The script uses the node:fs module to copy the file and delete the temporary copy. A log message is printed to the console using the consolji module to indicate that the file has been restored to its original version. (9e15fa1)
pkg-def: Add tests for package.json, tsconfig.json, and lockfile resolution functions This commit adds tests for various functions in the pkg-def package. The tests cover the resolvePackageJSON, readPackageJSON, writePackageJSON, resolveTSConfig, readTSConfig, writeTSConfig, resolveLockfile, and findWorkspaceDir functions. The tests ensure that the functions work as expected and handle various scenarios such as non-existent paths, working directories, and stopping at node_modules. (7454226)
pkg-def: Add unbuild configuration file This commit adds a new file unbuild.config.ts to the pkg-def package. The file defines the build configuration for the package using the unbuild library. The configuration specifies that typescript should be treated as an external dependency. (b50ae47)
README.md: Improve package descriptions and add two new packages This commit improves the package descriptions in the README.md file to better convey the benefits of each package. It also adds two new packages, esmnxuts and pkg-def, to the list of available packages. The esmnxuts package provides utilities to make ESM resolution easier, while pkg-def offers powerful utils and TypeScript definitions for managing package.json and tsconfig.json files. (78996a1)
envizor: Add envizor package The envizor package is added to the project. It is a utility package that detects the JavaScript environment. It includes a package.json file, a tsconfig.json file, and three source files. The package.json file includes metadata about the package, dependencies, and scripts. The tsconfig.json file includes the configuration for the TypeScript compiler. The source files include the implementation of the envizor package. (6a8bacf)
envizor: Add environment variable detection for CI/CD providers This commit adds a new module to detect the current CI/CD provider by checking the environment variables. The module exports several constants that can be used to determine the current environment, such as isCI, isTest, isProduction, isDevelopment, hasTTY, hasWindow, isDebug, isMinimal, isWindows, isLinux, isMacOS, platform, and provider. The provider constant returns the name of the detected CI/CD provider, if any. The detectProvider function is used to detect the provider by checking the environment variables against a list of known providers. (7005393)
README.md: Add new package 'envizor' with advanced environment detection capabilities The 'envizor' package has been added to the README file. This package offers advanced environment detection capabilities, allowing developers to tailor their code to the right environment and avoid compatibility issues. The package exports a range of environment detection functions, including isCI, isDebug, isDevelopment, isProduction, and more. The README file has been updated to include installation instructions and a link to the 'envizor' package README file. (95835eb)
requireflow: Add package to polyfill Node.js module.createRequire method The package provides a seamless solution for developers to ensure their code is fully supported across different Node.js versions. The package includes a polyfill for the module.createRequire method, which is added in Node v12.2.0. The package also includes a fallback for Node v10.12.0 and deprecated since Node v12.2.0. The package is published to npm and can be installed via npm, pnpm, or yarn. The package also includes build configuration files, a temporary file for preparing the README for npm, and a script to restore the original README file. (28963d1)
🩹 Fixes
nyxdefaults: Change prepare-readme-for-npm.js to prepare-readme-for-npm.mjs The file extension of the script 'prepare-readme-for-npm' was changed from .js to .mjs to support ES modules. This change was made to ensure that the script can be executed correctly in environments that support ES modules. (d1e94a1)
nyxdefaults: Change require path to use CommonJS format The require path was changed to use the CommonJS format to ensure compatibility with Node.js. (defc5e0)
fetch-for-all): fix typo in package.json description 📝 docs(fetch-for-all: Fix typo in packagephobia badge label The typo in the package.json description has been fixed. The packagephobia badge label has been corrected to display the correct package name. (040dd06)
syntax.test.ts): change import statements to use nyxpath instead of pathe 🚨 fix(syntax.test.ts): change import statements to use single quotes instead of double quotes 🚨 fix(syntax.test.ts): change indentation to use 3 spaces instead of 2 spaces 🚨 fix(syntax.test.ts): remove trailing spaces 🚨 fix(syntax.test.ts): remove semicolons at the end of lines 🚨 fix(syntax.test.ts): change object keys to use single quotes instead of double quotes 🚨 fix(syntax.test.ts): change object values to use consistent quotes 🚨 fix(syntax.test.ts): change object keys to use consistent indentation 🚨 fix(syntax.test.ts): change object values to use consistent indentation 🚨 fix(syntax.test.ts): change object keys to use consistent spacing 🚨 fix(syntax.test.ts: Change object (c840cff)
resolve-err.mjs: Fix import statements and replace console.log with consolji.log The import statements were incorrect and have been fixed to import from the correct modules. The console.log statement has been replaced with consolji.log to improve consistency with the project's logging conventions. (65603e2)
esmutils: Remove unnecessary type annotations and fix ts-expect-error comments The type annotations in the functions normalizeSlash, pcall, perr, isObject, and matchAll were removed as they were unnecessary and added clutter to the code. The ts-expect-error comments in the perr and isValidNodeImport functions were fixed to remove the unnecessary type annotations. (84915fb)
pkg-def: Remove nyxr test command from release script The nyxr test command was removed from the release script as it was causing issues with the release process. The command was replaced with pnpm publish which is the only command needed to publish the package. (d8f3172)
💅 Refactors
exports.test.ts: Reformat code to improve readability and consistency The code has been reformatted to improve readability and consistency. The changes include fixing indentation, removing unnecessary whitespace, and using single quotes consistently throughout the file. (2cc0a8b)
📖 Documentation
nyxdefer: Remove dark mode image from README-original.md and fix typo in README.md The dark mode image was removed from the README-original.md file to improve consistency with the rest of the repository. A typo was also fixed in the README.md file where nyxdefer was misspelled as nyxdefered. (0ea497d)
nyxhash): update README.md with code formatting and fix typos 🚀 chore(nyxhash: Add postpublish script to restore README.md to its original state after publishing The README.md file has been updated to improve code formatting and fix typos. The code snippets have been formatted to improve readability and consistency. The typos have been fixed to improve the overall quality of the documentation. A postpublish script has been added to restore the README.md file to its original state after publishing to prevent any accidental changes to the file. (b1ec5fd)
url-ops: Add usage examples and installation instructions to README.md This commit adds usage examples and installation instructions to the README.md file of the url-ops package. The examples demonstrate how to use the various functions provided by the package to manipulate URLs. The installation instructions provide commands for installing the package using various package managers. (021e953)
url-ops: Add npm README and nyxpath LICENSE and CHANGELOG files This commit adds the npm README file for the url-ops package, which includes installation instructions, usage examples, and a license section. Additionally, it adds a LICENSE file for the nyxpath package and a CHANGELOG file that will document all notable changes to the package. (9525f5c)
pkg-def: Add README.md file for pkg-def package A new README.md file has been added for the pkg-def package, which provides documentation on how to install and use the package. The README.md file includes information on the various functions provided by the package, as well as examples of how to use them. Additionally, the README.md files for the nyxpath and url-ops packages have been updated to fix a typo. (10ce2e5)
envizor: Add MIT License This commit adds the MIT License to the envizor package. The MIT License is a permissive free software license that permits reuse within proprietary software provided that all copies of the licensed software include a copy of the MIT License terms and the copyright notice. (090d9a2)
pkg-def): update README.md to include a link to the LICENSE file 🔥 chore(pkg-def: Remove unbuild.config.ts file The README.md file was updated to include a link to the LICENSE file, which makes it easier for users to access the license information. The unbuild.config.ts file was removed as it is no longer needed and was causing confusion for users. (bba58a3)
requireflow: Remove dark mode image from README and fix function signature The dark mode image was removed from the README file. The function signature in the Usage section was fixed to remove the space between the function name and the parameter list. (8b4ca21)
README.md: Update package section to use consistent formatting and add links to each package The commit updates the formatting of the package section in the README.md file to use consistent formatting for each package. Additionally, links to each package are added to make it easier for users to navigate to the package's repository. (5c9edf9)
🏡 Chore
nyxdefer): add .eslintignore file to ignore dist and node_modules directories 🚚 refactor(nyxdefer): remove unused bin property from package.json 👤 chore(nyxdefer): add author field to package.json 🔧 chore(nyxdefer): add lint and lint:fix scripts to package.json 🚀 chore(nyxdefer): add release script to package.json 🔬 test(nyxdefer: Add test script to package.json The .eslintignore file was added to ignore the dist and node_modules directories. The bin property was removed from package.json as it was unused. The author field was added to package.json to provide information about the package author. The lint and lint:fix scripts were added to package.json to enable linting of the codebase. The release script was added to package.json to automate the release process. The test script was added to package.json to enable testing of the codebase (a5da446)
nyxdefer: Update package.json with correct repository URL and version number The package.json file for nyxdefer has been updated to include the correct repository URL and version number. The repository URL now points to the correct GitHub repository and includes the directory where the package is located. The version number has been updated to 0.0.2 to reflect changes made to the package. (0f9ae11)
nyxdefaults): add package.json, tsconfig.json, README-npm.md, and LICENSE ✨ feat(nyxdefaults): add nyxdefaults package with custom merger and function merger support, and types 🚀 chore(nyxdefaults: Update package.json with correct repository URL and version number 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, (04eab7d)
nyxdefaults): add build command to prepublishOnly script and remove prepack script 🔧 chore(nyxdefaults): update prepare-readme-for-npm.mjs script to also run nyxr build command 🔧 chore(nyxdefaults: Add restore-readme.mjs script to restore README.md to its original version after publishing The prepublishOnly script now runs the nyxr build command in addition to the prepare-readme-for-npm.mjs script. The prepack script has been removed as it is no longer needed. The prepare-readme-for-npm.mjs script has been updated to also run the nyxr build command. A new script, restore-readme.mjs, has been added to restore the README.md file to its original version after publishing. This ensures that the repository is always in a consistent state. (61d293c)
nyxdefaults: Bump package version to 0.0.2 This is a version bump for the nyxdefaults package. No functional changes were made, only the version number was updated. (2505909)
nyxdefer: Remove original README file and add dark mode cover image The original README file was removed and a new cover image for dark mode was added to the README file. (60593f7)
README.md: Remove unnecessary horizontal lines The horizontal lines between the package sections in the README.md file were removed as they were unnecessary and added visual clutter to the document. (41e41cc)
fetch-for-all: Bump package version to 0.0.2 This is a version bump for the fetch-for-all package. No functional changes were made, only the version number was updated. (ee3976d)
nyxjson: Prepare README for npm publish The README file has been updated to include instructions for installing and using the package, as well as benchmarks and licensing information. Two new scripts have been added to the package.json file to prepare the README file for publishing and restore it to its original version after publishing. The prepare-readme-for-npm.mjs script creates a temporary copy of the original README.md file and replaces it with the README-npm.md file. The restore-readme.mjs script restores the original README.md file from the temporary copy and deletes the copy. (8885512)
nyxjson: Add MIT license and update package version to 0.0.2 The MIT license has been added to the nyxjson package. The package version has been updated to 0.0.2 to reflect the changes made. (9047954)
url-ops: Add eslintignore, package.json, and tsconfig.json files The .eslintignore file is added to ignore the dist directory from being linted. The package.json file is added with basic information about the package, its dependencies, and scripts to build, test, and publish the package. The tsconfig.json file is added with the base configuration for TypeScript. (9cef43e)
package.json: Add new dependencies and devDependencies This commit adds two new dependencies to the project: import-meta-resolve and acorn. The former is used to resolve import meta properties in ESM modules, while the latter is a dependency of esmutils. Additionally, a new devDependency jsonc-parser is added to the pkg-def package. (36d9ec5)
esmutils): add tsconfig.json to esmutils package 🚀 chore(pkg-def): add .gitignore to pkg-def package and its test fixtures 🚀 chore(url-ops: Add .gitignore to url-ops package and its test fixtures These changes are all chore changes that add files to the respective packages. The tsconfig.json file is added to the esmutils package to configure the TypeScript compiler options. The .gitignore file is added to the pkg-def and url-ops packages to ignore certain files and directories from being tracked by git. The test fixtures for pkg-def and url-ops packages are also updated to include the newly added .gitignore files. (2c0795d)
url-ops: Update package version to 0.0.3 and add pre and post-publish scripts The package version has been updated to 0.0.3. Two new scripts have been added to the package.json file. The "prepublishOnly" script runs a node script to prepare the README file for publishing to npm and then builds the package. The "postpublish" script runs a node script to restore the README file to its original state after publishing. These scripts improve the publishing process and ensure that the README file is properly formatted for publishing. (6e87c05)
pkg-def): add new scripts and files to package.json 📝 docs(pkg-def): update package.json description 🐛 fix(pkg-def): fix repository URL in package.json 🚚 chore(pkg-def): move .eslintignore to pkg-def directory 🆕 feat(pkg-def): add LICENSE file to pkg-def package 🆕 feat(pkg-def): add sideEffects false to package.json 🆕 feat(pkg-def): add exports to package.json 🆕 feat(pkg-def): add new dependencies to package.json 🆕 feat(pkg-def): add new devDependencies to package.json 🆕 feat(pkg-def): add files to package.json 🆕 feat(pkg-def): add fixture files to pkg-def package 🆕 feat(pkg-def): add tsconfig.json to fixture files 🆕 feat(pkg-def: Add new scripts to package.json (df7d534)
utils.ts: Change symbol name from pathe:normalizedAlias to nyxpath:normalizedAlias The symbol name was changed to reflect the correct package name. This change is purely cosmetic and does not affect the functionality of the code. (565dc77)
utils.ts: Replace pathe with nyxpath library for path manipulation The pathe library has been replaced with nyxpath for path manipulation. This change was made to improve the consistency of the codebase and to use a more actively maintained library. (f689af1)
utils.ts: Change symbol name from pathe:normalizedAlias to nyxpath:normalizedAlias The symbol name was changed to reflect the correct package name. (579e60f)
esmutils): add changelog script to package.json and update dependencies 🔨 refactor(esmutils): update import statements to use consolji instead of console.log 🔨 refactor(esmutils: Update exports to use single quotes instead of double quotes The changelog script was added to the package.json file to generate a changelog for the package. The dependencies were updated to their latest versions. The import statements in the test files were updated to use the consolji package instead of console.log. The exports in the test files were updated to use single quotes instead of double quotes. (98e0c5e)
pkg-def): remove unused import and fix typo in import statement 🔥 chore(imports: Remove unused files and dependencies The changes in pkg-def/src/index.ts remove an unused import and fix a typo in the import statement. The changes in imports remove unused files and dependencies. (adddc60)
esmutils: Remove unused files and configurations The files restore-readme.mjs and tsconfig.json were removed as they were no longer being used in the project. The tsconfig.json file was replaced by a shared configuration file. (2c50d9f)
package.json: Remove package.json files from esm-module and js-cjs fixtures The package.json files were removed from the esm-module and js-cjs fixtures as they are not needed for the tests and only add unnecessary clutter to the repository. (ce81ce3)
esmutils: Remove unused test fixtures The files esm-module/index.js, esm/package.json, and js-esm/index.js were removed as they were unused test fixtures. This commit cleans up the repository by removing unnecessary files. (9f4d177)
esmutils: Remove unused files The files index.cjs, resolve.mjs, and utils.mjs were removed as they were no longer being used in the project. (3ec1e35)
exports.mjs, index.mjs, hello.mjs: Remove unused test fixtures The files exports.mjs, index.mjs, and hello.mjs were removed as they were unused test fixtures. (bff313b)
esmutils: Remove unused test files and fixtures The files cjs.mjs, interop.test.ts, and syntax.test.ts were removed as they were no longer being used in the project. (7c7a90c)
utils.ts: Remove unused code from esmutils package The file utils.ts in the esmutils package was removed as it contained unused code. (8d02726)
esmutils: Remove unused syntax.ts and utils.test.ts files The syntax.ts file is no longer used in the project and the utils.test.ts file is no longer needed as the tests have been moved to other files. (ac4a047)
esmutils: Remove unused files and exports The files cjs.ts, eval.ts, index.ts, and eval.mjs were removed as they were no longer being used. The exports for these files were also removed. (de6591a)
analyze.ts, package.json): remove unused code and file ✨ feat(analyze.ts: Improve code readability and remove unused code The analyze.ts file had a lot of unused code and was difficult to read. The code was refactored to improve readability and remove unused code. The package.json file was also removed as it was not being used. (cfd4ac1)
package.json: Add esmnxuts package to the project The esmnxuts package has been added to the project as a workspace dependency. This package is required for the project to function correctly. (3b656ce)
pkg): update package versions and scripts ✨ feat(pkg: Add pre and post publish scripts to prepare and restore readme files The package versions have been updated to reflect the changes made to the packages. The scripts have been updated to include pre and post publish scripts to prepare and restore readme files. These scripts are necessary to ensure that the readme files are properly formatted and included in the published packages. (4b39f58)
envizor: Add .gitignore, build.config.ts, and index.test.ts files The .gitignore file is added to ignore node_modules, .log, dist, and coverage directories. The build.config.ts file is added to configure the build process for the envizor package. The index.test.ts file is added to test the std-env module. (c897ae3)
envizor: Update README.md and add README-npm.md for better npm package presentation The README.md file has been updated to include a dark mode cover image and the README-npm.md file has been added to provide a better presentation of the package on npm. The package.json file has been updated to reflect the changes. Additionally, two scripts have been added to prepare the README.md file for npm and restore it to its original version after publishing. The test file has been updated to reflect the package name change from std-env to envizor. (a8fe792)
esmnxuts: Bump version to 0.0.3 This is a version bump for the esmnxuts package. The version number has been updated from 0.0.2 to 0.0.3. This is a chore commit and does not include any functional changes. (0117f29)
esmnxuts: Update package version to 0.0.4 and include dist folder in package files The package version has been updated to 0.0.4 to reflect the changes made to the package. The dist folder has been included in the package files to ensure that the compiled code is included in the package when it is published. (1ae7274)
requireflow): remove unnecessary files and configurations ✨ feat(requireflow: Update package version and author information, update main and types fields in package.json, and add createRequire function to requireflow.js The build.config.ts file was removed as it was no longer needed. The tsconfig.json file was also removed as it was not being used. The index.d.ts file was removed as it was not being used and the createRequire function was moved to requireflow.js. The package version was updated to 0.0.2 and author information was added to package.json. The main and types fields in package.json were updated to point to the correct files. The createRequire function was added to requireflow.js to allow for easy backfilling of the module.createRequire method for Node.js projects. (40b3ff0)
cover-github-nyxdefer.png: Add cover image for GitHub repository A new cover image has been added to the GitHub repository to improve the visual appeal of the repository. (a103560)
github-assets: Add cover image for nyxjson repository This commit adds a new cover image for the nyxjson repository located in the .github/assets directory. The image is used to improve the visual appeal of the repository and provide a better representation of the project. (6f2ef9c)
Remove unused image file The commit removes an unused image file from the repository. (95f8e52)
github: Add cover image for GitHub repository A new cover image has been added to the GitHub repository. This image is intended to be used as a cover image for the repository. (d217739)
.eslintrc.js): disable '@next/next/no-html-link-for-pages' rule and set react version to 16.0 🔧 chore(envizor/package.json: Remove 'prepublishOnly' script and add 'prepack' script The '@next/next/no-html-link-for-pages' rule is disabled to allow the use of HTML links for pages. The react version is set to 16.0 to ensure compatibility with the project. The 'prepublishOnly' script is removed and replaced with the 'prepack' script to build the package before it is packed. (3ca81e1)
envizor: Bump package version to 0.0.2 This is a version bump for the envizor package from 0.0.1 to 0.0.2. No functional changes were made, this is just a version bump. (a85b4c0)
esmnxuts: Bump version to 0.0.5 and update prepack script The version of the package has been updated to 0.0.5. The prepack script has been updated to use the 'nyxr build' command instead of the 'node prepare-readme-for-npm.mjs && nyxr build' command. This change was made to simplify the build process and make it more consistent with other packages in the repository. (f8fd4ec)
fetch-for-all: Bump version to 0.0.3 and move prepack script to the top The version of the package has been bumped to 0.0.3. The prepack script has been moved to the top of the scripts section to ensure it runs before the build script. (6462ca6)
nyxdefaults: Bump version to 0.0.3 and remove unused scripts The version of the package has been bumped to 0.0.3. The prepublishOnly and postpublish scripts have been removed as they are no longer needed. The prepack script has been added to build the package before it is packed. (b542c01)
nyxdefer: Remove unused scripts and update prepack script The prepublishOnly and postpublish scripts were removed as they were no longer needed. The prepack script was added to build the package before it is packed. This ensures that the package is built with the latest changes before it is published. (458c495)
nyxdefer: Bump package version to 0.0.4 This commit only updates the package version from 0.0.3 to 0.0.4. No functional changes were made to the package. (a0e1885)
nyxhash: Remove unused scripts and update prepack script The prepublishOnly and postpublish scripts were removed as they were no longer needed. The prepack script was added to build the package before it is packed. This ensures that the package is built with the latest changes before it is published. (afe0542)
nyxhash: Bump version to 0.0.5 This commit only updates the version number of the package.json file for the nyxhash package. No code changes were made. (5aa9571)
nyxjson): bump version from 0.0.2 to 0.0.3 🔧 chore(nyxjson: Remove unnecessary scripts and add prepack script The version of the package has been updated from 0.0.2 to 0.0.3. This is a chore as it does not add any new features or fix any bugs, but it is necessary to keep track of the package's version. The prepack script has been added to build the package before it is packed. The unnecessary scripts have been removed to keep the package.json file clean. (672a1af)
package.json: Update package versions and release scripts The nyxjson package.json file has been updated to use the nyxr test command instead of the deprecated vitest command in the release script. (5dd0856)
pkg-def): bump version from 0.0.1 to 0.0.2 👷 chore(pkg-def: Change prepack script to run nyxr build instead of prepare-readme-for-npm.mjs and nyxr build. Also, add nyxr test to release script. The version number was bumped to 0.0.2 to indicate a new release. The prepack script was changed to run nyxr build instead of the previous two commands. This simplifies the build process and makes it more efficient. The release script was updated to include nyxr test to ensure that all tests pass before publishing the package. (56cbfc7)
requireflow: Bump package version from 0.0.2 to 0.0.3 The package version has been bumped from 0.0.2 to 0.0.3 to indicate that changes have been made to the package. The prepublishOnly and postpublish scripts have been removed as they are no longer needed. (0f93ac4)
url-ops: Bump version to 0.0.4 and remove unused scripts The version of the package has been bumped to 0.0.4. The prepublishOnly and postpublish scripts have been removed as they are no longer needed. The prepack script has been updated to run nyxr build instead of node prepare-readme-for-npm.mjs && nyxr build. (69d1c36)
✅ Tests
nyxjson: Update benchmark results The benchmark results have been updated to reflect the performance of the nyxjson package compared to other JSON parsing libraries. The results show that nyxjson is faster than JSON.parse and other libraries in most cases. The benchmark suite has been updated to include tests for non-string fallback, known values, plain string, standard object, and invalid syntax. The results show that nyxjson is faster than JSON.parse and other libraries in most cases. The benchmark suite has been updated to include tests for non-string fallback, known values, plain string, standard object, and invalid syntax. (a2bc2fb)
interop.test.ts: Add tests for interopDefault function This commit adds tests for the interopDefault function in the interop.test.ts file. The tests cover various input types and expected output values. The tests ensure that the function returns the expected output for each input type. (05f392e)
🎨 Styles
README.md): fix typo in nyxpath package name 📝 docs(README.md: Update nyxpath package name in description and README The package name was incorrectly referred to as "pathe" in the nyxpath package description and README. This commit fixes the typo and updates the package name to "nyxpath" in both places. (f2c63c9)
url-ops): add cover images and create README.md file ✨ feat(url-ops: Add cover images and create README.md file This commit adds cover images for the url-ops package in both light and dark modes. It also creates a README.md file for the package. The cover images improve the visual appeal of the package and the README.md file provides documentation for the package. (d841261)
assets: Add cover-pkg-def_black.png and cover-pkg-def_light.png The commit adds two new image files to the assets folder. The images are used as cover images for the package definition files. (9eb3988)
assets: Add cover images for esmutils in both light and dark mode Added cover images for esmutils in both light and dark mode to improve the visual appeal of the repository. (3e69acf)
resolve.ts): change import statement for joinURL to use url-ops package 🎨 style(syntax.ts): change import statement for extname to use nyxpath package and for readPackageJSON to use pkg-def package 🎨 style(utils.ts): change import statement for fileURLToPath to use node:url package 🐛 fix(resolve.ts): fix ts-expect-error comment to be more descriptive 🐛 fix(utils.ts: Fix isNodeBuiltin function to correctly identify built-in modules The changes in this commit are purely stylistic, changing import statements to use more appropriate packages. Additionally, there is a fix to a ts-expect-error comment in resolve.ts to make it more descriptive. Lastly, there is a fix to the isNodeBuiltin function in utils.ts to correctly identify built-in modules. (d5202d9)
resolve.mjs: Sort imports alphabetically and remove console.log statements The imports are now sorted alphabetically to improve readability and maintainability. The console.log statements were removed to avoid cluttering the console output. (640ced5)
assets: Add cover images for Envizor in both light and dark mode Two new cover images have been added for Envizor, one for light mode and one for dark mode. These images will be used in the project's documentation and marketing materials. (c5c5550)
assets: Add cover-requireflow images in both light and dark mode Added cover-requireflow images in both light and dark mode to improve the visual appeal of the project. (aa4e342)
github-assets: Add cover image for Envizor repository The commit adds a cover image for the Envizor repository. The image is located in the .github/assets directory and is named cover-github-envizor.png. This image will be used as the cover image for the repository on GitHub. (c354a5c)
github-assets: Add cover image for GitHub repository The commit adds a new cover image for the GitHub repository. The image is located in the .github/assets directory and is named cover-github-esmnxuts.png. This image will be used as the cover image for the repository. (2b8a5a2)
github-fetch-for-all.png: Add cover image for GitHub Fetch For All repository The commit adds a cover image for the GitHub Fetch For All repository. The image is located in the .github/assets directory and is named cover-github-fetch-for-all.png. (9f3d1e1)
cover-github-envizor.png: Update cover image The cover image has been updated. No functional changes were made. (a2fdd71)
github-assets: Update cover image The cover image has been updated. No functional changes were made. (9aaba45)
cover-github-fetch-for-all.png: Update cover image The cover image has been updated. No functional changes were made. (89476ec)
github-assets: Add cover image for NyxDefaults GitHub repository The commit adds a cover image for the NyxDefaults GitHub repository. The image is located in the .github/assets directory and is named cover-github-nyxdefaults.png. (bec1c94)
github-assets: Add cover image for NyxHash repository This commit adds a new cover image for the NyxHash repository located in the .github/assets directory. The image is named cover-github-nyxhash.png and is used to improve the visual appeal of the repository on GitHub. (c04df2f)
cover-github-nyxjson.png: Update cover image The cover image has been updated. No functional changes were made. (173a769)
github-assets: Add cover image for nyxjson repository The commit adds a cover image for the nyxjson repository located in the .github/assets directory. The image is named cover-github-nyxjson.png and is a binary file. (7d4f94f)
github-nyxpath.png: Add cover image for nyxpath github profile The commit adds a new cover image for the nyxpath github profile. The image is located in the .github/assets directory and is named cover-github-nyxpath.png. (2e31088)
github-pkg-def.png: Add cover image for GitHub package definition This commit adds a new cover image for the GitHub package definition. The image is located in the .github/assets directory and is named cover-github-pkg-def.png. (0418a08)
github-url-ops.png: Add cover image for GitHub URL Ops The commit adds a new cover image for the GitHub URL Ops section. The image is named cover-github-url-ops.png and is located in the .github/assets directory. (e49b63e)
github: Add cover image for CodeBoost in GitHub repository This commit adds a new cover image for CodeBoost in the GitHub repository. The image is located in the .github/assets directory and is named cover-github-codeboost.png. The image is a visual representation of CodeBoost and will be displayed on the repository's main page. (a16fdd9)
README.md): add missing line break and fix indentation 🚀 chore(README.md: Update cover image and link The changes in this commit are purely cosmetic. A missing line break was added to improve readability, and the indentation was fixed to follow the standard. The cover image and link were updated to reflect the latest version of the project. (9c25e86)
README.md: Change nyxpath header to use markdown syntax The nyxpath header was changed from an HTML header to a markdown header for consistency with the rest of the file. (c7190a1)
README.md: Remove package emoji from nyxpath package description The package emoji was removed from the nyxpath package description to improve consistency with the other package descriptions. (cd8150f)