Skip to content

Commit 4dfe425

Browse files
committed
356ec65 refactor(core): Do not duplicate change detection with run coalescing (part 2) (#55403)
1 parent 11a4104 commit 4dfe425

File tree

13 files changed

+25
-25
lines changed

13 files changed

+25
-25
lines changed

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Thu Apr 25 20:02:07 UTC 2024
2-
bf8814c6c3718622cbf4b44be9d8ca73772525ee
1+
Thu Apr 25 21:36:23 UTC 2024
2+
356ec6508b3fa3ada8dd623b308800a7cea06c5b

esm2022/src/render3/partial/class_metadata.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
2424
export function compileDeclareClassMetadata(metadata) {
2525
const definitionMap = new DefinitionMap();
2626
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
27-
definitionMap.set('version', o.literal('18.1.0-next.0+sha-bf8814c'));
27+
definitionMap.set('version', o.literal('18.1.0-next.0+sha-356ec65'));
2828
definitionMap.set('ngImport', o.importExpr(R3.core));
2929
definitionMap.set('type', metadata.type);
3030
definitionMap.set('decorators', metadata.decorators);
@@ -42,7 +42,7 @@ export function compileComponentDeclareClassMetadata(metadata, dependencies) {
4242
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? o.literal(null));
4343
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? o.literal(null));
4444
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
45-
definitionMap.set('version', o.literal('18.1.0-next.0+sha-bf8814c'));
45+
definitionMap.set('version', o.literal('18.1.0-next.0+sha-356ec65'));
4646
definitionMap.set('ngImport', o.importExpr(R3.core));
4747
definitionMap.set('type', metadata.type);
4848
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));

