Tags: nrwl/nx
Tags
fix(webpack): migrate to latest version to prevent security vulnerabi… …lities #29755 (#30590) ## Current Behavior The `@nx/webpack` depends on `webpack` at version `^5.80.0`. Despite the `^` allowing it to resolve to a higher minor, there has been no migration to force users onto a higher version. There is a security vulnerability with version `5.88.0`. ## Expected Behavior Ensure users are migrated to a version where the security vulnerability has been fixed. ## Related Issue(s) Fixes #29755
fix(misc): override `customConditions` when using an incompatible mod… …ule resolution (#30477) ## Current Behavior In a few different places (Crystal plugins, executors, generators, helpers) where `ts-node` compiler options are overridden and `moduleResolution` is being set to something other than `node16`, `nodenext`, or `bundler`, an error can occur if the `customConditions` compiler option is being used. ## Expected Behavior When overriding the `ts-node` compiler options and changing forcing `moduleResolution` to have a value that's incompatible with `customConditions`, the latter should be unset (set to `null`) to avoid errors. ## Related Issue(s) Fixes # (cherry picked from commit 5dbe040)
feat(repo): replace explicit matrix with dynamic parsed from json (#3… …0120) This PR replaces the cumbersome explicit matrix in `e2e-matrix.yml` with a dynamic matrix built from the input JSON data. ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes # (cherry picked from commit 30781f7)
fix(js): update tinyglobby to speed up shallow file matching (#30415) `tinyglobby` at `0.2.10` (what we use now) is slow on shallow files, but the latest version `0.2.12` is fast due to this PR https://github.com/SuperchupuDev/tinyglobby/pull/69/files. This PR updates both the js and esbuild plugins to use the newest versions, but also adds `tinyglobby@^0.2.12` to our root `package.json` so we get the speed increase right away. I removed `fast-glob` in our repo scripts and replaced it with `tinyglobby`. ## Current Behavior Asset handling is slow for shallow files like `LICENSE` but is fine for scoped patterns like `src/**/*.ts`. ## Expected Behavior Asset handling should be fast for shallow files. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
fix(js): update tinyglobby to speed up shallow file matching (#30415) `tinyglobby` at `0.2.10` (what we use now) is slow on shallow files, but the latest version `0.2.12` is fast due to this PR https://github.com/SuperchupuDev/tinyglobby/pull/69/files. This PR updates both the js and esbuild plugins to use the newest versions, but also adds `tinyglobby@^0.2.12` to our root `package.json` so we get the speed increase right away. I removed `fast-glob` in our repo scripts and replaced it with `tinyglobby`. Asset handling is slow for shallow files like `LICENSE` but is fine for scoped patterns like `src/**/*.ts`. Asset handling should be fast for shallow files. <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes # (cherry picked from commit e0cae53)
fix(core): simplify key registration process (#30405) <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
fix(core): handle null outputs in native cache (#30398) <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior `cache.rs` expects outputs to always be an array ## Expected Behavior `cache.rs` is able to handle null ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
fix(core): handle null outputs in native cache (#30398) <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior `cache.rs` expects outputs to always be an array ## Expected Behavior `cache.rs` is able to handle null ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes # (cherry picked from commit 46d55ad)
PreviousNext