picata 0.0.6__py3-none-any.whl → 0.0.7__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (813) hide show
  1. node_modules/@ampproject/remapping/README.md +218 -0
  2. node_modules/@babel/code-frame/README.md +19 -0
  3. node_modules/@babel/compat-data/README.md +19 -0
  4. node_modules/@babel/core/README.md +19 -0
  5. node_modules/@babel/generator/README.md +19 -0
  6. node_modules/@babel/helper-annotate-as-pure/README.md +19 -0
  7. node_modules/@babel/helper-compilation-targets/README.md +19 -0
  8. node_modules/@babel/helper-create-class-features-plugin/README.md +19 -0
  9. node_modules/@babel/helper-create-regexp-features-plugin/README.md +19 -0
  10. node_modules/@babel/helper-define-polyfill-provider/README.md +15 -0
  11. node_modules/@babel/helper-member-expression-to-functions/README.md +19 -0
  12. node_modules/@babel/helper-module-imports/README.md +19 -0
  13. node_modules/@babel/helper-module-transforms/README.md +19 -0
  14. node_modules/@babel/helper-optimise-call-expression/README.md +19 -0
  15. node_modules/@babel/helper-plugin-utils/README.md +19 -0
  16. node_modules/@babel/helper-remap-async-to-generator/README.md +19 -0
  17. node_modules/@babel/helper-replace-supers/README.md +19 -0
  18. node_modules/@babel/helper-skip-transparent-expression-wrappers/README.md +19 -0
  19. node_modules/@babel/helper-string-parser/README.md +19 -0
  20. node_modules/@babel/helper-validator-identifier/README.md +19 -0
  21. node_modules/@babel/helper-validator-option/README.md +19 -0
  22. node_modules/@babel/helper-wrap-function/README.md +19 -0
  23. node_modules/@babel/helpers/README.md +19 -0
  24. node_modules/@babel/parser/README.md +19 -0
  25. node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key/README.md +19 -0
  26. node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope/README.md +19 -0
  27. node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/README.md +19 -0
  28. node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/README.md +19 -0
  29. node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/README.md +19 -0
  30. node_modules/@babel/plugin-proposal-private-property-in-object/README.md +23 -0
  31. node_modules/@babel/plugin-syntax-import-assertions/README.md +19 -0
  32. node_modules/@babel/plugin-syntax-import-attributes/README.md +19 -0
  33. node_modules/@babel/plugin-syntax-jsx/README.md +19 -0
  34. node_modules/@babel/plugin-syntax-typescript/README.md +19 -0
  35. node_modules/@babel/plugin-syntax-unicode-sets-regex/README.md +19 -0
  36. node_modules/@babel/plugin-transform-arrow-functions/README.md +19 -0
  37. node_modules/@babel/plugin-transform-async-generator-functions/README.md +19 -0
  38. node_modules/@babel/plugin-transform-async-to-generator/README.md +19 -0
  39. node_modules/@babel/plugin-transform-block-scoped-functions/README.md +19 -0
  40. node_modules/@babel/plugin-transform-block-scoping/README.md +19 -0
  41. node_modules/@babel/plugin-transform-class-properties/README.md +19 -0
  42. node_modules/@babel/plugin-transform-class-static-block/README.md +19 -0
  43. node_modules/@babel/plugin-transform-classes/README.md +19 -0
  44. node_modules/@babel/plugin-transform-computed-properties/README.md +19 -0
  45. node_modules/@babel/plugin-transform-destructuring/README.md +19 -0
  46. node_modules/@babel/plugin-transform-dotall-regex/README.md +19 -0
  47. node_modules/@babel/plugin-transform-duplicate-keys/README.md +19 -0
  48. node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex/README.md +19 -0
  49. node_modules/@babel/plugin-transform-dynamic-import/README.md +19 -0
  50. node_modules/@babel/plugin-transform-exponentiation-operator/README.md +19 -0
  51. node_modules/@babel/plugin-transform-export-namespace-from/README.md +19 -0
  52. node_modules/@babel/plugin-transform-for-of/README.md +19 -0
  53. node_modules/@babel/plugin-transform-function-name/README.md +19 -0
  54. node_modules/@babel/plugin-transform-json-strings/README.md +19 -0
  55. node_modules/@babel/plugin-transform-literals/README.md +19 -0
  56. node_modules/@babel/plugin-transform-logical-assignment-operators/README.md +19 -0
  57. node_modules/@babel/plugin-transform-member-expression-literals/README.md +19 -0
  58. node_modules/@babel/plugin-transform-modules-amd/README.md +19 -0
  59. node_modules/@babel/plugin-transform-modules-commonjs/README.md +19 -0
  60. node_modules/@babel/plugin-transform-modules-systemjs/README.md +19 -0
  61. node_modules/@babel/plugin-transform-modules-umd/README.md +19 -0
  62. node_modules/@babel/plugin-transform-named-capturing-groups-regex/README.md +19 -0
  63. node_modules/@babel/plugin-transform-new-target/README.md +19 -0
  64. node_modules/@babel/plugin-transform-nullish-coalescing-operator/README.md +19 -0
  65. node_modules/@babel/plugin-transform-numeric-separator/README.md +19 -0
  66. node_modules/@babel/plugin-transform-object-rest-spread/README.md +19 -0
  67. node_modules/@babel/plugin-transform-object-super/README.md +19 -0
  68. node_modules/@babel/plugin-transform-optional-catch-binding/README.md +19 -0
  69. node_modules/@babel/plugin-transform-optional-chaining/README.md +19 -0
  70. node_modules/@babel/plugin-transform-parameters/README.md +19 -0
  71. node_modules/@babel/plugin-transform-private-methods/README.md +19 -0
  72. node_modules/@babel/plugin-transform-private-property-in-object/README.md +19 -0
  73. node_modules/@babel/plugin-transform-property-literals/README.md +19 -0
  74. node_modules/@babel/plugin-transform-react-display-name/README.md +19 -0
  75. node_modules/@babel/plugin-transform-react-jsx/README.md +19 -0
  76. node_modules/@babel/plugin-transform-react-jsx-development/README.md +19 -0
  77. node_modules/@babel/plugin-transform-react-pure-annotations/README.md +19 -0
  78. node_modules/@babel/plugin-transform-regenerator/README.md +19 -0
  79. node_modules/@babel/plugin-transform-regexp-modifiers/README.md +19 -0
  80. node_modules/@babel/plugin-transform-reserved-words/README.md +19 -0
  81. node_modules/@babel/plugin-transform-shorthand-properties/README.md +19 -0
  82. node_modules/@babel/plugin-transform-spread/README.md +19 -0
  83. node_modules/@babel/plugin-transform-sticky-regex/README.md +19 -0
  84. node_modules/@babel/plugin-transform-template-literals/README.md +19 -0
  85. node_modules/@babel/plugin-transform-typeof-symbol/README.md +19 -0
  86. node_modules/@babel/plugin-transform-typescript/README.md +19 -0
  87. node_modules/@babel/plugin-transform-unicode-escapes/README.md +19 -0
  88. node_modules/@babel/plugin-transform-unicode-property-regex/README.md +19 -0
  89. node_modules/@babel/plugin-transform-unicode-regex/README.md +19 -0
  90. node_modules/@babel/plugin-transform-unicode-sets-regex/README.md +19 -0
  91. node_modules/@babel/preset-env/README.md +19 -0
  92. node_modules/@babel/preset-modules/README.md +171 -0
  93. node_modules/@babel/preset-react/README.md +19 -0
  94. node_modules/@babel/preset-typescript/README.md +19 -0
  95. node_modules/@babel/runtime/README.md +19 -0
  96. node_modules/@babel/template/README.md +19 -0
  97. node_modules/@babel/traverse/README.md +19 -0
  98. node_modules/@babel/types/README.md +19 -0
  99. node_modules/@csstools/cascade-layer-name-parser/LICENSE.md +20 -0
  100. node_modules/@csstools/cascade-layer-name-parser/README.md +32 -0
  101. node_modules/@csstools/color-helpers/LICENSE.md +18 -0
  102. node_modules/@csstools/color-helpers/README.md +32 -0
  103. node_modules/@csstools/css-calc/LICENSE.md +20 -0
  104. node_modules/@csstools/css-calc/README.md +132 -0
  105. node_modules/@csstools/css-color-parser/LICENSE.md +20 -0
  106. node_modules/@csstools/css-color-parser/README.md +37 -0
  107. node_modules/@csstools/css-parser-algorithms/LICENSE.md +20 -0
  108. node_modules/@csstools/css-parser-algorithms/README.md +119 -0
  109. node_modules/@csstools/css-tokenizer/LICENSE.md +20 -0
  110. node_modules/@csstools/css-tokenizer/README.md +111 -0
  111. node_modules/@csstools/media-query-list-parser/LICENSE.md +20 -0
  112. node_modules/@csstools/media-query-list-parser/README.md +61 -0
  113. node_modules/@csstools/postcss-cascade-layers/LICENSE.md +18 -0
  114. node_modules/@csstools/postcss-cascade-layers/README.md +194 -0
  115. node_modules/@csstools/postcss-cascade-layers/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
  116. node_modules/@csstools/postcss-cascade-layers/node_modules/@csstools/selector-specificity/README.md +57 -0
  117. node_modules/@csstools/postcss-cascade-layers/node_modules/postcss-selector-parser/README.md +49 -0
  118. node_modules/@csstools/postcss-color-function/LICENSE.md +18 -0
  119. node_modules/@csstools/postcss-color-function/README.md +151 -0
  120. node_modules/@csstools/postcss-color-mix-function/LICENSE.md +18 -0
  121. node_modules/@csstools/postcss-color-mix-function/README.md +74 -0
  122. node_modules/@csstools/postcss-content-alt-text/LICENSE.md +18 -0
  123. node_modules/@csstools/postcss-content-alt-text/README.md +122 -0
  124. node_modules/@csstools/postcss-exponential-functions/LICENSE.md +18 -0
  125. node_modules/@csstools/postcss-exponential-functions/README.md +91 -0
  126. node_modules/@csstools/postcss-font-format-keywords/LICENSE.md +18 -0
  127. node_modules/@csstools/postcss-font-format-keywords/README.md +88 -0
  128. node_modules/@csstools/postcss-gamut-mapping/LICENSE.md +18 -0
  129. node_modules/@csstools/postcss-gamut-mapping/README.md +71 -0
  130. node_modules/@csstools/postcss-gradients-interpolation-method/LICENSE.md +18 -0
  131. node_modules/@csstools/postcss-gradients-interpolation-method/README.md +160 -0
  132. node_modules/@csstools/postcss-hwb-function/LICENSE.md +18 -0
  133. node_modules/@csstools/postcss-hwb-function/README.md +88 -0
  134. node_modules/@csstools/postcss-ic-unit/LICENSE.md +18 -0
  135. node_modules/@csstools/postcss-ic-unit/README.md +96 -0
  136. node_modules/@csstools/postcss-initial/LICENSE.md +18 -0
  137. node_modules/@csstools/postcss-initial/README.md +74 -0
  138. node_modules/@csstools/postcss-is-pseudo-class/LICENSE.md +18 -0
  139. node_modules/@csstools/postcss-is-pseudo-class/README.md +253 -0
  140. node_modules/@csstools/postcss-is-pseudo-class/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
  141. node_modules/@csstools/postcss-is-pseudo-class/node_modules/@csstools/selector-specificity/README.md +57 -0
  142. node_modules/@csstools/postcss-is-pseudo-class/node_modules/postcss-selector-parser/README.md +49 -0
  143. node_modules/@csstools/postcss-light-dark-function/LICENSE.md +18 -0
  144. node_modules/@csstools/postcss-light-dark-function/README.md +174 -0
  145. node_modules/@csstools/postcss-logical-float-and-clear/LICENSE.md +18 -0
  146. node_modules/@csstools/postcss-logical-float-and-clear/README.md +86 -0
  147. node_modules/@csstools/postcss-logical-overflow/LICENSE.md +18 -0
  148. node_modules/@csstools/postcss-logical-overflow/README.md +96 -0
  149. node_modules/@csstools/postcss-logical-overscroll-behavior/LICENSE.md +18 -0
  150. node_modules/@csstools/postcss-logical-overscroll-behavior/README.md +96 -0
  151. node_modules/@csstools/postcss-logical-resize/LICENSE.md +18 -0
  152. node_modules/@csstools/postcss-logical-resize/README.md +99 -0
  153. node_modules/@csstools/postcss-logical-viewport-units/LICENSE.md +18 -0
  154. node_modules/@csstools/postcss-logical-viewport-units/README.md +105 -0
  155. node_modules/@csstools/postcss-media-minmax/LICENSE.md +21 -0
  156. node_modules/@csstools/postcss-media-minmax/README.md +54 -0
  157. node_modules/@csstools/postcss-media-queries-aspect-ratio-number-values/LICENSE.md +18 -0
  158. node_modules/@csstools/postcss-media-queries-aspect-ratio-number-values/README.md +62 -0
  159. node_modules/@csstools/postcss-nested-calc/LICENSE.md +18 -0
  160. node_modules/@csstools/postcss-nested-calc/README.md +71 -0
  161. node_modules/@csstools/postcss-normalize-display-values/LICENSE.md +18 -0
  162. node_modules/@csstools/postcss-normalize-display-values/README.md +88 -0
  163. node_modules/@csstools/postcss-oklab-function/LICENSE.md +18 -0
  164. node_modules/@csstools/postcss-oklab-function/README.md +173 -0
  165. node_modules/@csstools/postcss-progressive-custom-properties/LICENSE.md +18 -0
  166. node_modules/@csstools/postcss-progressive-custom-properties/README.md +122 -0
  167. node_modules/@csstools/postcss-random-function/LICENSE.md +18 -0
  168. node_modules/@csstools/postcss-random-function/README.md +121 -0
  169. node_modules/@csstools/postcss-relative-color-syntax/LICENSE.md +18 -0
  170. node_modules/@csstools/postcss-relative-color-syntax/README.md +74 -0
  171. node_modules/@csstools/postcss-scope-pseudo-class/LICENSE.md +18 -0
  172. node_modules/@csstools/postcss-scope-pseudo-class/README.md +73 -0
  173. node_modules/@csstools/postcss-scope-pseudo-class/node_modules/postcss-selector-parser/README.md +49 -0
  174. node_modules/@csstools/postcss-sign-functions/LICENSE.md +18 -0
  175. node_modules/@csstools/postcss-sign-functions/README.md +184 -0
  176. node_modules/@csstools/postcss-stepped-value-functions/LICENSE.md +18 -0
  177. node_modules/@csstools/postcss-stepped-value-functions/README.md +107 -0
  178. node_modules/@csstools/postcss-text-decoration-shorthand/LICENSE.md +18 -0
  179. node_modules/@csstools/postcss-text-decoration-shorthand/README.md +75 -0
  180. node_modules/@csstools/postcss-trigonometric-functions/LICENSE.md +18 -0
  181. node_modules/@csstools/postcss-trigonometric-functions/README.md +149 -0
  182. node_modules/@csstools/postcss-unset-value/LICENSE.md +18 -0
  183. node_modules/@csstools/postcss-unset-value/README.md +120 -0
  184. node_modules/@csstools/utilities/LICENSE.md +18 -0
  185. node_modules/@csstools/utilities/README.md +25 -0
  186. node_modules/@discoveryjs/json-ext/README.md +256 -0
  187. node_modules/@eslint/config-array/README.md +358 -0
  188. node_modules/@eslint/core/README.md +29 -0
  189. node_modules/@eslint/eslintrc/README.md +126 -0
  190. node_modules/@eslint/js/README.md +60 -0
  191. node_modules/@eslint/object-schema/README.md +242 -0
  192. node_modules/@eslint/plugin-kit/README.md +273 -0
  193. node_modules/@eslint-community/eslint-utils/README.md +37 -0
  194. node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/README.md +105 -0
  195. node_modules/@eslint-community/regexpp/README.md +177 -0
  196. node_modules/@humanfs/core/README.md +140 -0
  197. node_modules/@humanfs/node/README.md +141 -0
  198. node_modules/@humanfs/node/node_modules/@humanwhocodes/retry/README.md +138 -0
  199. node_modules/@humanwhocodes/module-importer/README.md +80 -0
  200. node_modules/@humanwhocodes/retry/README.md +177 -0
  201. node_modules/@isaacs/cliui/README.md +143 -0
  202. node_modules/@jest/schemas/README.md +3 -0
  203. node_modules/@jest/types/README.md +30 -0
  204. node_modules/@jridgewell/gen-mapping/README.md +227 -0
  205. node_modules/@jridgewell/resolve-uri/README.md +40 -0
  206. node_modules/@jridgewell/set-array/README.md +37 -0
  207. node_modules/@jridgewell/source-map/README.md +184 -0
  208. node_modules/@jridgewell/sourcemap-codec/README.md +264 -0
  209. node_modules/@jridgewell/trace-mapping/README.md +257 -0
  210. node_modules/@nodelib/fs.scandir/README.md +171 -0
  211. node_modules/@nodelib/fs.stat/README.md +126 -0
  212. node_modules/@nodelib/fs.walk/README.md +215 -0
  213. node_modules/@parcel/watcher/README.md +135 -0
  214. node_modules/@parcel/watcher-linux-x64-glibc/README.md +1 -0
  215. node_modules/@pkgjs/parseargs/README.md +413 -0
  216. node_modules/@tailwindcss/typography/README.md +398 -0
  217. node_modules/@trysound/sax/README.md +202 -0
  218. node_modules/@types/eslint/README.md +15 -0
  219. node_modules/@types/eslint-scope/README.md +90 -0
  220. node_modules/@types/estree/README.md +15 -0
  221. node_modules/@types/istanbul-lib-coverage/README.md +15 -0
  222. node_modules/@types/istanbul-lib-report/README.md +15 -0
  223. node_modules/@types/istanbul-reports/README.md +86 -0
  224. node_modules/@types/json-schema/README.md +15 -0
  225. node_modules/@types/node/README.md +15 -0
  226. node_modules/@types/react/README.md +15 -0
  227. node_modules/@types/react-dom/README.md +16 -0
  228. node_modules/@types/yargs/README.md +15 -0
  229. node_modules/@types/yargs-parser/README.md +15 -0
  230. node_modules/@typescript-eslint/eslint-plugin/README.md +12 -0
  231. node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +57 -0
  232. node_modules/@typescript-eslint/parser/README.md +12 -0
  233. node_modules/@typescript-eslint/scope-manager/README.md +10 -0
  234. node_modules/@typescript-eslint/type-utils/README.md +12 -0
  235. node_modules/@typescript-eslint/types/README.md +12 -0
  236. node_modules/@typescript-eslint/typescript-estree/README.md +14 -0
  237. node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/README.md +135 -0
  238. node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/README.md +454 -0
  239. node_modules/@typescript-eslint/typescript-estree/node_modules/semver/README.md +654 -0
  240. node_modules/@typescript-eslint/utils/README.md +12 -0
  241. node_modules/@typescript-eslint/visitor-keys/README.md +10 -0
  242. node_modules/@webassemblyjs/ast/README.md +167 -0
  243. node_modules/@webassemblyjs/floating-point-hex-parser/README.md +34 -0
  244. node_modules/@webassemblyjs/wasm-edit/README.md +86 -0
  245. node_modules/@webassemblyjs/wasm-parser/README.md +28 -0
  246. node_modules/@webassemblyjs/wast-printer/README.md +17 -0
  247. node_modules/@webpack-cli/configtest/README.md +31 -0
  248. node_modules/@webpack-cli/info/README.md +54 -0
  249. node_modules/@webpack-cli/serve/README.md +32 -0
  250. node_modules/@xtuc/ieee754/README.md +51 -0
  251. node_modules/@xtuc/long/README.md +257 -0
  252. node_modules/acorn/README.md +282 -0
  253. node_modules/acorn-jsx/README.md +40 -0
  254. node_modules/ajv/README.md +1497 -0
  255. node_modules/ajv/lib/dotjs/README.md +3 -0
  256. node_modules/ajv-formats/README.md +123 -0
  257. node_modules/ajv-formats/node_modules/ajv/README.md +207 -0
  258. node_modules/ajv-formats/node_modules/json-schema-traverse/README.md +95 -0
  259. node_modules/ajv-keywords/README.md +836 -0
  260. node_modules/ajv-keywords/keywords/dotjs/README.md +3 -0
  261. node_modules/any-promise/README.md +161 -0
  262. node_modules/anymatch/README.md +87 -0
  263. node_modules/arg/LICENSE.md +21 -0
  264. node_modules/arg/README.md +317 -0
  265. node_modules/argparse/README.md +84 -0
  266. node_modules/array-buffer-byte-length/README.md +40 -0
  267. node_modules/array-includes/README.md +105 -0
  268. node_modules/array.prototype.findlast/README.md +74 -0
  269. node_modules/array.prototype.flat/README.md +75 -0
  270. node_modules/array.prototype.flatmap/README.md +82 -0
  271. node_modules/array.prototype.tosorted/README.md +71 -0
  272. node_modules/arraybuffer.prototype.slice/README.md +61 -0
  273. node_modules/async-function/README.md +51 -0
  274. node_modules/autoprefixer/README.md +66 -0
  275. node_modules/available-typed-arrays/README.md +55 -0
  276. node_modules/babel-loader/README.md +411 -0
  277. node_modules/babel-plugin-polyfill-corejs2/README.md +28 -0
  278. node_modules/babel-plugin-polyfill-corejs3/README.md +78 -0
  279. node_modules/babel-plugin-polyfill-corejs3/core-js-compat/README.md +4 -0
  280. node_modules/babel-plugin-polyfill-regenerator/README.md +28 -0
  281. node_modules/balanced-match/LICENSE.md +21 -0
  282. node_modules/balanced-match/README.md +97 -0
  283. node_modules/boolbase/README.md +10 -0
  284. node_modules/brace-expansion/README.md +129 -0
  285. node_modules/braces/README.md +586 -0
  286. node_modules/browserslist/README.md +67 -0
  287. node_modules/call-bind/README.md +64 -0
  288. node_modules/call-bind-apply-helpers/README.md +62 -0
  289. node_modules/call-bound/README.md +53 -0
  290. node_modules/camelcase-css/README.md +27 -0
  291. node_modules/caniuse-api/README.md +157 -0
  292. node_modules/caniuse-lite/README.md +6 -0
  293. node_modules/chokidar/README.md +308 -0
  294. node_modules/chokidar-cli/README.md +148 -0
  295. node_modules/chrome-trace-event/README.md +31 -0
  296. node_modules/ci-info/README.md +135 -0
  297. node_modules/cliui/README.md +115 -0
  298. node_modules/cliui/node_modules/color-convert/README.md +68 -0
  299. node_modules/cliui/node_modules/color-name/README.md +11 -0
  300. node_modules/cliui/node_modules/emoji-regex/README.md +73 -0
  301. node_modules/clone-deep/README.md +106 -0
  302. node_modules/color-convert/README.md +68 -0
  303. node_modules/color-name/README.md +11 -0
  304. node_modules/colord/LICENSE.md +21 -0
  305. node_modules/colord/README.md +1053 -0
  306. node_modules/colorette/LICENSE.md +7 -0
  307. node_modules/colorette/README.md +134 -0
  308. node_modules/common-path-prefix/README.md +51 -0
  309. node_modules/concurrently/README.md +229 -0
  310. node_modules/concurrently/docs/README.md +13 -0
  311. node_modules/concurrently/node_modules/cliui/README.md +141 -0
  312. node_modules/concurrently/node_modules/emoji-regex/README.md +73 -0
  313. node_modules/concurrently/node_modules/y18n/README.md +127 -0
  314. node_modules/concurrently/node_modules/yargs/README.md +204 -0
  315. node_modules/concurrently/node_modules/yargs-parser/README.md +518 -0
  316. node_modules/convert-source-map/README.md +206 -0
  317. node_modules/core-js-compat/README.md +135 -0
  318. node_modules/cosmiconfig/README.md +782 -0
  319. node_modules/cross-spawn/README.md +89 -0
  320. node_modules/css-blank-pseudo/LICENSE.md +18 -0
  321. node_modules/css-blank-pseudo/README.md +205 -0
  322. node_modules/css-blank-pseudo/node_modules/postcss-selector-parser/README.md +49 -0
  323. node_modules/css-has-pseudo/LICENSE.md +18 -0
  324. node_modules/css-has-pseudo/README.md +331 -0
  325. node_modules/css-has-pseudo/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
  326. node_modules/css-has-pseudo/node_modules/@csstools/selector-specificity/README.md +57 -0
  327. node_modules/css-has-pseudo/node_modules/postcss-selector-parser/README.md +49 -0
  328. node_modules/css-loader/README.md +2334 -0
  329. node_modules/css-loader/node_modules/semver/README.md +654 -0
  330. node_modules/css-minimizer-webpack-plugin/README.md +624 -0
  331. node_modules/css-prefers-color-scheme/LICENSE.md +18 -0
  332. node_modules/css-prefers-color-scheme/README.md +341 -0
  333. node_modules/css-select/README.md +264 -0
  334. node_modules/css-selector-tokenizer/README.md +92 -0
  335. node_modules/css-tree/README.md +193 -0
  336. node_modules/cssdb/LICENSE.md +18 -0
  337. node_modules/cssdb/README.md +35 -0
  338. node_modules/cssesc/README.md +201 -0
  339. node_modules/cssnano/README.md +6 -0
  340. node_modules/cssnano-preset-default/README.md +310 -0
  341. node_modules/cssnano-utils/README.md +15 -0
  342. node_modules/csso/README.md +422 -0
  343. node_modules/csso/node_modules/css-tree/README.md +193 -0
  344. node_modules/csso/node_modules/mdn-data/README.md +56 -0
  345. node_modules/csstype/README.md +277 -0
  346. node_modules/culori/README.md +19 -0
  347. node_modules/daisyui/README.md +65 -0
  348. node_modules/data-view-buffer/README.md +43 -0
  349. node_modules/data-view-byte-length/README.md +43 -0
  350. node_modules/data-view-byte-offset/README.md +43 -0
  351. node_modules/debug/README.md +481 -0
  352. node_modules/define-data-property/README.md +67 -0
  353. node_modules/define-properties/README.md +84 -0
  354. node_modules/detect-libc/README.md +78 -0
  355. node_modules/didyoumean/README.md +134 -0
  356. node_modules/dlv/README.md +76 -0
  357. node_modules/doctrine/README.md +165 -0
  358. node_modules/dom-serializer/README.md +109 -0
  359. node_modules/dunder-proto/README.md +54 -0
  360. node_modules/eastasianwidth/README.md +32 -0
  361. node_modules/electron-to-chromium/README.md +186 -0
  362. node_modules/emoji-regex/README.md +137 -0
  363. node_modules/enhanced-resolve/README.md +183 -0
  364. node_modules/envinfo/README.md +286 -0
  365. node_modules/error-ex/README.md +144 -0
  366. node_modules/es-abstract/README.md +43 -0
  367. node_modules/es-define-property/README.md +49 -0
  368. node_modules/es-errors/README.md +55 -0
  369. node_modules/es-iterator-helpers/README.md +110 -0
  370. node_modules/es-module-lexer/README.md +338 -0
  371. node_modules/es-object-atoms/README.md +63 -0
  372. node_modules/es-set-tostringtag/README.md +53 -0
  373. node_modules/es-shim-unscopables/README.md +57 -0
  374. node_modules/es-to-primitive/README.md +52 -0
  375. node_modules/eslint/README.md +329 -0
  376. node_modules/eslint/node_modules/glob-parent/README.md +134 -0
  377. node_modules/eslint-plugin-prettier/LICENSE.md +24 -0
  378. node_modules/eslint-plugin-prettier/README.md +202 -0
  379. node_modules/eslint-plugin-react/README.md +423 -0
  380. node_modules/eslint-plugin-tailwindcss/README.md +307 -0
  381. node_modules/eslint-scope/README.md +108 -0
  382. node_modules/eslint-visitor-keys/README.md +120 -0
  383. node_modules/espree/README.md +261 -0
  384. node_modules/esquery/README.md +27 -0
  385. node_modules/esrecurse/README.md +171 -0
  386. node_modules/estraverse/README.md +153 -0
  387. node_modules/esutils/README.md +174 -0
  388. node_modules/fast-deep-equal/README.md +96 -0
  389. node_modules/fast-diff/README.md +24 -0
  390. node_modules/fast-glob/README.md +830 -0
  391. node_modules/fast-json-stable-stringify/README.md +131 -0
  392. node_modules/fast-levenshtein/LICENSE.md +25 -0
  393. node_modules/fast-levenshtein/README.md +104 -0
  394. node_modules/fast-uri/README.md +130 -0
  395. node_modules/fastest-levenshtein/LICENSE.md +21 -0
  396. node_modules/fastest-levenshtein/README.md +57 -0
  397. node_modules/fastparse/README.md +118 -0
  398. node_modules/fastq/README.md +306 -0
  399. node_modules/file-entry-cache/README.md +115 -0
  400. node_modules/fill-range/README.md +237 -0
  401. node_modules/flat/README.md +236 -0
  402. node_modules/flat-cache/README.md +77 -0
  403. node_modules/flatted/README.md +115 -0
  404. node_modules/for-each/README.md +39 -0
  405. node_modules/foreground-child/README.md +128 -0
  406. node_modules/fraction.js/README.md +466 -0
  407. node_modules/function-bind/README.md +46 -0
  408. node_modules/function.prototype.name/README.md +55 -0
  409. node_modules/functions-have-names/README.md +40 -0
  410. node_modules/gensync/README.md +196 -0
  411. node_modules/get-caller-file/LICENSE.md +6 -0
  412. node_modules/get-caller-file/README.md +41 -0
  413. node_modules/get-intrinsic/README.md +71 -0
  414. node_modules/get-proto/README.md +50 -0
  415. node_modules/get-symbol-description/README.md +43 -0
  416. node_modules/glob/README.md +1265 -0
  417. node_modules/glob/node_modules/brace-expansion/README.md +135 -0
  418. node_modules/glob/node_modules/minimatch/README.md +454 -0
  419. node_modules/glob-parent/README.md +137 -0
  420. node_modules/glob-to-regexp/README.md +75 -0
  421. node_modules/globalthis/README.md +70 -0
  422. node_modules/gonzales-pe/README.md +808 -0
  423. node_modules/gopd/README.md +40 -0
  424. node_modules/graceful-fs/README.md +143 -0
  425. node_modules/graphemer/README.md +132 -0
  426. node_modules/has-bigints/README.md +39 -0
  427. node_modules/has-property-descriptors/README.md +43 -0
  428. node_modules/has-proto/README.md +57 -0
  429. node_modules/has-symbols/README.md +46 -0
  430. node_modules/has-tostringtag/README.md +46 -0
  431. node_modules/hasown/README.md +40 -0
  432. node_modules/hosted-git-info/README.md +133 -0
  433. node_modules/icss-utils/LICENSE.md +6 -0
  434. node_modules/icss-utils/README.md +94 -0
  435. node_modules/ignore/README.md +412 -0
  436. node_modules/immutable/README.md +761 -0
  437. node_modules/imurmurhash/README.md +122 -0
  438. node_modules/internal-slot/README.md +58 -0
  439. node_modules/interpret/README.md +244 -0
  440. node_modules/is-array-buffer/README.md +56 -0
  441. node_modules/is-arrayish/README.md +16 -0
  442. node_modules/is-async-function/README.md +41 -0
  443. node_modules/is-bigint/README.md +44 -0
  444. node_modules/is-boolean-object/README.md +57 -0
  445. node_modules/is-callable/README.md +83 -0
  446. node_modules/is-core-module/README.md +40 -0
  447. node_modules/is-data-view/README.md +69 -0
  448. node_modules/is-date-object/README.md +52 -0
  449. node_modules/is-extglob/README.md +107 -0
  450. node_modules/is-finalizationregistry/README.md +54 -0
  451. node_modules/is-generator-function/README.md +40 -0
  452. node_modules/is-glob/README.md +206 -0
  453. node_modules/is-map/README.md +52 -0
  454. node_modules/is-number/README.md +187 -0
  455. node_modules/is-number-object/README.md +55 -0
  456. node_modules/is-plain-object/README.md +104 -0
  457. node_modules/is-regex/README.md +52 -0
  458. node_modules/is-set/README.md +50 -0
  459. node_modules/is-shared-array-buffer/README.md +56 -0
  460. node_modules/is-string/README.md +56 -0
  461. node_modules/is-symbol/README.md +45 -0
  462. node_modules/is-typed-array/README.md +70 -0
  463. node_modules/is-weakmap/README.md +50 -0
  464. node_modules/is-weakref/README.md +52 -0
  465. node_modules/is-weakset/README.md +50 -0
  466. node_modules/isarray/README.md +38 -0
  467. node_modules/isexe/README.md +51 -0
  468. node_modules/isobject/README.md +122 -0
  469. node_modules/iterator.prototype/README.md +35 -0
  470. node_modules/jackspeak/LICENSE.md +55 -0
  471. node_modules/jackspeak/README.md +357 -0
  472. node_modules/jest-worker/README.md +272 -0
  473. node_modules/jiti/README.md +164 -0
  474. node_modules/js-tokens/README.md +240 -0
  475. node_modules/js-yaml/README.md +246 -0
  476. node_modules/jsesc/README.md +422 -0
  477. node_modules/json-buffer/README.md +24 -0
  478. node_modules/json-parse-better-errors/LICENSE.md +7 -0
  479. node_modules/json-parse-better-errors/README.md +46 -0
  480. node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
  481. node_modules/json-parse-even-better-errors/README.md +96 -0
  482. node_modules/json-schema-traverse/README.md +83 -0
  483. node_modules/json5/LICENSE.md +23 -0
  484. node_modules/json5/README.md +282 -0
  485. node_modules/jsx-ast-utils/LICENSE.md +8 -0
  486. node_modules/jsx-ast-utils/README.md +298 -0
  487. node_modules/keyv/README.md +429 -0
  488. node_modules/kind-of/README.md +367 -0
  489. node_modules/levn/README.md +196 -0
  490. node_modules/lines-and-columns/README.md +33 -0
  491. node_modules/loader-runner/README.md +53 -0
  492. node_modules/lodash/README.md +39 -0
  493. node_modules/lodash.castarray/README.md +18 -0
  494. node_modules/lodash.debounce/README.md +18 -0
  495. node_modules/lodash.isplainobject/README.md +18 -0
  496. node_modules/lodash.memoize/README.md +18 -0
  497. node_modules/lodash.merge/README.md +18 -0
  498. node_modules/lodash.throttle/README.md +18 -0
  499. node_modules/lodash.uniq/README.md +18 -0
  500. node_modules/loose-envify/README.md +45 -0
  501. node_modules/lru-cache/README.md +166 -0
  502. node_modules/math-intrinsics/README.md +50 -0
  503. node_modules/mdn-data/README.md +62 -0
  504. node_modules/memorystream/README.md +93 -0
  505. node_modules/merge-stream/README.md +78 -0
  506. node_modules/merge2/README.md +144 -0
  507. node_modules/micromatch/README.md +1024 -0
  508. node_modules/mime-db/README.md +100 -0
  509. node_modules/mime-types/README.md +113 -0
  510. node_modules/mini-css-extract-plugin/README.md +1296 -0
  511. node_modules/minimatch/README.md +230 -0
  512. node_modules/minimist/README.md +121 -0
  513. node_modules/minipass/README.md +825 -0
  514. node_modules/mz/README.md +106 -0
  515. node_modules/nanoid/README.md +554 -0
  516. node_modules/natural-compare/README.md +125 -0
  517. node_modules/neo-async/README.md +273 -0
  518. node_modules/nice-try/README.md +32 -0
  519. node_modules/node-addon-api/LICENSE.md +9 -0
  520. node_modules/node-addon-api/README.md +319 -0
  521. node_modules/node-addon-api/tools/README.md +73 -0
  522. node_modules/node-releases/README.md +12 -0
  523. node_modules/normalize-package-data/README.md +106 -0
  524. node_modules/normalize-package-data/node_modules/semver/README.md +412 -0
  525. node_modules/normalize-path/README.md +127 -0
  526. node_modules/npm-run-all/README.md +91 -0
  527. node_modules/npm-run-all/node_modules/color-convert/README.md +68 -0
  528. node_modules/npm-run-all/node_modules/color-name/README.md +11 -0
  529. node_modules/npm-run-all/node_modules/cross-spawn/README.md +94 -0
  530. node_modules/npm-run-all/node_modules/semver/README.md +412 -0
  531. node_modules/npm-run-all/node_modules/which/README.md +51 -0
  532. node_modules/nth-check/README.md +136 -0
  533. node_modules/object-keys/README.md +76 -0
  534. node_modules/object.assign/README.md +136 -0
  535. node_modules/object.entries/README.md +58 -0
  536. node_modules/object.fromentries/README.md +50 -0
  537. node_modules/object.values/README.md +58 -0
  538. node_modules/optionator/README.md +238 -0
  539. node_modules/own-keys/README.md +45 -0
  540. node_modules/package-json-from-dist/LICENSE.md +63 -0
  541. node_modules/package-json-from-dist/README.md +110 -0
  542. node_modules/path-parse/README.md +42 -0
  543. node_modules/path-scurry/LICENSE.md +55 -0
  544. node_modules/path-scurry/README.md +636 -0
  545. node_modules/path-scurry/node_modules/lru-cache/README.md +331 -0
  546. node_modules/picocolors/README.md +21 -0
  547. node_modules/picomatch/README.md +708 -0
  548. node_modules/pirates/README.md +69 -0
  549. node_modules/possible-typed-array-names/README.md +48 -0
  550. node_modules/postcss/README.md +28 -0
  551. node_modules/postcss-attribute-case-insensitive/LICENSE.md +20 -0
  552. node_modules/postcss-attribute-case-insensitive/README.md +73 -0
  553. node_modules/postcss-attribute-case-insensitive/node_modules/postcss-selector-parser/README.md +49 -0
  554. node_modules/postcss-calc/README.md +153 -0
  555. node_modules/postcss-calc/node_modules/postcss-selector-parser/README.md +49 -0
  556. node_modules/postcss-clamp/README.md +118 -0
  557. node_modules/postcss-color-functional-notation/LICENSE.md +18 -0
  558. node_modules/postcss-color-functional-notation/README.md +134 -0
  559. node_modules/postcss-color-hex-alpha/LICENSE.md +21 -0
  560. node_modules/postcss-color-hex-alpha/README.md +72 -0
  561. node_modules/postcss-color-rebeccapurple/LICENSE.md +18 -0
  562. node_modules/postcss-color-rebeccapurple/README.md +76 -0
  563. node_modules/postcss-colormin/README.md +45 -0
  564. node_modules/postcss-convert-values/README.md +98 -0
  565. node_modules/postcss-custom-media/LICENSE.md +21 -0
  566. node_modules/postcss-custom-media/README.md +183 -0
  567. node_modules/postcss-custom-properties/LICENSE.md +21 -0
  568. node_modules/postcss-custom-properties/README.md +173 -0
  569. node_modules/postcss-custom-selectors/LICENSE.md +21 -0
  570. node_modules/postcss-custom-selectors/README.md +107 -0
  571. node_modules/postcss-custom-selectors/node_modules/postcss-selector-parser/README.md +49 -0
  572. node_modules/postcss-dir-pseudo-class/LICENSE.md +18 -0
  573. node_modules/postcss-dir-pseudo-class/README.md +193 -0
  574. node_modules/postcss-dir-pseudo-class/node_modules/postcss-selector-parser/README.md +49 -0
  575. node_modules/postcss-discard-comments/README.md +114 -0
  576. node_modules/postcss-discard-comments/node_modules/postcss-selector-parser/README.md +49 -0
  577. node_modules/postcss-discard-duplicates/README.md +70 -0
  578. node_modules/postcss-discard-empty/README.md +49 -0
  579. node_modules/postcss-discard-overridden/README.md +158 -0
  580. node_modules/postcss-double-position-gradients/LICENSE.md +18 -0
  581. node_modules/postcss-double-position-gradients/README.md +129 -0
  582. node_modules/postcss-focus-visible/LICENSE.md +18 -0
  583. node_modules/postcss-focus-visible/README.md +137 -0
  584. node_modules/postcss-focus-visible/node_modules/postcss-selector-parser/README.md +49 -0
  585. node_modules/postcss-focus-within/LICENSE.md +18 -0
  586. node_modules/postcss-focus-within/README.md +196 -0
  587. node_modules/postcss-focus-within/node_modules/postcss-selector-parser/README.md +49 -0
  588. node_modules/postcss-font-variant/README.md +74 -0
  589. node_modules/postcss-gap-properties/LICENSE.md +18 -0
  590. node_modules/postcss-gap-properties/README.md +102 -0
  591. node_modules/postcss-image-set-function/LICENSE.md +18 -0
  592. node_modules/postcss-image-set-function/README.md +164 -0
  593. node_modules/postcss-import/README.md +244 -0
  594. node_modules/postcss-js/README.md +22 -0
  595. node_modules/postcss-lab-function/LICENSE.md +18 -0
  596. node_modules/postcss-lab-function/README.md +156 -0
  597. node_modules/postcss-load-config/README.md +466 -0
  598. node_modules/postcss-loader/README.md +1175 -0
  599. node_modules/postcss-loader/node_modules/semver/README.md +654 -0
  600. node_modules/postcss-logical/LICENSE.md +18 -0
  601. node_modules/postcss-logical/README.md +117 -0
  602. node_modules/postcss-merge-longhand/README.md +50 -0
  603. node_modules/postcss-merge-rules/README.md +105 -0
  604. node_modules/postcss-merge-rules/node_modules/postcss-selector-parser/README.md +49 -0
  605. node_modules/postcss-minify-font-values/README.md +83 -0
  606. node_modules/postcss-minify-gradients/README.md +53 -0
  607. node_modules/postcss-minify-params/README.md +39 -0
  608. node_modules/postcss-minify-selectors/README.md +42 -0
  609. node_modules/postcss-minify-selectors/node_modules/postcss-selector-parser/README.md +49 -0
  610. node_modules/postcss-modules-extract-imports/README.md +76 -0
  611. node_modules/postcss-modules-local-by-default/README.md +123 -0
  612. node_modules/postcss-modules-local-by-default/node_modules/postcss-selector-parser/README.md +49 -0
  613. node_modules/postcss-modules-scope/README.md +100 -0
  614. node_modules/postcss-modules-scope/node_modules/postcss-selector-parser/README.md +49 -0
  615. node_modules/postcss-modules-values/README.md +80 -0
  616. node_modules/postcss-nested/README.md +85 -0
  617. node_modules/postcss-nested/node_modules/postcss-selector-parser/README.md +49 -0
  618. node_modules/postcss-nesting/LICENSE.md +18 -0
  619. node_modules/postcss-nesting/README.md +255 -0
  620. node_modules/postcss-nesting/node_modules/@csstools/selector-resolve-nested/LICENSE.md +18 -0
  621. node_modules/postcss-nesting/node_modules/@csstools/selector-resolve-nested/README.md +33 -0
  622. node_modules/postcss-nesting/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
  623. node_modules/postcss-nesting/node_modules/@csstools/selector-specificity/README.md +57 -0
  624. node_modules/postcss-nesting/node_modules/postcss-selector-parser/README.md +49 -0
  625. node_modules/postcss-normalize-charset/README.md +43 -0
  626. node_modules/postcss-normalize-display-values/README.md +44 -0
  627. node_modules/postcss-normalize-positions/README.md +44 -0
  628. node_modules/postcss-normalize-repeat-style/README.md +44 -0
  629. node_modules/postcss-normalize-string/README.md +59 -0
  630. node_modules/postcss-normalize-timing-functions/README.md +44 -0
  631. node_modules/postcss-normalize-unicode/README.md +46 -0
  632. node_modules/postcss-normalize-url/README.md +48 -0
  633. node_modules/postcss-normalize-whitespace/README.md +44 -0
  634. node_modules/postcss-opacity-percentage/LICENSE.md +9 -0
  635. node_modules/postcss-opacity-percentage/README.md +85 -0
  636. node_modules/postcss-ordered-values/README.md +72 -0
  637. node_modules/postcss-overflow-shorthand/LICENSE.md +18 -0
  638. node_modules/postcss-overflow-shorthand/README.md +74 -0
  639. node_modules/postcss-page-break/README.md +83 -0
  640. node_modules/postcss-place/LICENSE.md +18 -0
  641. node_modules/postcss-place/README.md +81 -0
  642. node_modules/postcss-preset-env/LICENSE.md +18 -0
  643. node_modules/postcss-preset-env/README.md +496 -0
  644. node_modules/postcss-pseudo-class-any-link/LICENSE.md +18 -0
  645. node_modules/postcss-pseudo-class-any-link/README.md +106 -0
  646. node_modules/postcss-pseudo-class-any-link/node_modules/postcss-selector-parser/README.md +49 -0
  647. node_modules/postcss-reduce-initial/README.md +92 -0
  648. node_modules/postcss-reduce-transforms/README.md +47 -0
  649. node_modules/postcss-replace-overflow-wrap/README.md +56 -0
  650. node_modules/postcss-sass/README.md +21 -0
  651. node_modules/postcss-selector-not/LICENSE.md +20 -0
  652. node_modules/postcss-selector-not/README.md +51 -0
  653. node_modules/postcss-selector-not/node_modules/postcss-selector-parser/README.md +49 -0
  654. node_modules/postcss-selector-parser/README.md +49 -0
  655. node_modules/postcss-svgo/README.md +109 -0
  656. node_modules/postcss-unique-selectors/README.md +46 -0
  657. node_modules/postcss-unique-selectors/node_modules/postcss-selector-parser/README.md +49 -0
  658. node_modules/postcss-value-parser/README.md +263 -0
  659. node_modules/prelude-ls/README.md +15 -0
  660. node_modules/prettier/README.md +109 -0
  661. node_modules/prettier-linter-helpers/LICENSE.md +24 -0
  662. node_modules/prettier-linter-helpers/README.md +14 -0
  663. node_modules/prettier-plugin-tailwindcss/README.md +239 -0
  664. node_modules/prettier-plugin-tailwindcss/dist/licenses/@shopify/prettier-plugin-liquid/README.md +158 -0
  665. node_modules/prettier-plugin-tailwindcss/dist/licenses/marko/README.md +161 -0
  666. node_modules/prettier-plugin-tailwindcss/dist/licenses/prettier-plugin-sort-imports/README.md +95 -0
  667. node_modules/prettier-plugin-tailwindcss/dist/licenses/prettier-plugin-style-order/README.md +19 -0
  668. node_modules/prop-types/README.md +302 -0
  669. node_modules/punycode/README.md +148 -0
  670. node_modules/queue-microtask/README.md +90 -0
  671. node_modules/randombytes/README.md +14 -0
  672. node_modules/react/README.md +37 -0
  673. node_modules/react-dom/README.md +60 -0
  674. node_modules/react-is/README.md +104 -0
  675. node_modules/read-cache/README.md +46 -0
  676. node_modules/readdirp/README.md +122 -0
  677. node_modules/rechoir/README.md +73 -0
  678. node_modules/reflect.getprototypeof/README.md +77 -0
  679. node_modules/regenerate/README.md +338 -0
  680. node_modules/regenerate-unicode-properties/README.md +70 -0
  681. node_modules/regenerator-runtime/README.md +31 -0
  682. node_modules/regenerator-transform/README.md +46 -0
  683. node_modules/regexp.prototype.flags/README.md +55 -0
  684. node_modules/regexpu-core/README.md +226 -0
  685. node_modules/regjsgen/README.md +41 -0
  686. node_modules/regjsparser/README.md +47 -0
  687. node_modules/regjsparser/node_modules/jsesc/README.md +422 -0
  688. node_modules/require-main-filename/README.md +26 -0
  689. node_modules/reusify/README.md +145 -0
  690. node_modules/run-parallel/README.md +85 -0
  691. node_modules/rxjs/README.md +107 -0
  692. node_modules/safe-array-concat/README.md +53 -0
  693. node_modules/safe-buffer/README.md +584 -0
  694. node_modules/safe-push-apply/README.md +59 -0
  695. node_modules/safe-regex-test/README.md +46 -0
  696. node_modules/sass/README.md +173 -0
  697. node_modules/sass/node_modules/chokidar/README.md +305 -0
  698. node_modules/sass/node_modules/readdirp/README.md +120 -0
  699. node_modules/sass-loader/README.md +904 -0
  700. node_modules/scheduler/README.md +9 -0
  701. node_modules/schema-utils/README.md +317 -0
  702. node_modules/schema-utils/node_modules/ajv/README.md +207 -0
  703. node_modules/schema-utils/node_modules/ajv-keywords/README.md +745 -0
  704. node_modules/schema-utils/node_modules/json-schema-traverse/README.md +95 -0
  705. node_modules/semver/README.md +443 -0
  706. node_modules/serialize-javascript/README.md +143 -0
  707. node_modules/set-blocking/README.md +31 -0
  708. node_modules/set-function-length/README.md +56 -0
  709. node_modules/set-function-name/README.md +61 -0
  710. node_modules/set-proto/README.md +52 -0
  711. node_modules/shallow-clone/README.md +153 -0
  712. node_modules/shell-quote/README.md +161 -0
  713. node_modules/side-channel/README.md +61 -0
  714. node_modules/side-channel-list/README.md +62 -0
  715. node_modules/side-channel-map/README.md +62 -0
  716. node_modules/side-channel-weakmap/README.md +62 -0
  717. node_modules/signal-exit/README.md +74 -0
  718. node_modules/source-map/README.md +742 -0
  719. node_modules/source-map-js/README.md +765 -0
  720. node_modules/source-map-support/LICENSE.md +21 -0
  721. node_modules/source-map-support/README.md +284 -0
  722. node_modules/spdx-correct/README.md +22 -0
  723. node_modules/spdx-exceptions/README.md +36 -0
  724. node_modules/spdx-expression-parse/README.md +91 -0
  725. node_modules/spdx-license-ids/README.md +51 -0
  726. node_modules/string-width-cjs/node_modules/emoji-regex/README.md +73 -0
  727. node_modules/string.prototype.matchall/README.md +73 -0
  728. node_modules/string.prototype.padend/README.md +46 -0
  729. node_modules/string.prototype.repeat/README.md +43 -0
  730. node_modules/string.prototype.trim/README.md +48 -0
  731. node_modules/string.prototype.trimend/README.md +46 -0
  732. node_modules/string.prototype.trimstart/README.md +46 -0
  733. node_modules/stylehacks/README.md +91 -0
  734. node_modules/stylehacks/node_modules/postcss-selector-parser/README.md +49 -0
  735. node_modules/sucrase/README.md +295 -0
  736. node_modules/supports-preserve-symlinks-flag/README.md +42 -0
  737. node_modules/svgo/README.md +199 -0
  738. node_modules/synckit/README.md +191 -0
  739. node_modules/tailwindcss/README.md +40 -0
  740. node_modules/tailwindcss/lib/postcss-plugins/nesting/README.md +42 -0
  741. node_modules/tailwindcss/lib/value-parser/README.md +3 -0
  742. node_modules/tailwindcss/node_modules/glob-parent/README.md +134 -0
  743. node_modules/tailwindcss/node_modules/postcss-selector-parser/README.md +49 -0
  744. node_modules/tailwindcss/src/postcss-plugins/nesting/README.md +42 -0
  745. node_modules/tailwindcss/src/value-parser/README.md +3 -0
  746. node_modules/tapable/README.md +296 -0
  747. node_modules/terser/README.md +1421 -0
  748. node_modules/terser-webpack-plugin/README.md +934 -0
  749. node_modules/terser-webpack-plugin/node_modules/jest-worker/README.md +247 -0
  750. node_modules/theme-change/README.md +376 -0
  751. node_modules/thenify/README.md +120 -0
  752. node_modules/thenify-all/README.md +66 -0
  753. node_modules/to-regex-range/README.md +305 -0
  754. node_modules/tree-kill/README.md +89 -0
  755. node_modules/ts-api-utils/LICENSE.md +20 -0
  756. node_modules/ts-api-utils/README.md +84 -0
  757. node_modules/ts-interface-checker/README.md +185 -0
  758. node_modules/ts-loader/README.md +773 -0
  759. node_modules/ts-loader/node_modules/semver/README.md +654 -0
  760. node_modules/ts-loader/node_modules/source-map/README.md +822 -0
  761. node_modules/tslib/README.md +164 -0
  762. node_modules/type-check/README.md +210 -0
  763. node_modules/typed-array-buffer/README.md +42 -0
  764. node_modules/typed-array-byte-length/README.md +70 -0
  765. node_modules/typed-array-byte-offset/README.md +70 -0
  766. node_modules/typed-array-length/README.md +64 -0
  767. node_modules/typescript/README.md +50 -0
  768. node_modules/typescript-eslint/README.md +12 -0
  769. node_modules/unbox-primitive/README.md +47 -0
  770. node_modules/undici-types/README.md +6 -0
  771. node_modules/unicode-canonical-property-names-ecmascript/README.md +58 -0
  772. node_modules/unicode-match-property-ecmascript/README.md +69 -0
  773. node_modules/unicode-match-property-value-ecmascript/README.md +72 -0
  774. node_modules/unicode-property-aliases-ecmascript/README.md +60 -0
  775. node_modules/update-browserslist-db/README.md +22 -0
  776. node_modules/uri-js/README.md +203 -0
  777. node_modules/util-deprecate/README.md +53 -0
  778. node_modules/validate-npm-package-license/README.md +113 -0
  779. node_modules/watchpack/README.md +133 -0
  780. node_modules/webpack/README.md +727 -0
  781. node_modules/webpack/node_modules/eslint-scope/README.md +54 -0
  782. node_modules/webpack/node_modules/estraverse/README.md +153 -0
  783. node_modules/webpack/node_modules/schema-utils/README.md +290 -0
  784. node_modules/webpack-cli/README.md +145 -0
  785. node_modules/webpack-merge/README.md +314 -0
  786. node_modules/webpack-sources/README.md +228 -0
  787. node_modules/which/README.md +54 -0
  788. node_modules/which-boxed-primitive/README.md +73 -0
  789. node_modules/which-builtin-type/README.md +67 -0
  790. node_modules/which-collection/README.md +65 -0
  791. node_modules/which-module/README.md +58 -0
  792. node_modules/which-typed-array/README.md +70 -0
  793. node_modules/wildcard/README.md +88 -0
  794. node_modules/word-wrap/README.md +201 -0
  795. node_modules/wrap-ansi-cjs/node_modules/emoji-regex/README.md +73 -0
  796. node_modules/y18n/README.md +109 -0
  797. node_modules/yallist/README.md +204 -0
  798. node_modules/yaml/README.md +188 -0
  799. node_modules/yargs/README.md +122 -0
  800. node_modules/yargs/node_modules/emoji-regex/README.md +73 -0
  801. node_modules/yargs-parser/README.md +396 -0
  802. picata/blocks.py +3 -2
  803. picata/templatetags/__init__.py +1 -1
  804. picata/templatetags/{kill_orphans.py → filters/kill_orphans.py} +1 -5
  805. picata/templatetags/{stringify.py → filters/stringify.py} +1 -6
  806. picata/templatetags/picata_tags.py +18 -0
  807. picata/templatetags/{absolute_static.py → tags/absolute_static.py} +1 -5
  808. picata/templatetags/{menu_tags.py → tags/menu_tags.py} +1 -1
  809. {picata-0.0.6.dist-info → picata-0.0.7.dist-info}/METADATA +1 -1
  810. picata-0.0.7.dist-info/RECORD +876 -0
  811. picata-0.0.6.dist-info/RECORD +0 -74
  812. {picata-0.0.6.dist-info → picata-0.0.7.dist-info}/WHEEL +0 -0
  813. {picata-0.0.6.dist-info → picata-0.0.7.dist-info}/licenses/LICENSE.md +0 -0
