Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: update all non-major dependencies #21982

Merged
merged 2 commits into from
Oct 21, 2021
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
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
]
},
"resolutions": {
"**/@types/copy-webpack-plugin/webpack": "5.58.2",
"**/@types/webpack-dev-server/webpack": "5.58.2",
"**/@types/copy-webpack-plugin/webpack": "5.59.0",
"**/@types/webpack-dev-server/webpack": "5.59.0",
"ajv-formats/ajv": "8.6.3"
},
"devDependencies": {
Expand Down Expand Up @@ -121,8 +121,8 @@
"@types/text-table": "^0.2.1",
"@types/uuid": "^8.0.0",
"@types/webpack-dev-server": "^4.0.3",
"@typescript-eslint/eslint-plugin": "5.0.0",
"@typescript-eslint/parser": "5.0.0",
"@typescript-eslint/eslint-plugin": "5.1.0",
"@typescript-eslint/parser": "5.1.0",
"@yarnpkg/lockfile": "1.1.0",
"ajv": "8.6.3",
"ajv-formats": "2.1.1",
Expand All @@ -138,11 +138,11 @@
"conventional-commits-parser": "^3.0.0",
"copy-webpack-plugin": "9.0.1",
"core-js": "3.18.3",
"critters": "0.0.10",
"critters": "0.0.11",
"css-loader": "6.4.0",
"debug": "^4.1.1",
"esbuild": "0.13.7",
"esbuild-wasm": "0.13.7",
"esbuild": "0.13.8",
"esbuild-wasm": "0.13.8",
"eslint": "8.0.1",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-header": "3.1.1",
Expand Down Expand Up @@ -170,15 +170,15 @@
"karma-jasmine-html-reporter": "~1.7.0",
"karma-source-map-support": "1.4.0",
"less": "4.1.2",
"less-loader": "10.1.0",
"less-loader": "10.2.0",
"license-checker": "^25.0.0",
"license-webpack-plugin": "3.0.0",
"loader-utils": "2.0.0",
"magic-string": "0.25.7",
"mini-css-extract-plugin": "2.4.2",
"minimatch": "3.0.4",
"minimist": "^1.2.0",
"ng-packagr": "13.0.0-rc.0",
"ng-packagr": "13.0.0-rc.1",
"node-fetch": "^2.2.0",
"npm-package-arg": "8.1.5",
"open": "8.3.0",
Expand Down Expand Up @@ -222,7 +222,7 @@
"typescript": "4.4.4",
"verdaccio": "5.1.6",
"verdaccio-auth-memory": "^10.0.0",
"webpack": "5.58.2",
"webpack": "5.59.0",
"webpack-dev-middleware": "5.2.1",
"webpack-dev-server": "4.3.1",
"webpack-merge": "5.8.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/angular_devkit/build_angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
"circular-dependency-plugin": "5.2.2",
"copy-webpack-plugin": "9.0.1",
"core-js": "3.18.3",
"critters": "0.0.10",
"critters": "0.0.11",
"css-loader": "6.4.0",
"esbuild-wasm": "0.13.7",
"esbuild-wasm": "0.13.8",
"glob": "7.2.0",
"https-proxy-agent": "5.0.0",
"inquirer": "8.2.0",
"karma-source-map-support": "1.4.0",
"less": "4.1.2",
"less-loader": "10.1.0",
"less-loader": "10.2.0",
"license-webpack-plugin": "3.0.0",
"loader-utils": "2.0.0",
"mini-css-extract-plugin": "2.4.2",
Expand All @@ -65,14 +65,14 @@
"text-table": "0.2.0",
"tree-kill": "1.2.2",
"tslib": "2.3.1",
"webpack": "5.58.2",
"webpack": "5.59.0",
"webpack-dev-middleware": "5.2.1",
"webpack-dev-server": "4.3.1",
"webpack-merge": "5.8.0",
"webpack-subresource-integrity": "5.0.0"
},
"optionalDependencies": {
"esbuild": "0.13.7"
"esbuild": "0.13.8"
},
"peerDependencies": {
"@angular/compiler-cli": "^13.0.0 || ^13.0.0-next",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ describe('AppShell Builder', () => {
const content = virtualFs.fileBufferToString(host.scopedSync().read(normalize(fileName)));

expect(content).toContain('app-shell works!');
expect(content).toContain('p{color:#000;}');
expect(content).toContain('p{color:#000}');
expect(content).toMatch(
/<link rel="stylesheet" href="styles\.[a-z0-9]+\.css" media="print" onload="this\.media='all'">/,
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => {
.content.toContain(
`<link rel="stylesheet" href="styles.css" media="print" onload="this.media='all'">`,
);
harness.expectFile('dist/index.html').content.toContain(`body{color:#000;}`);
harness.expectFile('dist/index.html').content.toContain(`body{color:#000}`);
});

it(`should not extract critical css when 'optimization' is unset`, async () => {
Expand Down Expand Up @@ -121,7 +121,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => {
.content.toContain(
`<link rel="stylesheet" href="http://cdn.com/styles.css" media="print" onload="this.media='all'">`,
);
harness.expectFile('dist/index.html').content.toContain(`body{color:#000;}`);
harness.expectFile('dist/index.html').content.toContain(`body{color:#000}`);
});

it(`should extract critical css when using '@media all {}' and 'minify' is set to true`, async () => {
Expand All @@ -147,7 +147,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => {
.content.toContain(
`<link rel="stylesheet" href="styles.css" media="print" onload="this.media='all'">`,
);
harness.expectFile('dist/index.html').content.toContain(`body{color:#000;}`);
harness.expectFile('dist/index.html').content.toContain(`body{color:#000}`);
});
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describeBuilder(serveWebpackBrowser, DEV_SERVER_BUILDER_INFO, (harness) => {
const { result, response } = await executeOnceAndFetch(harness, '/');

expect(result?.success).toBeTrue();
expect(await response?.text()).toContain('body{color:#000;}');
expect(await response?.text()).toContain('body{color:#000}');
});
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,10 @@ describe('InlineCriticalCssProcessor', () => {
);
expect(content).not.toContain('color: blue');
expect(tags.stripIndents`${content}`).toContain(tags.stripIndents`
<style>body {
margin: 0;
}

html {
color: white;
}</style>
`);
<style>
body { margin: 0; }
html { color: white; }
</style>`);
});

it('should inline critical css when using deployUrl', async () => {
Expand All @@ -85,14 +81,10 @@ describe('InlineCriticalCssProcessor', () => {
`<link href="http://cdn.com/theme.css" rel="stylesheet" media="print" onload="this.media='all'">`,
);
expect(tags.stripIndents`${content}`).toContain(tags.stripIndents`
<style>body {
margin: 0;
}

html {
color: white;
}</style>
`);
<style>
body { margin: 0; }
html { color: white; }
</style>`);
});

it('should compress inline critical css when minify is enabled', async () => {
Expand All @@ -111,6 +103,6 @@ describe('InlineCriticalCssProcessor', () => {
expect(content).toContain(
`<link href="theme.css" rel="stylesheet" media="print" onload="this.media='all'">`,
);
expect(content).toContain('<style>body{margin:0;}html{color:white;}</style>');
expect(content).toContain('<style>body{margin:0}html{color:white}</style>');
});
});
2 changes: 1 addition & 1 deletion packages/angular_devkit/build_optimizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
}
},
"devDependencies": {
"webpack": "5.58.2"
"webpack": "5.59.0"
}
}
2 changes: 1 addition & 1 deletion packages/angular_devkit/build_webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"@angular-devkit/core": "0.0.0",
"node-fetch": "2.6.1",
"webpack": "5.58.2"
"webpack": "5.59.0"
},
"peerDependencies": {
"webpack": "^5.30.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ngtools/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"@angular/compiler": "13.0.0-rc.0",
"@angular/compiler-cli": "13.0.0-rc.0",
"typescript": "4.4.4",
"webpack": "5.58.2"
"webpack": "5.59.0"
}
}
Loading