esm2022/src/render3/partial/directive.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function createDirectiveDefinitionMap(meta) {
2828
const definitionMap = new DefinitionMap();
2929
const minVersion = getMinimumVersionForPartialOutput(meta);
3030
definitionMap.set('minVersion', o.literal(minVersion));
31-
definitionMap.set('version', o.literal('18.1.0-next.0+sha-bf8814c'));
31+
definitionMap.set('version', o.literal('18.1.0-next.0+sha-356ec65'));
3232
// e.g. `type: MyDirective`
3333
definitionMap.set('type', meta.type.value);
3434
if (meta.isStandalone) {

esm2022/src/render3/partial/factory.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION = '12.0.0';
2121
export function compileDeclareFactoryFunction(meta) {
2222
const definitionMap = new DefinitionMap();
2323
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
24-
definitionMap.set('version', o.literal('18.1.0-next.0+sha-bf8814c'));
24+
definitionMap.set('version', o.literal('18.1.0-next.0+sha-356ec65'));
2525
definitionMap.set('ngImport', o.importExpr(R3.core));
2626
definitionMap.set('type', meta.type.value);
2727
definitionMap.set('deps', compileDependencies(meta.deps));

esm2022/src/render3/partial/injectable.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function compileDeclareInjectableFromMetadata(meta) {
3434
export function createInjectableDefinitionMap(meta) {
3535
const definitionMap = new DefinitionMap();
3636
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
37-
definitionMap.set('version', o.literal('18.1.0-next.0+sha-bf8814c'));
37+
definitionMap.set('version', o.literal('18.1.0-next.0+sha-356ec65'));
3838
definitionMap.set('ngImport', o.importExpr(R3.core));
3939
definitionMap.set('type', meta.type.value);
4040
// Only generate providedIn property if it has a non-null value

esm2022/src/render3/partial/injector.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function compileDeclareInjectorFromMetadata(meta) {
2929
function createInjectorDefinitionMap(meta) {
3030
const definitionMap = new DefinitionMap();
3131
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
32-
definitionMap.set('version', o.literal('18.1.0-next.0+sha-bf8814c'));
32+
definitionMap.set('version', o.literal('18.1.0-next.0+sha-356ec65'));
3333
definitionMap.set('ngImport', o.importExpr(R3.core));
3434
definitionMap.set('type', meta.type.value);
3535
definitionMap.set('providers', meta.providers);

esm2022/src/render3/partial/ng_module.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function createNgModuleDefinitionMap(meta) {
3333
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
3434
}
3535
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
36-
definitionMap.set('version', o.literal('18.1.0-next.0+sha-bf8814c'));
36+
definitionMap.set('version', o.literal('18.1.0-next.0+sha-356ec65'));
3737
definitionMap.set('ngImport', o.importExpr(R3.core));
3838
definitionMap.set('type', meta.type.value);
3939
// We only generate the keys in the metadata if the arrays contain values.

esm2022/src/render3/partial/pipe.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function compileDeclarePipeFromMetadata(meta) {
3232
export function createPipeDefinitionMap(meta) {
3333
const definitionMap = new DefinitionMap();
3434
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
35-
definitionMap.set('version', o.literal('18.1.0-next.0+sha-bf8814c'));
35+
definitionMap.set('version', o.literal('18.1.0-next.0+sha-356ec65'));
3636
definitionMap.set('ngImport', o.importExpr(R3.core));
3737
// e.g. `type: MyPipe`
3838
definitionMap.set('type', meta.type.value);

esm2022/src/version.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
* Entry point for all public APIs of the compiler package.
1212
*/
1313
import { Version } from './util';
14-
export const VERSION = new Version('18.1.0-next.0+sha-bf8814c');
14+
export const VERSION = new Version('18.1.0-next.0+sha-356ec65');
1515
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVIOzs7O0dBSUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sUUFBUSxDQUFDO0FBRS9CLE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21waWxlciBwYWNrYWdlLlxuICovXG5cbmltcG9ydCB7VmVyc2lvbn0gZnJvbSAnLi91dGlsJztcblxuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==

fesm2022/compiler.mjs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license Angular v18.1.0-next.0+sha-bf8814c
2+
* @license Angular v18.1.0-next.0+sha-356ec65
33
* (c) 2010-2024 Google LLC. https://angular.io/
44
* License: MIT
55
*/
@@ -29012,7 +29012,7 @@ function publishFacade(global) {
2901229012
* @description
2901329013
* Entry point for all public APIs of the compiler package.
2901429014
*/
29015-
const VERSION = new Version('18.1.0-next.0+sha-bf8814c');
29015+
const VERSION = new Version('18.1.0-next.0+sha-356ec65');
2901629016

2901729017
class CompilerConfig {
2901829018
constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters, } = {}) {
@@ -30643,7 +30643,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
3064330643
function compileDeclareClassMetadata(metadata) {
3064430644
const definitionMap = new DefinitionMap();
3064530645
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
30646-
definitionMap.set('version', literal('18.1.0-next.0+sha-bf8814c'));
30646+
definitionMap.set('version', literal('18.1.0-next.0+sha-356ec65'));
3064730647
definitionMap.set('ngImport', importExpr(Identifiers.core));
3064830648
definitionMap.set('type', metadata.type);
3064930649
definitionMap.set('decorators', metadata.decorators);
@@ -30661,7 +30661,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
3066130661
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
3066230662
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
3066330663
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
30664-
definitionMap.set('version', literal('18.1.0-next.0+sha-bf8814c'));
30664+
definitionMap.set('version', literal('18.1.0-next.0+sha-356ec65'));
3066530665
definitionMap.set('ngImport', importExpr(Identifiers.core));
3066630666
definitionMap.set('type', metadata.type);
3066730667
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -30756,7 +30756,7 @@ function createDirectiveDefinitionMap(meta) {
3075630756
const definitionMap = new DefinitionMap();
3075730757
const minVersion = getMinimumVersionForPartialOutput(meta);
3075830758
definitionMap.set('minVersion', literal(minVersion));
30759-
definitionMap.set('version', literal('18.1.0-next.0+sha-bf8814c'));
30759+
definitionMap.set('version', literal('18.1.0-next.0+sha-356ec65'));
3076030760
// e.g. `type: MyDirective`
3076130761
definitionMap.set('type', meta.type.value);
3076230762
if (meta.isStandalone) {
@@ -31178,7 +31178,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
3117831178
function compileDeclareFactoryFunction(meta) {
3117931179
const definitionMap = new DefinitionMap();
3118031180
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
31181-
definitionMap.set('version', literal('18.1.0-next.0+sha-bf8814c'));
31181+
definitionMap.set('version', literal('18.1.0-next.0+sha-356ec65'));
3118231182
definitionMap.set('ngImport', importExpr(Identifiers.core));
3118331183
definitionMap.set('type', meta.type.value);
3118431184
definitionMap.set('deps', compileDependencies(meta.deps));
@@ -31213,7 +31213,7 @@ function compileDeclareInjectableFromMetadata(meta) {
3121331213
function createInjectableDefinitionMap(meta) {
3121431214
const definitionMap = new DefinitionMap();
3121531215
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
31216-
definitionMap.set('version', literal('18.1.0-next.0+sha-bf8814c'));
31216+
definitionMap.set('version', literal('18.1.0-next.0+sha-356ec65'));
3121731217
definitionMap.set('ngImport', importExpr(Identifiers.core));
3121831218
definitionMap.set('type', meta.type.value);
3121931219
// Only generate providedIn property if it has a non-null value
@@ -31264,7 +31264,7 @@ function compileDeclareInjectorFromMetadata(meta) {
3126431264
function createInjectorDefinitionMap(meta) {
3126531265
const definitionMap = new DefinitionMap();
3126631266
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
31267-
definitionMap.set('version', literal('18.1.0-next.0+sha-bf8814c'));
31267+
definitionMap.set('version', literal('18.1.0-next.0+sha-356ec65'));
3126831268
definitionMap.set('ngImport', importExpr(Identifiers.core));
3126931269
definitionMap.set('type', meta.type.value);
3127031270
definitionMap.set('providers', meta.providers);
@@ -31297,7 +31297,7 @@ function createNgModuleDefinitionMap(meta) {
3129731297
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
3129831298
}
3129931299
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
31300-
definitionMap.set('version', literal('18.1.0-next.0+sha-bf8814c'));
31300+
definitionMap.set('version', literal('18.1.0-next.0+sha-356ec65'));
3130131301
definitionMap.set('ngImport', importExpr(Identifiers.core));
3130231302
definitionMap.set('type', meta.type.value);
3130331303
// We only generate the keys in the metadata if the arrays contain values.
@@ -31348,7 +31348,7 @@ function compileDeclarePipeFromMetadata(meta) {
3134831348
function createPipeDefinitionMap(meta) {
3134931349
const definitionMap = new DefinitionMap();
3135031350
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
31351-
definitionMap.set('version', literal('18.1.0-next.0+sha-bf8814c'));
31351+
definitionMap.set('version', literal('18.1.0-next.0+sha-356ec65'));
3135231352
definitionMap.set('ngImport', importExpr(Identifiers.core));
3135331353
// e.g. `type: MyPipe`
3135431354
definitionMap.set('type', meta.type.value);

0 commit comments

Comments
 (0)