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
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@
"@angular/platform-server": "15.0.0-rc.0",
"@angular/router": "15.0.0-rc.0",
"@angular/service-worker": "15.0.0-rc.0",
"@babel/core": "7.19.3",
"@babel/generator": "7.19.5",
"@babel/core": "7.19.6",
"@babel/generator": "7.19.6",
"@babel/helper-annotate-as-pure": "7.18.6",
"@babel/plugin-proposal-async-generator-functions": "7.19.1",
"@babel/plugin-transform-async-to-generator": "7.18.6",
"@babel/plugin-transform-runtime": "7.19.1",
"@babel/plugin-transform-runtime": "7.19.6",
"@babel/preset-env": "7.19.4",
"@babel/runtime": "7.19.4",
"@babel/template": "7.18.10",
Expand Down Expand Up @@ -122,8 +122,8 @@
"@types/yargs": "^17.0.8",
"@types/yargs-parser": "^21.0.0",
"@types/yarnpkg__lockfile": "^1.1.5",
"@typescript-eslint/eslint-plugin": "5.40.0",
"@typescript-eslint/parser": "5.40.0",
"@typescript-eslint/eslint-plugin": "5.40.1",
"@typescript-eslint/parser": "5.40.1",
"@yarnpkg/lockfile": "1.1.0",
"ajv": "8.11.0",
"ajv-formats": "2.1.1",
Expand All @@ -133,15 +133,15 @@
"babel-plugin-istanbul": "6.1.1",
"bootstrap": "^4.0.0",
"browserslist": "^4.9.1",
"cacache": "17.0.0",
"cacache": "17.0.1",
"chokidar": "3.5.3",
"copy-webpack-plugin": "11.0.0",
"critters": "0.0.16",
"cross-env": "^7.0.3",
"css-loader": "6.7.1",
"debug": "^4.1.1",
"esbuild": "0.15.11",
"esbuild-wasm": "0.15.11",
"esbuild": "0.15.12",
"esbuild-wasm": "0.15.12",
"eslint": "8.25.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-header": "3.1.1",
Expand Down Expand Up @@ -178,7 +178,7 @@
"npm-package-arg": "9.1.2",
"open": "8.4.0",
"ora": "5.4.1",
"pacote": "15.0.0",
"pacote": "15.0.3",
"parse5-html-rewriting-stream": "6.0.1",
"pidtree": "^0.6.0",
"pidusage": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/angular/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"inquirer": "8.2.4",
"jsonc-parser": "3.2.0",
"npm-package-arg": "9.1.2",
"npm-pick-manifest": "8.0.0",
"npm-pick-manifest": "8.0.1",
"open": "8.4.0",
"ora": "5.4.1",
"pacote": "15.0.0",
"pacote": "15.0.3",
"resolve": "1.22.1",
"semver": "7.3.8",
"symbol-observable": "4.0.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/angular_devkit/build_angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"@angular-devkit/architect": "0.0.0-EXPERIMENTAL-PLACEHOLDER",
"@angular-devkit/build-webpack": "0.0.0-EXPERIMENTAL-PLACEHOLDER",
"@angular-devkit/core": "0.0.0-PLACEHOLDER",
"@babel/core": "7.19.3",
"@babel/generator": "7.19.5",
"@babel/core": "7.19.6",
"@babel/generator": "7.19.6",
"@babel/helper-annotate-as-pure": "7.18.6",
"@babel/plugin-proposal-async-generator-functions": "7.19.1",
"@babel/plugin-transform-async-to-generator": "7.18.6",
"@babel/plugin-transform-runtime": "7.19.1",
"@babel/plugin-transform-runtime": "7.19.6",
"@babel/preset-env": "7.19.4",
"@babel/runtime": "7.19.4",
"@babel/template": "7.18.10",
Expand All @@ -26,12 +26,12 @@
"babel-loader": "8.2.5",
"babel-plugin-istanbul": "6.1.1",
"browserslist": "^4.9.1",
"cacache": "17.0.0",
"cacache": "17.0.1",
"chokidar": "3.5.3",
"copy-webpack-plugin": "11.0.0",
"critters": "0.0.16",
"css-loader": "6.7.1",
"esbuild-wasm": "0.15.11",
"esbuild-wasm": "0.15.12",
"glob": "8.0.3",
"https-proxy-agent": "5.0.1",
"inquirer": "8.2.4",
Expand Down Expand Up @@ -68,7 +68,7 @@
"webpack-subresource-integrity": "5.1.0"
},
"optionalDependencies": {
"esbuild": "0.15.11"
"esbuild": "0.15.12"
},
"peerDependencies": {
"@angular/compiler-cli": "^15.0.0-next",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ describe('adjust-static-class-members Babel plugin', () => {
expected: `
export let SomeClass = /*#__PURE__*/ (() => {
class SomeClass {}

SomeClass.ctorParameters = 42;
return SomeClass;
})();
Expand Down Expand Up @@ -126,7 +125,6 @@ describe('adjust-static-class-members Babel plugin', () => {
expected: `
export let SomeClass = /*#__PURE__*/ (() => {
class SomeClass {}

SomeClass.decorators = 42;
return SomeClass;
})();
Expand Down Expand Up @@ -163,7 +161,6 @@ describe('adjust-static-class-members Babel plugin', () => {
expected: `
export let SomeClass = /*#__PURE__*/ (() => {
class SomeClass {}

SomeClass.propDecorators = 42;
return SomeClass;
})();
Expand Down Expand Up @@ -202,7 +199,6 @@ describe('adjust-static-class-members Babel plugin', () => {
this.doThis = this._actions;
}
}

CustomComponentEffects.someFieldWithSideEffects = console.log('foo');
`);
});
Expand All @@ -226,7 +222,6 @@ describe('adjust-static-class-members Babel plugin', () => {
this.doThis = this._actions;
}
}

CustomComponentEffects.someFieldWithSideEffects = /*#__PURE__*/ console.log('foo');
return CustomComponentEffects;
})();
Expand All @@ -253,7 +248,6 @@ describe('adjust-static-class-members Babel plugin', () => {
this.doThis = this._actions;
}
}

