angular/packages
Stephen Hicks 74cceba587 feat(common): throw error for suspicious date patterns (#59798)
Adjusts the date pipe and formatDate function to detect suspicious usages of the week-numbering year formatter without including the week number, as this is often confused for the calendar year and likely to result in incorrect results near New Years, meaning that those issues aren't typically caught during development. This commit starts throwing a development-only error to reveal this issue right away.

BREAKING CHANGE:

Using the `Y` formatter (week-numbering year) without also including `w` (week number) is now detected as suspicious date pattern, as `y` is typically intended.

PR Close #59798
2025-02-24 17:15:03 -05:00
..
animations fix(core): animation sometimes renderer not being destroyed during HMR (#59574) 2025-01-16 11:36:43 -08:00
bazel feat(core): support TypeScript 5.8 (#59830) 2025-02-03 14:00:41 -08:00
benchpress fix(benchpress): Ensure future-proof correct initialization order (#60025) 2025-02-20 11:21:53 -05:00
common feat(common): throw error for suspicious date patterns (#59798) 2025-02-24 17:15:03 -05:00
compiler refactor(compiler): remove input transforms feature (#59980) 2025-02-18 19:27:59 +00:00
compiler-cli refactor(compiler): remove input transforms feature (#59980) 2025-02-18 19:27:59 +00:00
core fix(core): capture stack for HMR errors (#60067) 2025-02-24 11:56:15 -05:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements fix(elements): not setting initial value on signal-based input (#59773) 2025-01-29 08:50:25 -08:00
examples refactor: remove unnecessary TSLint rule flags (#59365) 2025-01-07 16:06:21 +00:00
forms docs: remove todo from jsdoc (#60042) 2025-02-21 11:16:48 -05:00
language-service feat(compiler): support untagged template literals in expressions (#59230) 2025-01-21 12:04:53 -08:00
localize build: update babel dependencies to v7.26.9 (#59743) 2025-02-14 19:15:15 +00:00
misc/angular-in-memory-web-api docs: fix spelling of "set up" (#58362) 2025-02-03 13:50:49 -08:00
platform-browser refactor(platform-browser): remove redundant DomEventsPlugin dependencies (#59811) 2025-02-03 13:57:45 -08:00
platform-browser-dynamic refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
platform-server refactor(core): clean up when blocks fail to fetch or hydrate (#59740) 2025-02-21 11:08:03 -05:00
private/testing docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
router refactor(router): remove unused code (#59704) 2025-01-28 09:38:34 +01:00
service-worker fix(service-worker): add missing rxjs peer dependency (#59747) 2025-01-28 13:09:50 +01:00
ssr refactor(core): add REQUEST, RESPONSE_INIT and REQUEST_CONTEXT tokens (#58669) 2024-11-14 14:21:21 -08:00
upgrade docs: set syntax highlighting to the remaining Markdown code examples blocks (#59088) 2025-01-14 15:14:02 -05:00
zone.js build: lock file maintenance (#59836) 2025-02-18 15:41:09 +00:00
BUILD.bazel docs(core): remove redundant reference-manifests handwritten entries (#59169) 2024-12-12 17:29:22 -08:00
circular-deps-test.conf.js build: remove circular deps goldens (#60021) 2025-02-19 21:01:31 +00:00
empty.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
goog.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
license-banner.txt build: update licence date. (#55129) 2024-04-08 11:31:12 -07:00
README.md docs: fix links to docs (#57391) 2024-08-19 09:20:15 -07:00
system.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:05 -07:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json
tsconfig-tsec-base.json refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04:00
tsconfig.json feat(language-service): add code reactoring action to migrate @Input to signal-input (#57214) 2024-08-29 07:50:41 -07:00
tsec-exemption.json fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
types.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT