-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: a new header, 'x-applied-polyfills'
Polyfiller will now apply a header called 'x-applied-polyfills' to all OK responses. This header will include a list of all polyfills that has been applied and is part of the payload, including any meta options they may have received. This makes it possible for you to look at that header and understand what has been polyfilled.
- Loading branch information
Showing
13 changed files
with
111 additions
and
80 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import {IRegistryGetResult} from "../../service/registry/polyfill-registry/i-registry-get-result"; | ||
import {IPolyfillFeature} from "../../polyfill/i-polyfill-feature"; | ||
|
||
export interface IGetPolyfillsResult { | ||
result: IRegistryGetResult; | ||
featureSet: Set<IPolyfillFeature>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import {IPolyfillRequest} from "../../polyfill/i-polyfill-request"; | ||
import {IRegistryGetResult} from "../../service/registry/polyfill-registry/i-registry-get-result"; | ||
import {IGetPolyfillsResult} from "./i-get-polyfills-result"; | ||
|
||
export interface IPolyfillBl { | ||
getPolyfills (request: IPolyfillRequest): Promise<IRegistryGetResult>; | ||
getPolyfills (request: IPolyfillRequest): Promise<IGetPolyfillsResult>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.