CustomComponentEffects.someFieldWithSideEffects = /*@__PURE__*/ console.log('foo');
return CustomComponentEffects;
})();
Expand All @@ -280,10 +274,8 @@ describe('adjust-static-class-members Babel plugin', () => {
this.doThis = this._actions;
}
}

CustomComponentEffects.someFieldWithSideEffects =
/**@pureOrBreakMyCode*/
console.log('foo');
/**@pureOrBreakMyCode*/ console.log('foo');
return CustomComponentEffects;
})();
`,
Expand All @@ -309,10 +301,8 @@ describe('adjust-static-class-members Babel plugin', () => {
this.doThis = this._actions;
}
}

CustomComponentEffects.someFieldWithSideEffects =
/* @pureOrBreakMyCode */
console.log('foo');
/* @pureOrBreakMyCode */ console.log('foo');
return CustomComponentEffects;
})();
`,
Expand All @@ -338,7 +328,6 @@ describe('adjust-static-class-members Babel plugin', () => {
this.doThis = this._actions;
}
}

CustomComponentEffects.someField = 42;
return CustomComponentEffects;
})();
Expand All @@ -365,7 +354,6 @@ describe('adjust-static-class-members Babel plugin', () => {
this.doThis = this._actions;
}
}

CustomComponentEffects.someField = 42;
return CustomComponentEffects;
})();
Expand All @@ -386,7 +374,6 @@ describe('adjust-static-class-members Babel plugin', () => {
const SWITCH_TEMPLATE_REF_FACTORY = SWITCH_TEMPLATE_REF_FACTORY__POST_R3__;
let TemplateRef = /*#__PURE__*/ (() => {
class TemplateRef {}

TemplateRef.__NG_ELEMENT_ID__ = SWITCH_TEMPLATE_REF_FACTORY;
return TemplateRef;
})();
Expand All @@ -408,7 +395,6 @@ describe('adjust-static-class-members Babel plugin', () => {
const SWITCH_TEMPLATE_REF_FACTORY = SWITCH_TEMPLATE_REF_FACTORY__POST_R3__;
let TemplateRef = /*#__PURE__*/ (() => {
class TemplateRef {}

TemplateRef.__NG_ELEMENT_ID__ = SWITCH_TEMPLATE_REF_FACTORY;
TemplateRef.someField = 42;
return TemplateRef;
Expand All @@ -425,7 +411,6 @@ describe('adjust-static-class-members Babel plugin', () => {
this.doThis = this._actions;
}
}

CustomComponentEffects.someField = 42;
CustomComponentEffects.someFieldWithSideEffects = console.log('foo');
`);
Expand Down Expand Up @@ -514,7 +499,6 @@ describe('adjust-static-class-members Babel plugin', () => {
this.foo = 42;
}
}

__decorate([
SomeDecorator
], SomeClass.prototype, "foo", void 0);
Expand Down Expand Up @@ -542,11 +526,9 @@ describe('adjust-static-class-members Babel plugin', () => {
this.foo = 42;
}
}

__decorate([
SomeDecorator
], SomeClass.prototype, "foo", void 0);

return SomeClass;
})();
`,
Expand All @@ -565,9 +547,7 @@ describe('adjust-static-class-members Babel plugin', () => {
let CommonModule = /*#__PURE__*/ (() => {
class CommonModule {
}

CommonModule.ɵfac = function CommonModule_Factory(t) { return new (t || CommonModule)(); };

return CommonModule;
})();
`,
Expand All @@ -585,7 +565,6 @@ describe('adjust-static-class-members Babel plugin', () => {
let CommonModule = /*#__PURE__*/ (() => {
class CommonModule {
}

CommonModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CommonModule });
return CommonModule;
})();
Expand All @@ -606,7 +585,6 @@ describe('adjust-static-class-members Babel plugin', () => {
let CommonModule = /*#__PURE__*/ (() => {
class CommonModule {
}

CommonModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [
{
provide: NgLocalization,
Expand Down Expand Up @@ -634,16 +612,14 @@ describe('adjust-static-class-members Babel plugin', () => {
let CommonModule = /*#__PURE__*/ (() => {
class CommonModule {
}

CommonModule.ɵfac = function CommonModule_Factory(t) { return new (t || CommonModule)(); };

CommonModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CommonModule });
CommonModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [
{
provide: NgLocalization,
useClass: NgLocaleLocalization
},
] });
]});
return CommonModule;
})();
`,
Expand All @@ -669,7 +645,6 @@ describe('adjust-static-class-members Babel plugin', () => {
this.doThis = this._actions;
}
}

CustomComponentEffects.someField = 42;
return CustomComponentEffects;
})();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ describe('adjust-typescript-enums Babel plugin', () => {
ChangeDetectionStrategy[ChangeDetectionStrategy["OnPush"] = 0] = "OnPush";
ChangeDetectionStrategy[ChangeDetectionStrategy["Default"] = 1] = "Default";
})(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));

return ChangeDetectionStrategy;
})();
`,
Expand All @@ -77,7 +76,6 @@ describe('adjust-typescript-enums Babel plugin', () => {
ChangeDetectionStrategy[ChangeDetectionStrategy["OnPush"] = 0] = "OnPush";
ChangeDetectionStrategy[ChangeDetectionStrategy["Default"] = 1] = "Default";
})(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));

return ChangeDetectionStrategy;
})();
`,
Expand All @@ -99,7 +97,6 @@ describe('adjust-typescript-enums Babel plugin', () => {
ChangeDetectionStrategy[ChangeDetectionStrategy["OnPush"] = 5] = "OnPush";
ChangeDetectionStrategy[ChangeDetectionStrategy["Default"] = 8] = "Default";
})(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));

return ChangeDetectionStrategy;
})();
`,
Expand All @@ -123,7 +120,6 @@ describe('adjust-typescript-enums Babel plugin', () => {
NotificationKind["ERROR"] = "E";
NotificationKind["COMPLETE"] = "C";
})(NotificationKind || (NotificationKind = {}));

return NotificationKind;
})();
`,
Expand All @@ -147,7 +143,6 @@ describe('adjust-typescript-enums Babel plugin', () => {
NotificationKind["ERROR"] = "E";
NotificationKind["COMPLETE"] = "C";
})(NotificationKind$1 || (NotificationKind$1 = {}));

