angular/packages/core
Alan Agius 48492524ea fix(core): use mutable ResponseInit type for RESPONSE_INIT token
The `RESPONSE_INIT` token previously used `ResponseInit`. However, `@types/node` (and `undici`) definitions for `ResponseInit` mark properties as `readonly`, which differs from the standard DOM `ResponseInit`.

This commit introduces a `ResponseInit` type that explicitly removes `readonly` modifiers to ensure compatibility and allow for mutable options. This type is now used by the `RESPONSE_INIT` token and is exported from `@angular/core`.

(cherry picked from commit f516370c8e)
2025-12-17 09:35:27 -08:00
..
global build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
primitives Revert "fix(core): explicitly cast signal node value to String" 2025-12-16 17:37:38 -08:00
resources docs(core): remove outdated regex template restriction in best-practices.md 2025-11-20 16:42:55 -05:00
rxjs-interop refactor(core): Support Error like object for on resource errors. 2025-12-10 08:18:24 -08:00
schematics ci: reformat files 2025-12-16 14:44:25 -08:00
src fix(core): use mutable ResponseInit type for RESPONSE_INIT token 2025-12-17 09:35:27 -08:00
test ci: reformat files 2025-12-16 14:44:25 -08:00
testing fix(core): unable to inject viewProviders when host directive with providers is present 2025-12-03 15:09:53 +01:00
BUILD.bazel refactor(core): export profile event as enum and move profile_types.ts and framework to shared devtools folder 2025-11-19 23:22:53 +00:00
index.ts refactor: update packages/core:{core,src} to ts_project (#61275) 2025-05-14 12:01:51 +00:00
package.json build: bump core zone.js version 2025-11-19 21:22:17 +00:00
PACKAGE.md build: format md files 2025-11-06 10:07:13 -08:00
public_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: migrate more targets of @angular/core to ts_project (#61370) 2025-05-16 11:02:07 +00:00
tsconfig-test.json build: migrate more targets of @angular/core to ts_project (#61370) 2025-05-16 11:02:07 +00:00