cloudstructs 0.9.27 → 0.9.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (460) hide show
  1. package/.jsii +4 -4
  2. package/assets/slack-textract/detect.lambda/index.js +929 -51
  3. package/lib/codecommit-mirror/index.js +2 -2
  4. package/lib/dmarc/index.js +1 -1
  5. package/lib/ecs-service-roller/index.js +2 -2
  6. package/lib/email-receiver/receiver.js +1 -1
  7. package/lib/mjml-template/index.js +1 -1
  8. package/lib/saml-identity-provider/index.js +2 -2
  9. package/lib/slack-app/manifest.js +1 -1
  10. package/lib/slack-app/slack-app.js +2 -2
  11. package/lib/slack-events/index.js +1 -1
  12. package/lib/slack-textract/index.js +1 -1
  13. package/lib/ssl-server-test/index.js +1 -1
  14. package/lib/state-machine-cr-provider/index.js +1 -1
  15. package/lib/static-website/index.js +1 -1
  16. package/lib/toolkit-cleaner/index.js +1 -1
  17. package/lib/url-shortener/index.js +1 -1
  18. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +2 -2
  19. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  20. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +4 -3
  21. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +2 -2
  22. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +1 -1
  23. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +4 -3
  24. package/node_modules/@babel/runtime/package.json +1 -1
  25. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  26. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +55 -0
  27. package/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +114 -39
  28. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +4 -11
  29. package/node_modules/@slack/logger/node_modules/@types/node/constants.d.ts +14 -12
  30. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +36 -1
  31. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +10 -7
  32. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +2 -2
  33. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +45 -98
  34. package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +0 -57
  35. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +1 -0
  36. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +530 -237
  37. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +30 -5
  38. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  39. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +5 -0
  40. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +54 -4
  41. package/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +1 -1
  42. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +207 -2
  43. package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +6 -1
  44. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +936 -1000
  45. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +40 -138
  46. package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +107 -35
  47. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +85 -17
  48. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +1 -1
  49. package/node_modules/@slack/web-api/README.md +4 -4
  50. package/node_modules/@slack/web-api/dist/WebClient.d.ts +30 -1
  51. package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
  52. package/node_modules/@slack/web-api/dist/WebClient.js +15 -2
  53. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  54. package/node_modules/@slack/web-api/dist/methods.d.ts +1 -1
  55. package/node_modules/@slack/web-api/dist/methods.js +1 -1
  56. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  57. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +55 -0
  58. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.buffer.d.ts +114 -39
  59. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +4 -11
  60. package/node_modules/@slack/web-api/node_modules/@types/node/constants.d.ts +14 -12
  61. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +36 -1
  62. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +10 -7
  63. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +2 -2
  64. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +45 -98
  65. package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +0 -57
  66. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +1 -0
  67. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +530 -237
  68. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +30 -5
  69. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  70. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +5 -0
  71. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +54 -4
  72. package/node_modules/@slack/web-api/node_modules/@types/node/sea.d.ts +1 -1
  73. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +207 -2
  74. package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +6 -1
  75. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +936 -1000
  76. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +40 -138
  77. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +107 -35
  78. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +85 -17
  79. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +1 -1
  80. package/node_modules/@slack/web-api/package.json +8 -6
  81. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  82. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +55 -0
  83. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +114 -39
  84. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +4 -11
  85. package/node_modules/@types/cacheable-request/node_modules/@types/node/constants.d.ts +14 -12
  86. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +36 -1
  87. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +10 -7
  88. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +2 -2
  89. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +45 -98
  90. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +0 -57
  91. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +1 -0
  92. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +530 -237
  93. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +30 -5
  94. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  95. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +5 -0
  96. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +54 -4
  97. package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +1 -1
  98. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +207 -2
  99. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +6 -1
  100. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +936 -1000
  101. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +40 -138
  102. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +107 -35
  103. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +85 -17
  104. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +1 -1
  105. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  106. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +55 -0
  107. package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +114 -39
  108. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +4 -11
  109. package/node_modules/@types/keyv/node_modules/@types/node/constants.d.ts +14 -12
  110. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +36 -1
  111. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +10 -7
  112. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +2 -2
  113. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +45 -98
  114. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +0 -57
  115. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +1 -0
  116. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +530 -237
  117. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +30 -5
  118. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  119. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +5 -0
  120. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +54 -4
  121. package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +1 -1
  122. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +207 -2
  123. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +6 -1
  124. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +936 -1000
  125. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +40 -138
  126. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +107 -35
  127. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +85 -17
  128. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +1 -1
  129. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  130. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +55 -0
  131. package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +114 -39
  132. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +4 -11
  133. package/node_modules/@types/responselike/node_modules/@types/node/constants.d.ts +14 -12
  134. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +36 -1
  135. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +10 -7
  136. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +2 -2
  137. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +45 -98
  138. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +0 -57
  139. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +1 -0
  140. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +530 -237
  141. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +30 -5
  142. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  143. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +5 -0
  144. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +54 -4
  145. package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +1 -1
  146. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +207 -2
  147. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +6 -1
  148. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +936 -1000
  149. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +40 -138
  150. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +107 -35
  151. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +85 -17
  152. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +1 -1
  153. package/node_modules/axios/CHANGELOG.md +97 -0
  154. package/node_modules/axios/README.md +35 -13
  155. package/node_modules/axios/dist/axios.js +14 -25
  156. package/node_modules/axios/dist/axios.js.map +1 -1
  157. package/node_modules/axios/dist/axios.min.js +2 -1
  158. package/node_modules/axios/dist/axios.min.js.map +1 -1
  159. package/node_modules/axios/dist/browser/axios.cjs +14 -28
  160. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  161. package/node_modules/axios/dist/esm/axios.js +14 -28
  162. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  163. package/node_modules/axios/dist/esm/axios.min.js +2 -1
  164. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  165. package/node_modules/axios/dist/node/axios.cjs +44 -31
  166. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  167. package/node_modules/axios/index.d.cts +1 -0
  168. package/node_modules/axios/index.d.ts +1 -0
  169. package/node_modules/axios/lib/adapters/http.js +1 -1
  170. package/node_modules/axios/lib/core/Axios.js +10 -1
  171. package/node_modules/axios/lib/core/buildFullPath.js +3 -2
  172. package/node_modules/axios/lib/env/data.js +1 -1
  173. package/node_modules/axios/lib/helpers/formDataToStream.js +3 -2
  174. package/node_modules/axios/lib/helpers/resolveConfig.js +1 -1
  175. package/node_modules/axios/lib/platform/node/index.js +26 -0
  176. package/node_modules/axios/lib/utils.js +0 -22
  177. package/node_modules/axios/package.json +4 -4
  178. package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  179. package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  180. package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  181. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  182. package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  183. package/node_modules/call-bind-apply-helpers/README.md +62 -0
  184. package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  185. package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  186. package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  187. package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  188. package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  189. package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  190. package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  191. package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  192. package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  193. package/node_modules/call-bind-apply-helpers/index.js +15 -0
  194. package/node_modules/call-bind-apply-helpers/package.json +85 -0
  195. package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  196. package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  197. package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  198. package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  199. package/node_modules/dunder-proto/.eslintrc +5 -0
  200. package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  201. package/node_modules/dunder-proto/.nycrc +13 -0
  202. package/node_modules/dunder-proto/CHANGELOG.md +24 -0
  203. package/node_modules/dunder-proto/LICENSE +21 -0
  204. package/node_modules/dunder-proto/README.md +54 -0
  205. package/node_modules/dunder-proto/get.d.ts +5 -0
  206. package/node_modules/dunder-proto/get.js +30 -0
  207. package/node_modules/dunder-proto/package.json +76 -0
  208. package/node_modules/dunder-proto/set.d.ts +5 -0
  209. package/node_modules/dunder-proto/set.js +35 -0
  210. package/node_modules/dunder-proto/test/get.js +34 -0
  211. package/node_modules/dunder-proto/test/index.js +4 -0
  212. package/node_modules/dunder-proto/test/set.js +50 -0
  213. package/node_modules/dunder-proto/tsconfig.json +9 -0
  214. package/node_modules/es-define-property/.eslintrc +13 -0
  215. package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  216. package/node_modules/es-define-property/.nycrc +9 -0
  217. package/node_modules/es-define-property/CHANGELOG.md +29 -0
  218. package/node_modules/es-define-property/LICENSE +21 -0
  219. package/node_modules/es-define-property/README.md +49 -0
  220. package/node_modules/es-define-property/index.d.ts +3 -0
  221. package/node_modules/es-define-property/index.js +14 -0
  222. package/node_modules/es-define-property/package.json +81 -0
  223. package/node_modules/es-define-property/test/index.js +56 -0
  224. package/node_modules/es-define-property/tsconfig.json +10 -0
  225. package/node_modules/es-errors/.eslintrc +5 -0
  226. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  227. package/node_modules/es-errors/CHANGELOG.md +40 -0
  228. package/node_modules/es-errors/LICENSE +21 -0
  229. package/node_modules/es-errors/README.md +55 -0
  230. package/node_modules/es-errors/eval.d.ts +3 -0
  231. package/node_modules/es-errors/eval.js +4 -0
  232. package/node_modules/es-errors/index.d.ts +3 -0
  233. package/node_modules/es-errors/index.js +4 -0
  234. package/node_modules/es-errors/package.json +80 -0
  235. package/node_modules/es-errors/range.d.ts +3 -0
  236. package/node_modules/es-errors/range.js +4 -0
  237. package/node_modules/es-errors/ref.d.ts +3 -0
  238. package/node_modules/es-errors/ref.js +4 -0
  239. package/node_modules/es-errors/syntax.d.ts +3 -0
  240. package/node_modules/es-errors/syntax.js +4 -0
  241. package/node_modules/es-errors/test/index.js +19 -0
  242. package/node_modules/es-errors/tsconfig.json +49 -0
  243. package/node_modules/es-errors/type.d.ts +3 -0
  244. package/node_modules/es-errors/type.js +4 -0
  245. package/node_modules/es-errors/uri.d.ts +3 -0
  246. package/node_modules/es-errors/uri.js +4 -0
  247. package/node_modules/es-object-atoms/.eslintrc +16 -0
  248. package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  249. package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  250. package/node_modules/es-object-atoms/LICENSE +21 -0
  251. package/node_modules/es-object-atoms/README.md +63 -0
  252. package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  253. package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  254. package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  255. package/node_modules/es-object-atoms/ToObject.js +10 -0
  256. package/node_modules/es-object-atoms/index.d.ts +3 -0
  257. package/node_modules/es-object-atoms/index.js +4 -0
  258. package/node_modules/es-object-atoms/isObject.d.ts +3 -0
  259. package/node_modules/es-object-atoms/isObject.js +6 -0
  260. package/node_modules/es-object-atoms/package.json +80 -0
  261. package/node_modules/es-object-atoms/test/index.js +38 -0
  262. package/node_modules/es-object-atoms/tsconfig.json +6 -0
  263. package/node_modules/es-set-tostringtag/.eslintrc +13 -0
  264. package/node_modules/es-set-tostringtag/.nycrc +9 -0
  265. package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  266. package/node_modules/es-set-tostringtag/LICENSE +21 -0
  267. package/node_modules/es-set-tostringtag/README.md +53 -0
  268. package/node_modules/es-set-tostringtag/index.d.ts +10 -0
  269. package/node_modules/es-set-tostringtag/index.js +35 -0
  270. package/node_modules/es-set-tostringtag/package.json +78 -0
  271. package/node_modules/es-set-tostringtag/test/index.js +85 -0
  272. package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  273. package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +0 -1
  274. package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +1 -1
  275. package/node_modules/foreground-child/dist/commonjs/index.d.ts +1 -8
  276. package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -1
  277. package/node_modules/foreground-child/dist/commonjs/index.js +2 -2
  278. package/node_modules/foreground-child/dist/commonjs/index.js.map +1 -1
  279. package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +0 -1
  280. package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +1 -1
  281. package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +0 -1
  282. package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +1 -1
  283. package/node_modules/foreground-child/dist/esm/all-signals.d.ts +0 -1
  284. package/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +1 -1
  285. package/node_modules/foreground-child/dist/esm/index.d.ts +1 -8
  286. package/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -1
  287. package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +0 -1
  288. package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +1 -1
  289. package/node_modules/foreground-child/dist/esm/watchdog.d.ts +0 -1
  290. package/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +1 -1
  291. package/node_modules/foreground-child/package.json +6 -11
  292. package/node_modules/form-data/lib/form_data.js +24 -22
  293. package/node_modules/form-data/package.json +17 -14
  294. package/node_modules/function-bind/.eslintrc +21 -0
  295. package/node_modules/function-bind/.github/FUNDING.yml +12 -0
  296. package/node_modules/function-bind/.github/SECURITY.md +3 -0
  297. package/node_modules/function-bind/.nycrc +13 -0
  298. package/node_modules/function-bind/CHANGELOG.md +136 -0
  299. package/node_modules/function-bind/LICENSE +20 -0
  300. package/node_modules/function-bind/README.md +46 -0
  301. package/node_modules/function-bind/implementation.js +84 -0
  302. package/node_modules/function-bind/index.js +5 -0
  303. package/node_modules/function-bind/package.json +87 -0
  304. package/node_modules/function-bind/test/.eslintrc +9 -0
  305. package/node_modules/function-bind/test/index.js +252 -0
  306. package/node_modules/get-intrinsic/.eslintrc +42 -0
  307. package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  308. package/node_modules/get-intrinsic/.nycrc +9 -0
  309. package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  310. package/node_modules/get-intrinsic/LICENSE +21 -0
  311. package/node_modules/get-intrinsic/README.md +71 -0
  312. package/node_modules/get-intrinsic/index.js +378 -0
  313. package/node_modules/get-intrinsic/package.json +97 -0
  314. package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  315. package/node_modules/get-proto/.eslintrc +10 -0
  316. package/node_modules/get-proto/.github/FUNDING.yml +12 -0
  317. package/node_modules/get-proto/.nycrc +9 -0
  318. package/node_modules/get-proto/CHANGELOG.md +21 -0
  319. package/node_modules/get-proto/LICENSE +21 -0
  320. package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  321. package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  322. package/node_modules/get-proto/README.md +50 -0
  323. package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  324. package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  325. package/node_modules/get-proto/index.d.ts +5 -0
  326. package/node_modules/get-proto/index.js +27 -0
  327. package/node_modules/get-proto/package.json +81 -0
  328. package/node_modules/get-proto/test/index.js +68 -0
  329. package/node_modules/get-proto/tsconfig.json +9 -0
  330. package/node_modules/gopd/.eslintrc +16 -0
  331. package/node_modules/gopd/.github/FUNDING.yml +12 -0
  332. package/node_modules/gopd/CHANGELOG.md +45 -0
  333. package/node_modules/gopd/LICENSE +21 -0
  334. package/node_modules/gopd/README.md +40 -0
  335. package/node_modules/gopd/gOPD.d.ts +1 -0
  336. package/node_modules/gopd/gOPD.js +4 -0
  337. package/node_modules/gopd/index.d.ts +5 -0
  338. package/node_modules/gopd/index.js +15 -0
  339. package/node_modules/gopd/package.json +77 -0
  340. package/node_modules/gopd/test/index.js +36 -0
  341. package/node_modules/gopd/tsconfig.json +9 -0
  342. package/node_modules/has-symbols/.eslintrc +11 -0
  343. package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  344. package/node_modules/has-symbols/.nycrc +9 -0
  345. package/node_modules/has-symbols/CHANGELOG.md +91 -0
  346. package/node_modules/has-symbols/LICENSE +21 -0
  347. package/node_modules/has-symbols/README.md +46 -0
  348. package/node_modules/has-symbols/index.d.ts +3 -0
  349. package/node_modules/has-symbols/index.js +14 -0
  350. package/node_modules/has-symbols/package.json +111 -0
  351. package/node_modules/has-symbols/shams.d.ts +3 -0
  352. package/node_modules/has-symbols/shams.js +45 -0
  353. package/node_modules/has-symbols/test/index.js +22 -0
  354. package/node_modules/has-symbols/test/shams/core-js.js +29 -0
  355. package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  356. package/node_modules/has-symbols/test/tests.js +58 -0
  357. package/node_modules/has-symbols/tsconfig.json +10 -0
  358. package/node_modules/has-tostringtag/.eslintrc +5 -0
  359. package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  360. package/node_modules/has-tostringtag/.nycrc +13 -0
  361. package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  362. package/node_modules/has-tostringtag/LICENSE +21 -0
  363. package/node_modules/has-tostringtag/README.md +46 -0
  364. package/node_modules/has-tostringtag/index.d.ts +3 -0
  365. package/node_modules/has-tostringtag/index.js +8 -0
  366. package/node_modules/has-tostringtag/package.json +108 -0
  367. package/node_modules/has-tostringtag/shams.d.ts +3 -0
  368. package/node_modules/has-tostringtag/shams.js +8 -0
  369. package/node_modules/has-tostringtag/test/index.js +21 -0
  370. package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  371. package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  372. package/node_modules/has-tostringtag/test/tests.js +15 -0
  373. package/node_modules/has-tostringtag/tsconfig.json +49 -0
  374. package/node_modules/hasown/.eslintrc +5 -0
  375. package/node_modules/hasown/.github/FUNDING.yml +12 -0
  376. package/node_modules/hasown/.nycrc +13 -0
  377. package/node_modules/hasown/CHANGELOG.md +40 -0
  378. package/node_modules/hasown/LICENSE +21 -0
  379. package/node_modules/hasown/README.md +40 -0
  380. package/node_modules/hasown/index.d.ts +3 -0
  381. package/node_modules/hasown/index.js +8 -0
  382. package/node_modules/hasown/package.json +92 -0
  383. package/node_modules/hasown/tsconfig.json +6 -0
  384. package/node_modules/js-beautify/README.md +19 -8
  385. package/node_modules/js-beautify/js/lib/beautifier.js +35 -18
  386. package/node_modules/js-beautify/js/lib/beautifier.min.js +1 -1
  387. package/node_modules/js-beautify/js/lib/beautify-html.js +35 -18
  388. package/node_modules/js-beautify/js/lib/beautify.js +4 -0
  389. package/node_modules/js-beautify/js/src/core/templatablepattern.js +4 -0
  390. package/node_modules/js-beautify/js/src/html/beautifier.js +5 -4
  391. package/node_modules/js-beautify/js/src/html/tokenizer.js +26 -14
  392. package/node_modules/js-beautify/package.json +5 -5
  393. package/node_modules/math-intrinsics/.eslintrc +16 -0
  394. package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  395. package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  396. package/node_modules/math-intrinsics/LICENSE +21 -0
  397. package/node_modules/math-intrinsics/README.md +50 -0
  398. package/node_modules/math-intrinsics/abs.d.ts +1 -0
  399. package/node_modules/math-intrinsics/abs.js +4 -0
  400. package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  401. package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  402. package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  403. package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  404. package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  405. package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  406. package/node_modules/math-intrinsics/floor.d.ts +1 -0
  407. package/node_modules/math-intrinsics/floor.js +4 -0
  408. package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  409. package/node_modules/math-intrinsics/isFinite.js +12 -0
  410. package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  411. package/node_modules/math-intrinsics/isInteger.js +16 -0
  412. package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  413. package/node_modules/math-intrinsics/isNaN.js +6 -0
  414. package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  415. package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  416. package/node_modules/math-intrinsics/max.d.ts +1 -0
  417. package/node_modules/math-intrinsics/max.js +4 -0
  418. package/node_modules/math-intrinsics/min.d.ts +1 -0
  419. package/node_modules/math-intrinsics/min.js +4 -0
  420. package/node_modules/math-intrinsics/mod.d.ts +3 -0
  421. package/node_modules/math-intrinsics/mod.js +9 -0
  422. package/node_modules/math-intrinsics/package.json +86 -0
  423. package/node_modules/math-intrinsics/pow.d.ts +1 -0
  424. package/node_modules/math-intrinsics/pow.js +4 -0
  425. package/node_modules/math-intrinsics/round.d.ts +1 -0
  426. package/node_modules/math-intrinsics/round.js +4 -0
  427. package/node_modules/math-intrinsics/sign.d.ts +3 -0
  428. package/node_modules/math-intrinsics/sign.js +11 -0
  429. package/node_modules/math-intrinsics/test/index.js +192 -0
  430. package/node_modules/math-intrinsics/tsconfig.json +3 -0
  431. package/node_modules/semver/README.md +14 -4
  432. package/node_modules/semver/bin/semver.js +2 -1
  433. package/node_modules/semver/classes/semver.js +22 -6
  434. package/node_modules/semver/functions/diff.js +5 -12
  435. package/node_modules/semver/internal/re.js +2 -0
  436. package/node_modules/semver/package.json +8 -7
  437. package/package.json +19 -19
  438. package/node_modules/axios/SECURITY.md +0 -6
  439. /package/node_modules/{path-key → cross-spawn/node_modules/path-key}/index.d.ts +0 -0
  440. /package/node_modules/{path-key → cross-spawn/node_modules/path-key}/index.js +0 -0
  441. /package/node_modules/{path-key → cross-spawn/node_modules/path-key}/license +0 -0
  442. /package/node_modules/{path-key → cross-spawn/node_modules/path-key}/package.json +0 -0
  443. /package/node_modules/{path-key → cross-spawn/node_modules/path-key}/readme.md +0 -0
  444. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/LICENSE +0 -0
  445. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/README.md +0 -0
  446. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.d.ts +0 -0
  447. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.d.ts.map +0 -0
  448. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.js +0 -0
  449. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.js.map +0 -0
  450. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.min.js +0 -0
  451. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.min.js.map +0 -0
  452. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/package.json +0 -0
  453. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.d.ts +0 -0
  454. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.d.ts.map +0 -0
  455. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.js +0 -0
  456. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.js.map +0 -0
  457. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.min.js +0 -0
  458. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.min.js.map +0 -0
  459. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/package.json +0 -0
  460. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/package.json +0 -0
@@ -1615,6 +1615,10 @@ TemplatablePattern.prototype.__set_templated_pattern = function() {
1615
1615
  if (!this._disabled.handlebars) {
1616
1616
  items.push(this.__patterns.handlebars._starting_pattern.source);
1617
1617
  }
1618
+ if (!this._disabled.angular) {
1619
+ // Handlebars ('{{' and '}}') are also special tokens in Angular)
1620
+ items.push(this.__patterns.handlebars._starting_pattern.source);
1621
+ }
1618
1622
  if (!this._disabled.erb) {
1619
1623
  items.push(this.__patterns.erb._starting_pattern.source);
1620
1624
  }
@@ -2040,7 +2044,7 @@ Beautifier.prototype.beautify = function() {
2040
2044
  type: ''
2041
2045
  };
2042
2046
 
2043
- var last_tag_token = new TagOpenParserToken();
2047
+ var last_tag_token = new TagOpenParserToken(this._options);
2044
2048
 
2045
2049
  var printer = new Printer(this._options, baseIndentString);
2046
2050
  var tokens = new Tokenizer(source_text, this._options).tokenize();
@@ -2363,7 +2367,7 @@ Beautifier.prototype._handle_tag_open = function(printer, raw_token, last_tag_to
2363
2367
  return parser_token;
2364
2368
  };
2365
2369
 
2366
- var TagOpenParserToken = function(parent, raw_token) {
2370
+ var TagOpenParserToken = function(options, parent, raw_token) {
2367
2371
  this.parent = parent || null;
2368
2372
  this.text = '';
2369
2373
  this.type = 'TK_TAG_OPEN';
@@ -2430,13 +2434,14 @@ var TagOpenParserToken = function(parent, raw_token) {
2430
2434
  }
2431
2435
 
2432
2436
  // handlebars tags that don't start with # or ^ are single_tags, and so also start and end.
2437
+ // if they start with # or ^, they are still considered single tags if indenting of handlebars is set to false
2433
2438
  this.is_end_tag = this.is_end_tag ||
2434
- (this.tag_start_char === '{' && (this.text.length < 3 || (/[^#\^]/.test(this.text.charAt(handlebar_starts)))));
2439
+ (this.tag_start_char === '{' && (!options.indent_handlebars || this.text.length < 3 || (/[^#\^]/.test(this.text.charAt(handlebar_starts)))));
2435
2440
  }
2436
2441
  };
2437
2442
 
2438
2443
  Beautifier.prototype._get_tag_open_token = function(raw_token) { //function to get a full tag and parse its type
2439
- var parser_token = new TagOpenParserToken(this._tag_stack.get_parser_token(), raw_token);
2444
+ var parser_token = new TagOpenParserToken(this._options, this._tag_stack.get_parser_token(), raw_token);
2440
2445
 
2441
2446
  parser_token.alignment_size = this._options.wrap_attributes_indent_size;
2442
2447
 
@@ -2903,6 +2908,7 @@ Tokenizer.prototype._get_next_token = function(previous_token, open_token) { //
2903
2908
  token = token || this._read_open_handlebars(c, open_token);
2904
2909
  token = token || this._read_attribute(c, previous_token, open_token);
2905
2910
  token = token || this._read_close(c, open_token);
2911
+ token = token || this._read_script_and_style(c, previous_token);
2906
2912
  token = token || this._read_control_flows(c, open_token);
2907
2913
  token = token || this._read_raw_content(c, previous_token, open_token);
2908
2914
  token = token || this._read_content_word(c, open_token);
@@ -2988,8 +2994,8 @@ Tokenizer.prototype._read_open_handlebars = function(c, open_token) {
2988
2994
  var resulting_string = null;
2989
2995
  var token = null;
2990
2996
  if (!open_token || open_token.type === TOKEN.CONTROL_FLOW_OPEN) {
2991
- if (this._options.indent_handlebars && c === '{' && this._input.peek(1) === '{') {
2992
- if (this._input.peek(2) === '!') {
2997
+ if ((this._options.templating.includes('angular') || this._options.indent_handlebars) && c === '{' && this._input.peek(1) === '{') {
2998
+ if (this._options.indent_handlebars && this._input.peek(2) === '!') {
2993
2999
  resulting_string = this.__patterns.handlebars_comment.read();
2994
3000
  resulting_string = resulting_string || this.__patterns.handlebars.read();
2995
3001
  token = this._create_token(TOKEN.COMMENT, resulting_string);
@@ -3005,8 +3011,8 @@ Tokenizer.prototype._read_open_handlebars = function(c, open_token) {
3005
3011
  Tokenizer.prototype._read_control_flows = function(c, open_token) {
3006
3012
  var resulting_string = '';
3007
3013
  var token = null;
3008
- // Only check for control flows if angular templating is set AND indenting is set
3009
- if (!this._options.templating.includes('angular') || !this._options.indent_handlebars) {
3014
+ // Only check for control flows if angular templating is set
3015
+ if (!this._options.templating.includes('angular')) {
3010
3016
  return token;
3011
3017
  }
3012
3018
 
@@ -3099,7 +3105,6 @@ Tokenizer.prototype._is_content_unformatted = function(tag_name) {
3099
3105
  this._options.unformatted.indexOf(tag_name) !== -1);
3100
3106
  };
3101
3107
 
3102
-
3103
3108
  Tokenizer.prototype._read_raw_content = function(c, previous_token, open_token) { // jshint unused:false
3104
3109
  var resulting_string = '';
3105
3110
  if (open_token && open_token.text[0] === '{') {
@@ -3107,6 +3112,22 @@ Tokenizer.prototype._read_raw_content = function(c, previous_token, open_token)
3107
3112
  } else if (previous_token.type === TOKEN.TAG_CLOSE &&
3108
3113
  previous_token.opened.text[0] === '<' && previous_token.text[0] !== '/') {
3109
3114
  // ^^ empty tag has no content
3115
+ var tag_name = previous_token.opened.text.substr(1).toLowerCase();
3116
+ if (this._is_content_unformatted(tag_name)) {
3117
+
3118
+ resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
3119
+ }
3120
+ }
3121
+
3122
+ if (resulting_string) {
3123
+ return this._create_token(TOKEN.TEXT, resulting_string);
3124
+ }
3125
+
3126
+ return null;
3127
+ };
3128
+
3129
+ Tokenizer.prototype._read_script_and_style = function(c, previous_token) { // jshint unused:false
3130
+ if (previous_token.type === TOKEN.TAG_CLOSE && previous_token.opened.text[0] === '<' && previous_token.text[0] !== '/') {
3110
3131
  var tag_name = previous_token.opened.text.substr(1).toLowerCase();
3111
3132
  if (tag_name === 'script' || tag_name === 'style') {
3112
3133
  // Script and style tags are allowed to have comments wrapping their content
@@ -3116,17 +3137,12 @@ Tokenizer.prototype._read_raw_content = function(c, previous_token, open_token)
3116
3137
  token.type = TOKEN.TEXT;
3117
3138
  return token;
3118
3139
  }
3119
- resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
3120
- } else if (this._is_content_unformatted(tag_name)) {
3121
-
3122
- resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
3140
+ var resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
3141
+ if (resulting_string) {
3142
+ return this._create_token(TOKEN.TEXT, resulting_string);
3143
+ }
3123
3144
  }
3124
3145
  }
3125
-
3126
- if (resulting_string) {
3127
- return this._create_token(TOKEN.TEXT, resulting_string);
3128
- }
3129
-
3130
3146
  return null;
3131
3147
  };
3132
3148
 
@@ -3144,6 +3160,7 @@ Tokenizer.prototype._read_content_word = function(c, open_token) {
3144
3160
  if (resulting_string) {
3145
3161
  return this._create_token(TOKEN.TEXT, resulting_string);
3146
3162
  }
3163
+ return null;
3147
3164
  };
3148
3165
 
3149
3166
  module.exports.Tokenizer = Tokenizer;
@@ -3912,6 +3912,10 @@ TemplatablePattern.prototype.__set_templated_pattern = function() {
3912
3912
  if (!this._disabled.handlebars) {
3913
3913
  items.push(this.__patterns.handlebars._starting_pattern.source);
3914
3914
  }
3915
+ if (!this._disabled.angular) {
3916
+ // Handlebars ('{{' and '}}') are also special tokens in Angular)
3917
+ items.push(this.__patterns.handlebars._starting_pattern.source);
3918
+ }
3915
3919
  if (!this._disabled.erb) {
3916
3920
  items.push(this.__patterns.erb._starting_pattern.source);
3917
3921
  }
@@ -135,6 +135,10 @@ TemplatablePattern.prototype.__set_templated_pattern = function() {
135
135
  if (!this._disabled.handlebars) {
136
136
  items.push(this.__patterns.handlebars._starting_pattern.source);
137
137
  }
138
+ if (!this._disabled.angular) {
139
+ // Handlebars ('{{' and '}}') are also special tokens in Angular)
140
+ items.push(this.__patterns.handlebars._starting_pattern.source);
141
+ }
138
142
  if (!this._disabled.erb) {
139
143
  items.push(this.__patterns.erb._starting_pattern.source);
140
144
  }
@@ -291,7 +291,7 @@ Beautifier.prototype.beautify = function() {
291
291
  type: ''
292
292
  };
293
293
 
294
- var last_tag_token = new TagOpenParserToken();
294
+ var last_tag_token = new TagOpenParserToken(this._options);
295
295
 
296
296
  var printer = new Printer(this._options, baseIndentString);
297
297
  var tokens = new Tokenizer(source_text, this._options).tokenize();
@@ -614,7 +614,7 @@ Beautifier.prototype._handle_tag_open = function(printer, raw_token, last_tag_to
614
614
  return parser_token;
615
615
  };
616
616
 
617
- var TagOpenParserToken = function(parent, raw_token) {
617
+ var TagOpenParserToken = function(options, parent, raw_token) {
618
618
  this.parent = parent || null;
619
619
  this.text = '';
620
620
  this.type = 'TK_TAG_OPEN';
@@ -681,13 +681,14 @@ var TagOpenParserToken = function(parent, raw_token) {
681
681
  }
682
682
 
683
683
  // handlebars tags that don't start with # or ^ are single_tags, and so also start and end.
684
+ // if they start with # or ^, they are still considered single tags if indenting of handlebars is set to false
684
685
  this.is_end_tag = this.is_end_tag ||
685
- (this.tag_start_char === '{' && (this.text.length < 3 || (/[^#\^]/.test(this.text.charAt(handlebar_starts)))));
686
+ (this.tag_start_char === '{' && (!options.indent_handlebars || this.text.length < 3 || (/[^#\^]/.test(this.text.charAt(handlebar_starts)))));
686
687
  }
687
688
  };
688
689
 
689
690
  Beautifier.prototype._get_tag_open_token = function(raw_token) { //function to get a full tag and parse its type
690
- var parser_token = new TagOpenParserToken(this._tag_stack.get_parser_token(), raw_token);
691
+ var parser_token = new TagOpenParserToken(this._options, this._tag_stack.get_parser_token(), raw_token);
691
692
 
692
693
  parser_token.alignment_size = this._options.wrap_attributes_indent_size;
693
694
 
@@ -130,6 +130,7 @@ Tokenizer.prototype._get_next_token = function(previous_token, open_token) { //
130
130
  token = token || this._read_open_handlebars(c, open_token);
131
131
  token = token || this._read_attribute(c, previous_token, open_token);
132
132
  token = token || this._read_close(c, open_token);
133
+ token = token || this._read_script_and_style(c, previous_token);
133
134
  token = token || this._read_control_flows(c, open_token);
134
135
  token = token || this._read_raw_content(c, previous_token, open_token);
135
136
  token = token || this._read_content_word(c, open_token);
@@ -215,8 +216,8 @@ Tokenizer.prototype._read_open_handlebars = function(c, open_token) {
215
216
  var resulting_string = null;
216
217
  var token = null;
217
218
  if (!open_token || open_token.type === TOKEN.CONTROL_FLOW_OPEN) {
218
- if (this._options.indent_handlebars && c === '{' && this._input.peek(1) === '{') {
219
- if (this._input.peek(2) === '!') {
219
+ if ((this._options.templating.includes('angular') || this._options.indent_handlebars) && c === '{' && this._input.peek(1) === '{') {
220
+ if (this._options.indent_handlebars && this._input.peek(2) === '!') {
220
221
  resulting_string = this.__patterns.handlebars_comment.read();
221
222
  resulting_string = resulting_string || this.__patterns.handlebars.read();
222
223
  token = this._create_token(TOKEN.COMMENT, resulting_string);
@@ -232,8 +233,8 @@ Tokenizer.prototype._read_open_handlebars = function(c, open_token) {
232
233
  Tokenizer.prototype._read_control_flows = function(c, open_token) {
233
234
  var resulting_string = '';
234
235
  var token = null;
235
- // Only check for control flows if angular templating is set AND indenting is set
236
- if (!this._options.templating.includes('angular') || !this._options.indent_handlebars) {
236
+ // Only check for control flows if angular templating is set
237
+ if (!this._options.templating.includes('angular')) {
237
238
  return token;
238
239
  }
239
240
 
@@ -326,7 +327,6 @@ Tokenizer.prototype._is_content_unformatted = function(tag_name) {
326
327
  this._options.unformatted.indexOf(tag_name) !== -1);
327
328
  };
328
329
 
329
-
330
330
  Tokenizer.prototype._read_raw_content = function(c, previous_token, open_token) { // jshint unused:false
331
331
  var resulting_string = '';
332
332
  if (open_token && open_token.text[0] === '{') {
@@ -334,6 +334,22 @@ Tokenizer.prototype._read_raw_content = function(c, previous_token, open_token)
334
334
  } else if (previous_token.type === TOKEN.TAG_CLOSE &&
335
335
  previous_token.opened.text[0] === '<' && previous_token.text[0] !== '/') {
336
336
  // ^^ empty tag has no content
337
+ var tag_name = previous_token.opened.text.substr(1).toLowerCase();
338
+ if (this._is_content_unformatted(tag_name)) {
339
+
340
+ resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
341
+ }
342
+ }
343
+
344
+ if (resulting_string) {
345
+ return this._create_token(TOKEN.TEXT, resulting_string);
346
+ }
347
+
348
+ return null;
349
+ };
350
+
351
+ Tokenizer.prototype._read_script_and_style = function(c, previous_token) { // jshint unused:false
352
+ if (previous_token.type === TOKEN.TAG_CLOSE && previous_token.opened.text[0] === '<' && previous_token.text[0] !== '/') {
337
353
  var tag_name = previous_token.opened.text.substr(1).toLowerCase();
338
354
  if (tag_name === 'script' || tag_name === 'style') {
339
355
  // Script and style tags are allowed to have comments wrapping their content
@@ -343,17 +359,12 @@ Tokenizer.prototype._read_raw_content = function(c, previous_token, open_token)
343
359
  token.type = TOKEN.TEXT;
344
360
  return token;
345
361
  }
346
- resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
347
- } else if (this._is_content_unformatted(tag_name)) {
348
-
349
- resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
362
+ var resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\n\\r\\t ]*?>', 'ig'));
363
+ if (resulting_string) {
364
+ return this._create_token(TOKEN.TEXT, resulting_string);
365
+ }
350
366
  }
351
367
  }
352
-
353
- if (resulting_string) {
354
- return this._create_token(TOKEN.TEXT, resulting_string);
355
- }
356
-
357
368
  return null;
358
369
  };
359
370
 
@@ -371,6 +382,7 @@ Tokenizer.prototype._read_content_word = function(c, open_token) {
371
382
  if (resulting_string) {
372
383
  return this._create_token(TOKEN.TEXT, resulting_string);
373
384
  }
385
+ return null;
374
386
  };
375
387
 
376
388
  module.exports.Tokenizer = Tokenizer;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-beautify",
3
- "version": "1.15.1",
3
+ "version": "1.15.4",
4
4
  "description": "beautifier.io for node",
5
5
  "main": "js/index.js",
6
6
  "bin": {
@@ -51,9 +51,9 @@
51
51
  "dependencies": {
52
52
  "config-chain": "^1.1.13",
53
53
  "editorconfig": "^1.0.4",
54
- "glob": "^10.3.3",
54
+ "glob": "^10.4.2",
55
55
  "js-cookie": "^3.0.5",
56
- "nopt": "^7.2.0"
56
+ "nopt": "^7.2.1"
57
57
  },
58
58
  "devDependencies": {
59
59
  "ansi-regex": "^6.0.1",
@@ -62,12 +62,12 @@
62
62
  "jquery": "^3.6.4",
63
63
  "jshint": "^2.13.6",
64
64
  "minimist": "^1.2.8",
65
- "mocha": "^10.2.0",
65
+ "mocha": "^11.0.1",
66
66
  "mustache": "^4.2.0",
67
67
  "requirejs": "^2.3.6",
68
68
  "serve": "^14.2.0",
69
69
  "strip-ansi": "^7.0.1",
70
70
  "webpack": "^5.81.0",
71
- "webpack-cli": "^5.1.4"
71
+ "webpack-cli": "^6.0.1"
72
72
  }
73
73
  }
@@ -0,0 +1,16 @@
1
+ {
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+
6
+ "rules": {
7
+ "eqeqeq": ["error", "allow-null"],
8
+ "id-length": "off",
9
+ "new-cap": ["error", {
10
+ "capIsNewExceptions": [
11
+ "RequireObjectCoercible",
12
+ "ToObject",
13
+ ],
14
+ }],
15
+ },
16
+ }
@@ -0,0 +1,12 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: [ljharb]
4
+ patreon: # Replace with a single Patreon username
5
+ open_collective: # Replace with a single Open Collective username
6
+ ko_fi: # Replace with a single Ko-fi username
7
+ tidelift: npm/math-intrinsics
8
+ community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ liberapay: # Replace with a single Liberapay username
10
+ issuehunt: # Replace with a single IssueHunt username
11
+ otechie: # Replace with a single Otechie username
12
+ custom: # Replace with a single custom sponsorship URL
@@ -0,0 +1,24 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [v1.1.0](https://github.com/es-shims/math-intrinsics/compare/v1.0.0...v1.1.0) - 2024-12-18
9
+
10
+ ### Commits
11
+
12
+ - [New] add `round` [`7cfb044`](https://github.com/es-shims/math-intrinsics/commit/7cfb04460c0fbdf1ca101eecbac3f59d11994130)
13
+ - [Tests] add attw [`e96be8f`](https://github.com/es-shims/math-intrinsics/commit/e96be8fbf58449eafe976446a0470e6ea561ad8d)
14
+ - [Dev Deps] update `@types/tape` [`30d0023`](https://github.com/es-shims/math-intrinsics/commit/30d00234ce8a3fa0094a61cd55d6686eb91e36ec)
15
+
16
+ ## v1.0.0 - 2024-12-11
17
+
18
+ ### Commits
19
+
20
+ - Initial implementation, tests, readme, types [`b898caa`](https://github.com/es-shims/math-intrinsics/commit/b898caae94e9994a94a42b8740f7bbcfd0a868fe)
21
+ - Initial commit [`02745b0`](https://github.com/es-shims/math-intrinsics/commit/02745b03a62255af8a332771987b55d127538d9c)
22
+ - [New] add `constants/maxArrayLength`, `mod` [`b978178`](https://github.com/es-shims/math-intrinsics/commit/b978178a57685bd23ed1c7efe2137f3784f5fcc5)
23
+ - npm init [`a39fc57`](https://github.com/es-shims/math-intrinsics/commit/a39fc57e5639a645d0bd52a0dc56202480223be2)
24
+ - Only apps should have lockfiles [`9451580`](https://github.com/es-shims/math-intrinsics/commit/94515800fb34db4f3cc7e99290042d45609ac7bd)
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 ECMAScript Shims
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,50 @@
1
+ # math-intrinsics <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+ [![github actions][actions-image]][actions-url]
4
+ [![coverage][codecov-image]][codecov-url]
5
+ [![License][license-image]][license-url]
6
+ [![Downloads][downloads-image]][downloads-url]
7
+
8
+ [![npm badge][npm-badge-png]][package-url]
9
+
10
+ ES Math-related intrinsics and helpers, robustly cached.
11
+
12
+ - `abs`
13
+ - `floor`
14
+ - `isFinite`
15
+ - `isInteger`
16
+ - `isNaN`
17
+ - `isNegativeZero`
18
+ - `max`
19
+ - `min`
20
+ - `mod`
21
+ - `pow`
22
+ - `round`
23
+ - `sign`
24
+ - `constants/maxArrayLength`
25
+ - `constants/maxSafeInteger`
26
+ - `constants/maxValue`
27
+
28
+
29
+ ## Tests
30
+ Simply clone the repo, `npm install`, and run `npm test`
31
+
32
+ ## Security
33
+
34
+ Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
35
+
36
+ [package-url]: https://npmjs.org/package/math-intrinsics
37
+ [npm-version-svg]: https://versionbadg.es/es-shims/math-intrinsics.svg
38
+ [deps-svg]: https://david-dm.org/es-shims/math-intrinsics.svg
39
+ [deps-url]: https://david-dm.org/es-shims/math-intrinsics
40
+ [dev-deps-svg]: https://david-dm.org/es-shims/math-intrinsics/dev-status.svg
41
+ [dev-deps-url]: https://david-dm.org/es-shims/math-intrinsics#info=devDependencies
42
+ [npm-badge-png]: https://nodei.co/npm/math-intrinsics.png?downloads=true&stars=true
43
+ [license-image]: https://img.shields.io/npm/l/math-intrinsics.svg
44
+ [license-url]: LICENSE
45
+ [downloads-image]: https://img.shields.io/npm/dm/es-object.svg
46
+ [downloads-url]: https://npm-stat.com/charts.html?package=math-intrinsics
47
+ [codecov-image]: https://codecov.io/gh/es-shims/math-intrinsics/branch/main/graphs/badge.svg
48
+ [codecov-url]: https://app.codecov.io/gh/es-shims/math-intrinsics/
49
+ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/math-intrinsics
50
+ [actions-url]: https://github.com/es-shims/math-intrinsics/actions
@@ -0,0 +1 @@
1
+ export = Math.abs;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./abs')} */
4
+ module.exports = Math.abs;
@@ -0,0 +1,3 @@
1
+ declare const MAX_ARRAY_LENGTH: 4294967295;
2
+
3
+ export = MAX_ARRAY_LENGTH;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./maxArrayLength')} */
4
+ module.exports = 4294967295; // Math.pow(2, 32) - 1;
@@ -0,0 +1,3 @@
1
+ declare const MAX_SAFE_INTEGER: 9007199254740991;
2
+
3
+ export = MAX_SAFE_INTEGER;
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./maxSafeInteger')} */
4
+ // eslint-disable-next-line no-extra-parens
5
+ module.exports = /** @type {import('./maxSafeInteger')} */ (Number.MAX_SAFE_INTEGER) || 9007199254740991; // Math.pow(2, 53) - 1;
@@ -0,0 +1,3 @@
1
+ declare const MAX_VALUE: 1.7976931348623157e+308;
2
+
3
+ export = MAX_VALUE;
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./maxValue')} */
4
+ // eslint-disable-next-line no-extra-parens
5
+ module.exports = /** @type {import('./maxValue')} */ (Number.MAX_VALUE) || 1.7976931348623157e+308;
@@ -0,0 +1 @@
1
+ export = Math.floor;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./floor')} */
4
+ module.exports = Math.floor;
@@ -0,0 +1,3 @@
1
+ declare function isFinite(x: unknown): x is number | bigint;
2
+
3
+ export = isFinite;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var $isNaN = require('./isNaN');
4
+
5
+ /** @type {import('./isFinite')} */
6
+ module.exports = function isFinite(x) {
7
+ return (typeof x === 'number' || typeof x === 'bigint')
8
+ && !$isNaN(x)
9
+ && x !== Infinity
10
+ && x !== -Infinity;
11
+ };
12
+
@@ -0,0 +1,3 @@
1
+ declare function isInteger(argument: unknown): argument is number;
2
+
3
+ export = isInteger;
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var $abs = require('./abs');
4
+ var $floor = require('./floor');
5
+
6
+ var $isNaN = require('./isNaN');
7
+ var $isFinite = require('./isFinite');
8
+
9
+ /** @type {import('./isInteger')} */
10
+ module.exports = function isInteger(argument) {
11
+ if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) {
12
+ return false;
13
+ }
14
+ var absValue = $abs(argument);
15
+ return $floor(absValue) === absValue;
16
+ };
@@ -0,0 +1 @@
1
+ export = Number.isNaN;
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./isNaN')} */
4
+ module.exports = Number.isNaN || function isNaN(a) {
5
+ return a !== a;
6
+ };
@@ -0,0 +1,3 @@
1
+ declare function isNegativeZero(x: unknown): boolean;
2
+
3
+ export = isNegativeZero;
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./isNegativeZero')} */
4
+ module.exports = function isNegativeZero(x) {
5
+ return x === 0 && 1 / x === 1 / -0;
6
+ };
@@ -0,0 +1 @@
1
+ export = Math.max;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./max')} */
4
+ module.exports = Math.max;
@@ -0,0 +1 @@
1
+ export = Math.min;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('./min')} */
4
+ module.exports = Math.min;
@@ -0,0 +1,3 @@
1
+ declare function mod(number: number, modulo: number): number;
2
+
3
+ export = mod;
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var $floor = require('./floor');
4
+
5
+ /** @type {import('./mod')} */
6
+ module.exports = function mod(number, modulo) {
7
+ var remain = number % modulo;
8
+ return $floor(remain >= 0 ? remain : remain + modulo);
9
+ };