Skip to content

Commit

Permalink
build: update postcss to v8.5.3
Browse files Browse the repository at this point in the history
A test for the browser builder needed to be updated to reflect a different
order in the sources array within the generated source map.
  • Loading branch information
clydin committed Feb 24, 2025
1 parent 1b43c05 commit 5130afe
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
# This file should be checked into version control along with the pnpm-lock.yaml file.
.npmrc=-1406867100
modules/testing/builder/package.json=973445093
package.json=1508894388
package.json=1340667509
packages/angular/build/package.json=1250379839
packages/angular/cli/package.json=-1917515334
packages/angular/pwa/package.json=1108903917
packages/angular/ssr/package.json=708248541
packages/angular_devkit/architect/package.json=-363443363
packages/angular_devkit/architect_cli/package.json=1551210941
packages/angular_devkit/build_angular/package.json=-311632334
packages/angular_devkit/build_angular/package.json=-1648249391
packages/angular_devkit/build_webpack/package.json=-511874814
packages/angular_devkit/core/package.json=-411613325
packages/angular_devkit/schematics/package.json=-1133510866
packages/angular_devkit/schematics_cli/package.json=-2026655035
packages/ngtools/webpack/package.json=605871936
packages/schematics/angular/package.json=251715148
pnpm-lock.yaml=1862304473
pnpm-lock.yaml=-1124349163
pnpm-workspace.yaml=-1264044456
tests/package.json=700948366
yarn.lock=2092749541
yarn.lock=1356429964
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
"patch-package": "^8.0.0",
"picomatch": "4.0.2",
"piscina": "4.8.0",
"postcss": "8.5.2",
"postcss": "8.5.3",
"postcss-loader": "8.1.1",
"prettier": "^3.0.0",
"protractor": "~7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular_devkit/build_angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"ora": "5.4.1",
"picomatch": "4.0.2",
"piscina": "4.8.0",
"postcss": "8.5.2",
"postcss": "8.5.3",
"postcss-loader": "8.1.1",
"resolve-url-loader": "5.0.0",
"rxjs": "7.8.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,12 @@ describe('Identifying third-party code in source maps', () => {
expect(thirdPartyInVendor).toBe(true, `vendor.js.map should include some node modules`);