return NotificationKind$1;
})();
`,
Expand Down Expand Up @@ -187,7 +182,6 @@ describe('adjust-typescript-enums Babel plugin', () => {
RequestMethod[RequestMethod["Head"] = 5] = "Head";
RequestMethod[RequestMethod["Patch"] = 6] = "Patch";
})(RequestMethod || (RequestMethod = {}));

return RequestMethod;
})();
`,
Expand All @@ -197,7 +191,6 @@ describe('adjust-typescript-enums Babel plugin', () => {
it('does not wrap TypeScript enums with side effect values', () => {
testCaseNoChange(`
export var ChangeDetectionStrategy;

(function (ChangeDetectionStrategy) {
ChangeDetectionStrategy[ChangeDetectionStrategy["OnPush"] = 0] = console.log('foo');
ChangeDetectionStrategy[ChangeDetectionStrategy["Default"] = 1] = "Default";
Expand All @@ -211,11 +204,9 @@ describe('adjust-typescript-enums Babel plugin', () => {
Important: 1,
DashCase: 2,
};

if (typeof RendererStyleFlags3 === 'object') {
RendererStyleFlags3[RendererStyleFlags3.Important] = 'DashCase';
}

RendererStyleFlags3[RendererStyleFlags3.Important] = 'Important';
`);
});
Expand Down Expand Up @@ -259,7 +250,6 @@ describe('adjust-typescript-enums Babel plugin', () => {
ChangeDetectionStrategy[(ChangeDetectionStrategy["OnPush"] = 0)] = "OnPush";
ChangeDetectionStrategy[(ChangeDetectionStrategy["Default"] = 1)] = "Default";
})(ChangeDetectionStrategy$1 || (ChangeDetectionStrategy$1 = {}));

return ChangeDetectionStrategy$1;
})();
`,
Expand Down
Loading