Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,16 @@
* Github: [PR-659](https://github.com/pegasystems/angular-sdk-components/pull/659)
* The **@angular-eslint/eslint-plugin**, **@angular-eslint/eslint-plugin-template**, and **@angular-eslint/template-parser** packages have been replaced with **angular-eslint**.
* Github: [PR-659](https://github.com/pegasystems/angular-sdk-components/pull/659)
* The **lodash.clonedeep**, **lodash.debounce**, and **lodash.get** packages have been replaced with **lodash-es**. The `lodash.*` entries have been removed from `allowedCommonJsDependencies` in `angular.json`. Applications that consume `@pega/angular-sdk-components` now need `lodash-es` as a peer dependency instead of the `lodash.*` packages.
* Github: [PR-662](https://github.com/pegasystems/angular-sdk-components/pull/662)
* The following table lists the packages that have been added:

| Package | Added version |
| :--- | :--- |
| **@angular/build** | 22.2.6 |
| **angular-eslint** | 22.6.0 |
| **lodash-es** | 4.18.1 |
| **@types/lodash-es** | 4.17.12 |

* The following table lists the packages whose versions have been updated:

Expand Down
2 changes: 1 addition & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
],
"styles": ["projects/angular-test-app/src/styles.scss"],
"scripts": [],
"allowedCommonJsDependencies": ["lodash.clonedeep", "lodash.debounce", "downloadjs", "dayjs", "fast-deep-equal", "moment"],
"allowedCommonJsDependencies": ["downloadjs", "dayjs", "fast-deep-equal", "moment"],
"browser": "projects/angular-test-app/src/main.ts"
},
"configurations": {
Expand Down
43 changes: 23 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@
"downloadjs": "^1.4.7",
"fast-deep-equal": "^3.1.3",
"libphonenumber-js": "^1.13.16",
"lodash.clonedeep": "^4.5.0",
"lodash.debounce": "^4.0.8",
"lodash.get": "^4.4.2",
"lodash-es": "^4.18.1",
"mat-tel-input": "^21.1.3",
"ngx-currency": "^19.0.0",
"rxjs": "^7.8.2",
Expand All @@ -107,6 +105,7 @@
"@playwright/test": "^1.65.0",
"@types/jasmine": "~7.0.0",
"@types/jasminewd2": "~2.0.13",
"@types/lodash-es": "^4.17.12",
"@types/node": "^24.0.0",
"angular-eslint": "^22.6.0",
"brotli": "^1.3.3",
Expand Down
4 changes: 1 addition & 3 deletions packages/angular-sdk-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
"downloadjs": "^1.4.7",
"fast-deep-equal": "^3.1.3",
"libphonenumber-js": "^1.13.16",
"lodash.clonedeep": "^4.5.0",
"lodash.debounce": "^4.0.8",
"lodash.get": "^4.4.2",
"lodash-es": "^4.18.1",
"mat-tel-input": "^21.1.3",
"ngx-currency": "^19.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cloneDeep from 'lodash.clonedeep';
import { cloneDeep } from 'lodash-es';

export function setVisibilityForList(c11nEnv, visibility) {
const { selectionMode, selectionList, renderMode, referenceList } = c11nEnv.getComponentConfig();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MatButtonModule } from '@angular/material/button';
import { MatInputModule } from '@angular/material/input';
import { MatFormFieldModule } from '@angular/material/form-field';
import download from 'downloadjs';
import debounce from 'lodash.debounce';
import { debounce } from 'lodash-es';

import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
import { Utils } from '../../../_helpers/utils';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getLocale } from '../common';
import get from 'lodash.get';
import { get } from 'lodash-es';

interface CurrencyFormatOptions {
locale?: string;
Expand Down
Loading