prettier-plugin-solidity 1.0.0-dev.22 → 1.0.0-dev.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (821) hide show
  1. package/.vscode/settings.json +20 -0
  2. package/.vscode/tasks.json +27 -0
  3. package/.yarn/cache/@ampproject-remapping-npm-2.2.0-114878fa50-d74d170d06.zip +0 -0
  4. package/.yarn/cache/@babel-code-frame-npm-7.18.6-25229a7e34-195e2be317.zip +0 -0
  5. package/.yarn/cache/@babel-compat-data-npm-7.18.8-207acebb97-3096aafad7.zip +0 -0
  6. package/.yarn/cache/@babel-core-npm-7.18.6-52b1065703-711459ebf7.zip +0 -0
  7. package/.yarn/cache/@babel-generator-npm-7.18.7-14509012bd-aad4b68731.zip +0 -0
  8. package/.yarn/cache/@babel-helper-compilation-targets-npm-7.18.6-db5c17ef96-f09ddaddc8.zip +0 -0
  9. package/.yarn/cache/@babel-helper-environment-visitor-npm-7.18.6-e61d5b6be0-64fce65a26.zip +0 -0
  10. package/.yarn/cache/@babel-helper-function-name-npm-7.18.6-d041b167ad-bf84c2e069.zip +0 -0
  11. package/.yarn/cache/@babel-helper-hoist-variables-npm-7.18.6-6eb061f405-fd9c35bb43.zip +0 -0
  12. package/.yarn/cache/@babel-helper-module-imports-npm-7.18.6-1031faa864-f393f8a3b3.zip +0 -0
  13. package/.yarn/cache/@babel-helper-module-transforms-npm-7.18.8-1891310e05-6aaf436d14.zip +0 -0
  14. package/.yarn/cache/@babel-helper-plugin-utils-npm-7.18.6-12ee942c4e-3dbfceb6c1.zip +0 -0
  15. package/.yarn/cache/@babel-helper-simple-access-npm-7.18.6-4ef4976ebe-37cd36eef1.zip +0 -0
  16. package/.yarn/cache/@babel-helper-split-export-declaration-npm-7.18.6-53ebf8ad4c-c6d3dede53.zip +0 -0
  17. package/.yarn/cache/@babel-helper-validator-identifier-npm-7.18.6-357e4653ab-e295254d61.zip +0 -0
  18. package/.yarn/cache/@babel-helper-validator-option-npm-7.18.6-cc7d1a3315-f9cc6eb7cc.zip +0 -0
  19. package/.yarn/cache/@babel-helpers-npm-7.18.6-113f2054af-5dea4fa537.zip +0 -0
  20. package/.yarn/cache/@babel-highlight-npm-7.18.6-9d35ad2e27-92d8ee6154.zip +0 -0
  21. package/.yarn/cache/@babel-parser-npm-7.18.8-11d38e16a4-b8426083f7.zip +0 -0
  22. package/.yarn/cache/@babel-plugin-syntax-async-generators-npm-7.8.4-d10cf993c9-7ed1c1d9b9.zip +0 -0
  23. package/.yarn/cache/@babel-plugin-syntax-bigint-npm-7.8.3-b05d971e6c-3a10849d83.zip +0 -0
  24. package/.yarn/cache/@babel-plugin-syntax-class-properties-npm-7.12.13-002ee9d930-24f34b196d.zip +0 -0
  25. package/.yarn/cache/@babel-plugin-syntax-import-meta-npm-7.10.4-4a0a0158bc-166ac1125d.zip +0 -0
  26. package/.yarn/cache/@babel-plugin-syntax-json-strings-npm-7.8.3-6dc7848179-bf5aea1f31.zip +0 -0
  27. package/.yarn/cache/@babel-plugin-syntax-logical-assignment-operators-npm-7.10.4-72ae00fdf6-aff3357703.zip +0 -0
  28. package/.yarn/cache/@babel-plugin-syntax-nullish-coalescing-operator-npm-7.8.3-8a723173b5-87aca49189.zip +0 -0
  29. package/.yarn/cache/@babel-plugin-syntax-numeric-separator-npm-7.10.4-81444be605-01ec5547bd.zip +0 -0
  30. package/.yarn/cache/@babel-plugin-syntax-object-rest-spread-npm-7.8.3-60bd05b6ae-fddcf581a5.zip +0 -0
  31. package/.yarn/cache/@babel-plugin-syntax-optional-catch-binding-npm-7.8.3-ce337427d8-910d90e72b.zip +0 -0
  32. package/.yarn/cache/@babel-plugin-syntax-optional-chaining-npm-7.8.3-f3f3c79579-eef94d53a1.zip +0 -0
  33. package/.yarn/cache/@babel-plugin-syntax-top-level-await-npm-7.14.5-60a0a2e83b-bbd1a56b09.zip +0 -0
  34. package/.yarn/cache/@babel-plugin-syntax-typescript-npm-7.18.6-4ad9dd7d2a-2cde73725e.zip +0 -0
  35. package/.yarn/cache/@babel-template-npm-7.18.6-56635d3ce4-cb02ed804b.zip +0 -0
  36. package/.yarn/cache/@babel-traverse-npm-7.18.8-b256cabc08-c406e01f45.zip +0 -0
  37. package/.yarn/cache/@babel-types-npm-7.18.8-55c9582d81-a485531faa.zip +0 -0
  38. package/.yarn/cache/@bcoe-v8-coverage-npm-0.2.3-9e27b3c57e-850f930553.zip +0 -0
  39. package/.yarn/cache/@eslint-eslintrc-npm-1.3.0-1f3c51be25-a1e734ad31.zip +0 -0
  40. package/.yarn/cache/@gar-promisify-npm-1.1.3-ac1a325862-4059f790e2.zip +0 -0
  41. package/.yarn/cache/@humanwhocodes-config-array-npm-0.9.5-030a025eae-8ba6281bc0.zip +0 -0
  42. package/.yarn/cache/@humanwhocodes-object-schema-npm-1.2.1-eb622b5d0e-a824a1ec31.zip +0 -0
  43. package/.yarn/cache/@istanbuljs-load-nyc-config-npm-1.1.0-42d17c9cb1-d578da5e2e.zip +0 -0
  44. package/.yarn/cache/@istanbuljs-schema-npm-0.1.3-466bd3eaaa-5282759d96.zip +0 -0
  45. package/.yarn/cache/@jest-console-npm-28.1.3-8b24613279-fe50d98d26.zip +0 -0
  46. package/.yarn/cache/@jest-core-npm-28.1.3-4b9647f71c-cb79f34baf.zip +0 -0
  47. package/.yarn/cache/@jest-environment-npm-28.1.3-506a81a227-14c496b84a.zip +0 -0
  48. package/.yarn/cache/@jest-expect-npm-28.1.3-3794e8420c-4197f6fddd.zip +0 -0
  49. package/.yarn/cache/@jest-expect-utils-npm-28.1.3-d83dfb8847-808ea3a682.zip +0 -0
  50. package/.yarn/cache/@jest-fake-timers-npm-28.1.3-593b0acb9a-cec14d5b14.zip +0 -0
  51. package/.yarn/cache/@jest-globals-npm-28.1.3-fee1b2ab3f-3504bb23de.zip +0 -0
  52. package/.yarn/cache/@jest-reporters-npm-28.1.3-548703b241-a7440887ce.zip +0 -0
  53. package/.yarn/cache/@jest-schemas-npm-28.1.3-231835b296-3cf1d4b66c.zip +0 -0
  54. package/.yarn/cache/@jest-source-map-npm-28.1.2-c3d608514f-b82a5c2e93.zip +0 -0
  55. package/.yarn/cache/@jest-test-result-npm-28.1.3-678ecd0b36-957a5dd2fd.zip +0 -0
  56. package/.yarn/cache/@jest-test-sequencer-npm-28.1.3-456bc6e2ff-13f8905e6d.zip +0 -0
  57. package/.yarn/cache/@jest-transform-npm-28.1.3-c63694eb02-dadf618936.zip +0 -0
  58. package/.yarn/cache/@jest-types-npm-28.1.3-422ad1bd71-1e258d9c06.zip +0 -0
  59. package/.yarn/cache/@jridgewell-gen-mapping-npm-0.1.1-3bad172ac6-3bcc21fe78.zip +0 -0
  60. package/.yarn/cache/@jridgewell-gen-mapping-npm-0.3.2-c64eeb4a4e-1832707a1c.zip +0 -0
  61. package/.yarn/cache/@jridgewell-resolve-uri-npm-3.1.0-6ff2351e61-b5ceaaf9a1.zip +0 -0
  62. package/.yarn/cache/@jridgewell-set-array-npm-1.1.2-45b82d7fb6-69a84d5980.zip +0 -0
  63. package/.yarn/cache/@jridgewell-sourcemap-codec-npm-1.4.14-f5f0630788-61100637b6.zip +0 -0
  64. package/.yarn/cache/@jridgewell-trace-mapping-npm-0.3.14-c78fcccfdf-b9537b9630.zip +0 -0
  65. package/.yarn/cache/@npmcli-fs-npm-2.1.0-3b106d08bc-6ec6d678af.zip +0 -0
  66. package/.yarn/cache/@npmcli-move-file-npm-2.0.0-d8bd1d35d2-1388777b50.zip +0 -0
  67. package/.yarn/cache/@sinclair-typebox-npm-0.24.19-71da094cb1-dff2a3ebe9.zip +0 -0
  68. package/.yarn/cache/@sinonjs-commons-npm-1.8.3-30cf78d93f-6159726db5.zip +0 -0
  69. package/.yarn/cache/@sinonjs-fake-timers-npm-9.1.2-3ff37ab7fb-7d3aef54e1.zip +0 -0
  70. package/.yarn/cache/@solidity-parser-parser-npm-0.14.3-7e089b302c-9a27eb961c.zip +0 -0
  71. package/.yarn/cache/@tootallnate-once-npm-2.0.0-e36cf4f140-ad87447820.zip +0 -0
  72. package/.yarn/cache/@types-babel__core-npm-7.1.19-bd8ad53364-8c9fa87a1c.zip +0 -0
  73. package/.yarn/cache/@types-babel__generator-npm-7.6.4-03e776f956-20effbbb5f.zip +0 -0
  74. package/.yarn/cache/@types-babel__template-npm-7.4.1-fe1db49e53-649fe8b42c.zip +0 -0
  75. package/.yarn/cache/@types-babel__traverse-npm-7.17.1-97c6ab6eab-8992d8c1ea.zip +0 -0
  76. package/.yarn/cache/@types-graceful-fs-npm-4.1.5-91d62e1050-d076bb61f4.zip +0 -0
  77. package/.yarn/cache/@types-istanbul-lib-coverage-npm-2.0.4-734954bb56-a25d7589ee.zip +0 -0
  78. package/.yarn/cache/@types-istanbul-lib-report-npm-3.0.0-50de3e6b3b-656398b62d.zip +0 -0
  79. package/.yarn/cache/@types-istanbul-reports-npm-3.0.1-770e825002-f1ad54bc68.zip +0 -0
  80. package/.yarn/cache/@types-json5-npm-0.0.29-f63a7916bd-e60b153664.zip +0 -0
  81. package/.yarn/cache/@types-node-npm-18.0.4-19671c4a3f-981284fd57.zip +0 -0
  82. package/.yarn/cache/@types-prettier-npm-2.6.3-8d27063d48-e1836699ca.zip +0 -0
  83. package/.yarn/cache/@types-stack-utils-npm-2.0.1-867718ab70-205fdbe332.zip +0 -0
  84. package/.yarn/cache/@types-yargs-npm-17.0.10-04ed5382c7-f0673cbfc0.zip +0 -0
  85. package/.yarn/cache/@types-yargs-parser-npm-21.0.0-c8a3b32c52-b2f4c8d12a.zip +0 -0
  86. package/.yarn/cache/abbrev-npm-1.1.1-3659247eab-a4a97ec07d.zip +0 -0
  87. package/.yarn/cache/acorn-jsx-npm-5.3.2-d7594599ea-c3d3b2a89c.zip +0 -0
  88. package/.yarn/cache/acorn-npm-8.7.1-7c7a019990-aca0aabf98.zip +0 -0
  89. package/.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip +0 -0
  90. package/.yarn/cache/agentkeepalive-npm-4.2.1-b86a9fb343-39cb49ed8c.zip +0 -0
  91. package/.yarn/cache/aggregate-error-npm-3.1.0-415a406f4e-1101a33f21.zip +0 -0
  92. package/.yarn/cache/ajv-npm-6.12.6-4b5105e2b2-874972efe5.zip +0 -0
  93. package/.yarn/cache/ansi-escapes-npm-4.3.2-3ad173702f-93111c4218.zip +0 -0
  94. package/.yarn/cache/ansi-escapes-npm-5.0.0-8a26b6a77d-d4b5eb8207.zip +0 -0
  95. package/.yarn/cache/ansi-regex-npm-3.0.1-01f44078a3-09daf180c5.zip +0 -0
  96. package/.yarn/cache/ansi-regex-npm-5.0.1-c963a48615-2aa4bb54ca.zip +0 -0
  97. package/.yarn/cache/ansi-regex-npm-6.0.1-8d663a607d-1ff8b7667c.zip +0 -0
  98. package/.yarn/cache/ansi-styles-npm-3.2.1-8cb8107983-d85ade01c1.zip +0 -0
  99. package/.yarn/cache/ansi-styles-npm-4.3.0-245c7d42c7-513b44c3b2.zip +0 -0
  100. package/.yarn/cache/ansi-styles-npm-5.2.0-72fc7003e3-d7f4e97ce0.zip +0 -0
  101. package/.yarn/cache/antlr4ts-npm-0.5.0-dev-7e0fc8988a-640dae2229.zip +0 -0
  102. package/.yarn/cache/anymatch-npm-3.1.2-1d5471acfa-985163db22.zip +0 -0
  103. package/.yarn/cache/aproba-npm-2.0.0-8716bcfde6-5615cadcfb.zip +0 -0
  104. package/.yarn/cache/are-we-there-yet-npm-3.0.0-1391430190-348edfdd93.zip +0 -0
  105. package/.yarn/cache/argparse-npm-1.0.10-528934e59d-7ca6e45583.zip +0 -0
  106. package/.yarn/cache/argparse-npm-2.0.1-faff7999e6-83644b5649.zip +0 -0
  107. package/.yarn/cache/array-includes-npm-3.1.5-6b8e152f4f-f6f24d8341.zip +0 -0
  108. package/.yarn/cache/array.prototype.flat-npm-1.3.0-6c5c4292bd-2a652b3e8d.zip +0 -0
  109. package/.yarn/cache/babel-jest-npm-28.1.3-3bb56d0efd-57ccd2296e.zip +0 -0
  110. package/.yarn/cache/babel-plugin-istanbul-npm-6.1.1-df824055e4-cb4fd95738.zip +0 -0
  111. package/.yarn/cache/babel-plugin-jest-hoist-npm-28.1.3-ffadc60ff3-648d89f9d8.zip +0 -0
  112. package/.yarn/cache/babel-preset-current-node-syntax-npm-1.0.1-849ec71e32-d118c27424.zip +0 -0
  113. package/.yarn/cache/babel-preset-jest-npm-28.1.3-8e610faead-8248a4a5ca.zip +0 -0
  114. package/.yarn/cache/balanced-match-npm-1.0.2-a53c126459-9706c088a2.zip +0 -0
  115. package/.yarn/cache/brace-expansion-npm-1.1.11-fb95eb05ad-faf34a7bb0.zip +0 -0
  116. package/.yarn/cache/brace-expansion-npm-2.0.1-17aa2616f9-a61e7cd2e8.zip +0 -0
  117. package/.yarn/cache/braces-npm-3.0.2-782240b28a-e2a8e769a8.zip +0 -0
  118. package/.yarn/cache/browserslist-npm-4.21.2-412848af2b-30fe59f8b0.zip +0 -0
  119. package/.yarn/cache/bser-npm-2.1.1-cc902055ce-9ba4dc58ce.zip +0 -0
  120. package/.yarn/cache/buffer-from-npm-1.1.2-03d2f20d7e-0448524a56.zip +0 -0
  121. package/.yarn/cache/cacache-npm-16.1.1-84a00badf3-4885246170.zip +0 -0
  122. package/.yarn/cache/call-bind-npm-1.0.2-c957124861-f8e31de9d1.zip +0 -0
  123. package/.yarn/cache/callsites-npm-3.1.0-268f989910-072d17b6ab.zip +0 -0
  124. package/.yarn/cache/camelcase-npm-5.3.1-5db8af62c5-e6effce26b.zip +0 -0
  125. package/.yarn/cache/camelcase-npm-6.3.0-e5e42a0d15-8c96818a90.zip +0 -0
  126. package/.yarn/cache/caniuse-lite-npm-1.0.30001366-940b1a0cfa-eeb878e0be.zip +0 -0
  127. package/.yarn/cache/chalk-npm-2.4.2-3ea16dd91e-ec3661d38f.zip +0 -0
  128. package/.yarn/cache/chalk-npm-4.1.2-ba8b67ab80-fe75c9d5c7.zip +0 -0
  129. package/.yarn/cache/char-regex-npm-1.0.2-ecade5f97f-b563e4b603.zip +0 -0
  130. package/.yarn/cache/char-regex-npm-2.0.1-a51fbd7459-8524c03fd7.zip +0 -0
  131. package/.yarn/cache/chownr-npm-2.0.0-638f1c9c61-c57cf9dd07.zip +0 -0
  132. package/.yarn/cache/ci-info-npm-3.3.2-fb5617e149-fd81f1edd2.zip +0 -0
  133. package/.yarn/cache/cjs-module-lexer-npm-1.2.2-473ce063ea-977f3f042b.zip +0 -0
  134. package/.yarn/cache/clean-stack-npm-2.2.0-a8ce435a5c-2ac8cd2b2f.zip +0 -0
  135. package/.yarn/cache/cliui-npm-7.0.4-d6b8a9edb6-ce2e8f578a.zip +0 -0
  136. package/.yarn/cache/co-npm-4.6.0-03f2d1feb6-5210d92230.zip +0 -0
  137. package/.yarn/cache/collect-v8-coverage-npm-1.0.1-39dec86bad-4efe0a1fcc.zip +0 -0
  138. package/.yarn/cache/color-convert-npm-1.9.3-1fe690075e-fd7a64a17c.zip +0 -0
  139. package/.yarn/cache/color-convert-npm-2.0.1-79730e935b-79e6bdb9fd.zip +0 -0
  140. package/.yarn/cache/color-name-npm-1.1.3-728b7b5d39-09c5d3e33d.zip +0 -0
  141. package/.yarn/cache/color-name-npm-1.1.4-025792b0ea-b044585952.zip +0 -0
  142. package/.yarn/cache/color-support-npm-1.1.3-3be5c53455-9b73568176.zip +0 -0
  143. package/.yarn/cache/command-exists-npm-1.2.9-cc51a1f78a-729ae3d88a.zip +0 -0
  144. package/.yarn/cache/commander-npm-8.3.0-c0d18c66d5-0f82321821.zip +0 -0
  145. package/.yarn/cache/concat-map-npm-0.0.1-85a921b7ee-902a9f5d89.zip +0 -0
  146. package/.yarn/cache/confusing-browser-globals-npm-1.0.11-b3ff8e9483-3afc635abd.zip +0 -0
  147. package/.yarn/cache/console-control-strings-npm-1.1.0-e3160e5275-8755d76787.zip +0 -0
  148. package/.yarn/cache/convert-source-map-npm-1.8.0-037f671dde-985d974a2d.zip +0 -0
  149. package/.yarn/cache/cross-env-npm-7.0.3-96d81820f4-26f2f3ea2a.zip +0 -0
  150. package/.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-671cc7c728.zip +0 -0
  151. package/.yarn/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip +0 -0
  152. package/.yarn/cache/debug-npm-3.2.7-754e818c7a-b3d8c59407.zip +0 -0
  153. package/.yarn/cache/debug-npm-4.3.4-4513954577-3dbad3f94e.zip +0 -0
  154. package/.yarn/cache/dedent-npm-0.7.0-2dbb45a4c5-87de191050.zip +0 -0
  155. package/.yarn/cache/deep-is-npm-0.1.4-88938b5a67-edb65dd0d7.zip +0 -0
  156. package/.yarn/cache/deepmerge-npm-4.2.2-112165ced2-a8c43a1ed8.zip +0 -0
  157. package/.yarn/cache/define-properties-npm-1.1.4-85ee575655-ce0aef3f9e.zip +0 -0
  158. package/.yarn/cache/delegates-npm-1.0.0-9b1942d75f-a51744d9b5.zip +0 -0
  159. package/.yarn/cache/depd-npm-1.1.2-b0c8414da7-6b406620d2.zip +0 -0
  160. package/.yarn/cache/detect-newline-npm-3.1.0-6d33fa8d37-ae6cd429c4.zip +0 -0
  161. package/.yarn/cache/diff-sequences-npm-28.1.1-70eb43c727-e252903650.zip +0 -0
  162. package/.yarn/cache/dir-to-object-npm-2.0.0-90e9085fa2-91ca440808.zip +0 -0
  163. package/.yarn/cache/doctrine-npm-2.1.0-ac15d049b7-a45e277f7f.zip +0 -0
  164. package/.yarn/cache/doctrine-npm-3.0.0-c6f1615f04-fd7673ca77.zip +0 -0
  165. package/.yarn/cache/electron-to-chromium-npm-1.4.191-6bdac95757-d7bd39517d.zip +0 -0
  166. package/.yarn/cache/emittery-npm-0.10.2-aac10498b5-ee3e21788b.zip +0 -0
  167. package/.yarn/cache/emoji-regex-npm-10.1.0-ce4169bfff-5bc780fc4d.zip +0 -0
  168. package/.yarn/cache/emoji-regex-npm-8.0.0-213764015c-d4c5c39d5a.zip +0 -0
  169. package/.yarn/cache/encoding-npm-0.1.13-82a1837d30-bb98632f8f.zip +0 -0
  170. package/.yarn/cache/env-paths-npm-2.2.1-7c7577428c-65b5df55a8.zip +0 -0
  171. package/.yarn/cache/err-code-npm-2.0.3-082e0ff9a7-8b7b1be20d.zip +0 -0
  172. package/.yarn/cache/error-ex-npm-1.3.2-5654f80c0f-c1c2b8b65f.zip +0 -0
  173. package/.yarn/cache/es-abstract-npm-1.20.1-83d41a4d88-28da27ae0e.zip +0 -0
  174. package/.yarn/cache/es-shim-unscopables-npm-1.0.0-06186593f1-83e95cadbb.zip +0 -0
  175. package/.yarn/cache/es-to-primitive-npm-1.2.1-b7a7eac6c5-4ead6671a2.zip +0 -0
  176. package/.yarn/cache/escalade-npm-3.1.1-e02da076aa-a3e2a99f07.zip +0 -0
  177. package/.yarn/cache/escape-string-regexp-npm-1.0.5-3284de402f-6092fda75c.zip +0 -0
  178. package/.yarn/cache/escape-string-regexp-npm-2.0.0-aef69d2a25-9f8a2d5743.zip +0 -0
  179. package/.yarn/cache/escape-string-regexp-npm-4.0.0-4b531d8d59-98b48897d9.zip +0 -0
  180. package/.yarn/cache/eslint-config-airbnb-base-npm-15.0.0-802837dd26-38626bad2c.zip +0 -0
  181. package/.yarn/cache/eslint-config-prettier-npm-8.5.0-a1dd58b6d8-0d0f5c32e7.zip +0 -0
  182. package/.yarn/cache/eslint-import-resolver-node-npm-0.3.6-d9426786c6-6266733af1.zip +0 -0
  183. package/.yarn/cache/eslint-module-utils-npm-2.7.3-ccd32fe6fd-77048263f3.zip +0 -0
  184. package/.yarn/cache/eslint-npm-8.19.0-147f1e0c86-0bc9df1a3a.zip +0 -0
  185. package/.yarn/cache/eslint-plugin-import-npm-2.26.0-959fe14a01-0bf77ad803.zip +0 -0
  186. package/.yarn/cache/eslint-scope-npm-7.1.1-23935eb377-9f6e974ab2.zip +0 -0
  187. package/.yarn/cache/eslint-utils-npm-3.0.0-630b3a4013-0668fe02f5.zip +0 -0
  188. package/.yarn/cache/eslint-visitor-keys-npm-2.1.0-c31806b6b9-e3081d7dd2.zip +0 -0
  189. package/.yarn/cache/eslint-visitor-keys-npm-3.3.0-d329af7c8c-d59e68a7c5.zip +0 -0
  190. package/.yarn/cache/espree-npm-9.3.2-c70fa2a91d-9a790d6779.zip +0 -0
  191. package/.yarn/cache/esprima-npm-4.0.1-1084e98778-b45bc805a6.zip +0 -0
  192. package/.yarn/cache/esquery-npm-1.4.0-f39408b1a7-a0807e17ab.zip +0 -0
  193. package/.yarn/cache/esrecurse-npm-4.3.0-10b86a887a-ebc17b1a33.zip +0 -0
  194. package/.yarn/cache/estraverse-npm-5.3.0-03284f8f63-072780882d.zip +0 -0
  195. package/.yarn/cache/esutils-npm-2.0.3-f865beafd5-22b5b08f74.zip +0 -0
  196. package/.yarn/cache/execa-npm-5.1.1-191347acf5-fba9022c8c.zip +0 -0
  197. package/.yarn/cache/exit-npm-0.1.2-ef3761a67d-abc407f07a.zip +0 -0
  198. package/.yarn/cache/expect-npm-28.1.3-e3316724f1-101e0090de.zip +0 -0
  199. package/.yarn/cache/fast-deep-equal-npm-3.1.3-790edcfcf5-e21a9d8d84.zip +0 -0
  200. package/.yarn/cache/fast-json-stable-stringify-npm-2.1.0-02e8905fda-b191531e36.zip +0 -0
  201. package/.yarn/cache/fast-levenshtein-npm-2.0.6-fcd74b8df5-92cfec0a8d.zip +0 -0
  202. package/.yarn/cache/fb-watchman-npm-2.0.1-30005d50fe-8510230778.zip +0 -0
  203. package/.yarn/cache/file-entry-cache-npm-6.0.1-31965cf0af-f49701feaa.zip +0 -0
  204. package/.yarn/cache/fill-range-npm-7.0.1-b8b1817caa-cc283f4e65.zip +0 -0
  205. package/.yarn/cache/find-up-npm-2.1.0-9f6cb1765c-43284fe4da.zip +0 -0
  206. package/.yarn/cache/find-up-npm-4.1.0-c3ccf8d855-4c172680e8.zip +0 -0
  207. package/.yarn/cache/flat-cache-npm-3.0.4-ee77e5911e-4fdd10ecbc.zip +0 -0
  208. package/.yarn/cache/flatted-npm-3.2.6-a309e17eb3-33b87aa88d.zip +0 -0
  209. package/.yarn/cache/follow-redirects-npm-1.15.1-6b191885cd-6aa4e3e3cd.zip +0 -0
  210. package/.yarn/cache/fs-minipass-npm-2.1.0-501ef87306-1b8d128dae.zip +0 -0
  211. package/.yarn/cache/fs.realpath-npm-1.0.0-c8f05d8126-99ddea01a7.zip +0 -0
  212. package/.yarn/cache/fsevents-npm-2.3.2-a881d6ac9f-97ade64e75.zip +0 -0
  213. package/.yarn/cache/fsevents-patch-3340e2eb10-8.zip +0 -0
  214. package/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-b32fbaebb3.zip +0 -0
  215. package/.yarn/cache/function.prototype.name-npm-1.1.5-e776a642bb-acd21d733a.zip +0 -0
  216. package/.yarn/cache/functional-red-black-tree-npm-1.0.1-ccfe924dcd-ca6c170f37.zip +0 -0
  217. package/.yarn/cache/functions-have-names-npm-1.2.3-e5cf1e2208-c3f1f5ba20.zip +0 -0
  218. package/.yarn/cache/gauge-npm-4.0.4-8f878385e9-788b6bfe52.zip +0 -0
  219. package/.yarn/cache/gensync-npm-1.0.0-beta.2-224666d72f-a7437e58c6.zip +0 -0
  220. package/.yarn/cache/get-caller-file-npm-2.0.5-80e8a86305-b9769a836d.zip +0 -0
  221. package/.yarn/cache/get-intrinsic-npm-1.1.2-89f421122b-252f45491f.zip +0 -0
  222. package/.yarn/cache/get-package-type-npm-0.1.0-6c70cdc8ab-bba0811116.zip +0 -0
  223. package/.yarn/cache/get-stream-npm-6.0.1-83e51a4642-e04ecece32.zip +0 -0
  224. package/.yarn/cache/get-symbol-description-npm-1.0.0-9c95a4bc1f-9ceff8fe96.zip +0 -0
  225. package/.yarn/cache/glob-npm-7.2.3-2d866d17a5-29452e97b3.zip +0 -0
  226. package/.yarn/cache/glob-npm-8.0.3-750f909025-50bcdea19d.zip +0 -0
  227. package/.yarn/cache/glob-parent-npm-6.0.2-2cbef12738-c13ee97978.zip +0 -0
  228. package/.yarn/cache/globals-npm-11.12.0-1fa7f41a6c-67051a45ec.zip +0 -0
  229. package/.yarn/cache/globals-npm-13.16.0-ddfe03ff07-e571b28462.zip +0 -0
  230. package/.yarn/cache/graceful-fs-npm-4.2.10-79c70989ca-3f109d70ae.zip +0 -0
  231. package/.yarn/cache/has-ansi-npm-3.0.0-f2c5029db5-d52ff546c9.zip +0 -0
  232. package/.yarn/cache/has-bigints-npm-1.0.2-52732e614d-390e31e7be.zip +0 -0
  233. package/.yarn/cache/has-flag-npm-3.0.0-16ac11fe05-4a15638b45.zip +0 -0
  234. package/.yarn/cache/has-flag-npm-4.0.0-32af9f0536-261a135703.zip +0 -0
  235. package/.yarn/cache/has-npm-1.0.3-b7f00631c1-b9ad53d53b.zip +0 -0
  236. package/.yarn/cache/has-property-descriptors-npm-1.0.0-56289b918d-a6d3f0a266.zip +0 -0
  237. package/.yarn/cache/has-symbols-npm-1.0.3-1986bff2c4-a054c40c63.zip +0 -0
  238. package/.yarn/cache/has-tostringtag-npm-1.0.0-b1fcf3ab55-cc12eb28cb.zip +0 -0
  239. package/.yarn/cache/has-unicode-npm-2.0.1-893adb4747-1eab07a743.zip +0 -0
  240. package/.yarn/cache/html-escaper-npm-2.0.2-38e51ef294-d2df2da3ad.zip +0 -0
  241. package/.yarn/cache/http-cache-semantics-npm-4.1.0-860520a31f-974de94a81.zip +0 -0
  242. package/.yarn/cache/http-proxy-agent-npm-5.0.0-7f1f121b83-e2ee1ff165.zip +0 -0
  243. package/.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip +0 -0
  244. package/.yarn/cache/human-signals-npm-2.1.0-f75815481d-b87fd89fce.zip +0 -0
  245. package/.yarn/cache/humanize-ms-npm-1.2.1-e942bd7329-9c7a74a282.zip +0 -0
  246. package/.yarn/cache/iconv-lite-npm-0.6.3-24b8aae27e-3f60d47a5c.zip +0 -0
  247. package/.yarn/cache/ignore-npm-5.2.0-fc4b58a4f3-6b1f926792.zip +0 -0
  248. package/.yarn/cache/import-fresh-npm-3.3.0-3e34265ca9-2cacfad06e.zip +0 -0
  249. package/.yarn/cache/import-local-npm-3.1.0-8960af5e51-bfcdb63b5e.zip +0 -0
  250. package/.yarn/cache/imurmurhash-npm-0.1.4-610c5068a0-7cae75c8cd.zip +0 -0
  251. package/.yarn/cache/indent-string-npm-4.0.0-7b717435b2-824cfb9929.zip +0 -0
  252. package/.yarn/cache/infer-owner-npm-1.0.4-685ac3d2af-181e732764.zip +0 -0
  253. package/.yarn/cache/inflight-npm-1.0.6-ccedb4b908-f4f76aa072.zip +0 -0
  254. package/.yarn/cache/inherits-npm-2.0.4-c66b3957a0-4a48a73384.zip +0 -0
  255. package/.yarn/cache/internal-slot-npm-1.0.3-9e05eea002-1944f92e98.zip +0 -0
  256. package/.yarn/cache/ip-npm-1.1.8-abea558b72-a2ade53eb3.zip +0 -0
  257. package/.yarn/cache/is-arrayish-npm-0.2.1-23927dfb15-eef4417e3c.zip +0 -0
  258. package/.yarn/cache/is-bigint-npm-1.0.4-31c2eecbc9-c56edfe09b.zip +0 -0
  259. package/.yarn/cache/is-boolean-object-npm-1.1.2-ecbd575e6a-c03b23dbaa.zip +0 -0
  260. package/.yarn/cache/is-callable-npm-1.2.4-03fc17459c-1a28d57dc4.zip +0 -0
  261. package/.yarn/cache/is-core-module-npm-2.9.0-5ba77c35ae-b27034318b.zip +0 -0
  262. package/.yarn/cache/is-date-object-npm-1.0.5-88f3d08b5e-baa9077cdf.zip +0 -0
  263. package/.yarn/cache/is-extglob-npm-2.1.1-0870ea68b5-df033653d0.zip +0 -0
  264. package/.yarn/cache/is-fullwidth-code-point-npm-3.0.0-1ecf4ebee5-44a30c2945.zip +0 -0
  265. package/.yarn/cache/is-generator-fn-npm-2.1.0-37895c2d2b-a6ad5492cf.zip +0 -0
  266. package/.yarn/cache/is-glob-npm-4.0.3-cb87bf1bdb-d381c1319f.zip +0 -0
  267. package/.yarn/cache/is-lambda-npm-1.0.1-7ab55bc8a8-93a32f0194.zip +0 -0
  268. package/.yarn/cache/is-negative-zero-npm-2.0.2-0adac91f15-f3232194c4.zip +0 -0
  269. package/.yarn/cache/is-number-npm-7.0.0-060086935c-456ac6f8e0.zip +0 -0
  270. package/.yarn/cache/is-number-object-npm-1.0.7-539d0e274d-d1e8d01bb0.zip +0 -0
  271. package/.yarn/cache/is-regex-npm-1.1.4-cca193ef11-362399b335.zip +0 -0
  272. package/.yarn/cache/is-shared-array-buffer-npm-1.0.2-32e4181fcd-9508929cf1.zip +0 -0
  273. package/.yarn/cache/is-stream-npm-2.0.1-c802db55e7-b8e05ccdf9.zip +0 -0
  274. package/.yarn/cache/is-string-npm-1.0.7-9f7066daed-323b3d0462.zip +0 -0
  275. package/.yarn/cache/is-symbol-npm-1.0.4-eb9baac703-92805812ef.zip +0 -0
  276. package/.yarn/cache/is-weakref-npm-1.0.2-ff80e8c314-95bd9a57cd.zip +0 -0
  277. package/.yarn/cache/isexe-npm-2.0.0-b58870bd2e-26bf6c5480.zip +0 -0
  278. package/.yarn/cache/istanbul-lib-coverage-npm-3.2.0-93f84b2c8c-a2a545033b.zip +0 -0
  279. package/.yarn/cache/istanbul-lib-instrument-npm-5.2.0-6aa783f498-7c242ed782.zip +0 -0
  280. package/.yarn/cache/istanbul-lib-report-npm-3.0.0-660f97340a-3f29eb3f53.zip +0 -0
  281. package/.yarn/cache/istanbul-lib-source-maps-npm-4.0.1-af0f859df7-21ad3df45d.zip +0 -0
  282. package/.yarn/cache/istanbul-reports-npm-3.1.5-fb11324e3e-7867228f83.zip +0 -0
  283. package/.yarn/cache/jest-changed-files-npm-28.1.3-bb00ac0321-c78af14a68.zip +0 -0
  284. package/.yarn/cache/jest-circus-npm-28.1.3-cd59c17100-b635e60a9c.zip +0 -0
  285. package/.yarn/cache/jest-cli-npm-28.1.3-aab5c7389d-fb424576bf.zip +0 -0
  286. package/.yarn/cache/jest-config-npm-28.1.3-47d1c91477-ddabffd3a3.zip +0 -0
  287. package/.yarn/cache/jest-diff-npm-28.1.3-cdbbfc3cc7-fa8583e0cc.zip +0 -0
  288. package/.yarn/cache/jest-docblock-npm-28.1.1-92269e3ff0-22fca68d98.zip +0 -0
  289. package/.yarn/cache/jest-each-npm-28.1.3-ca0bd1494b-5c5b8ccb14.zip +0 -0
  290. package/.yarn/cache/jest-environment-node-npm-28.1.3-46a696a38b-1048fe306a.zip +0 -0
  291. package/.yarn/cache/jest-get-type-npm-28.0.2-00d0a81478-5281d7c89b.zip +0 -0
  292. package/.yarn/cache/jest-haste-map-npm-28.1.3-9ce0dea452-d05fdc1086.zip +0 -0
  293. package/.yarn/cache/jest-leak-detector-npm-28.1.3-36abac94be-2e976a4880.zip +0 -0
  294. package/.yarn/cache/jest-matcher-utils-npm-28.1.3-6a206019d4-6b34f0cf66.zip +0 -0
  295. package/.yarn/cache/jest-message-util-npm-28.1.3-bee4da4d10-1f26685416.zip +0 -0
  296. package/.yarn/cache/jest-mock-now-npm-1.3.0-3bb0b9f3ee-20d257f92e.zip +0 -0
  297. package/.yarn/cache/jest-mock-npm-28.1.3-75849d2dd2-a573bf8e5f.zip +0 -0
  298. package/.yarn/cache/jest-npm-28.1.3-207c50e059-b9dcb542eb.zip +0 -0
  299. package/.yarn/cache/jest-pnp-resolver-npm-1.2.2-da20f8bdfe-bd85dcc0e7.zip +0 -0
  300. package/.yarn/cache/jest-regex-util-npm-28.0.2-56e93935f3-0ea8c5c82e.zip +0 -0
  301. package/.yarn/cache/jest-resolve-dependencies-npm-28.1.3-143d112ae5-4eea9ec33a.zip +0 -0
  302. package/.yarn/cache/jest-resolve-npm-28.1.3-acd3a0d26b-df61a490c9.zip +0 -0
  303. package/.yarn/cache/jest-runner-npm-28.1.3-b6c86f7ed5-32405cd970.zip +0 -0
  304. package/.yarn/cache/jest-runtime-npm-28.1.3-15fdfa887e-b17c40af85.zip +0 -0
  305. package/.yarn/cache/jest-snapshot-npm-28.1.3-b36ae70475-2a46a5493f.zip +0 -0
  306. package/.yarn/cache/jest-snapshot-serializer-ansi-npm-1.0.0-327133e7c7-5e27fd87c5.zip +0 -0
  307. package/.yarn/cache/jest-snapshot-serializer-raw-npm-1.2.0-acc843ac82-e100fb820a.zip +0 -0
  308. package/.yarn/cache/jest-util-npm-28.1.3-9ae2283a08-fd6459742c.zip +0 -0
  309. package/.yarn/cache/jest-validate-npm-28.1.3-f1a729aeb4-95e0513b38.zip +0 -0
  310. package/.yarn/cache/jest-watch-typeahead-npm-2.0.0-d2aa13b202-c25fa793e5.zip +0 -0
  311. package/.yarn/cache/jest-watcher-npm-28.1.3-8da81cc37d-8f6d674a48.zip +0 -0
  312. package/.yarn/cache/jest-worker-npm-28.1.3-5d0ff9006c-e921c9a1b8.zip +0 -0
  313. package/.yarn/cache/js-sha3-npm-0.8.0-decf3ddcfa-75df77c1fc.zip +0 -0
  314. package/.yarn/cache/js-tokens-npm-4.0.0-0ac852e9e2-8a95213a5a.zip +0 -0
  315. package/.yarn/cache/js-yaml-npm-3.14.1-b968c6095e-bef146085f.zip +0 -0
  316. package/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c7830dfd45.zip +0 -0
  317. package/.yarn/cache/jsesc-npm-2.5.2-c5acb78804-4dc1907711.zip +0 -0
  318. package/.yarn/cache/json-parse-even-better-errors-npm-2.3.1-144d62256e-798ed4cf33.zip +0 -0
  319. package/.yarn/cache/json-schema-traverse-npm-0.4.1-4759091693-7486074d3b.zip +0 -0
  320. package/.yarn/cache/json-stable-stringify-without-jsonify-npm-1.0.1-b65772b28b-cff44156dd.zip +0 -0
  321. package/.yarn/cache/json5-npm-1.0.1-647fc8794b-e76ea23dbb.zip +0 -0
  322. package/.yarn/cache/json5-npm-2.2.1-44675c859c-74b8a23b10.zip +0 -0
  323. package/.yarn/cache/kleur-npm-3.0.3-f6f53649a4-df82cd1e17.zip +0 -0
  324. package/.yarn/cache/leven-npm-3.1.0-b7697736a3-638401d534.zip +0 -0
  325. package/.yarn/cache/levn-npm-0.4.1-d183b2d7bb-12c5021c85.zip +0 -0
  326. package/.yarn/cache/lines-and-columns-npm-1.2.4-d6c7cc5799-0c37f9f7fa.zip +0 -0
  327. package/.yarn/cache/lines-and-columns-npm-2.0.3-68ede50723-5955363dfd.zip +0 -0
  328. package/.yarn/cache/locate-path-npm-2.0.0-673d28b0ea-02d581edbb.zip +0 -0
  329. package/.yarn/cache/locate-path-npm-5.0.0-46580c43e4-83e51725e6.zip +0 -0
  330. package/.yarn/cache/lodash.merge-npm-4.6.2-77cb4416bf-ad580b4bdb.zip +0 -0
  331. package/.yarn/cache/lru-cache-npm-6.0.0-b4c8668fe1-f97f499f89.zip +0 -0
  332. package/.yarn/cache/lru-cache-npm-7.13.1-521ddcc43f-f53c7dd098.zip +0 -0
  333. package/.yarn/cache/make-dir-npm-3.1.0-d1d7505142-484200020a.zip +0 -0
  334. package/.yarn/cache/make-fetch-happen-npm-10.1.8-1571a0a77a-5fe9fd9da5.zip +0 -0
  335. package/.yarn/cache/makeerror-npm-1.0.12-69abf085d7-b38a025a12.zip +0 -0
  336. package/.yarn/cache/memorystream-npm-0.3.1-ae973f1d16-f18b42440d.zip +0 -0
  337. package/.yarn/cache/merge-stream-npm-2.0.0-2ac83efea5-6fa4dcc8d8.zip +0 -0
  338. package/.yarn/cache/micromatch-npm-4.0.5-cfab5d7669-02a17b671c.zip +0 -0
  339. package/.yarn/cache/mimic-fn-npm-2.1.0-4fbeb3abb4-d2421a3444.zip +0 -0
  340. package/.yarn/cache/minimatch-npm-3.1.2-9405269906-c154e56640.zip +0 -0
  341. package/.yarn/cache/minimatch-npm-5.1.0-34f6240621-15ce53d31a.zip +0 -0
  342. package/.yarn/cache/minimist-npm-1.2.6-f4cee4b4af-d15428cd1e.zip +0 -0
  343. package/.yarn/cache/minipass-collect-npm-1.0.2-3b4676eab5-14df761028.zip +0 -0
  344. package/.yarn/cache/minipass-fetch-npm-2.1.0-300ce55188-1334732859.zip +0 -0
  345. package/.yarn/cache/minipass-flush-npm-1.0.5-efe79d9826-56269a0b22.zip +0 -0
  346. package/.yarn/cache/minipass-npm-3.3.4-6cf48a6c5e-5d95a7738c.zip +0 -0
  347. package/.yarn/cache/minipass-pipeline-npm-1.2.4-5924cb077f-b14240dac0.zip +0 -0
  348. package/.yarn/cache/minipass-sized-npm-1.0.3-306d86f432-79076749fc.zip +0 -0
  349. package/.yarn/cache/minizlib-npm-2.1.2-ea89cd0cfb-f1fdeac0b0.zip +0 -0
  350. package/.yarn/cache/mkdirp-npm-1.0.4-37f6ef56b9-a96865108c.zip +0 -0
  351. package/.yarn/cache/ms-npm-2.0.0-9e1101a471-0e6a22b8b7.zip +0 -0
  352. package/.yarn/cache/ms-npm-2.1.2-ec0c1512ff-673cdb2c31.zip +0 -0
  353. package/.yarn/cache/ms-npm-2.1.3-81ff3cfac1-aa92de6080.zip +0 -0
  354. package/.yarn/cache/natural-compare-npm-1.4.0-97b75b362d-23ad088b08.zip +0 -0
  355. package/.yarn/cache/negotiator-npm-0.6.3-9d50e36171-b8ffeb1e26.zip +0 -0
  356. package/.yarn/cache/node-gyp-npm-9.1.0-2091059b31-1437fa4a87.zip +0 -0
  357. package/.yarn/cache/node-int64-npm-0.4.0-0dc04ec3b2-d0b30b1ee6.zip +0 -0
  358. package/.yarn/cache/node-releases-npm-2.0.6-8accb3fefb-e86a926dc9.zip +0 -0
  359. package/.yarn/cache/nopt-npm-5.0.0-304b40fbfe-d35fdec187.zip +0 -0
  360. package/.yarn/cache/normalize-path-npm-3.0.0-658ba7d77f-88eeb4da89.zip +0 -0
  361. package/.yarn/cache/npm-run-path-npm-4.0.1-7aebd8bab3-5374c0cea4.zip +0 -0
  362. package/.yarn/cache/npmlog-npm-6.0.2-e0e69455c7-ae238cd264.zip +0 -0
  363. package/.yarn/cache/object-inspect-npm-1.12.2-f125a822c0-a534fc1b85.zip +0 -0
  364. package/.yarn/cache/object-keys-npm-1.1.1-1bf2f1be93-b363c5e764.zip +0 -0
  365. package/.yarn/cache/object.assign-npm-4.1.2-d52edada1c-d621d832ed.zip +0 -0
  366. package/.yarn/cache/object.entries-npm-1.1.5-7a8fcbc43e-d658696f74.zip +0 -0
  367. package/.yarn/cache/object.values-npm-1.1.5-f1de7f3742-0f17e99741.zip +0 -0
  368. package/.yarn/cache/once-npm-1.4.0-ccf03ef07a-cd0a885013.zip +0 -0
  369. package/.yarn/cache/onetime-npm-5.1.2-3ed148fa42-2478859ef8.zip +0 -0
  370. package/.yarn/cache/optionator-npm-0.9.1-577e397aae-dbc6fa0656.zip +0 -0
  371. package/.yarn/cache/os-tmpdir-npm-1.0.2-e305b0689b-5666560f7b.zip +0 -0
  372. package/.yarn/cache/outdent-npm-0.8.0-5e36779041-72b7c1a287.zip +0 -0
  373. package/.yarn/cache/p-limit-npm-1.3.0-fdb471d864-281c1c0b8c.zip +0 -0
  374. package/.yarn/cache/p-limit-npm-2.3.0-94a0310039-84ff17f1a3.zip +0 -0
  375. package/.yarn/cache/p-limit-npm-3.1.0-05d2ede37f-7c3690c4db.zip +0 -0
  376. package/.yarn/cache/p-locate-npm-2.0.0-3a2ee263dd-e2dceb9b49.zip +0 -0
  377. package/.yarn/cache/p-locate-npm-4.1.0-eec6872537-513bd14a45.zip +0 -0
  378. package/.yarn/cache/p-map-npm-4.0.0-4677ae07c7-cb0ab21ec0.zip +0 -0
  379. package/.yarn/cache/p-try-npm-1.0.0-7373139e40-3b5303f77e.zip +0 -0
  380. package/.yarn/cache/p-try-npm-2.2.0-e0390dbaf8-f8a8e9a769.zip +0 -0
  381. package/.yarn/cache/parent-module-npm-1.0.1-1fae11b095-6ba8b25514.zip +0 -0
  382. package/.yarn/cache/parse-json-npm-5.2.0-00a63b1199-62085b17d6.zip +0 -0
  383. package/.yarn/cache/path-exists-npm-3.0.0-e80371aa68-96e92643aa.zip +0 -0
  384. package/.yarn/cache/path-exists-npm-4.0.0-e9e4f63eb0-505807199d.zip +0 -0
  385. package/.yarn/cache/path-is-absolute-npm-1.0.1-31bc695ffd-060840f92c.zip +0 -0
  386. package/.yarn/cache/path-key-npm-3.1.1-0e66ea8321-55cd7a9dd4.zip +0 -0
  387. package/.yarn/cache/path-parse-npm-1.0.7-09564527b7-49abf3d811.zip +0 -0
  388. package/.yarn/cache/picocolors-npm-1.0.0-d81e0b1927-a2e8092dd8.zip +0 -0
  389. package/.yarn/cache/picomatch-npm-2.3.1-c782cfd986-050c865ce8.zip +0 -0
  390. package/.yarn/cache/pirates-npm-4.0.5-22f8e827ce-c9994e61b8.zip +0 -0
  391. package/.yarn/cache/pkg-dir-npm-4.2.0-2b5d0a8d32-9863e3f351.zip +0 -0
  392. package/.yarn/cache/prelude-ls-npm-1.2.1-3e4d272a55-cd192ec0d0.zip +0 -0
  393. package/.yarn/cache/prettier-npm-2.7.1-d1f40f5e1a-55a4409182.zip +0 -0
  394. package/.yarn/cache/pretty-format-npm-28.1.3-fdf56e33bc-e69f857358.zip +0 -0
  395. package/.yarn/cache/promise-inflight-npm-1.0.1-5bb925afac-2274948309.zip +0 -0
  396. package/.yarn/cache/promise-retry-npm-2.0.1-871f0b01b7-f96a3f6d90.zip +0 -0
  397. package/.yarn/cache/prompts-npm-2.4.2-f5d25d5eea-d8fd1fe638.zip +0 -0
  398. package/.yarn/cache/punycode-npm-2.1.1-26eb3e15cf-823bf443c6.zip +0 -0
  399. package/.yarn/cache/react-is-npm-18.2.0-0cc5edb910-e72d0ba81b.zip +0 -0
  400. package/.yarn/cache/readable-stream-npm-3.6.0-23a4a5eb56-d4ea81502d.zip +0 -0
  401. package/.yarn/cache/regexp.prototype.flags-npm-1.4.3-df1c08b65d-51228bae73.zip +0 -0
  402. package/.yarn/cache/regexpp-npm-3.2.0-2513f32cfc-a78dc5c715.zip +0 -0
  403. package/.yarn/cache/require-directory-npm-2.1.1-8608aee50b-fb47e70bf0.zip +0 -0
  404. package/.yarn/cache/resolve-cwd-npm-3.0.0-e6f4e296bf-546e081601.zip +0 -0
  405. package/.yarn/cache/resolve-from-npm-4.0.0-f758ec21bf-f4ba0b8494.zip +0 -0
  406. package/.yarn/cache/resolve-from-npm-5.0.0-15c9db4d33-4ceeb9113e.zip +0 -0
  407. package/.yarn/cache/resolve-npm-1.22.1-3980488690-07af5fc1e8.zip +0 -0
  408. package/.yarn/cache/resolve-patch-46f9469d0d-5656f4d0be.zip +0 -0
  409. package/.yarn/cache/resolve.exports-npm-1.1.0-81756e03ba-52865af8ed.zip +0 -0
  410. package/.yarn/cache/retry-npm-0.12.0-72ac7fb4cc-623bd7d2e5.zip +0 -0
  411. package/.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-87f4164e39.zip +0 -0
  412. package/.yarn/cache/safe-buffer-npm-5.1.2-c27fedf6c4-f2f1f7943c.zip +0 -0
  413. package/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip +0 -0
  414. package/.yarn/cache/safer-buffer-npm-2.1.2-8d5c0b705e-cab8f25ae6.zip +0 -0
  415. package/.yarn/cache/semver-npm-5.7.1-40bcea106b-57fd0acfd0.zip +0 -0
  416. package/.yarn/cache/semver-npm-6.3.0-b3eace8bfd-1b26ecf6db.zip +0 -0
  417. package/.yarn/cache/semver-npm-7.3.7-3bfe704194-2fa3e87756.zip +0 -0
  418. package/.yarn/cache/set-blocking-npm-2.0.0-49e2cffa24-6e65a05f7c.zip +0 -0
  419. package/.yarn/cache/shebang-command-npm-2.0.0-eb2b01921d-6b52fe8727.zip +0 -0
  420. package/.yarn/cache/shebang-regex-npm-3.0.0-899a0cd65e-1a2bcae50d.zip +0 -0
  421. package/.yarn/cache/side-channel-npm-1.0.4-e1f38b9e06-351e41b947.zip +0 -0
  422. package/.yarn/cache/signal-exit-npm-3.0.7-bd270458a3-a2f098f247.zip +0 -0
  423. package/.yarn/cache/sisteransi-npm-1.0.5-af60cc0cfa-aba6438f46.zip +0 -0
  424. package/.yarn/cache/slash-npm-3.0.0-b87de2279a-94a93fff61.zip +0 -0
  425. package/.yarn/cache/slash-npm-4.0.0-ce4bbc4a80-da8e4af737.zip +0 -0
  426. package/.yarn/cache/smart-buffer-npm-4.2.0-5ac3f668bb-b5167a7142.zip +0 -0
  427. package/.yarn/cache/socks-npm-2.6.2-94c1dcb8b8-dd91942930.zip +0 -0
  428. package/.yarn/cache/socks-proxy-agent-npm-7.0.0-7aacf32ea0-7205543701.zip +0 -0
  429. package/.yarn/cache/solc-npm-0.8.15-92c3f7b3a3-a11de198bc.zip +0 -0
  430. package/.yarn/cache/solidity-comments-extractor-npm-0.0.7-b84da24f18-a5cedf2310.zip +0 -0
  431. package/.yarn/cache/source-map-npm-0.6.1-1a3621db16-59ce8640cf.zip +0 -0
  432. package/.yarn/cache/source-map-support-npm-0.5.13-377dfd7321-933550047b.zip +0 -0
  433. package/.yarn/cache/source-map-support-npm-0.5.21-09ca99e250-43e98d700d.zip +0 -0
  434. package/.yarn/cache/sprintf-js-npm-1.0.3-73f0a322fa-19d79aec21.zip +0 -0
  435. package/.yarn/cache/ssri-npm-9.0.1-33ce27f4f8-fb58f5e46b.zip +0 -0
  436. package/.yarn/cache/stack-utils-npm-2.0.5-e0438f409a-76b69da0f5.zip +0 -0
  437. package/.yarn/cache/string-length-npm-4.0.2-675173c7a2-ce85533ef5.zip +0 -0
  438. package/.yarn/cache/string-length-npm-5.0.1-8751d7cb69-71f73b8c8a.zip +0 -0
  439. package/.yarn/cache/string-width-npm-4.2.3-2c27177bae-e52c10dc3f.zip +0 -0
  440. package/.yarn/cache/string.prototype.trimend-npm-1.0.5-2b980efa37-d44f543833.zip +0 -0
  441. package/.yarn/cache/string.prototype.trimstart-npm-1.0.5-9e62187810-a4857c5399.zip +0 -0
  442. package/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip +0 -0
  443. package/.yarn/cache/strip-ansi-npm-4.0.0-d4de985014-d9186e6c0c.zip +0 -0
  444. package/.yarn/cache/strip-ansi-npm-6.0.1-caddc7cb40-f3cd25890a.zip +0 -0
  445. package/.yarn/cache/strip-ansi-npm-7.0.1-668c121204-257f78fa43.zip +0 -0
  446. package/.yarn/cache/strip-bom-npm-3.0.0-71e8f81ff9-8d50ff27b7.zip +0 -0
  447. package/.yarn/cache/strip-bom-npm-4.0.0-97d367a64d-9dbcfbaf50.zip +0 -0
  448. package/.yarn/cache/strip-final-newline-npm-2.0.0-340c4f7c66-69412b5e25.zip +0 -0
  449. package/.yarn/cache/strip-json-comments-npm-3.1.1-dcb2324823-492f73e272.zip +0 -0
  450. package/.yarn/cache/supports-color-npm-5.5.0-183ac537bc-95f6f4ba5a.zip +0 -0
  451. package/.yarn/cache/supports-color-npm-7.2.0-606bfcf7da-3dda818de0.zip +0 -0
  452. package/.yarn/cache/supports-color-npm-8.1.1-289e937149-c052193a7e.zip +0 -0
  453. package/.yarn/cache/supports-hyperlinks-npm-2.2.0-9b22a6271b-aef04fb41f.zip +0 -0
  454. package/.yarn/cache/supports-preserve-symlinks-flag-npm-1.0.0-f17c4d0028-53b1e247e6.zip +0 -0
  455. package/.yarn/cache/tar-npm-6.1.11-e6ac3cba9c-a04c07bb9e.zip +0 -0
  456. package/.yarn/cache/terminal-link-npm-2.1.1-de80341758-ce3d2cd3a4.zip +0 -0
  457. package/.yarn/cache/test-exclude-npm-6.0.0-3fb03d69df-3b34a3d771.zip +0 -0
  458. package/.yarn/cache/text-table-npm-0.2.0-d92a778b59-b6937a38c8.zip +0 -0
  459. package/.yarn/cache/tmp-npm-0.0.33-bcbf65df2a-902d7aceb7.zip +0 -0
  460. package/.yarn/cache/tmpl-npm-1.0.5-d399ba37e2-cd922d9b85.zip +0 -0
  461. package/.yarn/cache/to-fast-properties-npm-2.0.0-0dc60cc481-be2de62fe5.zip +0 -0
  462. package/.yarn/cache/to-regex-range-npm-5.0.1-f1e8263b00-f76fa01b3d.zip +0 -0
  463. package/.yarn/cache/tsconfig-paths-npm-3.14.1-17a815b5c5-8afa01c673.zip +0 -0
  464. package/.yarn/cache/type-check-npm-0.4.0-60565800ce-ec688ebfc9.zip +0 -0
  465. package/.yarn/cache/type-detect-npm-4.0.8-8d8127b901-62b5628bff.zip +0 -0
  466. package/.yarn/cache/type-fest-npm-0.20.2-b36432617f-4fb3272df2.zip +0 -0
  467. package/.yarn/cache/type-fest-npm-0.21.3-5ff2a9c6fd-e6b32a3b38.zip +0 -0
  468. package/.yarn/cache/type-fest-npm-1.4.0-7dd848962a-b011c33886.zip +0 -0
  469. package/.yarn/cache/unbox-primitive-npm-1.0.2-cb56a05066-b7a1cf5862.zip +0 -0
  470. package/.yarn/cache/unique-filename-npm-1.1.1-c885c5095b-cf4998c922.zip +0 -0
  471. package/.yarn/cache/unique-slug-npm-2.0.2-f6ba1ddeb7-5b6876a645.zip +0 -0
  472. package/.yarn/cache/update-browserslist-db-npm-1.0.4-bf636db585-7c7da28d0f.zip +0 -0
  473. package/.yarn/cache/uri-js-npm-4.4.1-66d11cbcaf-7167432de6.zip +0 -0
  474. package/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip +0 -0
  475. package/.yarn/cache/v8-compile-cache-npm-2.3.0-961375f150-adb0a271ea.zip +0 -0
  476. package/.yarn/cache/v8-to-istanbul-npm-9.0.1-58bbce7857-a49c34bf0a.zip +0 -0
  477. package/.yarn/cache/walker-npm-1.0.8-b0a05b9478-ad7a257ea1.zip +0 -0
  478. package/.yarn/cache/which-boxed-primitive-npm-1.0.2-e214f9ae5a-53ce774c73.zip +0 -0
  479. package/.yarn/cache/which-npm-2.0.2-320ddf72f7-1a5c563d3c.zip +0 -0
  480. package/.yarn/cache/wide-align-npm-1.1.5-889d77e592-d5fc37cd56.zip +0 -0
  481. package/.yarn/cache/word-wrap-npm-1.2.3-7fb15ab002-30b48f91fc.zip +0 -0
  482. package/.yarn/cache/wrap-ansi-npm-7.0.0-ad6e1a0554-a790b846fd.zip +0 -0
  483. package/.yarn/cache/wrappy-npm-1.0.2-916de4d4b3-159da4805f.zip +0 -0
  484. package/.yarn/cache/write-file-atomic-npm-4.0.1-96ec744721-8f78023253.zip +0 -0
  485. package/.yarn/cache/y18n-npm-5.0.8-5f3a0a7e62-54f0fb9562.zip +0 -0
  486. package/.yarn/cache/yallist-npm-4.0.0-b493d9e907-343617202a.zip +0 -0
  487. package/.yarn/cache/yargs-npm-17.5.1-0902fa46de-00d58a2c05.zip +0 -0
  488. package/.yarn/cache/yargs-parser-npm-21.0.1-b778fd3462-c3ea2ed12c.zip +0 -0
  489. package/.yarn/cache/yocto-queue-npm-0.1.0-c6c9a7db29-f77b3d8d00.zip +0 -0
  490. package/.yarn/install-state.gz +0 -0
  491. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +546 -0
  492. package/.yarn/releases/yarn-3.2.1.cjs +786 -0
  493. package/.yarnrc.yml +7 -0
  494. package/coverage/clover.xml +1138 -0
  495. package/coverage/coverage-final.json +96 -0
  496. package/coverage/lcov-report/base.css +224 -0
  497. package/coverage/lcov-report/block-navigation.js +87 -0
  498. package/coverage/lcov-report/favicon.png +0 -0
  499. package/coverage/lcov-report/index.html +176 -0
  500. package/coverage/lcov-report/prettify.css +1 -0
  501. package/coverage/lcov-report/prettify.js +2 -0
  502. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  503. package/coverage/lcov-report/sorter.js +196 -0
  504. package/coverage/lcov-report/src/binary-operator-printers/arithmetic.js.html +244 -0
  505. package/coverage/lcov-report/src/binary-operator-printers/assignment.js.html +175 -0
  506. package/coverage/lcov-report/src/binary-operator-printers/bit.js.html +103 -0
  507. package/coverage/lcov-report/src/binary-operator-printers/comparison.js.html +199 -0
  508. package/coverage/lcov-report/src/binary-operator-printers/exponentiation.js.html +163 -0
  509. package/coverage/lcov-report/src/binary-operator-printers/index.html +221 -0
  510. package/coverage/lcov-report/src/binary-operator-printers/index.js.html +124 -0
  511. package/coverage/lcov-report/src/binary-operator-printers/logical.js.html +208 -0
  512. package/coverage/lcov-report/src/binary-operator-printers/shift.js.html +103 -0
  513. package/coverage/lcov-report/src/clean.js.html +109 -0
  514. package/coverage/lcov-report/src/comments/handler.js.html +364 -0
  515. package/coverage/lcov-report/src/comments/handlers/ContractDefinition.js.html +265 -0
  516. package/coverage/lcov-report/src/comments/handlers/index.html +116 -0
  517. package/coverage/lcov-report/src/comments/ignore.js.html +184 -0
  518. package/coverage/lcov-report/src/comments/index.html +161 -0
  519. package/coverage/lcov-report/src/comments/index.js.html +97 -0
  520. package/coverage/lcov-report/src/comments/printer.js.html +277 -0
  521. package/coverage/lcov-report/src/common/index.html +111 -0
  522. package/coverage/lcov-report/src/common/util.js.html +98 -0
  523. package/coverage/lcov-report/src/common/utils.js.html +107 -0
  524. package/coverage/lcov-report/src/index.html +191 -0
  525. package/coverage/lcov-report/src/index.js.html +268 -0
  526. package/coverage/lcov-report/src/loc.js.html +133 -0
  527. package/coverage/lcov-report/src/nodes/ArrayTypeName.js.html +115 -0
  528. package/coverage/lcov-report/src/nodes/AssemblyAssignment.js.html +133 -0
  529. package/coverage/lcov-report/src/nodes/AssemblyBlock.js.html +160 -0
  530. package/coverage/lcov-report/src/nodes/AssemblyCall.js.html +133 -0
  531. package/coverage/lcov-report/src/nodes/AssemblyCase.js.html +112 -0
  532. package/coverage/lcov-report/src/nodes/AssemblyFor.js.html +139 -0
  533. package/coverage/lcov-report/src/nodes/AssemblyFunctionDefinition.js.html +190 -0
  534. package/coverage/lcov-report/src/nodes/AssemblyIf.js.html +115 -0
  535. package/coverage/lcov-report/src/nodes/AssemblyLocalDefinition.js.html +160 -0
  536. package/coverage/lcov-report/src/nodes/AssemblyMemberAccess.js.html +112 -0
  537. package/coverage/lcov-report/src/nodes/AssemblySwitch.js.html +133 -0
  538. package/coverage/lcov-report/src/nodes/BinaryOperation.js.html +127 -0
  539. package/coverage/lcov-report/src/nodes/Block.js.html +166 -0
  540. package/coverage/lcov-report/src/nodes/BooleanLiteral.js.html +100 -0
  541. package/coverage/lcov-report/src/nodes/Break.js.html +100 -0
  542. package/coverage/lcov-report/src/nodes/BreakStatement.js.html +100 -0
  543. package/coverage/lcov-report/src/nodes/CatchClause.js.html +148 -0
  544. package/coverage/lcov-report/src/nodes/Conditional.js.html +151 -0
  545. package/coverage/lcov-report/src/nodes/Continue.js.html +100 -0
  546. package/coverage/lcov-report/src/nodes/ContinueStatement.js.html +100 -0
  547. package/coverage/lcov-report/src/nodes/ContractDefinition.js.html +226 -0
  548. package/coverage/lcov-report/src/nodes/CustomErrorDefinition.js.html +139 -0
  549. package/coverage/lcov-report/src/nodes/DecimalNumber.js.html +100 -0
  550. package/coverage/lcov-report/src/nodes/DoWhileStatement.js.html +151 -0
  551. package/coverage/lcov-report/src/nodes/ElementaryTypeName.js.html +115 -0
  552. package/coverage/lcov-report/src/nodes/EmitStatement.js.html +100 -0
  553. package/coverage/lcov-report/src/nodes/EnumDefinition.js.html +151 -0
  554. package/coverage/lcov-report/src/nodes/EnumValue.js.html +100 -0
  555. package/coverage/lcov-report/src/nodes/EventDefinition.js.html +145 -0
  556. package/coverage/lcov-report/src/nodes/ExpressionStatement.js.html +181 -0
  557. package/coverage/lcov-report/src/nodes/FileLevelConstant.js.html +121 -0
  558. package/coverage/lcov-report/src/nodes/ForStatement.js.html +223 -0
  559. package/coverage/lcov-report/src/nodes/FunctionCall.js.html +280 -0
  560. package/coverage/lcov-report/src/nodes/FunctionDefinition.js.html +469 -0
  561. package/coverage/lcov-report/src/nodes/FunctionTypeName.js.html +217 -0
  562. package/coverage/lcov-report/src/nodes/HexLiteral.js.html +133 -0
  563. package/coverage/lcov-report/src/nodes/HexNumber.js.html +100 -0
  564. package/coverage/lcov-report/src/nodes/Identifier.js.html +100 -0
  565. package/coverage/lcov-report/src/nodes/IfStatement.js.html +271 -0
  566. package/coverage/lcov-report/src/nodes/ImportDirective.js.html +247 -0
  567. package/coverage/lcov-report/src/nodes/IndexAccess.js.html +199 -0
  568. package/coverage/lcov-report/src/nodes/IndexRangeAccess.js.html +121 -0
  569. package/coverage/lcov-report/src/nodes/InheritanceSpecifier.js.html +130 -0
  570. package/coverage/lcov-report/src/nodes/InlineAssemblyStatement.js.html +148 -0
  571. package/coverage/lcov-report/src/nodes/LabelDefinition.js.html +118 -0
  572. package/coverage/lcov-report/src/nodes/Mapping.js.html +118 -0
  573. package/coverage/lcov-report/src/nodes/MemberAccess.js.html +466 -0
  574. package/coverage/lcov-report/src/nodes/ModifierDefinition.js.html +259 -0
  575. package/coverage/lcov-report/src/nodes/ModifierInvocation.js.html +151 -0
  576. package/coverage/lcov-report/src/nodes/NameValueExpression.js.html +115 -0
  577. package/coverage/lcov-report/src/nodes/NameValueList.js.html +148 -0
  578. package/coverage/lcov-report/src/nodes/NewExpression.js.html +100 -0
  579. package/coverage/lcov-report/src/nodes/NumberLiteral.js.html +109 -0
  580. package/coverage/lcov-report/src/nodes/PragmaDirective.js.html +100 -0
  581. package/coverage/lcov-report/src/nodes/ReturnStatement.js.html +157 -0
  582. package/coverage/lcov-report/src/nodes/RevertStatement.js.html +100 -0
  583. package/coverage/lcov-report/src/nodes/SourceUnit.js.html +133 -0
  584. package/coverage/lcov-report/src/nodes/StateVariableDeclaration.js.html +166 -0
  585. package/coverage/lcov-report/src/nodes/StringLiteral.js.html +148 -0
  586. package/coverage/lcov-report/src/nodes/StructDefinition.js.html +154 -0
  587. package/coverage/lcov-report/src/nodes/ThrowStatement.js.html +100 -0
  588. package/coverage/lcov-report/src/nodes/TryStatement.js.html +220 -0
  589. package/coverage/lcov-report/src/nodes/TupleExpression.js.html +160 -0
  590. package/coverage/lcov-report/src/nodes/TypeDefinition.js.html +100 -0
  591. package/coverage/lcov-report/src/nodes/TypeNameExpression.js.html +100 -0
  592. package/coverage/lcov-report/src/nodes/UnaryOperation.js.html +121 -0
  593. package/coverage/lcov-report/src/nodes/UncheckedStatement.js.html +118 -0
  594. package/coverage/lcov-report/src/nodes/UserDefinedTypeName.js.html +100 -0
  595. package/coverage/lcov-report/src/nodes/UsingForDeclaration.js.html +166 -0
  596. package/coverage/lcov-report/src/nodes/VariableDeclaration.js.html +253 -0
  597. package/coverage/lcov-report/src/nodes/VariableDeclarationStatement.js.html +217 -0
  598. package/coverage/lcov-report/src/nodes/WhileStatement.js.html +148 -0
  599. package/coverage/lcov-report/src/nodes/index.html +1241 -0
  600. package/coverage/lcov-report/src/nodes/index.js.html +316 -0
  601. package/coverage/lcov-report/src/nodes/print-comments.js.html +166 -0
  602. package/coverage/lcov-report/src/nodes/print-preserving-empty-lines.js.html +244 -0
  603. package/coverage/lcov-report/src/nodes/print-separated-item.js.html +136 -0
  604. package/coverage/lcov-report/src/nodes/print-separated-list.js.html +151 -0
  605. package/coverage/lcov-report/src/options.js.html +298 -0
  606. package/coverage/lcov-report/src/parser.js.html +673 -0
  607. package/coverage/lcov-report/src/prettier-version-check.js.html +125 -0
  608. package/coverage/lcov-report/src/printer.js.html +214 -0
  609. package/coverage/lcov.info +2604 -0
  610. package/package.json +3 -3
  611. package/src/binary-operator-printers/index.js +1 -1
  612. package/src/nodes/Continue.js +5 -0
  613. package/src/nodes/index.js +2 -1
  614. package/.github/FUNDING.yml +0 -1
  615. package/.github/dependabot.yml +0 -23
  616. package/.github/workflows/CI.yml +0 -83
  617. package/assets/telegram-badge.svg +0 -29
  618. package/scripts/generateIndexes.js +0 -16
  619. package/scripts/makeData.js +0 -23
  620. package/tests/config/.prettierrc +0 -5
  621. package/tests/config/format-test.js +0 -458
  622. package/tests/config/require-prettier.js +0 -5
  623. package/tests/config/require-standalone.js +0 -25
  624. package/tests/config/setup.js +0 -7
  625. package/tests/config/utils/check-parsers.js +0 -207
  626. package/tests/config/utils/compile-contract.js +0 -36
  627. package/tests/config/utils/consistent-end-of-line.js +0 -13
  628. package/tests/config/utils/create-snapshot.js +0 -98
  629. package/tests/config/utils/stringify-options-for-title.js +0 -15
  630. package/tests/config/utils/visualize-end-of-line.js +0 -18
  631. package/tests/config/utils/visualize-range.js +0 -40
  632. package/tests/format/AddressPayable/AddressPayable.sol +0 -10
  633. package/tests/format/AddressPayable/__snapshots__/jsfmt.spec.js.snap +0 -37
  634. package/tests/format/AddressPayable/jsfmt.spec.js +0 -1
  635. package/tests/format/AllSolidityFeatures/AllSolidityFeatures.sol +0 -534
  636. package/tests/format/AllSolidityFeatures/__snapshots__/jsfmt.spec.js.snap +0 -1148
  637. package/tests/format/AllSolidityFeatures/jsfmt.spec.js +0 -1
  638. package/tests/format/Arrays/Arrays.sol +0 -17
  639. package/tests/format/Arrays/__snapshots__/jsfmt.spec.js.snap +0 -63
  640. package/tests/format/Arrays/jsfmt.spec.js +0 -1
  641. package/tests/format/Assembly/Assembly.sol +0 -187
  642. package/tests/format/Assembly/__snapshots__/jsfmt.spec.js.snap +0 -422
  643. package/tests/format/Assembly/jsfmt.spec.js +0 -1
  644. package/tests/format/BasicIterator/BasicIterator.sol +0 -44
  645. package/tests/format/BasicIterator/__snapshots__/jsfmt.spec.js.snap +0 -102
  646. package/tests/format/BasicIterator/jsfmt.spec.js +0 -1
  647. package/tests/format/BinaryOperators/BinaryOperators.sol +0 -186
  648. package/tests/format/BinaryOperators/Parentheses.sol +0 -132
  649. package/tests/format/BinaryOperators/__snapshots__/jsfmt.spec.js.snap +0 -952
  650. package/tests/format/BinaryOperators/jsfmt.spec.js +0 -1
  651. package/tests/format/BreakingChangesV0.7.4/BreakingChangesV0.7.4.sol +0 -9
  652. package/tests/format/BreakingChangesV0.7.4/__snapshots__/jsfmt.spec.js.snap +0 -198
  653. package/tests/format/BreakingChangesV0.7.4/jsfmt.spec.js +0 -14
  654. package/tests/format/BreakingChangesV0.8.0/BreakingChangesV0.8.0.sol +0 -43
  655. package/tests/format/BreakingChangesV0.8.0/__snapshots__/jsfmt.spec.js.snap +0 -815
  656. package/tests/format/BreakingChangesV0.8.0/jsfmt.spec.js +0 -26
  657. package/tests/format/Comments/Comments.sol +0 -116
  658. package/tests/format/Comments/__snapshots__/jsfmt.spec.js.snap +0 -270
  659. package/tests/format/Comments/jsfmt.spec.js +0 -1
  660. package/tests/format/Conditional/Conditional.sol +0 -26
  661. package/tests/format/Conditional/__snapshots__/jsfmt.spec.js.snap +0 -80
  662. package/tests/format/Conditional/jsfmt.spec.js +0 -1
  663. package/tests/format/Constructors/Constructors.sol +0 -8
  664. package/tests/format/Constructors/__snapshots__/jsfmt.spec.js.snap +0 -54
  665. package/tests/format/Constructors/jsfmt.spec.js +0 -1
  666. package/tests/format/ContractDefinitions/ContractDefinitions.sol +0 -2
  667. package/tests/format/ContractDefinitions/__snapshots__/jsfmt.spec.js.snap +0 -22
  668. package/tests/format/ContractDefinitions/jsfmt.spec.js +0 -1
  669. package/tests/format/CustomErrors/CustomErrors.sol +0 -20
  670. package/tests/format/CustomErrors/__snapshots__/jsfmt.spec.js.snap +0 -50
  671. package/tests/format/CustomErrors/jsfmt.spec.js +0 -1
  672. package/tests/format/EnumDefinitions/EnumDefinitions.sol +0 -4
  673. package/tests/format/EnumDefinitions/__snapshots__/jsfmt.spec.js.snap +0 -72
  674. package/tests/format/EnumDefinitions/jsfmt.spec.js +0 -2
  675. package/tests/format/Etc/Etc.sol +0 -48
  676. package/tests/format/Etc/__snapshots__/jsfmt.spec.js.snap +0 -134
  677. package/tests/format/Etc/jsfmt.spec.js +0 -1
  678. package/tests/format/ExplicitVariableTypes/ExplicitVariableTypes.sol +0 -36
  679. package/tests/format/ExplicitVariableTypes/__snapshots__/jsfmt.spec.js.snap +0 -258
  680. package/tests/format/ExplicitVariableTypes/jsfmt.spec.js +0 -9
  681. package/tests/format/ForStatements/ForStatements.sol +0 -43
  682. package/tests/format/ForStatements/__snapshots__/jsfmt.spec.js.snap +0 -108
  683. package/tests/format/ForStatements/jsfmt.spec.js +0 -1
  684. package/tests/format/FunctionCalls/FunctionCalls.sol +0 -40
  685. package/tests/format/FunctionCalls/__snapshots__/jsfmt.spec.js.snap +0 -310
  686. package/tests/format/FunctionCalls/jsfmt.spec.js +0 -2
  687. package/tests/format/FunctionDefinitions/FunctionDefinitions.sol +0 -169
  688. package/tests/format/FunctionDefinitions/__snapshots__/jsfmt.spec.js.snap +0 -875
  689. package/tests/format/FunctionDefinitions/jsfmt.spec.js +0 -1
  690. package/tests/format/HexLiteral/HexLiteral.sol +0 -7
  691. package/tests/format/HexLiteral/__snapshots__/jsfmt.spec.js.snap +0 -57
  692. package/tests/format/HexLiteral/jsfmt.spec.js +0 -8
  693. package/tests/format/IfStatements/IfStatements.sol +0 -112
  694. package/tests/format/IfStatements/__snapshots__/jsfmt.spec.js.snap +0 -534
  695. package/tests/format/IfStatements/jsfmt.spec.js +0 -1
  696. package/tests/format/Immutable/Immutable.sol +0 -20
  697. package/tests/format/Immutable/__snapshots__/jsfmt.spec.js.snap +0 -53
  698. package/tests/format/Immutable/jsfmt.spec.js +0 -1
  699. package/tests/format/ImportDirective/ImportDirectives.sol +0 -5
  700. package/tests/format/ImportDirective/__snapshots__/jsfmt.spec.js.snap +0 -46
  701. package/tests/format/ImportDirective/jsfmt.spec.js +0 -2
  702. package/tests/format/Inbox/Inbox.sol +0 -33
  703. package/tests/format/Inbox/__snapshots__/jsfmt.spec.js.snap +0 -79
  704. package/tests/format/Inbox/jsfmt.spec.js +0 -1
  705. package/tests/format/IndexOf/IndexOf.sol +0 -67
  706. package/tests/format/IndexOf/__snapshots__/jsfmt.spec.js.snap +0 -144
  707. package/tests/format/IndexOf/jsfmt.spec.js +0 -1
  708. package/tests/format/IndexRangeAccess/IndexRangeAccess.sol +0 -9
  709. package/tests/format/IndexRangeAccess/__snapshots__/jsfmt.spec.js.snap +0 -31
  710. package/tests/format/IndexRangeAccess/jsfmt.spec.js +0 -1
  711. package/tests/format/InheritanceSpecifier/InheritanceSpecifier.sol +0 -2
  712. package/tests/format/InheritanceSpecifier/__snapshots__/jsfmt.spec.js.snap +0 -24
  713. package/tests/format/InheritanceSpecifier/jsfmt.spec.js +0 -1
  714. package/tests/format/Issues/Issue205.sol +0 -12
  715. package/tests/format/Issues/Issue289.sol +0 -6
  716. package/tests/format/Issues/Issue355.sol +0 -12
  717. package/tests/format/Issues/Issue385.sol +0 -13
  718. package/tests/format/Issues/Issue564.sol +0 -9
  719. package/tests/format/Issues/__snapshots__/jsfmt.spec.js.snap +0 -174
  720. package/tests/format/Issues/jsfmt.spec.js +0 -1
  721. package/tests/format/Libraries/Libraries.sol +0 -10
  722. package/tests/format/Libraries/__snapshots__/jsfmt.spec.js.snap +0 -102
  723. package/tests/format/Libraries/jsfmt.spec.js +0 -2
  724. package/tests/format/MemberAccess/MemberAccess.sol +0 -102
  725. package/tests/format/MemberAccess/__snapshots__/jsfmt.spec.js.snap +0 -243
  726. package/tests/format/MemberAccess/jsfmt.spec.js +0 -1
  727. package/tests/format/ModifierDefinitions/ModifierDefinitions.sol +0 -8
  728. package/tests/format/ModifierDefinitions/__snapshots__/jsfmt.spec.js.snap +0 -33
  729. package/tests/format/ModifierDefinitions/jsfmt.spec.js +0 -1
  730. package/tests/format/ModifierInvocations/ModifierInvocations.sol +0 -17
  731. package/tests/format/ModifierInvocations/__snapshots__/jsfmt.spec.js.snap +0 -51
  732. package/tests/format/ModifierInvocations/jsfmt.spec.js +0 -1
  733. package/tests/format/MultipartStrings/MultipartStrings.sol +0 -10
  734. package/tests/format/MultipartStrings/__snapshots__/jsfmt.spec.js.snap +0 -39
  735. package/tests/format/MultipartStrings/jsfmt.spec.js +0 -1
  736. package/tests/format/NameValueExpression/NameValueExpression.sol +0 -6
  737. package/tests/format/NameValueExpression/__snapshots__/jsfmt.spec.js.snap +0 -68
  738. package/tests/format/NameValueExpression/jsfmt.spec.js +0 -2
  739. package/tests/format/Ownable/Ownable.sol +0 -75
  740. package/tests/format/Ownable/__snapshots__/jsfmt.spec.js.snap +0 -163
  741. package/tests/format/Ownable/jsfmt.spec.js +0 -1
  742. package/tests/format/Parentheses/AddNoParentheses.sol +0 -92
  743. package/tests/format/Parentheses/BitAndNoParentheses.sol +0 -92
  744. package/tests/format/Parentheses/BitOrNoParentheses.sol +0 -92
  745. package/tests/format/Parentheses/BitXorNoParentheses.sol +0 -92
  746. package/tests/format/Parentheses/DivNoParentheses.sol +0 -92
  747. package/tests/format/Parentheses/ExpNoParentheses.sol +0 -92
  748. package/tests/format/Parentheses/LogicNoParentheses.sol +0 -20
  749. package/tests/format/Parentheses/ModNoParentheses.sol +0 -92
  750. package/tests/format/Parentheses/MulNoParentheses.sol +0 -92
  751. package/tests/format/Parentheses/ShiftLNoParentheses.sol +0 -92
  752. package/tests/format/Parentheses/ShiftRNoParentheses.sol +0 -92
  753. package/tests/format/Parentheses/SubNoParentheses.sol +0 -92
  754. package/tests/format/Parentheses/__snapshots__/jsfmt.spec.js.snap +0 -2237
  755. package/tests/format/Parentheses/jsfmt.spec.js +0 -1
  756. package/tests/format/Pragma/Pragma.sol +0 -8
  757. package/tests/format/Pragma/__snapshots__/jsfmt.spec.js.snap +0 -29
  758. package/tests/format/Pragma/jsfmt.spec.js +0 -1
  759. package/tests/format/PrettierIgnore/PrettierIgnore.sol +0 -39
  760. package/tests/format/PrettierIgnore/__snapshots__/jsfmt.spec.js.snap +0 -87
  761. package/tests/format/PrettierIgnore/jsfmt.spec.js +0 -1
  762. package/tests/format/Proxy/Proxy.sol +0 -52
  763. package/tests/format/Proxy/__snapshots__/jsfmt.spec.js.snap +0 -127
  764. package/tests/format/Proxy/jsfmt.spec.js +0 -1
  765. package/tests/format/RespectDefaultOptions/__snapshots__/jsfmt.spec.js.snap +0 -19
  766. package/tests/format/RespectDefaultOptions/jsfmt.spec.js +0 -5
  767. package/tests/format/RespectDefaultOptions/respect-default-options.js +0 -3
  768. package/tests/format/SampleCrowdsale/SampleCrowdsale.sol +0 -48
  769. package/tests/format/SampleCrowdsale/__snapshots__/jsfmt.spec.js.snap +0 -113
  770. package/tests/format/SampleCrowdsale/jsfmt.spec.js +0 -1
  771. package/tests/format/SimpleAuction/SimpleAuction.sol +0 -123
  772. package/tests/format/SimpleAuction/__snapshots__/jsfmt.spec.js.snap +0 -250
  773. package/tests/format/SimpleAuction/jsfmt.spec.js +0 -1
  774. package/tests/format/SimpleStorage/SimpleStorage.sol +0 -14
  775. package/tests/format/SimpleStorage/__snapshots__/jsfmt.spec.js.snap +0 -41
  776. package/tests/format/SimpleStorage/jsfmt.spec.js +0 -1
  777. package/tests/format/SplittableCommodity/SplittableCommodity.sol +0 -57
  778. package/tests/format/SplittableCommodity/__snapshots__/jsfmt.spec.js.snap +0 -135
  779. package/tests/format/SplittableCommodity/jsfmt.spec.js +0 -1
  780. package/tests/format/StateVariableDeclarations/StateVariableDeclarations.sol +0 -3
  781. package/tests/format/StateVariableDeclarations/__snapshots__/jsfmt.spec.js.snap +0 -20
  782. package/tests/format/StateVariableDeclarations/jsfmt.spec.js +0 -1
  783. package/tests/format/StringLiteral/StringLiteral.sol +0 -11
  784. package/tests/format/StringLiteral/__snapshots__/jsfmt.spec.js.snap +0 -36
  785. package/tests/format/StringLiteral/jsfmt.spec.js +0 -1
  786. package/tests/format/StyleGuide/BlankLines.sol +0 -19
  787. package/tests/format/StyleGuide/ControlStructures.sol +0 -57
  788. package/tests/format/StyleGuide/FunctionDeclaration.sol +0 -135
  789. package/tests/format/StyleGuide/Mappings.sol +0 -9
  790. package/tests/format/StyleGuide/MaximumLineLength.sol +0 -67
  791. package/tests/format/StyleGuide/OtherRecommendations.sol +0 -29
  792. package/tests/format/StyleGuide/VariableDeclarations.sol +0 -6
  793. package/tests/format/StyleGuide/WhitespaceInExpressions.sol +0 -13
  794. package/tests/format/StyleGuide/__snapshots__/jsfmt.spec.js.snap +0 -772
  795. package/tests/format/StyleGuide/jsfmt.spec.js +0 -1
  796. package/tests/format/TryCatch/TryCatch.sol +0 -103
  797. package/tests/format/TryCatch/__snapshots__/jsfmt.spec.js.snap +0 -241
  798. package/tests/format/TryCatch/jsfmt.spec.js +0 -1
  799. package/tests/format/Tupples/Tupples.sol +0 -25
  800. package/tests/format/Tupples/__snapshots__/jsfmt.spec.js.snap +0 -74
  801. package/tests/format/Tupples/jsfmt.spec.js +0 -1
  802. package/tests/format/TypeDefinition/TypeDefinition.sol +0 -12
  803. package/tests/format/TypeDefinition/__snapshots__/jsfmt.spec.js.snap +0 -74
  804. package/tests/format/TypeDefinition/jsfmt.spec.js +0 -1
  805. package/tests/format/WhileStatements/WhileStatements.sol +0 -37
  806. package/tests/format/WhileStatements/__snapshots__/jsfmt.spec.js.snap +0 -110
  807. package/tests/format/WhileStatements/jsfmt.spec.js +0 -1
  808. package/tests/format/WrongCompiler/WrongCompiler.sol +0 -3
  809. package/tests/format/WrongCompiler/__snapshots__/jsfmt.spec.js.snap +0 -55
  810. package/tests/format/WrongCompiler/jsfmt.spec.js +0 -10
  811. package/tests/format/quotes/Quotes.sol +0 -24
  812. package/tests/format/quotes/__snapshots__/jsfmt.spec.js.snap +0 -135
  813. package/tests/format/quotes/jsfmt.spec.js +0 -2
  814. package/tests/format/strings/__snapshots__/jsfmt.spec.js.snap +0 -1579
  815. package/tests/format/strings/jsfmt.spec.js +0 -1
  816. package/tests/format/strings/strings.sol +0 -717
  817. package/tests/unit/binary-operator-printers/__snapshots__/index.test.js.snap +0 -13
  818. package/tests/unit/binary-operator-printers/index.test.js +0 -5
  819. package/tests/unit/comments/printer.test.js +0 -9
  820. package/tests/unit/prettier-version.test.js +0 -26
  821. package/tests/unit/printer.test.js +0 -9
