* Builds conversion options for Web Crypto integer members that use Web IDL * [EnforceRange]. Keep this helper instead of spreading opts in each member * converter so the hot dictionary paths allocate stable-shape objects. * @param {object} opts Parent conversion options. * @returns {object}
(opts)
| 121 | * @returns {object} |
| 122 | */ |
| 123 | function enforceRangeOptions(opts) { |
| 124 | return { |
| 125 | prefix: opts.prefix, |
| 126 | context: opts.context, |
| 127 | code: opts.code, |
| 128 | enforceRange: true, |
| 129 | }; |
| 130 | } |
| 131 | |
| 132 | const dictAlgorithm = [ |
| 133 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…