(options?: ParsePackOptions)
| 37 | }; |
| 38 | |
| 39 | const limitsFor = (options?: ParsePackOptions): ParsePackLimits => ({ |
| 40 | ...DEFAULT_LIMITS, |
| 41 | ...(options?.limits ?? {}), |
| 42 | }); |
| 43 | |
| 44 | const repositoryTooLarge = (message: string): Error => |
| 45 | new Error(`repository too large: ${message}`); |