@@ -1,717 +0,0 @@
1
- /*
2
- * @title String & slice utility library for Solidity contracts.
3
- * @author Nick Johnson <arachnid@notdot.net>
4
- *
5
- * @dev Functionality in this library is largely implemented using an
6
- * abstraction called a 'slice'. A slice represents a part of a string -
7
- * anything from the entire string to a single character, or even no
8
- * characters at all (a 0-length slice). Since a slice only has to specify
9
- * an offset and a length, copying and manipulating slices is a lot less
10
- * expensive than copying and manipulating the strings they reference.
11
- *
12
- * To further reduce gas costs, most functions on slice that need to return
13
- * a slice modify the original one instead of allocating a new one; for
14
- * instance, `s.split(".")` will return the text up to the first '.',
15
- * modifying s to only contain the remainder of the string after the '.'.
16
- * In situations where you do not want to modify the original slice, you
17
- * can make a copy first with `.copy()`, for example:
18
- * `s.copy().split(".")`. Try and avoid using this idiom in loops; since
19
- * Solidity has no memory management, it will result in allocating many
20
- * short-lived slices that are later discarded.
21
- *
22
- * Functions that return two slices come in two versions: a non-allocating
23
- * version that takes the second slice as an argument, modifying it in
24
- * place, and an allocating version that allocates and returns the second
25
- * slice; see `nextRune` for example.
26
- *
27
- * Functions that have to copy string data will return strings rather than
28
- * slices; these can be cast back to slices for further processing if
29
- * required.
30
- *
31
- * For convenience, some functions are provided with non-modifying
32
- * variants that create a new slice and return both; for instance,
33
- * `s.splitNew('.')` leaves s unmodified, and returns two values
34
- * corresponding to the left and right parts of the string.
35
- */
36
-
37
- pragma solidity ^0.4.14;
38
-
39
- library strings {
40
- struct slice {
41
- uint _len;
42
- uint _ptr;
43
- }
44
-
45
- function memcpy(uint dest, uint src, uint len) private pure {
46
- // Copy word-length chunks while possible
47
- for(; len >= 32; len -= 32) {
48
- assembly {
49
- mstore(dest, mload(src))
50
- }
51
- dest += 32;
52
- src += 32;
53
- }
54
-
55
- // Copy remaining bytes
56
- uint mask = 256 ** (32 - len) - 1;
57
- assembly {
58
- let srcpart := and(mload(src), not(mask))
59
- let destpart := and(mload(dest), mask)
60
- mstore(dest, or(destpart, srcpart))
61
- }
62
- }
63
-
64
- /*
65
- * @dev Returns a slice containing the entire string.
66
- * @param self The string to make a slice from.
67
- * @return A newly allocated slice containing the entire string.
68
- */
69
- function toSlice(string memory self) internal pure returns (slice memory) {
70
- uint ptr;
71
- assembly {
72
- ptr := add(self, 0x20)
73
- }
74
- return slice(bytes(self).length, ptr);
75
- }
76
-
77
- /*
78
- * @dev Returns the length of a null-terminated bytes32 string.
79
- * @param self The value to find the length of.
80
- * @return The length of the string, from 0 to 32.
81
- */
82
- function len(bytes32 self) internal pure returns (uint) {
83
- uint ret;
84
- if (self == 0)
85
- return 0;
86
- if (self & 0xffffffffffffffffffffffffffffffff == 0) {
87
- ret += 16;
88
- self = bytes32(uint(self) / 0x100000000000000000000000000000000);
89
- }
90
- if (self & 0xffffffffffffffff == 0) {
91
- ret += 8;
92
- self = bytes32(uint(self) / 0x10000000000000000);
93
- }
94
- if (self & 0xffffffff == 0) {
95
- ret += 4;
96
- self = bytes32(uint(self) / 0x100000000);
97
- }
98
- if (self & 0xffff == 0) {
99
- ret += 2;
100
- self = bytes32(uint(self) / 0x10000);
101
- }
102
- if (self & 0xff == 0) {
103
- ret += 1;
104
- }
105
- return 32 - ret;
106
- }
107
-
108
- /*
109
- * @dev Returns a slice containing the entire bytes32, interpreted as a
110
- * null-terminated utf-8 string.
111
- * @param self The bytes32 value to convert to a slice.
112
- * @return A new slice containing the value of the input argument up to the
113
- * first null.
114
- */
115
- function toSliceB32(bytes32 self) internal pure returns (slice memory ret) {
116
- // Allocate space for `self` in memory, copy it there, and point ret at it
117
- assembly {
118
- let ptr := mload(0x40)
119
- mstore(0x40, add(ptr, 0x20))
120
- mstore(ptr, self)
121
- mstore(add(ret, 0x20), ptr)
122
- }
123
- ret._len = len(self);
124
- }
125
-
126
- /*
127
- * @dev Returns a new slice containing the same data as the current slice.
128
- * @param self The slice to copy.
129
- * @return A new slice containing the same data as `self`.
130
- */
131
- function copy(slice memory self) internal pure returns (slice memory) {
132
- return slice(self._len, self._ptr);
133
- }
134
-
135
- /*
136
- * @dev Copies a slice to a new string.
137
- * @param self The slice to copy.
138
- * @return A newly allocated string containing the slice's text.
139
- */
140
- function toString(slice memory self) internal pure returns (string memory) {
141
- string memory ret = new string(self._len);
142
- uint retptr;
143
- assembly { retptr := add(ret, 32) }
144
-
145
- memcpy(retptr, self._ptr, self._len);
146
- return ret;
147
- }
148
-
149
- /*
150
- * @dev Returns the length in runes of the slice. Note that this operation
151
- * takes time proportional to the length of the slice; avoid using it
152
- * in loops, and call `slice.empty()` if you only need to know whether
153
- * the slice is empty or not.
154
- * @param self The slice to operate on.
155
- * @return The length of the slice in runes.
156
- */
157
- function len(slice memory self) internal pure returns (uint l) {
158
- // Starting at ptr-31 means the LSB will be the byte we care about
159
- uint ptr = self._ptr - 31;
160
- uint end = ptr + self._len;
161
- for (l = 0; ptr < end; l++) {
162
- uint8 b;
163
- assembly { b := and(mload(ptr), 0xFF) }
164
- if (b < 0x80) {
165
- ptr += 1;
166
- } else if(b < 0xE0) {
167
- ptr += 2;
168
- } else if(b < 0xF0) {
169
- ptr += 3;
170
- } else if(b < 0xF8) {
171
- ptr += 4;
172
- } else if(b < 0xFC) {
173
- ptr += 5;
174
- } else {
175
- ptr += 6;
176
- }
177
- }
178
- }
179
-
180
- /*
181
- * @dev Returns true if the slice is empty (has a length of 0).
182
- * @param self The slice to operate on.
183
- * @return True if the slice is empty, False otherwise.
184
- */
185
- function empty(slice memory self) internal pure returns (bool) {
186
- return self._len == 0;
187
- }
188
-
189
- /*
190
- * @dev Returns a positive number if `other` comes lexicographically after
191
- * `self`, a negative number if it comes before, or zero if the
192
- * contents of the two slices are equal. Comparison is done per-rune,
193
- * on unicode codepoints.
194
- * @param self The first slice to compare.
195
- * @param other The second slice to compare.
196
- * @return The result of the comparison.
197
- */
198
- function compare(slice memory self, slice memory other) internal pure returns (int) {
199
- uint shortest = self._len;
200
- if (other._len < self._len)
201
- shortest = other._len;
202
-
203
- uint selfptr = self._ptr;
204
- uint otherptr = other._ptr;
205
- for (uint idx = 0; idx < shortest; idx += 32) {
206
- uint a;
207
- uint b;
208
- assembly {
209
- a := mload(selfptr)
210
- b := mload(otherptr)
211
- }
212
- if (a != b) {
213
- // Mask out irrelevant bytes and check again
214
- uint256 mask = uint256(-1); // 0xffff...
215
- if(shortest < 32) {
216
- mask = ~(2 ** (8 * (32 - shortest + idx)) - 1);
217
- }
218
- uint256 diff = (a & mask) - (b & mask);
219
- if (diff != 0)
220
- return int(diff);
221
- }
222
- selfptr += 32;
223
- otherptr += 32;
224
- }
225
- return int(self._len) - int(other._len);
226
- }
227
-
228
- /*
229
- * @dev Returns true if the two slices contain the same text.
230
- * @param self The first slice to compare.
231
- * @param self The second slice to compare.
232
- * @return True if the slices are equal, false otherwise.
233
- */
234
- function equals(slice memory self, slice memory other) internal pure returns (bool) {
235
- return compare(self, other) == 0;
236
- }
237
-
238
- /*
239
- * @dev Extracts the first rune in the slice into `rune`, advancing the
240
- * slice to point to the next rune and returning `self`.
241
- * @param self The slice to operate on.
242
- * @param rune The slice that will contain the first rune.
243
- * @return `rune`.
244
- */
245
- function nextRune(slice memory self, slice memory rune) internal pure returns (slice memory) {
246
- rune._ptr = self._ptr;
247
-
248
- if (self._len == 0) {
249
- rune._len = 0;
250
- return rune;
251
- }
252
-
253
- uint l;
254
- uint b;
255
- // Load the first byte of the rune into the LSBs of b
256
- assembly { b := and(mload(sub(mload(add(self, 32)), 31)), 0xFF) }
257
- if (b < 0x80) {
258
- l = 1;
259
- } else if(b < 0xE0) {
260
- l = 2;
261
- } else if(b < 0xF0) {
262
- l = 3;
263
- } else {
264
- l = 4;
265
- }
266
-
267
- // Check for truncated codepoints
268
- if (l > self._len) {
269
- rune._len = self._len;
270
- self._ptr += self._len;
271
- self._len = 0;
272
- return rune;
273
- }
274
-
275
- self._ptr += l;
276
- self._len -= l;
277
- rune._len = l;
278
- return rune;
279
- }
280
-
281
- /*
282
- * @dev Returns the first rune in the slice, advancing the slice to point
283
- * to the next rune.
284
- * @param self The slice to operate on.
285
- * @return A slice containing only the first rune from `self`.
286
- */
287
- function nextRune(slice memory self) internal pure returns (slice memory ret) {
288
- nextRune(self, ret);
289
- }
290
-
291
- /*
292
- * @dev Returns the number of the first codepoint in the slice.
293
- * @param self The slice to operate on.
294
- * @return The number of the first codepoint in the slice.
295
- */
296
- function ord(slice memory self) internal pure returns (uint ret) {
297
- if (self._len == 0) {
298
- return 0;
299
- }
300
-
301
- uint word;
302
- uint length;
303
- uint divisor = 2 ** 248;
304
-
305
- // Load the rune into the MSBs of b
306
- assembly { word:= mload(mload(add(self, 32))) }
307
- uint b = word / divisor;
308
- if (b < 0x80) {
309
- ret = b;
310
- length = 1;
311
- } else if(b < 0xE0) {
312
- ret = b & 0x1F;
313
- length = 2;
314
- } else if(b < 0xF0) {
315
- ret = b & 0x0F;
316
- length = 3;
317
- } else {
318
- ret = b & 0x07;
319
- length = 4;
320
- }
321
-
322
- // Check for truncated codepoints
323
- if (length > self._len) {
324
- return 0;
325
- }
326
-
327
- for (uint i = 1; i < length; i++) {
328
- divisor = divisor / 256;
329
- b = (word / divisor) & 0xFF;
330
- if (b & 0xC0 != 0x80) {
331
- // Invalid UTF-8 sequence
332
- return 0;
333
- }
334
- ret = (ret * 64) | (b & 0x3F);
335
- }
336
-
337
- return ret;
338
- }
339
-
340
- /*
341
- * @dev Returns the keccak-256 hash of the slice.
342
- * @param self The slice to hash.
343
- * @return The hash of the slice.
344
- */
345
- function keccak(slice memory self) internal pure returns (bytes32 ret) {
346
- assembly {
347
- ret := keccak256(mload(add(self, 32)), mload(self))
348
- }
349
- }
350
-
351
- /*
352
- * @dev Returns true if `self` starts with `needle`.
353
- * @param self The slice to operate on.
354
- * @param needle The slice to search for.
355
- * @return True if the slice starts with the provided text, false otherwise.
356
- */
357
- function startsWith(slice memory self, slice memory needle) internal pure returns (bool) {
358
- if (self._len < needle._len) {
359
- return false;
360
- }
361
-
362
- if (self._ptr == needle._ptr) {
363
- return true;
364
- }
365
-
366
- bool equal;
367
- assembly {
368
- let length := mload(needle)
369
- let selfptr := mload(add(self, 0x20))
370
- let needleptr := mload(add(needle, 0x20))
371
- equal := eq(keccak256(selfptr, length), keccak256(needleptr, length))
372
- }
373
- return equal;
374
- }
375
-
376
- /*
377
- * @dev If `self` starts with `needle`, `needle` is removed from the
378
- * beginning of `self`. Otherwise, `self` is unmodified.
379
- * @param self The slice to operate on.
380
- * @param needle The slice to search for.
381
- * @return `self`
382
- */
383
- function beyond(slice memory self, slice memory needle) internal pure returns (slice memory) {
384
- if (self._len < needle._len) {
385
- return self;
386
- }
387
-
388
- bool equal = true;
389
- if (self._ptr != needle._ptr) {
390
- assembly {
391
- let length := mload(needle)
392
- let selfptr := mload(add(self, 0x20))
393
- let needleptr := mload(add(needle, 0x20))
394
- equal := eq(keccak256(selfptr, length), keccak256(needleptr, length))
395
- }
396
- }
397
-
398
- if (equal) {
399
- self._len -= needle._len;
400
- self._ptr += needle._len;
401
- }
402
-
403
- return self;
404
- }
405
-
406
- /*
407
- * @dev Returns true if the slice ends with `needle`.
408
- * @param self The slice to operate on.
409
- * @param needle The slice to search for.
410
- * @return True if the slice starts with the provided text, false otherwise.
411
- */
412
- function endsWith(slice memory self, slice memory needle) internal pure returns (bool) {
413
- if (self._len < needle._len) {
414
- return false;
415
- }
416
-
417
- uint selfptr = self._ptr + self._len - needle._len;
418
-
419
- if (selfptr == needle._ptr) {
420
- return true;
421
- }
422
-
423
- bool equal;
424
- assembly {
425
- let length := mload(needle)
426
- let needleptr := mload(add(needle, 0x20))
427
- equal := eq(keccak256(selfptr, length), keccak256(needleptr, length))
428
- }
429
-
430
- return equal;
431
- }
432
-
433
- /*
434
- * @dev If `self` ends with `needle`, `needle` is removed from the
435
- * end of `self`. Otherwise, `self` is unmodified.
436
- * @param self The slice to operate on.
437
- * @param needle The slice to search for.
438
- * @return `self`
439
- */
440
- function until(slice memory self, slice memory needle) internal pure returns (slice memory) {
441
- if (self._len < needle._len) {
442
- return self;
443
- }
444
-
445
- uint selfptr = self._ptr + self._len - needle._len;
446
- bool equal = true;
447
- if (selfptr != needle._ptr) {
448
- assembly {
449
- let length := mload(needle)
450
- let needleptr := mload(add(needle, 0x20))
451
- equal := eq(keccak256(selfptr, length), keccak256(needleptr, length))
452
- }
453
- }
454
-
455
- if (equal) {
456
- self._len -= needle._len;
457
- }
458
-
459
- return self;
460
- }
461
-
462
- // Returns the memory address of the first byte of the first occurrence of
463
- // `needle` in `self`, or the first byte after `self` if not found.
464
- function findPtr(uint selflen, uint selfptr, uint needlelen, uint needleptr) private pure returns (uint) {
465
- uint ptr = selfptr;
466
- uint idx;
467
-
468
- if (needlelen <= selflen) {
469
- if (needlelen <= 32) {
470
- bytes32 mask = bytes32(~(2 ** (8 * (32 - needlelen)) - 1));
471
-
472
- bytes32 needledata;
473
- assembly { needledata := and(mload(needleptr), mask) }
474
-
475
- uint end = selfptr + selflen - needlelen;
476
- bytes32 ptrdata;
477
- assembly { ptrdata := and(mload(ptr), mask) }
478
-
479
- while (ptrdata != needledata) {
480
- if (ptr >= end)
481
- return selfptr + selflen;
482
- ptr++;
483
- assembly { ptrdata := and(mload(ptr), mask) }
484
- }
485
- return ptr;
486
- } else {
487
- // For long needles, use hashing
488
- bytes32 hash;
489
- assembly { hash := keccak256(needleptr, needlelen) }
490
-
491
- for (idx = 0; idx <= selflen - needlelen; idx++) {
492
- bytes32 testHash;
493
- assembly { testHash := keccak256(ptr, needlelen) }
494
- if (hash == testHash)
495
- return ptr;
496
- ptr += 1;
497
- }
498
- }
499
- }
500
- return selfptr + selflen;
501
- }
502
-
503
- // Returns the memory address of the first byte after the last occurrence of
504
- // `needle` in `self`, or the address of `self` if not found.
505
- function rfindPtr(uint selflen, uint selfptr, uint needlelen, uint needleptr) private pure returns (uint) {
506
- uint ptr;
507
-
508
- if (needlelen <= selflen) {
509
- if (needlelen <= 32) {
510
- bytes32 mask = bytes32(~(2 ** (8 * (32 - needlelen)) - 1));
511
-
512
- bytes32 needledata;
513
- assembly { needledata := and(mload(needleptr), mask) }
514
-
515
- ptr = selfptr + selflen - needlelen;
516
- bytes32 ptrdata;
517
- assembly { ptrdata := and(mload(ptr), mask) }
518
-
519
- while (ptrdata != needledata) {
520
- if (ptr <= selfptr)
521
- return selfptr;
522
- ptr--;
523
- assembly { ptrdata := and(mload(ptr), mask) }
524
- }
525
- return ptr + needlelen;
526
- } else {
527
- // For long needles, use hashing
528
- bytes32 hash;
529
- assembly { hash := keccak256(needleptr, needlelen) }
530
- ptr = selfptr + (selflen - needlelen);
531
- while (ptr >= selfptr) {
532
- bytes32 testHash;
533
- assembly { testHash := keccak256(ptr, needlelen) }
534
- if (hash == testHash)
535
- return ptr + needlelen;
536
- ptr -= 1;
537
- }
538
- }
539
- }
540
- return selfptr;
541
- }
542
-
543
- /*
544
- * @dev Modifies `self` to contain everything from the first occurrence of
545
- * `needle` to the end of the slice. `self` is set to the empty slice
546
- * if `needle` is not found.
547
- * @param self The slice to search and modify.
548
- * @param needle The text to search for.
549
- * @return `self`.
550
- */
551
- function find(slice memory self, slice memory needle) internal pure returns (slice memory) {
552
- uint ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr);
553
- self._len -= ptr - self._ptr;
554
- self._ptr = ptr;
555
- return self;
556
- }
557
-
558
- /*
559
- * @dev Modifies `self` to contain the part of the string from the start of
560
- * `self` to the end of the first occurrence of `needle`. If `needle`
561
- * is not found, `self` is set to the empty slice.
562
- * @param self The slice to search and modify.
563
- * @param needle The text to search for.
564
- * @return `self`.
565
- */
566
- function rfind(slice memory self, slice memory needle) internal pure returns (slice memory) {
567
- uint ptr = rfindPtr(self._len, self._ptr, needle._len, needle._ptr);
568
- self._len = ptr - self._ptr;
569
- return self;
570
- }
571
-
572
- /*
573
- * @dev Splits the slice, setting `self` to everything after the first
574
- * occurrence of `needle`, and `token` to everything before it. If
575
- * `needle` does not occur in `self`, `self` is set to the empty slice,
576
- * and `token` is set to the entirety of `self`.
577
- * @param self The slice to split.
578
- * @param needle The text to search for in `self`.
579
- * @param token An output parameter to which the first token is written.
580
- * @return `token`.
581
- */
582
- function split(slice memory self, slice memory needle, slice memory token) internal pure returns (slice memory) {
583
- uint ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr);
584
- token._ptr = self._ptr;
585
- token._len = ptr - self._ptr;
586
- if (ptr == self._ptr + self._len) {
587
- // Not found
588
- self._len = 0;
589
- } else {
590
- self._len -= token._len + needle._len;
591
- self._ptr = ptr + needle._len;
592
- }
593
- return token;
594
- }
595
-
596
- /*
597
- * @dev Splits the slice, setting `self` to everything after the first
598
- * occurrence of `needle`, and returning everything before it. If
599
- * `needle` does not occur in `self`, `self` is set to the empty slice,
600
- * and the entirety of `self` is returned.
601
- * @param self The slice to split.
602
- * @param needle The text to search for in `self`.
603
- * @return The part of `self` up to the first occurrence of `delim`.
604
- */
605
- function split(slice memory self, slice memory needle) internal pure returns (slice memory token) {
606
- split(self, needle, token);
607
- }
608
-
609
- /*
610
- * @dev Splits the slice, setting `self` to everything before the last
611
- * occurrence of `needle`, and `token` to everything after it. If
612
- * `needle` does not occur in `self`, `self` is set to the empty slice,
613
- * and `token` is set to the entirety of `self`.
614
- * @param self The slice to split.
615
- * @param needle The text to search for in `self`.
616
- * @param token An output parameter to which the first token is written.
617
- * @return `token`.
618
- */
619
- function rsplit(slice memory self, slice memory needle, slice memory token) internal pure returns (slice memory) {
620
- uint ptr = rfindPtr(self._len, self._ptr, needle._len, needle._ptr);
621
- token._ptr = ptr;
622
- token._len = self._len - (ptr - self._ptr);
623
- if (ptr == self._ptr) {
624
- // Not found
625
- self._len = 0;
626
- } else {
627
- self._len -= token._len + needle._len;
628
- }
629
- return token;
630
- }
631
-
632
- /*
633
- * @dev Splits the slice, setting `self` to everything before the last
634
- * occurrence of `needle`, and returning everything after it. If
635
- * `needle` does not occur in `self`, `self` is set to the empty slice,
636
- * and the entirety of `self` is returned.
637
- * @param self The slice to split.
638
- * @param needle The text to search for in `self`.
639
- * @return The part of `self` after the last occurrence of `delim`.
640
- */
641
- function rsplit(slice memory self, slice memory needle) internal pure returns (slice memory token) {
642
- rsplit(self, needle, token);
643
- }
644
-
645
- /*
646
- * @dev Counts the number of nonoverlapping occurrences of `needle` in `self`.
647
- * @param self The slice to search.
648
- * @param needle The text to search for in `self`.
649
- * @return The number of occurrences of `needle` found in `self`.
650
- */
651
- function count(slice memory self, slice memory needle) internal pure returns (uint cnt) {
652
- uint ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr) + needle._len;
653
- while (ptr <= self._ptr + self._len) {
654
- cnt++;
655
- ptr = findPtr(self._len - (ptr - self._ptr), ptr, needle._len, needle._ptr) + needle._len;
656
- }
657
- }
658
-
659
- /*
660
- * @dev Returns True if `self` contains `needle`.
661
- * @param self The slice to search.
662
- * @param needle The text to search for in `self`.
663
- * @return True if `needle` is found in `self`, false otherwise.
664
- */
665
- function contains(slice memory self, slice memory needle) internal pure returns (bool) {
666
- return rfindPtr(self._len, self._ptr, needle._len, needle._ptr) != self._ptr;
667
- }
668
-
669
- /*
670
- * @dev Returns a newly allocated string containing the concatenation of
671
- * `self` and `other`.
672
- * @param self The first slice to concatenate.
673
- * @param other The second slice to concatenate.
674
- * @return The concatenation of the two strings.
675
- */
676
- function concat(slice memory self, slice memory other) internal pure returns (string memory) {
677
- string memory ret = new string(self._len + other._len);
678
- uint retptr;
679
- assembly { retptr := add(ret, 32) }
680
- memcpy(retptr, self._ptr, self._len);
681
- memcpy(retptr + self._len, other._ptr, other._len);
682
- return ret;
683
- }
684
-
685
- /*
686
- * @dev Joins an array of slices, using `self` as a delimiter, returning a
687
- * newly allocated string.
688
- * @param self The delimiter to use.
689
- * @param parts A list of slices to join.
690
- * @return A newly allocated string containing all the slices in `parts`,
691
- * joined with `self`.
692
- */
693
- function join(slice memory self, slice[] memory parts) internal pure returns (string memory) {
694
- if (parts.length == 0)
695
- return "";
696
-
697
- uint length = self._len * (parts.length - 1);
698
- for(uint i = 0; i < parts.length; i++) {
699
- length += parts[i]._len;
700
- }
701
-
702
- string memory ret = new string(length);
703
- uint retptr;
704
- assembly { retptr := add(ret, 32) }
705
-
706
- for(i = 0; i < parts.length; i++) {
707
- memcpy(retptr, parts[i]._ptr, parts[i]._len);
708
- retptr += parts[i]._len;
709
- if (i < parts.length - 1) {
710
- memcpy(retptr, self._ptr, self._len);
711
- retptr += self._len;
712
- }
713
- }
714
-
715
- return ret;
716
- }
717
- }