Skip to content

Commit

Permalink
build: update critters to 0.0.24
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-agius4 committed Jun 25, 2024
1 parent 17e1683 commit 70125c6
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/angular/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@vitejs/plugin-basic-ssl": "1.1.0",
"ansi-colors": "4.1.3",
"browserslist": "^4.23.0",
"critters": "0.0.22",
"critters": "0.0.24",
"esbuild": "0.21.5",
"fast-glob": "3.3.2",
"https-proxy-agent": "7.0.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('InlineCriticalCssProcessor', () => {
'<link href="theme.css" rel="stylesheet" media="print" ngCspMedia="all">',
);
// Nonces shouldn't be added inside the `noscript` tags.
expect(content).toContain('<noscript><link rel="stylesheet" href="theme.css"></noscript>');
expect(content).toContain('<noscript><link href="theme.css" rel="stylesheet"></noscript>');
expect(content).toContain('<script nonce="{% nonce %}">');
expect(tags.stripIndents`${content}`).toContain(tags.stripIndents`
<style nonce="{% nonce %}">
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"save": "dependencies"
},
"dependencies": {
"critters": "0.0.22",
"critters": "0.0.24",
"tslib": "^2.3.0"
},
"peerDependencies": {
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 @@ -28,7 +28,7 @@
"babel-loader": "9.1.3",
"browserslist": "^4.21.5",
"copy-webpack-plugin": "12.0.2",
"critters": "0.0.22",
"critters": "0.0.24",
"css-loader": "7.1.2",
"esbuild-wasm": "0.21.5",
"fast-glob": "3.3.2",
Expand Down
21 changes: 18 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ __metadata:
babel-loader: "npm:9.1.3"
browserslist: "npm:^4.21.5"
copy-webpack-plugin: "npm:12.0.2"
critters: "npm:0.0.22"
critters: "npm:0.0.24"
css-loader: "npm:7.1.2"
esbuild: "npm:0.21.5"
esbuild-wasm: "npm:0.21.5"
Expand Down Expand Up @@ -403,7 +403,7 @@ __metadata:
"@vitejs/plugin-basic-ssl": "npm:1.1.0"
ansi-colors: "npm:4.1.3"
browserslist: "npm:^4.23.0"
critters: "npm:0.0.22"
critters: "npm:0.0.24"
esbuild: "npm:0.21.5"
fast-glob: "npm:3.3.2"
https-proxy-agent: "npm:7.0.4"
Expand Down Expand Up @@ -1013,7 +1013,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@angular/ssr@workspace:packages/angular/ssr"
dependencies:
critters: "npm:0.0.22"
critters: "npm:0.0.24"
tslib: "npm:^2.3.0"
peerDependencies:
"@angular/common": ^18.0.0 || ^18.1.0-next.0
Expand Down Expand Up @@ -8368,6 +8368,21 @@ __metadata:
languageName: node
linkType: hard

"critters@npm:0.0.24":
version: 0.0.24
resolution: "critters@npm:0.0.24"
dependencies:
chalk: "npm:^4.1.0"
css-select: "npm:^5.1.0"
dom-serializer: "npm:^2.0.0"
domhandler: "npm:^5.0.2"
htmlparser2: "npm:^8.0.2"
postcss: "npm:^8.4.23"
postcss-media-query-parser: "npm:^0.2.3"
checksum: 10c0/a8f2fc45200e1e48ec82a1832565ec0c869b338cbb35506e0155c4affee5ed9a7478b956e699bd837926051d4249c93f371add7fb14bb9c383944077d696814e
languageName: node
linkType: hard

"cross-fetch@npm:3.1.5":
version: 3.1.5
resolution: "cross-fetch@npm:3.1.5"
Expand Down

0 comments on commit 70125c6

Please sign in to comment.