This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use old header parser when package.json doesn't look new (#482)
* test * Use old header parser when package.json doesn't look new * Recreate fixture * More tests * Update baselines * Revert to pre-DT PR and retest * Add post pnpm PR
- Loading branch information
1 parent
26f6714
commit bf63139
Showing
328 changed files
with
3,673 additions
and
1,698 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"master:types/es-abstract/package.json": "{\"private\":true,\"name\":\"@types/es-abstract\",\"version\":\"1.16.99999\",\"projects\":[\"https://github.com/ljharb/es-abstract\"],\"devDependencies\":{\"@types/es-abstract\":\"workspace:.\"},\"contributors\":[{\"name\":\"RReverser\",\"githubUsername\":\"RReverser\"}]}", | ||
"222334139e52fc16369464cfb5dc95c82f71192f:types/es-abstract/package.json": "{\"private\":true,\"name\":\"@types/es-abstract\",\"version\":\"1.16.99999\",\"projects\":[\"https://github.com/ljharb/es-abstract\"],\"devDependencies\":{\"@types/es-abstract\":\"workspace:.\"},\"contributors\":[{\"name\":\"RReverser\",\"githubUsername\":\"RReverser\"}]}" | ||
} | ||
"master:types/es-abstract/index.d.ts": "// Type definitions for es-abstract 1.16\n// Project: https://github.com/ljharb/es-abstract\n// Definitions by: RReverser <https://github.com/RReverser>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// TypeScript Version: 3.6\n\n FAKE CONTENT TO MATCH PREVIOUS OWNERS.JSON \n", | ||
"222334139e52fc16369464cfb5dc95c82f71192f:types/es-abstract/index.d.ts": "// Type definitions for es-abstract 1.16\n// Project: https://github.com/ljharb/es-abstract\n// Definitions by: RReverser <https://github.com/RReverser>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// TypeScript Version: 3.6\n\n FAKE CONTENT TO MATCH PREVIOUS OWNERS.JSON \n" | ||
} |
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
Large diffs are not rendered by default.
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"master:types/mailcheck/package.json": "{\"private\":true,\"name\":\"@types/mailcheck\",\"version\":\"1.1.99999\",\"projects\":[\"https://github.com/mailcheck/mailcheck\"],\"devDependencies\":{\"@types/mailcheck\":\"workspace:.\"},\"contributors\":[{\"name\":\"Paulo Cesar\",\"githubUsername\":\"pocesar\"}]}", | ||
"f1f5c4bb0ae553f56766882f6458d2e22baa87c7:types/mailcheck/package.json": "{\"private\":true,\"name\":\"@types/mailcheck\",\"version\":\"1.1.99999\",\"projects\":[\"https://github.com/mailcheck/mailcheck\"],\"devDependencies\":{\"@types/mailcheck\":\"workspace:.\"},\"contributors\":[{\"name\":\"Paulo Cesar\",\"githubUsername\":\"pocesar\"}]}" | ||
} | ||
"master:types/mailcheck/index.d.ts": "// Type definitions for Mailcheck 1.1\n// Project: https://github.com/mailcheck/mailcheck\n// Definitions by: Paulo Cesar <https://github.com/pocesar>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// TypeScript Version: 3.8\n\n/// <reference types=\"jquery\" />\n\ndeclare var Mailcheck: MailcheckModule.Static;\n\ndeclare namespace MailcheckModule {\n\n export interface IDistanceFunction {\n (s1: string, s2: string): number;\n }\n\n export interface ISuggestFunction {\n (email: string, domains?: string[], topLevelDomains?: string[], distanceFunction?: IDistanceFunction):void;\n }\n\n export interface IJQuerySuggested {\n (element: JQuery, suggested: ISuggestion): void;\n }\n\n export interface IJQueryEmpty {\n (element: JQuery): void;\n }\n\n export interface IEmpty {\n (): void;\n }\n\n export interface ISuggested {\n (suggested: ISuggestion): void;\n }\n\n export interface ISplitEmail {\n topLevelDomain?: string;\n domain?: string;\n address?: string;\n }\n\n export interface ISuggestion {\n address: string;\n domain: string;\n full: string;\n }\n\n export interface IAsynchronousOptions {\n email: string;\n domains?: string[];\n secondLevelDomains?: string[];\n topLevelDomains?: string[];\n distanceFunction?: IDistanceFunction;\n suggested: ISuggested | IJQuerySuggested;\n empty?: IEmpty | IJQueryEmpty;\n }\n export interface ISynchronousOptions {\n email: string;\n domains?: string[];\n secondLevelDomains?: string[];\n topLevelDomains?: string[];\n distanceFunction?: IDistanceFunction;\n\n }\n export interface Static {\n defaultDomains: string[];\n defaultSecondLevelDomains: string[];\n defaultTopLevelDomains: string[];\n domainThreshold: number;\n topLevelThreshold: number;\n run(opts: IAsynchronousOptions):void;\n run(opts: ISynchronousOptions):ISuggestion | undefined;\n suggest: ISuggestFunction;\n encodeEmail(email: string): string;\n splitEmail(email: string): ISplitEmail;\n sift3Distance(s1: string, s2: string): number;\n findClosestDomain(domain: string, domains: string[], distanceFunction?: IDistanceFunction, threshold?: number): boolean|string;\n }\n\n}\n\ninterface JQuery {\n mailcheck(opts: MailcheckModule.IAsynchronousOptions):void;\n mailcheck(opts: MailcheckModule.ISynchronousOptions):MailcheckModule.ISuggestion | void;\n}\n\ndeclare module 'mailcheck' {\n export = Mailcheck;\n}\n", | ||
"f1f5c4bb0ae553f56766882f6458d2e22baa87c7:types/mailcheck/index.d.ts": "// Type definitions for Mailcheck 1.1\n// Project: https://github.com/mailcheck/mailcheck\n// Definitions by: Paulo Cesar <https://github.com/pocesar>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// TypeScript Version: 3.8\n\n/// <reference types=\"jquery\" />\n\ndeclare var Mailcheck: MailcheckModule.Static;\n\ndeclare namespace MailcheckModule {\n\n export interface IDistanceFunction {\n (s1: string, s2: string): number;\n }\n\n export interface ISuggestFunction {\n (email: string, domains?: string[], topLevelDomains?: string[], distanceFunction?: IDistanceFunction):void;\n }\n\n export interface IJQuerySuggested {\n (element: JQuery, suggested: ISuggestion): void;\n }\n\n export interface IJQueryEmpty {\n (element: JQuery): void;\n }\n\n export interface IEmpty {\n (): void;\n }\n\n export interface ISuggested {\n (suggested: ISuggestion): void;\n }\n\n export interface ISplitEmail {\n topLevelDomain?: string;\n domain?: string;\n address?: string;\n }\n\n export interface ISuggestion {\n address: string;\n domain: string;\n full: string;\n }\n\n export interface IAsynchronousOptions {\n email: string;\n domains?: string[];\n secondLevelDomains?: string[];\n topLevelDomains?: string[];\n distanceFunction?: IDistanceFunction;\n suggested: ISuggested | IJQuerySuggested;\n empty?: IEmpty | IJQueryEmpty;\n }\n export interface ISynchronousOptions {\n email: string;\n domains?: string[];\n secondLevelDomains?: string[];\n topLevelDomains?: string[];\n distanceFunction?: IDistanceFunction;\n\n }\n export interface Static {\n defaultDomains: string[];\n defaultSecondLevelDomains: string[];\n defaultTopLevelDomains: string[];\n domainThreshold: number;\n topLevelThreshold: number;\n run(opts: IAsynchronousOptions):void;\n run(opts: ISynchronousOptions):ISuggestion | undefined;\n suggest: ISuggestFunction;\n encodeEmail(email: string): string;\n splitEmail(email: string): ISplitEmail;\n sift3Distance(s1: string, s2: string): number;\n findClosestDomain(domain: string, domains: string[], distanceFunction?: IDistanceFunction, threshold?: number): boolean|string;\n }\n\n}\n\ninterface JQuery {\n mailcheck(opts: MailcheckModule.IAsynchronousOptions):void;\n mailcheck(opts: MailcheckModule.ISynchronousOptions):MailcheckModule.ISuggestion | void;\n}\n\ndeclare module 'mailcheck' {\n export = Mailcheck;\n}\n" | ||
} |
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.