// All sources in the main map are first-party.
expect(mainMap.sources.filter((_, i) => !mainMap[IGNORE_LIST].includes(i))).toEqual([
'./src/app/app.component.ts',
const sources = mainMap.sources.filter((_, i) => !mainMap[IGNORE_LIST].includes(i));
sources.sort();

expect(sources).toEqual([
'./src/app/app.component.css',
'./src/app/app.component.ts',
'./src/app/app.module.ts',
'./src/main.ts',
]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"karma-jasmine": "~5.1.0",
"karma": "~6.4.0",
"less": "^4.2.0",
"postcss": "^8.4.38",
"postcss": "^8.5.3",
"protractor": "~7.0.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
Expand Down
32 changes: 12 additions & 20 deletions pnpm-lock.yaml

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

77 changes: 63 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ __metadata:
patch-package: "npm:^8.0.0"
picomatch: "npm:4.0.2"
piscina: "npm:4.8.0"
postcss: "npm:8.5.2"
postcss: "npm:8.5.3"
postcss-loader: "npm:8.1.1"
prettier: "npm:^3.0.0"
protractor: "npm:~7.0.0"
Expand Down Expand Up @@ -5419,6 +5419,16 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:8.24.0":
version: 8.24.0
resolution: "@typescript-eslint/scope-manager@npm:8.24.0"
dependencies:
"@typescript-eslint/types": "npm:8.24.0"
"@typescript-eslint/visitor-keys": "npm:8.24.0"
checksum: 10c0/7c47f6b06fb53dbd8bf7b526faad20ed4336f63356f4f3ee6194676b9c10a5c0a25b8449b9254b7a8952dbb859601f8b10617249b767ea11b3b35135822c7ef0
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/scope-manager@npm:8.24.1"
Expand All @@ -5444,13 +5454,38 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/types@npm:8.24.0":
version: 8.24.0
resolution: "@typescript-eslint/types@npm:8.24.0"
checksum: 10c0/d3fe148315a37c272e0d077fd3d05e10c7c3266c006605c94135d587a5cd58e34a7d9ee0bf43bfbe730545cfa329e836b1e5f6b8aabfaf56e2b524578e1b2d26
languageName: node
linkType: hard

"@typescript-eslint/types@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/types@npm:8.24.1"
checksum: 10c0/ebb40ce16c746ef236dbcc25cb2e6950753ca6fb34d04ed7d477016370de1fdaf7402ed4569673c6ff14bf60af7124ff45c6ddd9328d2f8c94dc04178368e2a3
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:8.24.0":
version: 8.24.0
resolution: "@typescript-eslint/typescript-estree@npm:8.24.0"
dependencies:
"@typescript-eslint/types": "npm:8.24.0"
"@typescript-eslint/visitor-keys": "npm:8.24.0"
debug: "npm:^4.3.4"
fast-glob: "npm:^3.3.2"
is-glob: "npm:^4.0.3"
minimatch: "npm:^9.0.4"
semver: "npm:^7.6.0"
ts-api-utils: "npm:^2.0.1"
peerDependencies:
typescript: ">=4.8.4 <5.8.0"
checksum: 10c0/38732a9084131f0bfab3c0105367604d4b3017d4359f49562ac9e95b5490c798d38873f0fef5aafd2e1e78a57b079496d935c71649ea4b5be61bbff27055ebad
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/typescript-estree@npm:8.24.1"
Expand All @@ -5469,7 +5504,7 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:8.24.1, @typescript-eslint/utils@npm:^8.13.0":
"@typescript-eslint/utils@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/utils@npm:8.24.1"
dependencies:
Expand All @@ -5484,6 +5519,31 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:^8.13.0":
version: 8.24.0
resolution: "@typescript-eslint/utils@npm:8.24.0"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.4.0"
"@typescript-eslint/scope-manager": "npm:8.24.0"
"@typescript-eslint/types": "npm:8.24.0"
"@typescript-eslint/typescript-estree": "npm:8.24.0"
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: ">=4.8.4 <5.8.0"
checksum: 10c0/c08cf9668d6ece98a0d0e7a87b62009f37931d3d799560c5084a59c90c7f22c45acc5022c104b5bd1899d41c46fba24276fdb31e0742402f804f66285943c150
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:8.24.0":
version: 8.24.0
resolution: "@typescript-eslint/visitor-keys@npm:8.24.0"
dependencies:
"@typescript-eslint/types": "npm:8.24.0"
eslint-visitor-keys: "npm:^4.2.0"
checksum: 10c0/ae3dcabbeb5213282806de1a7bc31c657189aae4225f2847356bc3110de46a43a82595634e0f123f6c8ca53ae6520c2acf7ac59a91eeb83c0f763166e3982f5c
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/visitor-keys@npm:8.24.1"
Expand Down Expand Up @@ -14919,18 +14979,7 @@ __metadata:
languageName: node
linkType: hard

"postcss@npm:8.5.2":
version: 8.5.2
resolution: "postcss@npm:8.5.2"
dependencies:
nanoid: "npm:^3.3.8"
picocolors: "npm:^1.1.1"
source-map-js: "npm:^1.2.1"
checksum: 10c0/3044d49bc725029ab62292e8bf9849741251b95f3b754e191bf8b4025414d40ec3b4ac05c5a563d4b50060b5c8e96683eb4d783d8d8fa3867eb7b763cbe66127
languageName: node
linkType: hard

"postcss@npm:^8.2.14, postcss@npm:^8.4.33, postcss@npm:^8.4.47, postcss@npm:^8.4.49, postcss@npm:^8.5.1":
"postcss@npm:8.5.3, postcss@npm:^8.2.14, postcss@npm:^8.4.33, postcss@npm:^8.4.47, postcss@npm:^8.4.49, postcss@npm:^8.5.1":
version: 8.5.3
resolution: "postcss@npm:8.5.3"
dependencies:
Expand Down

0 comments on commit 5130afe

Please sign in to comment.