@@ -0,0 +1,1421 @@
1
+ <h1><img src="https://terser.org/img/terser-banner-logo.png" alt="Terser" width="400"></h1>
2
+
3
+ [![NPM Version][npm-image]][npm-url]
4
+ [![NPM Downloads][downloads-image]][downloads-url]
5
+ [![CI pipeline][ci-image]][ci-url]
6
+ [![Opencollective financial contributors][opencollective-contributors]][opencollective-url]
7
+
8
+ A JavaScript mangler/compressor toolkit for ES6+.
9
+
10
+ *note*: <s>You can support this project on patreon: [link]</s> **The Terser Patreon is shutting down in favor of opencollective**. Check out [PATRONS.md](https://github.com/terser/terser/blob/master/PATRONS.md) for our first-tier patrons.
11
+
12
+ Terser recommends you use RollupJS to bundle your modules, as that produces smaller code overall.
13
+
14
+ *Beautification* has been undocumented and is *being removed* from terser, we recommend you use [prettier](https://npmjs.com/package/prettier).
15
+
16
+ Find the changelog in [CHANGELOG.md](https://github.com/terser/terser/blob/master/CHANGELOG.md)
17
+
18
+
19
+
20
+ [npm-image]: https://img.shields.io/npm/v/terser.svg
21
+ [npm-url]: https://npmjs.org/package/terser
22
+ [downloads-image]: https://img.shields.io/npm/dm/terser.svg
23
+ [downloads-url]: https://npmjs.org/package/terser
24
+ [ci-image]: https://github.com/terser/terser/actions/workflows/ci.yml/badge.svg
25
+ [ci-url]: https://github.com/terser/terser/actions/workflows/ci.yml
26
+ [opencollective-contributors]: https://opencollective.com/terser/tiers/badge.svg
27
+ [opencollective-url]: https://opencollective.com/terser
28
+
29
+ Why choose terser?
30
+ ------------------
31
+
32
+ `uglify-es` is [no longer maintained](https://github.com/mishoo/UglifyJS2/issues/3156#issuecomment-392943058) and `uglify-js` does not support ES6+.
33
+
34
+ **`terser`** is a fork of `uglify-es` that mostly retains API and CLI compatibility
35
+ with `uglify-es` and `uglify-js@3`.
36
+
37
+ Install
38
+ -------
39
+
40
+ First make sure you have installed the latest version of [node.js](http://nodejs.org/)
41
+ (You may need to restart your computer after this step).
42
+
43
+ From NPM for use as a command line app:
44
+
45
+ npm install terser -g
46
+
47
+ From NPM for programmatic use:
48
+
49
+ npm install terser
50
+
51
+ # Command line usage
52
+
53
+ <!-- CLI_USAGE:START -->
54
+
55
+ ```
56
+ terser [input files] [options]
57
+ ```
58
+
59
+ Terser can take multiple input files. It's recommended that you pass the
60
+ input files first, then pass the options. Terser will parse input files
61
+ in sequence and apply any compression options. The files are parsed in the
62
+ same global scope, that is, a reference from a file to some
63
+ variable/function declared in another file will be matched properly.
64
+
65
+ Command line arguments that take options (like --parse, --compress, --mangle and
66
+ --format) can take in a comma-separated list of default option overrides. For
67
+ instance:
68
+
69
+ terser input.js --compress ecma=2015,computed_props=false
70
+
71
+ If no input file is specified, Terser will read from STDIN.
72
+
73
+ If you wish to pass your options before the input files, separate the two with
74
+ a double dash to prevent input files being used as option arguments:
75
+
76
+ terser --compress --mangle -- input.js
77
+
78
+ ### Command line options
79
+
80
+ ```
81
+ -h, --help Print usage information.
82
+ `--help options` for details on available options.
83
+ -V, --version Print version number.
84
+ -p, --parse <options> Specify parser options:
85
+ `acorn` Use Acorn for parsing.
86
+ `bare_returns` Allow return outside of functions.
87
+ Useful when minifying CommonJS
88
+ modules and Userscripts that may
89
+ be anonymous function wrapped (IIFE)
90
+ by the .user.js engine `caller`.
91
+ `expression` Parse a single expression, rather than
92
+ a program (for parsing JSON).
93
+ `spidermonkey` Assume input files are SpiderMonkey
94
+ AST format (as JSON).
95
+ -c, --compress [options] Enable compressor/specify compressor options:
96
+ `pure_funcs` List of functions that can be safely
97
+ removed when their return values are
98
+ not used.
99
+ -m, --mangle [options] Mangle names/specify mangler options:
100
+ `reserved` List of names that should not be mangled.
101
+ --mangle-props [options] Mangle properties/specify mangler options:
102
+ `builtins` Mangle property names that overlaps
103
+ with standard JavaScript globals and DOM
104
+ API props.
105
+ `debug` Add debug prefix and suffix.
106
+ `keep_quoted` Only mangle unquoted properties, quoted
107
+ properties are automatically reserved.
108
+ `strict` disables quoted properties
109
+ being automatically reserved.
110
+ `regex` Only mangle matched property names.
111
+ `only_annotated` Only mangle properties defined with /*@__MANGLE_PROP__*/.
112
+ `reserved` List of names that should not be mangled.
113
+ -f, --format [options] Specify format options.
114
+ `preamble` Preamble to prepend to the output. You
115
+ can use this to insert a comment, for
116
+ example for licensing information.
117
+ This will not be parsed, but the source
118
+ map will adjust for its presence.
119
+ `quote_style` Quote style:
120
+ 0 - auto
121
+ 1 - single
122
+ 2 - double
123
+ 3 - original
124
+ `wrap_iife` Wrap IIFEs in parenthesis. Note: you may
125
+ want to disable `negate_iife` under
126
+ compressor options.
127
+ `wrap_func_args` Wrap function arguments in parenthesis.
128
+ -o, --output <file> Output file path (default STDOUT). Specify `ast` or
129
+ `spidermonkey` to write Terser or SpiderMonkey AST
130
+ as JSON to STDOUT respectively.
131
+ --comments [filter] Preserve copyright comments in the output. By
132
+ default this works like Google Closure, keeping
133
+ JSDoc-style comments that contain e.g. "@license",
134
+ or start with "!". You can optionally pass one of the
135
+ following arguments to this flag:
136
+ - "all" to keep all comments
137
+ - `false` to omit comments in the output
138
+ - a valid JS RegExp like `/foo/` or `/^!/` to
139
+ keep only matching comments.
140
+ Note that currently not *all* comments can be
141
+ kept when compression is on, because of dead
142
+ code removal or cascading statements into
143
+ sequences.
144
+ --config-file <file> Read `minify()` options from JSON file.
145
+ -d, --define <expr>[=value] Global definitions.
146
+ --ecma <version> Specify ECMAScript release: 5, 2015, 2016, etc.
147
+ -e, --enclose [arg[:value]] Embed output in a big function with configurable
148
+ arguments and values.
149
+ --ie8 Support non-standard Internet Explorer 8.
150
+ Equivalent to setting `ie8: true` in `minify()`
151
+ for `compress`, `mangle` and `format` options.
152
+ By default Terser will not try to be IE-proof.
153
+ --keep-classnames Do not mangle/drop class names.
154
+ --keep-fnames Do not mangle/drop function names. Useful for
155
+ code relying on Function.prototype.name.
156
+ --module Input is an ES6 module. If `compress` or `mangle` is
157
+ enabled then the `toplevel` option, as well as strict mode,
158
+ will be enabled.
159
+ --name-cache <file> File to hold mangled name mappings.
160
+ --safari10 Support non-standard Safari 10/11.
161
+ Equivalent to setting `safari10: true` in `minify()`
162
+ for `mangle` and `format` options.
163
+ By default `terser` will not work around
164
+ Safari 10/11 bugs.
165
+ --source-map [options] Enable source map/specify source map options:
166
+ `base` Path to compute relative paths from input files.
167
+ `content` Input source map, useful if you're compressing
168
+ JS that was generated from some other original
169
+ code. Specify "inline" if the source map is
170
+ included within the sources.
171
+ `filename` Name and/or location of the output source.
172
+ `includeSources` Pass this flag if you want to include
173
+ the content of source files in the
174
+ source map as sourcesContent property.
175
+ `root` Path to the original source to be included in
176
+ the source map.
177
+ `url` If specified, path to the source map to append in
178
+ `//# sourceMappingURL`.
179
+ --timings Display operations run time on STDERR.
180
+ --toplevel Compress and/or mangle variables in top level scope.
181
+ --wrap <name> Embed everything in a big function, making the
182
+ “exports” and “global” variables available. You
183
+ need to pass an argument to this option to
184
+ specify the name that your module will take
185
+ when included in, say, a browser.
186
+ ```
187
+
188
+ Specify `--output` (`-o`) to declare the output file. Otherwise the output
189
+ goes to STDOUT.
190
+
191
+ ## CLI source map options
192
+
193
+ Terser can generate a source map file, which is highly useful for
194
+ debugging your compressed JavaScript. To get a source map, pass
195
+ `--source-map --output output.js` (source map will be written out to
196
+ `output.js.map`).
197
+
198
+ Additional options:
199
+
200
+ - `--source-map "filename='<NAME>'"` to specify the name of the source map.
201
+
202
+ - `--source-map "root='<URL>'"` to pass the URL where the original files can be found.
203
+
204
+ - `--source-map "url='<URL>'"` to specify the URL where the source map can be found.
205
+ Otherwise Terser assumes HTTP `X-SourceMap` is being used and will omit the
206
+ `//# sourceMappingURL=` directive.
207
+
208
+ For example:
209
+
210
+ terser js/file1.js js/file2.js \
211
+ -o foo.min.js -c -m \
212
+ --source-map "root='http://foo.com/src',url='foo.min.js.map'"
213
+
214
+ The above will compress and mangle `file1.js` and `file2.js`, will drop the
215
+ output in `foo.min.js` and the source map in `foo.min.js.map`. The source
216
+ mapping will refer to `http://foo.com/src/js/file1.js` and
217
+ `http://foo.com/src/js/file2.js` (in fact it will list `http://foo.com/src`
218
+ as the source map root, and the original files as `js/file1.js` and
219
+ `js/file2.js`).
220
+
221
+ ### Composed source map
222
+
223
+ When you're compressing JS code that was output by a compiler such as
224
+ CoffeeScript, mapping to the JS code won't be too helpful. Instead, you'd
225
+ like to map back to the original code (i.e. CoffeeScript). Terser has an
226
+ option to take an input source map. Assuming you have a mapping from
227
+ CoffeeScript → compiled JS, Terser can generate a map from CoffeeScript →
228
+ compressed JS by mapping every token in the compiled JS to its original
229
+ location.
230
+
231
+ To use this feature pass `--source-map "content='/path/to/input/source.map'"`
232
+ or `--source-map "content=inline"` if the source map is included inline with
233
+ the sources.
234
+
235
+ ## CLI compress options
236
+
237
+ You need to pass `--compress` (`-c`) to enable the compressor. Optionally
238
+ you can pass a comma-separated list of [compress options](#compress-options).
239
+
240
+ Options are in the form `foo=bar`, or just `foo` (the latter implies
241
+ a boolean option that you want to set `true`; it's effectively a
242
+ shortcut for `foo=true`).
243
+
244
+ Example:
245
+
246
+ terser file.js -c toplevel,sequences=false
247
+
248
+ ## CLI mangle options
249
+
250
+ To enable the mangler you need to pass `--mangle` (`-m`). The following
251
+ (comma-separated) options are supported:
252
+
253
+ - `toplevel` (default `false`) -- mangle names declared in the top level scope.
254
+
255
+ - `eval` (default `false`) -- mangle names visible in scopes where `eval` or `with` are used.
256
+
257
+ When mangling is enabled but you want to prevent certain names from being
258
+ mangled, you can declare those names with `--mangle reserved` — pass a
259
+ comma-separated list of names. For example:
260
+
261
+ terser ... -m reserved=['$','require','exports']
262
+
263
+ to prevent the `require`, `exports` and `$` names from being changed.
264
+
265
+ ### CLI mangling property names (`--mangle-props`)
266
+
267
+ **Note:** THIS **WILL** BREAK YOUR CODE. A good rule of thumb is not to use this unless you know exactly what you're doing and how this works and read this section until the end.
268
+
269
+ Mangling property names is a separate step, different from variable name mangling. Pass
270
+ `--mangle-props` to enable it. The least dangerous
271
+ way to use this is to use the `regex` option like so:
272
+
273
+ ```
274
+ terser example.js -c -m --mangle-props regex=/_$/
275
+ ```
276
+
277
+ This will mangle all properties that end with an
278
+ underscore. So you can use it to mangle internal methods.
279
+
280
+ By default, it will mangle all properties in the
281
+ input code with the exception of built in DOM properties and properties
282
+ in core JavaScript classes, which is what will break your code if you don't:
283
+
284
+ 1. Control all the code you're mangling
285
+ 2. Avoid using a module bundler, as they usually will call Terser on each file individually, making it impossible to pass mangled objects between modules.
286
+ 3. Avoid calling functions like `defineProperty` or `hasOwnProperty`, because they refer to object properties using strings and will break your code if you don't know what you are doing.
287
+
288
+ An example:
289
+
290
+ ```javascript
291
+ // example.js
292
+ var x = {
293
+ baz_: 0,
294
+ foo_: 1,
295
+ calc: function() {
296
+ return this.foo_ + this.baz_;
297
+ }
298
+ };
299
+ x.bar_ = 2;
300
+ x["baz_"] = 3;
301
+ console.log(x.calc());
302
+ ```
303
+ Mangle all properties (except for JavaScript `builtins`) (**very** unsafe):
304
+ ```bash
305
+ $ terser example.js -c passes=2 -m --mangle-props
306
+ ```
307
+ ```javascript
308
+ var x={o:3,t:1,i:function(){return this.t+this.o},s:2};console.log(x.i());
309
+ ```
310
+ Mangle all properties except for `reserved` properties (still very unsafe):
311
+ ```bash
312
+ $ terser example.js -c passes=2 -m --mangle-props reserved=[foo_,bar_]
313
+ ```
314
+ ```javascript
315
+ var x={o:3,foo_:1,t:function(){return this.foo_+this.o},bar_:2};console.log(x.t());
316
+ ```
317
+ Mangle all properties matching a `regex` (not as unsafe but still unsafe):
318
+ ```bash
319
+ $ terser example.js -c passes=2 -m --mangle-props regex=/_$/
320
+ ```
321
+ ```javascript
322
+ var x={o:3,t:1,calc:function(){return this.t+this.o},i:2};console.log(x.calc());
323
+ ```
324
+
325
+ Combining mangle properties options:
326
+ ```bash
327
+ $ terser example.js -c passes=2 -m --mangle-props regex=/_$/,reserved=[bar_]
328
+ ```
329
+ ```javascript
330
+ var x={o:3,t:1,calc:function(){return this.t+this.o},bar_:2};console.log(x.calc());
331
+ ```
332
+
333
+ In order for this to be of any use, we avoid mangling standard JS names and DOM
334
+ API properties by default (`--mangle-props builtins` to override).
335
+
336
+ A regular expression can be used to define which property names should be
337
+ mangled. For example, `--mangle-props regex=/^_/` will only mangle property
338
+ names that start with an underscore.
339
+
340
+ When you compress multiple files using this option, in order for them to
341
+ work together in the end we need to ensure somehow that one property gets
342
+ mangled to the same name in all of them. For this, pass `--name-cache filename.json`
343
+ and Terser will maintain these mappings in a file which can then be reused.
344
+ It should be initially empty. Example:
345
+
346
+ ```bash
347
+ $ rm -f /tmp/cache.json # start fresh
348
+ $ terser file1.js file2.js --mangle-props --name-cache /tmp/cache.json -o part1.js
349
+ $ terser file3.js file4.js --mangle-props --name-cache /tmp/cache.json -o part2.js
350
+ ```
351
+
352
+ Now, `part1.js` and `part2.js` will be consistent with each other in terms
353
+ of mangled property names.
354
+
355
+ Using the name cache is not necessary if you compress all your files in a
356
+ single call to Terser.
357
+
358
+ ### Mangling unquoted names (`--mangle-props keep_quoted`)
359
+
360
+ Using quoted property name (`o["foo"]`) reserves the property name (`foo`)
361
+ so that it is not mangled throughout the entire script even when used in an
362
+ unquoted style (`o.foo`). Example:
363
+
364
+ ```javascript
365
+ // stuff.js
366
+ var o = {
367
+ "foo": 1,
368
+ bar: 3
369
+ };
370
+ o.foo += o.bar;
371
+ console.log(o.foo);
372
+ ```
373
+ ```bash
374
+ $ terser stuff.js --mangle-props keep_quoted -c -m
375
+ ```
376
+ ```javascript
377
+ var o={foo:1,o:3};o.foo+=o.o,console.log(o.foo);
378
+ ```
379
+
380
+ ### Debugging property name mangling
381
+
382
+ You can also pass `--mangle-props debug` in order to mangle property names
383
+ without completely obscuring them. For example the property `o.foo`
384
+ would mangle to `o._$foo$_` with this option. This allows property mangling
385
+ of a large codebase while still being able to debug the code and identify
386
+ where mangling is breaking things.
387
+
388
+ ```bash
389
+ $ terser stuff.js --mangle-props debug -c -m
390
+ ```
391
+ ```javascript
392
+ var o={_$foo$_:1,_$bar$_:3};o._$foo$_+=o._$bar$_,console.log(o._$foo$_);
393
+ ```
394
+
395
+ You can also pass a custom suffix using `--mangle-props debug=XYZ`. This would then
396
+ mangle `o.foo` to `o._$foo$XYZ_`. You can change this each time you compile a
397
+ script to identify how a property got mangled. One technique is to pass a
398
+ random number on every compile to simulate mangling changing with different
399
+ inputs (e.g. as you update the input script with new properties), and to help
400
+ identify mistakes like writing mangled keys to storage.
401
+
402
+ <!-- CLI_USAGE:END -->
403
+
404
+ # API Reference
405
+
406
+ <!-- API_REFERENCE:START -->
407
+
408
+ Assuming installation via NPM, you can load Terser in your application
409
+ like this:
410
+
411
+ ```javascript
412
+ const { minify } = require("terser");
413
+ ```
414
+
415
+ Or,
416
+
417
+ ```javascript
418
+ import { minify } from "terser";
419
+ ```
420
+
421
+ Browser loading is also supported. It exposes a global variable `Terser` containing a `.minify` property:
422
+ ```html
423
+ <script src="https://cdn.jsdelivr.net/npm/source-map@0.7.3/dist/source-map.js"></script>
424
+ <script src="https://cdn.jsdelivr.net/npm/terser/dist/bundle.min.js"></script>
425
+ ```
426
+
427
+ There is an async high level function, **`async minify(code, options)`**,
428
+ which will perform all minification [phases](#minify-options) in a configurable
429
+ manner. By default `minify()` will enable [`compress`](#compress-options)
430
+ and [`mangle`](#mangle-options). Example:
431
+ ```javascript
432
+ var code = "function add(first, second) { return first + second; }";
433
+ var result = await minify(code, { sourceMap: true });
434
+ console.log(result.code); // minified output: function add(n,d){return n+d}
435
+ console.log(result.map); // source map
436
+ ```
437
+
438
+ There is also a `minify_sync()` alternative version of it, which returns instantly.
439
+
440
+ You can `minify` more than one JavaScript file at a time by using an object
441
+ for the first argument where the keys are file names and the values are source
442
+ code:
443
+ ```javascript
444
+ var code = {
445
+ "file1.js": "function add(first, second) { return first + second; }",
446
+ "file2.js": "console.log(add(1 + 2, 3 + 4));"
447
+ };
448
+ var result = await minify(code);
449
+ console.log(result.code);
450
+ // function add(d,n){return d+n}console.log(add(3,7));
451
+ ```
452
+
453
+ The `toplevel` option:
454
+ ```javascript
455
+ var code = {
456
+ "file1.js": "function add(first, second) { return first + second; }",
457
+ "file2.js": "console.log(add(1 + 2, 3 + 4));"
458
+ };
459
+ var options = { toplevel: true };
460
+ var result = await minify(code, options);
461
+ console.log(result.code);
462
+ // console.log(3+7);
463
+ ```
464
+
465
+ The `nameCache` option:
466
+ ```javascript
467
+ var options = {
468
+ mangle: {
469
+ toplevel: true,
470
+ },
471
+ nameCache: {}
472
+ };
473
+ var result1 = await minify({
474
+ "file1.js": "function add(first, second) { return first + second; }"
475
+ }, options);
476
+ var result2 = await minify({
477
+ "file2.js": "console.log(add(1 + 2, 3 + 4));"
478
+ }, options);
479
+ console.log(result1.code);
480
+ // function n(n,r){return n+r}
481
+ console.log(result2.code);
482
+ // console.log(n(3,7));
483
+ ```
484
+
485
+ You may persist the name cache to the file system in the following way:
486
+ ```javascript
487
+ var cacheFileName = "/tmp/cache.json";
488
+ var options = {
489
+ mangle: {
490
+ properties: true,
491
+ },
492
+ nameCache: JSON.parse(fs.readFileSync(cacheFileName, "utf8"))
493
+ };
494
+ fs.writeFileSync("part1.js", await minify({
495
+ "file1.js": fs.readFileSync("file1.js", "utf8"),
496
+ "file2.js": fs.readFileSync("file2.js", "utf8")
497
+ }, options).code, "utf8");
498
+ fs.writeFileSync("part2.js", await minify({
499
+ "file3.js": fs.readFileSync("file3.js", "utf8"),
500
+ "file4.js": fs.readFileSync("file4.js", "utf8")
501
+ }, options).code, "utf8");
502
+ fs.writeFileSync(cacheFileName, JSON.stringify(options.nameCache), "utf8");
503
+ ```
504
+
505
+ An example of a combination of `minify()` options:
506
+ ```javascript
507
+ var code = {
508
+ "file1.js": "function add(first, second) { return first + second; }",
509
+ "file2.js": "console.log(add(1 + 2, 3 + 4));"
510
+ };
511
+ var options = {
512
+ toplevel: true,
513
+ compress: {
514
+ global_defs: {
515
+ "@console.log": "alert"
516
+ },
517
+ passes: 2
518
+ },
519
+ format: {
520
+ preamble: "/* minified */"
521
+ }
522
+ };
523
+ var result = await minify(code, options);
524
+ console.log(result.code);
525
+ // /* minified */
526
+ // alert(10);"
527
+ ```
528
+
529
+ An error example:
530
+ ```javascript
531
+ try {
532
+ const result = await minify({"foo.js" : "if (0) else console.log(1);"});
533
+ // Do something with result
534
+ } catch (error) {
535
+ const { message, filename, line, col, pos } = error;
536
+ // Do something with error
537
+ }
538
+ ```
539
+
540
+ ## Minify options
541
+
542
+ - `ecma` (default `undefined`) - pass `5`, `2015`, `2016`, etc to override
543
+ `compress` and `format`'s `ecma` options.
544
+
545
+ - `enclose` (default `false`) - pass `true`, or a string in the format
546
+ of `"args[:values]"`, where `args` and `values` are comma-separated
547
+ argument names and values, respectively, to embed the output in a big
548
+ function with the configurable arguments and values.
549
+
550
+ - `parse` (default `{}`) — pass an object if you wish to specify some
551
+ additional [parse options](#parse-options).
552
+
553
+ - `compress` (default `{}`) — pass `false` to skip compressing entirely.
554
+ Pass an object to specify custom [compress options](#compress-options).
555
+
556
+ - `mangle` (default `true`) — pass `false` to skip mangling names, or pass
557
+ an object to specify [mangle options](#mangle-options) (see below).
558
+
559
+ - `mangle.properties` (default `false`) — a subcategory of the mangle option.
560
+ Pass an object to specify custom [mangle property options](#mangle-properties-options).
561
+
562
+ - `module` (default `false`) — Use when minifying an ES6 module. "use strict"
563
+ is implied and names can be mangled on the top scope. If `compress` or
564
+ `mangle` is enabled then the `toplevel` option will be enabled.
565
+
566
+ - `format` or `output` (default `null`) — pass an object if you wish to specify
567
+ additional [format options](#format-options). The defaults are optimized
568
+ for best compression.
569
+
570
+ - `sourceMap` (default `false`) - pass an object if you wish to specify
571
+ [source map options](#source-map-options).
572
+
573
+ - `toplevel` (default `false`) - set to `true` if you wish to enable top level
574
+ variable and function name mangling and to drop unused variables and functions.
575
+
576
+ - `nameCache` (default `null`) - pass an empty object `{}` or a previously
577
+ used `nameCache` object if you wish to cache mangled variable and
578
+ property names across multiple invocations of `minify()`. Note: this is
579
+ a read/write property. `minify()` will read the name cache state of this
580
+ object and update it during minification so that it may be
581
+ reused or externally persisted by the user.
582
+
583
+ - `ie8` (default `false`) - set to `true` to support IE8.
584
+
585
+ - `keep_classnames` (default: `undefined`) - pass `true` to prevent discarding or mangling
586
+ of class names. Pass a regular expression to only keep class names matching that regex.
587
+
588
+ - `keep_fnames` (default: `false`) - pass `true` to prevent discarding or mangling
589
+ of function names. Pass a regular expression to only keep function names matching that regex.
590
+ Useful for code relying on `Function.prototype.name`. If the top level minify option
591
+ `keep_classnames` is `undefined` it will be overridden with the value of the top level
592
+ minify option `keep_fnames`.
593
+
594
+ - `safari10` (default: `false`) - pass `true` to work around Safari 10/11 bugs in
595
+ loop scoping and `await`. See `safari10` options in [`mangle`](#mangle-options)
596
+ and [`format`](#format-options) for details.
597
+
598
+ ## Minify options structure
599
+
600
+ ```javascript
601
+ {
602
+ parse: {
603
+ // parse options
604
+ },
605
+ compress: {
606
+ // compress options
607
+ },
608
+ mangle: {
609
+ // mangle options
610
+
611
+ properties: {
612
+ // mangle property options
613
+ }
614
+ },
615
+ format: {
616
+ // format options (can also use `output` for backwards compatibility)
617
+ },
618
+ sourceMap: {
619
+ // source map options
620
+ },
621
+ ecma: 5, // specify one of: 5, 2015, 2016, etc.
622
+ enclose: false, // or specify true, or "args:values"
623
+ keep_classnames: false,
624
+ keep_fnames: false,
625
+ ie8: false,
626
+ module: false,
627
+ nameCache: null, // or specify a name cache object
628
+ safari10: false,
629
+ toplevel: false
630
+ }
631
+ ```
632
+
633
+ ### Source map options
634
+
635
+ To generate a source map:
636
+ ```javascript
637
+ var result = await minify({"file1.js": "var a = function() {};"}, {
638
+ sourceMap: {
639
+ filename: "out.js",
640
+ url: "out.js.map"
641
+ }
642
+ });
643
+ console.log(result.code); // minified output
644
+ console.log(result.map); // source map
645
+ ```
646
+
647
+ Note that the source map is not saved in a file, it's just returned in
648
+ `result.map`. The value passed for `sourceMap.url` is only used to set
649
+ `//# sourceMappingURL=out.js.map` in `result.code`. The value of
650
+ `filename` is only used to set `file` attribute (see [the spec][sm-spec])
651
+ in source map file.
652
+
653
+ You can set option `sourceMap.url` to be `"inline"` and source map will
654
+ be appended to code.
655
+
656
+ You can also specify sourceRoot property to be included in source map:
657
+ ```javascript
658
+ var result = await minify({"file1.js": "var a = function() {};"}, {
659
+ sourceMap: {
660
+ root: "http://example.com/src",
661
+ url: "out.js.map"
662
+ }
663
+ });
664
+ ```
665
+
666
+ If you're compressing compiled JavaScript and have a source map for it, you
667
+ can use `sourceMap.content`:
668
+ ```javascript
669
+ var result = await minify({"compiled.js": "compiled code"}, {
670
+ sourceMap: {
671
+ content: "content from compiled.js.map",
672
+ url: "minified.js.map"
673
+ }
674
+ });
675
+ // same as before, it returns `code` and `map`
676
+ ```
677
+
678
+ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.url`.
679
+
680
+ If you happen to need the source map as a raw object, set `sourceMap.asObject` to `true`.
681
+
682
+ <!-- API_REFERENCE:END -->
683
+
684
+ <!-- OPTIONS:START -->
685
+
686
+ ## Parse options
687
+
688
+ - `bare_returns` (default `false`) -- support top level `return` statements
689
+
690
+ - `html5_comments` (default `true`)
691
+
692
+ - `shebang` (default `true`) -- support `#!command` as the first line
693
+
694
+ - `spidermonkey` (default `false`) -- accept a Spidermonkey (Mozilla) AST
695
+
696
+ ## Compress options
697
+
698
+ - `defaults` (default: `true`) -- Pass `false` to disable most default
699
+ enabled `compress` transforms. Useful when you only want to enable a few
700
+ `compress` options while disabling the rest.
701
+
702
+ - `arrows` (default: `true`) -- Class and object literal methods are converted
703
+ will also be converted to arrow expressions if the resultant code is shorter:
704
+ `m(){return x}` becomes `m:()=>x`. To do this to regular ES5 functions which
705
+ don't use `this` or `arguments`, see `unsafe_arrows`.
706
+
707
+ - `arguments` (default: `false`) -- replace `arguments[index]` with function
708
+ parameter name whenever possible.
709
+
710
+ - `booleans` (default: `true`) -- various optimizations for boolean context,
711
+ for example `!!a ? b : c → a ? b : c`
712
+
713
+ - `booleans_as_integers` (default: `false`) -- Turn booleans into 0 and 1, also
714
+ makes comparisons with booleans use `==` and `!=` instead of `===` and `!==`.
715
+
716
+ - `collapse_vars` (default: `true`) -- Collapse single-use non-constant variables,
717
+ side effects permitting.
718
+
719
+ - `comparisons` (default: `true`) -- apply certain optimizations to binary nodes,
720
+ e.g. `!(a <= b) → a > b` (only when `unsafe_comps`), attempts to negate binary
721
+ nodes, e.g. `a = !b && !c && !d && !e → a=!(b||c||d||e)` etc. Note: `comparisons`
722
+ works best with `lhs_constants` enabled.
723
+
724
+ - `computed_props` (default: `true`) -- Transforms constant computed properties
725
+ into regular ones: `{["computed"]: 1}` is converted to `{computed: 1}`.
726
+
727
+ - `conditionals` (default: `true`) -- apply optimizations for `if`-s and conditional
728
+ expressions
729
+
730
+ - `dead_code` (default: `true`) -- remove unreachable code
731
+
732
+ - `directives` (default: `true`) -- remove redundant or non-standard directives
733
+
734
+ - `drop_console` (default: `false`) -- Pass `true` to discard calls to
735
+ `console.*` functions. If you only want to discard a portion of console,
736
+ you can pass an array like this `['log', 'info']`, which will only discard `console.log`、 `console.info`.
737
+
738
+ - `drop_debugger` (default: `true`) -- remove `debugger;` statements
739
+
740
+ - `ecma` (default: `5`) -- Pass `2015` or greater to enable `compress` options that
741
+ will transform ES5 code into smaller ES6+ equivalent forms.
742
+
743
+ - `evaluate` (default: `true`) -- attempt to evaluate constant expressions
744
+
745
+ - `expression` (default: `false`) -- Pass `true` to preserve completion values
746
+ from terminal statements without `return`, e.g. in bookmarklets.
747
+
748
+ - `global_defs` (default: `{}`) -- see [conditional compilation](#conditional-compilation)
749
+
750
+ - `hoist_funs` (default: `false`) -- hoist function declarations
751
+
752
+ - `hoist_props` (default: `true`) -- hoist properties from constant object and
753
+ array literals into regular variables subject to a set of constraints. For example:
754
+ `var o={p:1, q:2}; f(o.p, o.q);` is converted to `f(1, 2);`. Note: `hoist_props`
755
+ works best with `mangle` enabled, the `compress` option `passes` set to `2` or higher,
756
+ and the `compress` option `toplevel` enabled.
757
+
758
+ - `hoist_vars` (default: `false`) -- hoist `var` declarations (this is `false`
759
+ by default because it seems to increase the size of the output in general)
760
+
761
+ - `if_return` (default: `true`) -- optimizations for if/return and if/continue
762
+
763
+ - `inline` (default: `true`) -- inline calls to function with simple/`return` statement:
764
+ - `false` -- same as `0`
765
+ - `0` -- disabled inlining
766
+ - `1` -- inline simple functions
767
+ - `2` -- inline functions with arguments
768
+ - `3` -- inline functions with arguments and variables
769
+ - `true` -- same as `3`
770
+
771
+ - `join_vars` (default: `true`) -- join consecutive `var`, `let` and `const` statements
772
+
773
+ - `keep_classnames` (default: `false`) -- Pass `true` to prevent the compressor from
774
+ discarding class names. Pass a regular expression to only keep class names matching
775
+ that regex. See also: the `keep_classnames` [mangle option](#mangle-options).
776
+
777
+ - `keep_fargs` (default: `true`) -- Prevents the compressor from discarding unused
778
+ function arguments. You need this for code which relies on `Function.length`.
779
+
780
+ - `keep_fnames` (default: `false`) -- Pass `true` to prevent the
781
+ compressor from discarding function names. Pass a regular expression to only keep
782
+ function names matching that regex. Useful for code relying on `Function.prototype.name`.
783
+ See also: the `keep_fnames` [mangle option](#mangle-options).
784
+
785
+ - `keep_infinity` (default: `false`) -- Pass `true` to prevent `Infinity` from
786
+ being compressed into `1/0`, which may cause performance issues on Chrome.
787
+
788
+ - `lhs_constants` (default: `true`) -- Moves constant values to the left-hand side
789
+ of binary nodes. `foo == 42 → 42 == foo`
790
+
791
+ - `loops` (default: `true`) -- optimizations for `do`, `while` and `for` loops
792
+ when we can statically determine the condition.
793
+
794
+ - `module` (default `false`) -- Pass `true` when compressing an ES6 module. Strict
795
+ mode is implied and the `toplevel` option as well.
796
+
797
+ - `negate_iife` (default: `true`) -- negate "Immediately-Called Function Expressions"
798
+ where the return value is discarded, to avoid the parens that the
799
+ code generator would insert.
800
+
801
+ - `passes` (default: `1`) -- The maximum number of times to run compress.
802
+ In some cases more than one pass leads to further compressed code. Keep in
803
+ mind more passes will take more time.
804
+
805
+ - `properties` (default: `true`) -- rewrite property access using the dot notation, for
806
+ example `foo["bar"] → foo.bar`
807
+
808
+ - `pure_funcs` (default: `null`) -- You can pass an array of names and
809
+ Terser will assume that those functions do not produce side
810
+ effects. DANGER: will not check if the name is redefined in scope.
811
+ An example case here, for instance `var q = Math.floor(a/b)`. If
812
+ variable `q` is not used elsewhere, Terser will drop it, but will
813
+ still keep the `Math.floor(a/b)`, not knowing what it does. You can
814
+ pass `pure_funcs: [ 'Math.floor' ]` to let it know that this
815
+ function won't produce any side effect, in which case the whole
816
+ statement would get discarded. The current implementation adds some
817
+ overhead (compression will be slower).
818
+
819
+ - `pure_getters` (default: `"strict"`) -- If you pass `true` for
820
+ this, Terser will assume that object property access
821
+ (e.g. `foo.bar` or `foo["bar"]`) doesn't have any side effects.
822
+ Specify `"strict"` to treat `foo.bar` as side-effect-free only when
823
+ `foo` is certain to not throw, i.e. not `null` or `undefined`.
824
+
825
+ - `pure_new` (default: `false`) -- Set to `true` to assume `new X()` never has
826
+ side effects.
827
+
828
+ - `reduce_vars` (default: `true`) -- Improve optimization on variables assigned with and
829
+ used as constant values.
830
+
831
+ - `reduce_funcs` (default: `true`) -- Inline single-use functions when
832
+ possible. Depends on `reduce_vars` being enabled. Disabling this option
833
+ sometimes improves performance of the output code.
834
+
835
+ - `sequences` (default: `true`) -- join consecutive simple statements using the
836
+ comma operator. May be set to a positive integer to specify the maximum number
837
+ of consecutive comma sequences that will be generated. If this option is set to
838
+ `true` then the default `sequences` limit is `200`. Set option to `false` or `0`
839
+ to disable. The smallest `sequences` length is `2`. A `sequences` value of `1`
840
+ is grandfathered to be equivalent to `true` and as such means `200`. On rare
841
+ occasions the default sequences limit leads to very slow compress times in which
842
+ case a value of `20` or less is recommended.
843
+
844
+ - `side_effects` (default: `true`) -- Remove expressions which have no side effects
845
+ and whose results aren't used.
846
+
847
+ - `switches` (default: `true`) -- de-duplicate and remove unreachable `switch` branches
848
+
849
+ - `toplevel` (default: `false`) -- drop unreferenced functions (`"funcs"`) and/or
850
+ variables (`"vars"`) in the top level scope (`false` by default, `true` to drop
851
+ both unreferenced functions and variables)
852
+
853
+ - `top_retain` (default: `null`) -- prevent specific toplevel functions and
854
+ variables from `unused` removal (can be array, comma-separated, RegExp or
855
+ function. Implies `toplevel`)
856
+
857
+ - `typeofs` (default: `true`) -- Transforms `typeof foo == "undefined"` into
858
+ `foo === void 0`. Note: recommend to set this value to `false` for IE10 and
859
+ earlier versions due to known issues.
860
+
861
+ - `unsafe` (default: `false`) -- apply "unsafe" transformations
862
+ ([details](#the-unsafe-compress-option)).
863
+
864
+ - `unsafe_arrows` (default: `false`) -- Convert ES5 style anonymous function
865
+ expressions to arrow functions if the function body does not reference `this`.
866
+ Note: it is not always safe to perform this conversion if code relies on the
867
+ the function having a `prototype`, which arrow functions lack.
868
+ This transform requires that the `ecma` compress option is set to `2015` or greater.
869
+
870
+ - `unsafe_comps` (default: `false`) -- Reverse `<` and `<=` to `>` and `>=` to
871
+ allow improved compression. This might be unsafe when an at least one of two
872
+ operands is an object with computed values due the use of methods like `get`,
873
+ or `valueOf`. This could cause change in execution order after operands in the
874
+ comparison are switching. Compression only works if both `comparisons` and
875
+ `unsafe_comps` are both set to true.
876
+
877
+ - `unsafe_Function` (default: `false`) -- compress and mangle `Function(args, code)`
878
+ when both `args` and `code` are string literals.
879
+
880
+ - `unsafe_math` (default: `false`) -- optimize numerical expressions like
881
+ `2 * x * 3` into `6 * x`, which may give imprecise floating point results.
882
+
883
+ - `unsafe_symbols` (default: `false`) -- removes keys from native Symbol
884
+ declarations, e.g `Symbol("kDog")` becomes `Symbol()`.
885
+
886
+ - `unsafe_methods` (default: false) -- Converts `{ m: function(){} }` to
887
+ `{ m(){} }`. `ecma` must be set to `6` or greater to enable this transform.
888
+ If `unsafe_methods` is a RegExp then key/value pairs with keys matching the
889
+ RegExp will be converted to concise methods.
890
+ Note: if enabled there is a risk of getting a "`<method name>` is not a
891
+ constructor" TypeError should any code try to `new` the former function.
892
+
893
+ - `unsafe_proto` (default: `false`) -- optimize expressions like
894
+ `Array.prototype.slice.call(a)` into `[].slice.call(a)`
895
+
896
+ - `unsafe_regexp` (default: `false`) -- enable substitutions of variables with
897
+ `RegExp` values the same way as if they are constants.
898
+
899
+ - `unsafe_undefined` (default: `false`) -- substitute `void 0` if there is a
900
+ variable named `undefined` in scope (variable name will be mangled, typically
901
+ reduced to a single character)
902
+
903
+ - `unused` (default: `true`) -- drop unreferenced functions and variables (simple
904
+ direct variable assignments do not count as references unless set to `"keep_assign"`)
905
+
906
+ ## Mangle options
907
+
908
+ - `eval` (default `false`) -- Pass `true` to mangle names visible in scopes
909
+ where `eval` or `with` are used.
910
+
911
+ - `keep_classnames` (default `false`) -- Pass `true` to not mangle class names.
912
+ Pass a regular expression to only keep class names matching that regex.
913
+ See also: the `keep_classnames` [compress option](#compress-options).
914
+
915
+ - `keep_fnames` (default `false`) -- Pass `true` to not mangle function names.
916
+ Pass a regular expression to only keep function names matching that regex.
917
+ Useful for code relying on `Function.prototype.name`. See also: the `keep_fnames`
918
+ [compress option](#compress-options).
919
+
920
+ - `module` (default `false`) -- Pass `true` an ES6 modules, where the toplevel
921
+ scope is not the global scope. Implies `toplevel` and assumes input code is strict mode JS.
922
+
923
+ - `nth_identifier` (default: an internal mangler that weights based on character
924
+ frequency analysis) -- Pass an object with a `get(n)` function that converts an
925
+ ordinal into the nth most favored (usually shortest) identifier.
926
+ Optionally also provide `reset()`, `sort()`, and `consider(chars, delta)` to
927
+ use character frequency analysis of the source code.
928
+
929
+ - `reserved` (default `[]`) -- Pass an array of identifiers that should be
930
+ excluded from mangling. Example: `["foo", "bar"]`.
931
+
932
+ - `toplevel` (default `false`) -- Pass `true` to mangle names declared in the
933
+ top level scope.
934
+
935
+ - `safari10` (default `false`) -- Pass `true` to work around the Safari 10 loop
936
+ iterator [bug](https://bugs.webkit.org/show_bug.cgi?id=171041)
937
+ "Cannot declare a let variable twice".
938
+ See also: the `safari10` [format option](#format-options).
939
+
940
+ Examples:
941
+
942
+ ```javascript
943
+ // test.js
944
+ var globalVar;
945
+ function funcName(firstLongName, anotherLongName) {
946
+ var myVariable = firstLongName + anotherLongName;
947
+ }
948
+ ```
949
+ ```javascript
950
+ var code = fs.readFileSync("test.js", "utf8");
951
+
952
+ await minify(code).code;
953
+ // 'function funcName(a,n){}var globalVar;'
954
+
955
+ await minify(code, { mangle: { reserved: ['firstLongName'] } }).code;
956
+ // 'function funcName(firstLongName,a){}var globalVar;'
957
+
958
+ await minify(code, { mangle: { toplevel: true } }).code;
959
+ // 'function n(n,a){}var a;'
960
+ ```
961
+
962
+ ### Mangle properties options
963
+
964
+ - `builtins` (default: `false`) — Use `true` to allow the mangling of builtin
965
+ DOM properties. Not recommended to override this setting.
966
+
967
+ - `debug` (default: `false`) — Mangle names with the original name still present.
968
+ Pass an empty string `""` to enable, or a non-empty string to set the debug suffix.
969
+
970
+ - `keep_quoted` (default: `false`) — How quoting properties (`{"prop": ...}` and `obj["prop"]`) controls what gets mangled.
971
+ - `"strict"` (recommended) -- `obj.prop` is mangled.
972
+ - `false` -- `obj["prop"]` is mangled.
973
+ - `true` -- `obj.prop` is mangled unless there is `obj["prop"]` elsewhere in the code.
974
+
975
+ - `nth_identifier` (default: an internal mangler that weights based on character
976
+ frequency analysis) -- Pass an object with a `get(n)` function that converts an
977
+ ordinal into the nth most favored (usually shortest) identifier.
978
+ Optionally also provide `reset()`, `sort()`, and `consider(chars, delta)` to
979
+ use character frequency analysis of the source code.
980
+
981
+ - `regex` (default: `null`) — Pass a [RegExp literal or pattern string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp) to only mangle property matching the regular expression.
982
+
983
+ - `reserved` (default: `[]`) — Do not mangle property names listed in the
984
+ `reserved` array.
985
+
986
+ - `undeclared` (default: `false`) - Mangle those names when they are accessed
987
+ as properties of known top level variables but their declarations are never
988
+ found in input code. May be useful when only minifying parts of a project.
989
+ See [#397](https://github.com/terser/terser/issues/397) for more details.
990
+
991
+
992
+ ## Format options
993
+
994
+ These options control the format of Terser's output code. Previously known
995
+ as "output options".
996
+
997
+ - `ascii_only` (default `false`) -- escape Unicode characters in strings and
998
+ regexps (affects directives with non-ascii characters becoming invalid)
999
+
1000
+ - `beautify` (default `false`) -- (DEPRECATED) whether to beautify the output.
1001
+ When using the legacy `-b` CLI flag, this is set to true by default.
1002
+
1003
+ - `braces` (default `false`) -- always insert braces in `if`, `for`,
1004
+ `do`, `while` or `with` statements, even if their body is a single
1005
+ statement.
1006
+
1007
+ - `comments` (default `"some"`) -- by default it keeps JSDoc-style comments
1008
+ that contain "@license", "@copyright", "@preserve" or start with `!`, pass `true`
1009
+ or `"all"` to preserve all comments, `false` to omit comments in the output,
1010
+ a regular expression string (e.g. `/^!/`) or a function.
1011
+
1012
+ - `ecma` (default `5`) -- set desired EcmaScript standard version for output.
1013
+ Set `ecma` to `2015` or greater to emit shorthand object properties - i.e.:
1014
+ `{a}` instead of `{a: a}`. The `ecma` option will only change the output in
1015
+ direct control of the beautifier. Non-compatible features in your input will
1016
+ still be output as is. For example: an `ecma` setting of `5` will **not**
1017
+ convert modern code to ES5.
1018
+
1019
+ - `indent_level` (default `4`)
1020
+
1021
+ - `indent_start` (default `0`) -- prefix all lines by that many spaces
1022
+
1023
+ - `inline_script` (default `true`) -- escape HTML comments and the slash in
1024
+ occurrences of `</script>` in strings
1025
+
1026
+ - `keep_numbers` (default `false`) -- keep number literals as it was in original code
1027
+ (disables optimizations like converting `1000000` into `1e6`)
1028
+
1029
+ - `keep_quoted_props` (default `false`) -- when turned on, prevents stripping
1030
+ quotes from property names in object literals.
1031
+
1032
+ - `max_line_len` (default `false`) -- maximum line length (for minified code)
1033
+
1034
+ - `preamble` (default `null`) -- when passed it must be a string and
1035
+ it will be prepended to the output literally. The source map will
1036
+ adjust for this text. Can be used to insert a comment containing
1037
+ licensing information, for example.
1038
+
1039
+ - `quote_keys` (default `false`) -- pass `true` to quote all keys in literal
1040
+ objects
1041
+
1042
+ - `quote_style` (default `0`) -- preferred quote style for strings (affects
1043
+ quoted property names and directives as well):
1044
+ - `0` -- prefers double quotes, switches to single quotes when there are
1045
+ more double quotes in the string itself. `0` is best for gzip size.
1046
+ - `1` -- always use single quotes
1047
+ - `2` -- always use double quotes
1048
+ - `3` -- always use the original quotes
1049
+
1050
+ - `preserve_annotations` -- (default `false`) -- Preserve [Terser annotations](#annotations) in the output.
1051
+
1052
+ - `safari10` (default `false`) -- set this option to `true` to work around
1053
+ the [Safari 10/11 await bug](https://bugs.webkit.org/show_bug.cgi?id=176685).
1054
+ See also: the `safari10` [mangle option](#mangle-options).
1055
+
1056
+ - `semicolons` (default `true`) -- separate statements with semicolons. If
1057
+ you pass `false` then whenever possible we will use a newline instead of a
1058
+ semicolon, leading to more readable output of minified code (size before
1059
+ gzip could be smaller; size after gzip insignificantly larger).
1060
+
1061
+ - `shebang` (default `true`) -- preserve shebang `#!` in preamble (bash scripts)
1062
+
1063
+ - `spidermonkey` (default `false`) -- produce a Spidermonkey (Mozilla) AST
1064
+
1065
+ - `webkit` (default `false`) -- enable workarounds for WebKit bugs.
1066
+ PhantomJS users should set this option to `true`.
1067
+
1068
+ - `wrap_iife` (default `false`) -- pass `true` to wrap immediately invoked
1069
+ function expressions. See
1070
+ [#640](https://github.com/mishoo/UglifyJS2/issues/640) for more details.
1071
+
1072
+ - `wrap_func_args` (default `true`) -- pass `false` if you do not want to wrap
1073
+ function expressions that are passed as arguments, in parenthesis. See
1074
+ [OptimizeJS](https://github.com/nolanlawson/optimize-js) for more details.
1075
+
1076
+
1077
+ <!-- OPTIONS:END -->
1078
+
1079
+
1080
+ # Miscellaneous
1081
+
1082
+ <!-- MISCELLANEOUS:START -->
1083
+
1084
+ ### Keeping copyright notices or other comments
1085
+
1086
+ You can pass `--comments` to retain certain comments in the output. By
1087
+ default it will keep comments starting with "!" and JSDoc-style comments that
1088
+ contain "@preserve", "@copyright", "@license" or "@cc_on" (conditional compilation for IE).
1089
+ You can pass `--comments all` to keep all the comments, or a valid JavaScript regexp to
1090
+ keep only comments that match this regexp. For example `--comments /^!/`
1091
+ will keep comments like `/*! Copyright Notice */`.
1092
+
1093
+ Note, however, that there might be situations where comments are lost. For
1094
+ example:
1095
+ ```javascript
1096
+ function f() {
1097
+ /** @preserve Foo Bar */
1098
+ function g() {
1099
+ // this function is never called
1100
+ }
1101
+ return something();
1102
+ }
1103
+ ```
1104
+
1105
+ Even though it has "@preserve", the comment will be lost because the inner
1106
+ function `g` (which is the AST node to which the comment is attached to) is
1107
+ discarded by the compressor as not referenced.
1108
+
1109
+ The safest comments where to place copyright information (or other info that
1110
+ needs to be kept in the output) are comments attached to toplevel nodes.
1111
+
1112
+ ### The `unsafe` `compress` option
1113
+
1114
+ It enables some transformations that *might* break code logic in certain
1115
+ contrived cases, but should be fine for most code. It assumes that standard
1116
+ built-in ECMAScript functions and classes have not been altered or replaced.
1117
+ You might want to try it on your own code; it should reduce the minified size.
1118
+ Some examples of the optimizations made when this option is enabled:
1119
+
1120
+ - `new Array(1, 2, 3)` or `Array(1, 2, 3)` → `[ 1, 2, 3 ]`
1121
+ - `Array.from([1, 2, 3])` → `[1, 2, 3]`
1122
+ - `new Object()` → `{}`
1123
+ - `String(exp)` or `exp.toString()` → `"" + exp`
1124
+ - `new Object/RegExp/Function/Error/Array (...)` → we discard the `new`
1125
+ - `"foo bar".substr(4)` → `"bar"`
1126
+
1127
+ ### Conditional compilation
1128
+
1129
+ You can use the `--define` (`-d`) switch in order to declare global
1130
+ variables that Terser will assume to be constants (unless defined in
1131
+ scope). For example if you pass `--define DEBUG=false` then, coupled with
1132
+ dead code removal Terser will discard the following from the output:
1133
+ ```javascript
1134
+ if (DEBUG) {
1135
+ console.log("debug stuff");
1136
+ }
1137
+ ```
1138
+
1139
+ You can specify nested constants in the form of `--define env.DEBUG=false`.
1140
+
1141
+ Another way of doing that is to declare your globals as constants in a
1142
+ separate file and include it into the build. For example you can have a
1143
+ `build/defines.js` file with the following:
1144
+ ```javascript
1145
+ var DEBUG = false;
1146
+ var PRODUCTION = true;
1147
+ // etc.
1148
+ ```
1149
+
1150
+ and build your code like this:
1151
+
1152
+ terser build/defines.js js/foo.js js/bar.js... -c
1153
+
1154
+ Terser will notice the constants and, since they cannot be altered, it
1155
+ will evaluate references to them to the value itself and drop unreachable
1156
+ code as usual. The build will contain the `const` declarations if you use
1157
+ them. If you are targeting < ES6 environments which does not support `const`,
1158
+ using `var` with `reduce_vars` (enabled by default) should suffice.
1159
+
1160
+ ### Conditional compilation API
1161
+
1162
+ You can also use conditional compilation via the programmatic API. With the difference that the
1163
+ property name is `global_defs` and is a compressor property:
1164
+
1165
+ ```javascript
1166
+ var result = await minify(fs.readFileSync("input.js", "utf8"), {
1167
+ compress: {
1168
+ dead_code: true,
1169
+ global_defs: {
1170
+ DEBUG: false
1171
+ }
1172
+ }
1173
+ });
1174
+ ```
1175
+
1176
+ To replace an identifier with an arbitrary non-constant expression it is
1177
+ necessary to prefix the `global_defs` key with `"@"` to instruct Terser
1178
+ to parse the value as an expression:
1179
+ ```javascript
1180
+ await minify("alert('hello');", {
1181
+ compress: {
1182
+ global_defs: {
1183
+ "@alert": "console.log"
1184
+ }
1185
+ }
1186
+ }).code;
1187
+ // returns: 'console.log("hello");'
1188
+ ```
1189
+
1190
+ Otherwise it would be replaced as string literal:
1191
+ ```javascript
1192
+ await minify("alert('hello');", {
1193
+ compress: {
1194
+ global_defs: {
1195
+ "alert": "console.log"
1196
+ }
1197
+ }
1198
+ }).code;
1199
+ // returns: '"console.log"("hello");'
1200
+ ```
1201
+
1202
+ ### Annotations
1203
+
1204
+ Annotations in Terser are a way to tell it to treat a certain function call differently. The following annotations are available:
1205
+
1206
+ * `/*@__INLINE__*/` - forces a function to be inlined somewhere.
1207
+ * `/*@__NOINLINE__*/` - Makes sure the called function is not inlined into the call site.
1208
+ * `/*@__PURE__*/` - Marks a function call as pure. That means, it can safely be dropped.
1209
+ * `/*@__KEY__*/` - Marks a string literal as a property to also mangle it when mangling properties.
1210
+ * `/*@__MANGLE_PROP__*/` - Opts-in an object property (or class field) for mangling, when the property mangler is enabled.
1211
+
1212
+ You can use either a `@` sign at the start, or a `#`.
1213
+
1214
+ Here are some examples on how to use them:
1215
+
1216
+ ```javascript
1217
+ /*@__INLINE__*/
1218
+ function_always_inlined_here()
1219
+
1220
+ /*#__NOINLINE__*/
1221
+ function_cant_be_inlined_into_here()
1222
+
1223
+ const x = /*#__PURE__*/i_am_dropped_if_x_is_not_used()
1224
+
1225
+ function lookup(object, key) { return object[key]; }
1226
+ lookup({ i_will_be_mangled_too: "bar" }, /*@__KEY__*/ "i_will_be_mangled_too");
1227
+ ```
1228
+
1229
+ ### ESTree / SpiderMonkey AST
1230
+
1231
+ Terser has its own abstract syntax tree format; for
1232
+ [practical reasons](http://lisperator.net/blog/uglifyjs-why-not-switching-to-spidermonkey-ast/)
1233
+ we can't easily change to using the SpiderMonkey AST internally. However,
1234
+ Terser now has a converter which can import a SpiderMonkey AST.
1235
+
1236
+ For example [Acorn][acorn] is a super-fast parser that produces a
1237
+ SpiderMonkey AST. It has a small CLI utility that parses one file and dumps
1238
+ the AST in JSON on the standard output. To use Terser to mangle and
1239
+ compress that:
1240
+
1241
+ acorn file.js | terser -p spidermonkey -m -c
1242
+
1243
+ The `-p spidermonkey` option tells Terser that all input files are not
1244
+ JavaScript, but JS code described in SpiderMonkey AST in JSON. Therefore we
1245
+ don't use our own parser in this case, but just transform that AST into our
1246
+ internal AST.
1247
+
1248
+ `spidermonkey` is also available in `minify` as `parse` and `format` options to
1249
+ accept and/or produce a spidermonkey AST.
1250
+
1251
+ ### Use Acorn for parsing
1252
+
1253
+ More for fun, I added the `-p acorn` option which will use Acorn to do all
1254
+ the parsing. If you pass this option, Terser will `require("acorn")`.
1255
+
1256
+ Acorn is really fast (e.g. 250ms instead of 380ms on some 650K code), but
1257
+ converting the SpiderMonkey tree that Acorn produces takes another 150ms so
1258
+ in total it's a bit more than just using Terser's own parser.
1259
+
1260
+ [acorn]: https://github.com/ternjs/acorn
1261
+ [sm-spec]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k
1262
+
1263
+ ### Terser Fast Minify Mode
1264
+
1265
+ It's not well known, but whitespace removal and symbol mangling accounts
1266
+ for 95% of the size reduction in minified code for most JavaScript - not
1267
+ elaborate code transforms. One can simply disable `compress` to speed up
1268
+ Terser builds by 3 to 4 times.
1269
+
1270
+ | d3.js | size | gzip size | time (s) |
1271
+ | --- | ---: | ---: | ---: |
1272
+ | original | 451,131 | 108,733 | - |
1273
+ | terser@3.7.5 mangle=false, compress=false | 316,600 | 85,245 | 0.82 |
1274
+ | terser@3.7.5 mangle=true, compress=false | 220,216 | 72,730 | 1.45 |
1275
+ | terser@3.7.5 mangle=true, compress=true | 212,046 | 70,954 | 5.87 |
1276
+ | babili@0.1.4 | 210,713 | 72,140 | 12.64 |
1277
+ | babel-minify@0.4.3 | 210,321 | 72,242 | 48.67 |
1278
+ | babel-minify@0.5.0-alpha.01eac1c3 | 210,421 | 72,238 | 14.17 |
1279
+
1280
+ To enable fast minify mode from the CLI use:
1281
+ ```
1282
+ terser file.js -m
1283
+ ```
1284
+ To enable fast minify mode with the API use:
1285
+ ```js
1286
+ await minify(code, { compress: false, mangle: true });
1287
+ ```
1288
+
1289
+ #### Source maps and debugging
1290
+
1291
+ Various `compress` transforms that simplify, rearrange, inline and remove code
1292
+ are known to have an adverse effect on debugging with source maps. This is
1293
+ expected as code is optimized and mappings are often simply not possible as
1294
+ some code no longer exists. For highest fidelity in source map debugging
1295
+ disable the `compress` option and just use `mangle`.
1296
+
1297
+ When debugging, make sure you enable the **"map scopes"** feature to map mangled variable names back to their original names.
1298
+ Without this, all variable values will be `undefined`. See https://github.com/terser/terser/issues/1367 for more details.
1299
+ <br/><br/>
1300
+
1301
+ ![image](https://user-images.githubusercontent.com/27283110/230441652-ac5cf6b0-5dc5-4ffc-9d8b-bd02875484f4.png)
1302
+
1303
+ ### Compiler assumptions
1304
+
1305
+ To allow for better optimizations, the compiler makes various assumptions:
1306
+
1307
+ - `.toString()` and `.valueOf()` don't have side effects, and for built-in
1308
+ objects they have not been overridden.
1309
+ - `undefined`, `NaN` and `Infinity` have not been externally redefined.
1310
+ - `arguments.callee`, `arguments.caller` and `Function.prototype.caller` are not used.
1311
+ - The code doesn't expect the contents of `Function.prototype.toString()` or
1312
+ `Error.prototype.stack` to be anything in particular.
1313
+ - Getting and setting properties on a plain object does not cause other side effects
1314
+ (using `.watch()` or `Proxy`).
1315
+ - Object properties can be added, removed and modified (not prevented with
1316
+ `Object.defineProperty()`, `Object.defineProperties()`, `Object.freeze()`,
1317
+ `Object.preventExtensions()` or `Object.seal()`).
1318
+ - `document.all` is not `== null`
1319
+ - Assigning properties to a class doesn't have side effects and does not throw.
1320
+
1321
+ ### Build Tools and Adaptors using Terser
1322
+
1323
+ https://www.npmjs.com/browse/depended/terser
1324
+
1325
+ ### Replacing `uglify-es` with `terser` in a project using `yarn`
1326
+
1327
+ A number of JS bundlers and uglify wrappers are still using buggy versions
1328
+ of `uglify-es` and have not yet upgraded to `terser`. If you are using `yarn`
1329
+ you can add the following alias to your project's `package.json` file:
1330
+
1331
+ ```js
1332
+ "resolutions": {
1333
+ "uglify-es": "npm:terser"
1334
+ }
1335
+ ```
1336
+
1337
+ to use `terser` instead of `uglify-es` in all deeply nested dependencies
1338
+ without changing any code.
1339
+
1340
+ Note: for this change to take effect you must run the following commands
1341
+ to remove the existing `yarn` lock file and reinstall all packages:
1342
+
1343
+ ```
1344
+ $ rm -rf node_modules yarn.lock
1345
+ $ yarn
1346
+ ```
1347
+
1348
+ <!-- MISCELLANEOUS:END -->
1349
+
1350
+ # Reporting issues
1351
+
1352
+ <!-- REPORTING_ISSUES:START -->
1353
+
1354
+ ## A minimal, reproducible example
1355
+
1356
+ You're expected to provide a [minimal reproducible example] of input code that will demonstrate your issue.
1357
+
1358
+ To get to this example, you can remove bits of your code and stop if your issue ceases to reproduce.
1359
+
1360
+ ## Obtaining the source code given to Terser
1361
+
1362
+ Because users often don't control the call to `await minify()` or its arguments, Terser provides a `TERSER_DEBUG_DIR` environment variable to make terser output some debug logs.
1363
+
1364
+ These logs will contain the input code and options of each `minify()` call.
1365
+
1366
+ ```bash
1367
+ TERSER_DEBUG_DIR=/tmp/terser-log-dir command-that-uses-terser
1368
+ ls /tmp/terser-log-dir
1369
+ terser-debug-123456.log
1370
+ ```
1371
+
1372
+ If you're not sure how to set an environment variable on your shell (the above example works in bash), you can try using cross-env:
1373
+
1374
+ ```
1375
+ > npx cross-env TERSER_DEBUG_DIR=/path/to/logs command-that-uses-terser
1376
+ ```
1377
+
1378
+ ## Stack traces
1379
+
1380
+ In the terser CLI we use [source-map-support](https://npmjs.com/source-map-support) to produce good error stacks. In your own app, you're expected to enable source-map-support (read their docs) to have nice stack traces that will help you write good issues.
1381
+
1382
+ <!-- REPORTING_ISSUES:END -->
1383
+
1384
+ # README.md Patrons:
1385
+
1386
+ *note*: <s>You can support this project on patreon: [link]</s> **The Terser Patreon is shutting down in favor of opencollective**. Check out [PATRONS.md](https://github.com/terser/terser/blob/master/PATRONS.md) for our first-tier patrons.
1387
+
1388
+ These are the second-tier patrons. Great thanks for your support!
1389
+
1390
+ * CKEditor ![](https://c10.patreonusercontent.com/3/eyJoIjoxMDAsInciOjEwMH0%3D/patreon-media/p/user/15452278/f8548dcf48d740619071e8d614459280/1?token-time=2145916800&token-hash=SIQ54PhIPHv3M7CVz9LxS8_8v4sOw4H304HaXsXj8MM%3D)
1391
+ * 38elements ![](https://c10.patreonusercontent.com/3/eyJ3IjoyMDB9/patreon-media/p/user/12501844/88e7fc5dd62d45c6a5626533bbd48cfb/1?token-time=2145916800&token-hash=c3AsQ5T0IQWic0zKxFHu-bGGQJkXQFvafvJ4bPerFR4%3D)
1392
+
1393
+ ## Contributors
1394
+
1395
+ ### Code Contributors
1396
+
1397
+ This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
1398
+ <a href="https://github.com/terser/terser/graphs/contributors"><img src="https://opencollective.com/terser/contributors.svg?width=890&button=false" /></a>
1399
+
1400
+ ### Financial Contributors
1401
+
1402
+ Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/terser/contribute)]
1403
+
1404
+ #### Individuals
1405
+
1406
+ <a href="https://opencollective.com/terser"><img src="https://opencollective.com/terser/individuals.svg?width=890"></a>
1407
+
1408
+ #### Organizations
1409
+
1410
+ Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/terser/contribute)]
1411
+
1412
+ <a href="https://opencollective.com/terser/organization/0/website"><img src="https://opencollective.com/terser/organization/0/avatar.svg"></a>
1413
+ <a href="https://opencollective.com/terser/organization/1/website"><img src="https://opencollective.com/terser/organization/1/avatar.svg"></a>
1414
+ <a href="https://opencollective.com/terser/organization/2/website"><img src="https://opencollective.com/terser/organization/2/avatar.svg"></a>
1415
+ <a href="https://opencollective.com/terser/organization/3/website"><img src="https://opencollective.com/terser/organization/3/avatar.svg"></a>
1416
+ <a href="https://opencollective.com/terser/organization/4/website"><img src="https://opencollective.com/terser/organization/4/avatar.svg"></a>
1417
+ <a href="https://opencollective.com/terser/organization/5/website"><img src="https://opencollective.com/terser/organization/5/avatar.svg"></a>
1418
+ <a href="https://opencollective.com/terser/organization/6/website"><img src="https://opencollective.com/terser/organization/6/avatar.svg"></a>
1419
+ <a href="https://opencollective.com/terser/organization/7/website"><img src="https://opencollective.com/terser/organization/7/avatar.svg"></a>
1420
+ <a href="https://opencollective.com/terser/organization/8/website"><img src="https://opencollective.com/terser/organization/8/avatar.svg"></a>
1421
+ <a href="https://opencollective.com/terser/organization/9/website"><img src="https://opencollective.com/terser/organization/9/avatar.svg"></a>