peerpigeon 1.1.2 → 1.2.0

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 (896) hide show
  1. package/dist/index.cjs +9011 -0
  2. package/dist/index.d.cts +2027 -0
  3. package/dist/index.d.ts +2027 -0
  4. package/dist/index.js +8944 -0
  5. package/package.json +53 -86
  6. package/LICENSE +0 -21
  7. package/README.md +0 -317
  8. package/cli.js +0 -1382
  9. package/dist/peerpigeon-browser.js +0 -13322
  10. package/dist/peerpigeon-browser.js.map +0 -7
  11. package/docs/API_DOCUMENTATION.md +0 -1976
  12. package/docs/BINARY_IMPLEMENTATION_SUMMARY.md +0 -304
  13. package/docs/BINARY_MESSAGES.md +0 -332
  14. package/docs/BOOTSTRAP_HUBS.md +0 -319
  15. package/docs/BROADCAST_STREAMING.md +0 -388
  16. package/docs/CLI_README.md +0 -371
  17. package/docs/CLOUD_DEPLOYMENT.md +0 -132
  18. package/docs/CUSTOM_HUB_NAMESPACES.md +0 -182
  19. package/docs/CUSTOM_NAMESPACE_IMPLEMENTATION.md +0 -187
  20. package/docs/DOCUMENTATION_REORGANIZATION.md +0 -172
  21. package/docs/HUB_P2P_MESH.md +0 -358
  22. package/docs/HUB_QUICK_REF.md +0 -108
  23. package/docs/HUB_SCRIPTS.md +0 -341
  24. package/docs/HUB_SYSTEM.md +0 -599
  25. package/docs/LOCAL_TESTING.md +0 -135
  26. package/docs/MIGRATION_COMPLETE.md +0 -93
  27. package/docs/NETWORK_NAMESPACES.md +0 -212
  28. package/docs/PIGEONRTC_MIGRATION.md +0 -280
  29. package/docs/README.md +0 -108
  30. package/docs/SELECTIVE_STREAMING_GUIDE.md +0 -427
  31. package/docs/STREAMING_API.md +0 -542
  32. package/docs/STREAMING_IMPLEMENTATION_SUMMARY.md +0 -286
  33. package/docs/TEST_CLEANUP_COMPLETE.md +0 -80
  34. package/examples/binary-message-demo.html +0 -496
  35. package/examples/bootstrap-hub-example.js +0 -292
  36. package/examples/broadcast-stream-demo.html +0 -539
  37. package/examples/browser/vanilla/README.md +0 -278
  38. package/examples/browser/vanilla/app.js +0 -2478
  39. package/examples/browser/vanilla/index.html +0 -603
  40. package/examples/browser/vanilla/minimal/README.md +0 -55
  41. package/examples/browser/vanilla/minimal/index.html +0 -75
  42. package/examples/browser/vanilla/minimal/minimal.js +0 -234
  43. package/examples/browser/vanilla/peerpigeon-browser.js +0 -13322
  44. package/examples/browser/vanilla/pigeonlogo.svg +0 -51
  45. package/examples/browser/vanilla/styles.css +0 -998
  46. package/examples/browser/vanilla/test-bundle.html +0 -35
  47. package/examples/browser/vue/EXPRESS_SOLUTION.md +0 -183
  48. package/examples/browser/vue/ICE_DEBUG.md +0 -171
  49. package/examples/browser/vue/IMPLEMENTATION.md +0 -218
  50. package/examples/browser/vue/QUICK_START.md +0 -149
  51. package/examples/browser/vue/README.md +0 -303
  52. package/examples/browser/vue/dist/assets/index-DJmfz_4i.js +0 -57
  53. package/examples/browser/vue/dist/assets/index-zmUJURg4.css +0 -1
  54. package/examples/browser/vue/dist/index.html +0 -32
  55. package/examples/browser/vue/dist/peerpigeon-browser.js +0 -13322
  56. package/examples/browser/vue/dist/pigeonlogo.svg +0 -51
  57. package/examples/browser/vue/index.html +0 -31
  58. package/examples/browser/vue/node_modules/.package-lock.json +0 -1305
  59. package/examples/browser/vue/node_modules/.vue-global-types/vue_99_0.d.ts +0 -136
  60. package/examples/browser/vue/node_modules/@babel/helper-string-parser/LICENSE +0 -22
  61. package/examples/browser/vue/node_modules/@babel/helper-string-parser/README.md +0 -19
  62. package/examples/browser/vue/node_modules/@babel/helper-string-parser/lib/index.js +0 -295
  63. package/examples/browser/vue/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
  64. package/examples/browser/vue/node_modules/@babel/helper-string-parser/package.json +0 -31
  65. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
  66. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/README.md +0 -19
  67. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  68. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  69. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  70. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  71. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  72. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  73. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  74. package/examples/browser/vue/node_modules/@babel/parser/CHANGELOG.md +0 -1073
  75. package/examples/browser/vue/node_modules/@babel/parser/LICENSE +0 -19
  76. package/examples/browser/vue/node_modules/@babel/parser/README.md +0 -19
  77. package/examples/browser/vue/node_modules/@babel/parser/bin/babel-parser.js +0 -15
  78. package/examples/browser/vue/node_modules/@babel/parser/lib/index.js +0 -14595
  79. package/examples/browser/vue/node_modules/@babel/parser/lib/index.js.map +0 -1
  80. package/examples/browser/vue/node_modules/@babel/parser/package.json +0 -50
  81. package/examples/browser/vue/node_modules/@babel/parser/typings/babel-parser.d.ts +0 -239
  82. package/examples/browser/vue/node_modules/@babel/types/LICENSE +0 -22
  83. package/examples/browser/vue/node_modules/@babel/types/README.md +0 -19
  84. package/examples/browser/vue/node_modules/@babel/types/lib/asserts/assertNode.js +0 -16
  85. package/examples/browser/vue/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
  86. package/examples/browser/vue/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1251
  87. package/examples/browser/vue/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
  88. package/examples/browser/vue/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -3
  89. package/examples/browser/vue/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
  90. package/examples/browser/vue/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -18
  91. package/examples/browser/vue/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
  92. package/examples/browser/vue/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -31
  93. package/examples/browser/vue/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
  94. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/index.js +0 -29
  95. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
  96. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -2896
  97. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
  98. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -274
  99. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
  100. package/examples/browser/vue/node_modules/@babel/types/lib/builders/productions.js +0 -12
  101. package/examples/browser/vue/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
  102. package/examples/browser/vue/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -24
  103. package/examples/browser/vue/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
  104. package/examples/browser/vue/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -22
  105. package/examples/browser/vue/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
  106. package/examples/browser/vue/node_modules/@babel/types/lib/builders/validateNode.js +0 -21
  107. package/examples/browser/vue/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
  108. package/examples/browser/vue/node_modules/@babel/types/lib/clone/clone.js +0 -12
  109. package/examples/browser/vue/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
  110. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -12
  111. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
  112. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -12
  113. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
  114. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneNode.js +0 -107
  115. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
  116. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -12
  117. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
  118. package/examples/browser/vue/node_modules/@babel/types/lib/comments/addComment.js +0 -15
  119. package/examples/browser/vue/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
  120. package/examples/browser/vue/node_modules/@babel/types/lib/comments/addComments.js +0 -22
  121. package/examples/browser/vue/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
  122. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -12
  123. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
  124. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -12
  125. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
  126. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -12
  127. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
  128. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -17
  129. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
  130. package/examples/browser/vue/node_modules/@babel/types/lib/comments/removeComments.js +0 -15
  131. package/examples/browser/vue/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
  132. package/examples/browser/vue/node_modules/@babel/types/lib/constants/generated/index.js +0 -60
  133. package/examples/browser/vue/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
  134. package/examples/browser/vue/node_modules/@babel/types/lib/constants/index.js +0 -33
  135. package/examples/browser/vue/node_modules/@babel/types/lib/constants/index.js.map +0 -1
  136. package/examples/browser/vue/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -14
  137. package/examples/browser/vue/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
  138. package/examples/browser/vue/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -66
  139. package/examples/browser/vue/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
  140. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -14
  141. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
  142. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toBlock.js +0 -29
  143. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
  144. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -14
  145. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
  146. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toExpression.js +0 -28
  147. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
  148. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -25
  149. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
  150. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -38
  151. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
  152. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -20
  153. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
  154. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toStatement.js +0 -39
  155. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
  156. package/examples/browser/vue/node_modules/@babel/types/lib/converters/valueToNode.js +0 -89
  157. package/examples/browser/vue/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
  158. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/core.js +0 -1659
  159. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
  160. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -11
  161. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
  162. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/experimental.js +0 -126
  163. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
  164. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/flow.js +0 -495
  165. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
  166. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/index.js +0 -100
  167. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
  168. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/jsx.js +0 -157
  169. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
  170. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/misc.js +0 -33
  171. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
  172. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/placeholders.js +0 -27
  173. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
  174. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/typescript.js +0 -528
  175. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
  176. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/utils.js +0 -292
  177. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
  178. package/examples/browser/vue/node_modules/@babel/types/lib/index-legacy.d.ts +0 -2797
  179. package/examples/browser/vue/node_modules/@babel/types/lib/index.d.ts +0 -3308
  180. package/examples/browser/vue/node_modules/@babel/types/lib/index.js +0 -584
  181. package/examples/browser/vue/node_modules/@babel/types/lib/index.js.flow +0 -2650
  182. package/examples/browser/vue/node_modules/@babel/types/lib/index.js.map +0 -1
  183. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -15
  184. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
  185. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -65
  186. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
  187. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/inherits.js +0 -28
  188. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
  189. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -17
  190. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
  191. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -24
  192. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
  193. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -14
  194. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
  195. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -66
  196. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
  197. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -48
  198. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
  199. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -102
  200. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
  201. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -63
  202. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
  203. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -13
  204. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
  205. package/examples/browser/vue/node_modules/@babel/types/lib/traverse/traverse.js +0 -50
  206. package/examples/browser/vue/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
  207. package/examples/browser/vue/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -40
  208. package/examples/browser/vue/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
  209. package/examples/browser/vue/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -44
  210. package/examples/browser/vue/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
  211. package/examples/browser/vue/node_modules/@babel/types/lib/utils/inherit.js +0 -13
  212. package/examples/browser/vue/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
  213. package/examples/browser/vue/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -40
  214. package/examples/browser/vue/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
  215. package/examples/browser/vue/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -17
  216. package/examples/browser/vue/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
  217. package/examples/browser/vue/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -13
  218. package/examples/browser/vue/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
  219. package/examples/browser/vue/node_modules/@babel/types/lib/validators/generated/index.js +0 -2797
  220. package/examples/browser/vue/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
  221. package/examples/browser/vue/node_modules/@babel/types/lib/validators/is.js +0 -27
  222. package/examples/browser/vue/node_modules/@babel/types/lib/validators/is.js.map +0 -1
  223. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isBinding.js +0 -27
  224. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
  225. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -13
  226. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
  227. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isImmutable.js +0 -21
  228. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
  229. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isLet.js +0 -17
  230. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
  231. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isNode.js +0 -12
  232. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
  233. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -57
  234. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
  235. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -15
  236. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
  237. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isReferenced.js +0 -96
  238. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
  239. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isScope.js +0 -18
  240. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
  241. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -14
  242. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
  243. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isType.js +0 -17
  244. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
  245. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -13
  246. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
  247. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -18
  248. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
  249. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isVar.js +0 -19
  250. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
  251. package/examples/browser/vue/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -44
  252. package/examples/browser/vue/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
  253. package/examples/browser/vue/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -11
  254. package/examples/browser/vue/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
  255. package/examples/browser/vue/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -11
  256. package/examples/browser/vue/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
  257. package/examples/browser/vue/node_modules/@babel/types/lib/validators/validate.js +0 -42
  258. package/examples/browser/vue/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
  259. package/examples/browser/vue/node_modules/@babel/types/package.json +0 -39
  260. package/examples/browser/vue/node_modules/@esbuild/darwin-arm64/README.md +0 -3
  261. package/examples/browser/vue/node_modules/@esbuild/darwin-arm64/bin/esbuild +0 -0
  262. package/examples/browser/vue/node_modules/@esbuild/darwin-arm64/package.json +0 -20
  263. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/LICENSE +0 -19
  264. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/README.md +0 -264
  265. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +0 -423
  266. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +0 -6
  267. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +0 -464
  268. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +0 -6
  269. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/package.json +0 -63
  270. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/src/scopes.ts +0 -345
  271. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts +0 -111
  272. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/src/strings.ts +0 -65
  273. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/src/vlq.ts +0 -55
  274. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts +0 -50
  275. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts.map +0 -1
  276. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +0 -50
  277. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts.map +0 -1
  278. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts +0 -9
  279. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts.map +0 -1
  280. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +0 -9
  281. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts.map +0 -1
  282. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts +0 -16
  283. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts.map +0 -1
  284. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +0 -16
  285. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts.map +0 -1
  286. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts +0 -7
  287. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts.map +0 -1
  288. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +0 -7
  289. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts.map +0 -1
  290. package/examples/browser/vue/node_modules/@rollup/rollup-darwin-arm64/README.md +0 -3
  291. package/examples/browser/vue/node_modules/@rollup/rollup-darwin-arm64/package.json +0 -22
  292. package/examples/browser/vue/node_modules/@rollup/rollup-darwin-arm64/rollup.darwin-arm64.node +0 -0
  293. package/examples/browser/vue/node_modules/@types/estree/LICENSE +0 -21
  294. package/examples/browser/vue/node_modules/@types/estree/README.md +0 -15
  295. package/examples/browser/vue/node_modules/@types/estree/flow.d.ts +0 -167
  296. package/examples/browser/vue/node_modules/@types/estree/index.d.ts +0 -694
  297. package/examples/browser/vue/node_modules/@types/estree/package.json +0 -27
  298. package/examples/browser/vue/node_modules/@types/web-bluetooth/LICENSE +0 -21
  299. package/examples/browser/vue/node_modules/@types/web-bluetooth/README.md +0 -15
  300. package/examples/browser/vue/node_modules/@types/web-bluetooth/index.d.ts +0 -193
  301. package/examples/browser/vue/node_modules/@types/web-bluetooth/package.json +0 -40
  302. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/LICENSE +0 -21
  303. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/README.md +0 -278
  304. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/dist/index.cjs +0 -3105
  305. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/dist/index.d.cts +0 -113
  306. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/dist/index.d.mts +0 -111
  307. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/dist/index.d.ts +0 -113
  308. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/dist/index.mjs +0 -3090
  309. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/package.json +0 -50
  310. package/examples/browser/vue/node_modules/@vue/compiler-core/LICENSE +0 -21
  311. package/examples/browser/vue/node_modules/@vue/compiler-core/README.md +0 -1
  312. package/examples/browser/vue/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js +0 -6864
  313. package/examples/browser/vue/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +0 -6741
  314. package/examples/browser/vue/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +0 -1096
  315. package/examples/browser/vue/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js +0 -5814
  316. package/examples/browser/vue/node_modules/@vue/compiler-core/index.js +0 -7
  317. package/examples/browser/vue/node_modules/@vue/compiler-core/package.json +0 -58
  318. package/examples/browser/vue/node_modules/@vue/compiler-dom/LICENSE +0 -21
  319. package/examples/browser/vue/node_modules/@vue/compiler-dom/README.md +0 -1
  320. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js +0 -934
  321. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +0 -689
  322. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +0 -45
  323. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-browser.js +0 -6623
  324. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-browser.prod.js +0 -14
  325. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +0 -690
  326. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.global.js +0 -6790
  327. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.global.prod.js +0 -14
  328. package/examples/browser/vue/node_modules/@vue/compiler-dom/index.js +0 -7
  329. package/examples/browser/vue/node_modules/@vue/compiler-dom/package.json +0 -57
  330. package/examples/browser/vue/node_modules/@vue/compiler-sfc/LICENSE +0 -21
  331. package/examples/browser/vue/node_modules/@vue/compiler-sfc/README.md +0 -80
  332. package/examples/browser/vue/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js +0 -25084
  333. package/examples/browser/vue/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +0 -485
  334. package/examples/browser/vue/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js +0 -50571
  335. package/examples/browser/vue/node_modules/@vue/compiler-sfc/package.json +0 -67
  336. package/examples/browser/vue/node_modules/@vue/compiler-ssr/LICENSE +0 -21
  337. package/examples/browser/vue/node_modules/@vue/compiler-ssr/README.md +0 -1
  338. package/examples/browser/vue/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +0 -1411
  339. package/examples/browser/vue/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +0 -4
  340. package/examples/browser/vue/node_modules/@vue/compiler-ssr/package.json +0 -34
  341. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/api.js +0 -2
  342. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/app.js +0 -2
  343. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/component.js +0 -2
  344. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/context.js +0 -2
  345. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +0 -2
  346. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/index.js +0 -22
  347. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/util.js +0 -2
  348. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/const.js +0 -5
  349. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/env.js +0 -17
  350. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/index.js +0 -45
  351. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/plugin.js +0 -2
  352. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/proxy.js +0 -111
  353. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/time.js +0 -28
  354. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +0 -108
  355. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/api.js +0 -1
  356. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +0 -1
  357. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/app.js +0 -1
  358. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +0 -78
  359. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/component.js +0 -1
  360. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +0 -5
  361. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/context.js +0 -1
  362. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +0 -180
  363. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/hooks.js +0 -1
  364. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +0 -6
  365. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/index.js +0 -6
  366. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +0 -4
  367. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/util.js +0 -1
  368. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/const.d.ts +0 -2
  369. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/const.js +0 -2
  370. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/env.d.ts +0 -15
  371. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/env.js +0 -12
  372. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/index.d.ts +0 -18
  373. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/index.js +0 -27
  374. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +0 -47
  375. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/plugin.js +0 -1
  376. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +0 -20
  377. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -107
  378. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/time.d.ts +0 -2
  379. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/time.js +0 -23
  380. package/examples/browser/vue/node_modules/@vue/devtools-api/package.json +0 -37
  381. package/examples/browser/vue/node_modules/@vue/reactivity/LICENSE +0 -21
  382. package/examples/browser/vue/node_modules/@vue/reactivity/README.md +0 -19
  383. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.cjs.js +0 -1963
  384. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1807
  385. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.d.ts +0 -757
  386. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.esm-browser.js +0 -1961
  387. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.esm-browser.prod.js +0 -5
  388. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -1920
  389. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.global.js +0 -2017
  390. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.global.prod.js +0 -5
  391. package/examples/browser/vue/node_modules/@vue/reactivity/index.js +0 -7
  392. package/examples/browser/vue/node_modules/@vue/reactivity/package.json +0 -55
  393. package/examples/browser/vue/node_modules/@vue/runtime-core/LICENSE +0 -21
  394. package/examples/browser/vue/node_modules/@vue/runtime-core/README.md +0 -28
  395. package/examples/browser/vue/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js +0 -8586
  396. package/examples/browser/vue/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +0 -6732
  397. package/examples/browser/vue/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +0 -1839
  398. package/examples/browser/vue/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +0 -8515
  399. package/examples/browser/vue/node_modules/@vue/runtime-core/index.js +0 -7
  400. package/examples/browser/vue/node_modules/@vue/runtime-core/package.json +0 -52
  401. package/examples/browser/vue/node_modules/@vue/runtime-dom/LICENSE +0 -21
  402. package/examples/browser/vue/node_modules/@vue/runtime-dom/README.md +0 -13
  403. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js +0 -1851
  404. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1703
  405. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +0 -1409
  406. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.js +0 -12499
  407. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js +0 -6
  408. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +0 -1892
  409. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.global.js +0 -12550
  410. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.global.prod.js +0 -6
  411. package/examples/browser/vue/node_modules/@vue/runtime-dom/index.js +0 -7
  412. package/examples/browser/vue/node_modules/@vue/runtime-dom/package.json +0 -60
  413. package/examples/browser/vue/node_modules/@vue/server-renderer/LICENSE +0 -21
  414. package/examples/browser/vue/node_modules/@vue/server-renderer/README.md +0 -178
  415. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js +0 -1151
  416. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +0 -879
  417. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +0 -65
  418. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.esm-browser.js +0 -8488
  419. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.esm-browser.prod.js +0 -5
  420. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +0 -1088
  421. package/examples/browser/vue/node_modules/@vue/server-renderer/index.js +0 -7
  422. package/examples/browser/vue/node_modules/@vue/server-renderer/package.json +0 -55
  423. package/examples/browser/vue/node_modules/@vue/shared/LICENSE +0 -21
  424. package/examples/browser/vue/node_modules/@vue/shared/README.md +0 -3
  425. package/examples/browser/vue/node_modules/@vue/shared/dist/shared.cjs.js +0 -612
  426. package/examples/browser/vue/node_modules/@vue/shared/dist/shared.cjs.prod.js +0 -604
  427. package/examples/browser/vue/node_modules/@vue/shared/dist/shared.d.ts +0 -334
  428. package/examples/browser/vue/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -536
  429. package/examples/browser/vue/node_modules/@vue/shared/index.js +0 -7
  430. package/examples/browser/vue/node_modules/@vue/shared/package.json +0 -47
  431. package/examples/browser/vue/node_modules/@vueuse/core/LICENSE +0 -21
  432. package/examples/browser/vue/node_modules/@vueuse/core/README.md +0 -124
  433. package/examples/browser/vue/node_modules/@vueuse/core/index.cjs +0 -7660
  434. package/examples/browser/vue/node_modules/@vueuse/core/index.d.cts +0 -5382
  435. package/examples/browser/vue/node_modules/@vueuse/core/index.d.mts +0 -5382
  436. package/examples/browser/vue/node_modules/@vueuse/core/index.d.ts +0 -5382
  437. package/examples/browser/vue/node_modules/@vueuse/core/index.iife.js +0 -7780
  438. package/examples/browser/vue/node_modules/@vueuse/core/index.iife.min.js +0 -1
  439. package/examples/browser/vue/node_modules/@vueuse/core/index.mjs +0 -7486
  440. package/examples/browser/vue/node_modules/@vueuse/core/metadata.cjs +0 -1
  441. package/examples/browser/vue/node_modules/@vueuse/core/metadata.d.cts +0 -1
  442. package/examples/browser/vue/node_modules/@vueuse/core/metadata.d.mts +0 -1
  443. package/examples/browser/vue/node_modules/@vueuse/core/metadata.d.ts +0 -1
  444. package/examples/browser/vue/node_modules/@vueuse/core/metadata.mjs +0 -1
  445. package/examples/browser/vue/node_modules/@vueuse/core/package.json +0 -45
  446. package/examples/browser/vue/node_modules/@vueuse/metadata/LICENSE +0 -21
  447. package/examples/browser/vue/node_modules/@vueuse/metadata/index.cjs +0 -2638
  448. package/examples/browser/vue/node_modules/@vueuse/metadata/index.d.cts +0 -76
  449. package/examples/browser/vue/node_modules/@vueuse/metadata/index.d.mts +0 -76
  450. package/examples/browser/vue/node_modules/@vueuse/metadata/index.d.ts +0 -76
  451. package/examples/browser/vue/node_modules/@vueuse/metadata/index.json +0 -2584
  452. package/examples/browser/vue/node_modules/@vueuse/metadata/index.mjs +0 -2626
  453. package/examples/browser/vue/node_modules/@vueuse/metadata/package.json +0 -39
  454. package/examples/browser/vue/node_modules/@vueuse/shared/LICENSE +0 -21
  455. package/examples/browser/vue/node_modules/@vueuse/shared/index.cjs +0 -1695
  456. package/examples/browser/vue/node_modules/@vueuse/shared/index.d.cts +0 -1221
  457. package/examples/browser/vue/node_modules/@vueuse/shared/index.d.mts +0 -1221
  458. package/examples/browser/vue/node_modules/@vueuse/shared/index.d.ts +0 -1221
  459. package/examples/browser/vue/node_modules/@vueuse/shared/index.iife.js +0 -1816
  460. package/examples/browser/vue/node_modules/@vueuse/shared/index.iife.min.js +0 -1
  461. package/examples/browser/vue/node_modules/@vueuse/shared/index.mjs +0 -1575
  462. package/examples/browser/vue/node_modules/@vueuse/shared/package.json +0 -37
  463. package/examples/browser/vue/node_modules/csstype/LICENSE +0 -19
  464. package/examples/browser/vue/node_modules/csstype/README.md +0 -277
  465. package/examples/browser/vue/node_modules/csstype/index.d.ts +0 -21297
  466. package/examples/browser/vue/node_modules/csstype/index.js.flow +0 -6612
  467. package/examples/browser/vue/node_modules/csstype/package.json +0 -66
  468. package/examples/browser/vue/node_modules/entities/LICENSE +0 -11
  469. package/examples/browser/vue/node_modules/entities/lib/decode.d.ts +0 -211
  470. package/examples/browser/vue/node_modules/entities/lib/decode.d.ts.map +0 -1
  471. package/examples/browser/vue/node_modules/entities/lib/decode.js +0 -536
  472. package/examples/browser/vue/node_modules/entities/lib/decode.js.map +0 -1
  473. package/examples/browser/vue/node_modules/entities/lib/decode_codepoint.d.ts +0 -19
  474. package/examples/browser/vue/node_modules/entities/lib/decode_codepoint.d.ts.map +0 -1
  475. package/examples/browser/vue/node_modules/entities/lib/decode_codepoint.js +0 -76
  476. package/examples/browser/vue/node_modules/entities/lib/decode_codepoint.js.map +0 -1
  477. package/examples/browser/vue/node_modules/entities/lib/encode.d.ts +0 -22
  478. package/examples/browser/vue/node_modules/entities/lib/encode.d.ts.map +0 -1
  479. package/examples/browser/vue/node_modules/entities/lib/encode.js +0 -77
  480. package/examples/browser/vue/node_modules/entities/lib/encode.js.map +0 -1
  481. package/examples/browser/vue/node_modules/entities/lib/escape.d.ts +0 -43
  482. package/examples/browser/vue/node_modules/entities/lib/escape.d.ts.map +0 -1
  483. package/examples/browser/vue/node_modules/entities/lib/escape.js +0 -122
  484. package/examples/browser/vue/node_modules/entities/lib/escape.js.map +0 -1
  485. package/examples/browser/vue/node_modules/entities/lib/esm/decode.d.ts +0 -211
  486. package/examples/browser/vue/node_modules/entities/lib/esm/decode.d.ts.map +0 -1
  487. package/examples/browser/vue/node_modules/entities/lib/esm/decode.js +0 -496
  488. package/examples/browser/vue/node_modules/entities/lib/esm/decode.js.map +0 -1
  489. package/examples/browser/vue/node_modules/entities/lib/esm/decode_codepoint.d.ts +0 -19
  490. package/examples/browser/vue/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +0 -1
  491. package/examples/browser/vue/node_modules/entities/lib/esm/decode_codepoint.js +0 -71
  492. package/examples/browser/vue/node_modules/entities/lib/esm/decode_codepoint.js.map +0 -1
  493. package/examples/browser/vue/node_modules/entities/lib/esm/encode.d.ts +0 -22
  494. package/examples/browser/vue/node_modules/entities/lib/esm/encode.d.ts.map +0 -1
  495. package/examples/browser/vue/node_modules/entities/lib/esm/encode.js +0 -69
  496. package/examples/browser/vue/node_modules/entities/lib/esm/encode.js.map +0 -1
  497. package/examples/browser/vue/node_modules/entities/lib/esm/escape.d.ts +0 -43
  498. package/examples/browser/vue/node_modules/entities/lib/esm/escape.d.ts.map +0 -1
  499. package/examples/browser/vue/node_modules/entities/lib/esm/escape.js +0 -116
  500. package/examples/browser/vue/node_modules/entities/lib/esm/escape.js.map +0 -1
  501. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
  502. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +0 -1
  503. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
  504. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-html.js.map +0 -1
  505. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
  506. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +0 -1
  507. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
  508. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +0 -1
  509. package/examples/browser/vue/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
  510. package/examples/browser/vue/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +0 -1
  511. package/examples/browser/vue/node_modules/entities/lib/esm/generated/encode-html.js +0 -10
  512. package/examples/browser/vue/node_modules/entities/lib/esm/generated/encode-html.js.map +0 -1
  513. package/examples/browser/vue/node_modules/entities/lib/esm/index.d.ts +0 -96
  514. package/examples/browser/vue/node_modules/entities/lib/esm/index.d.ts.map +0 -1
  515. package/examples/browser/vue/node_modules/entities/lib/esm/index.js +0 -99
  516. package/examples/browser/vue/node_modules/entities/lib/esm/index.js.map +0 -1
  517. package/examples/browser/vue/node_modules/entities/lib/esm/package.json +0 -1
  518. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
  519. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-html.d.ts.map +0 -1
  520. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-html.js +0 -9
  521. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
  522. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
  523. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +0 -1
  524. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
  525. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
  526. package/examples/browser/vue/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
  527. package/examples/browser/vue/node_modules/entities/lib/generated/encode-html.d.ts.map +0 -1
  528. package/examples/browser/vue/node_modules/entities/lib/generated/encode-html.js +0 -12
  529. package/examples/browser/vue/node_modules/entities/lib/generated/encode-html.js.map +0 -1
  530. package/examples/browser/vue/node_modules/entities/lib/index.d.ts +0 -96
  531. package/examples/browser/vue/node_modules/entities/lib/index.d.ts.map +0 -1
  532. package/examples/browser/vue/node_modules/entities/lib/index.js +0 -126
  533. package/examples/browser/vue/node_modules/entities/lib/index.js.map +0 -1
  534. package/examples/browser/vue/node_modules/entities/package.json +0 -90
  535. package/examples/browser/vue/node_modules/entities/readme.md +0 -122
  536. package/examples/browser/vue/node_modules/esbuild/LICENSE.md +0 -21
  537. package/examples/browser/vue/node_modules/esbuild/README.md +0 -3
  538. package/examples/browser/vue/node_modules/esbuild/bin/esbuild +0 -0
  539. package/examples/browser/vue/node_modules/esbuild/install.js +0 -285
  540. package/examples/browser/vue/node_modules/esbuild/lib/main.d.ts +0 -705
  541. package/examples/browser/vue/node_modules/esbuild/lib/main.js +0 -2239
  542. package/examples/browser/vue/node_modules/esbuild/package.json +0 -46
  543. package/examples/browser/vue/node_modules/estree-walker/CHANGELOG.md +0 -92
  544. package/examples/browser/vue/node_modules/estree-walker/LICENSE +0 -7
  545. package/examples/browser/vue/node_modules/estree-walker/README.md +0 -48
  546. package/examples/browser/vue/node_modules/estree-walker/dist/esm/estree-walker.js +0 -333
  547. package/examples/browser/vue/node_modules/estree-walker/dist/esm/package.json +0 -1
  548. package/examples/browser/vue/node_modules/estree-walker/dist/umd/estree-walker.js +0 -344
  549. package/examples/browser/vue/node_modules/estree-walker/package.json +0 -37
  550. package/examples/browser/vue/node_modules/estree-walker/src/async.js +0 -118
  551. package/examples/browser/vue/node_modules/estree-walker/src/index.js +0 -35
  552. package/examples/browser/vue/node_modules/estree-walker/src/package.json +0 -1
  553. package/examples/browser/vue/node_modules/estree-walker/src/sync.js +0 -118
  554. package/examples/browser/vue/node_modules/estree-walker/src/walker.js +0 -61
  555. package/examples/browser/vue/node_modules/estree-walker/types/async.d.ts +0 -53
  556. package/examples/browser/vue/node_modules/estree-walker/types/index.d.ts +0 -56
  557. package/examples/browser/vue/node_modules/estree-walker/types/sync.d.ts +0 -53
  558. package/examples/browser/vue/node_modules/estree-walker/types/tsconfig.tsbuildinfo +0 -345
  559. package/examples/browser/vue/node_modules/estree-walker/types/walker.d.ts +0 -37
  560. package/examples/browser/vue/node_modules/fsevents/LICENSE +0 -22
  561. package/examples/browser/vue/node_modules/fsevents/README.md +0 -89
  562. package/examples/browser/vue/node_modules/fsevents/fsevents.d.ts +0 -46
  563. package/examples/browser/vue/node_modules/fsevents/fsevents.js +0 -83
  564. package/examples/browser/vue/node_modules/fsevents/fsevents.node +0 -0
  565. package/examples/browser/vue/node_modules/fsevents/package.json +0 -62
  566. package/examples/browser/vue/node_modules/magic-string/LICENSE +0 -7
  567. package/examples/browser/vue/node_modules/magic-string/README.md +0 -324
  568. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.cjs.d.ts +0 -289
  569. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.cjs.js +0 -1594
  570. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.cjs.js.map +0 -1
  571. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.es.d.mts +0 -289
  572. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.es.mjs +0 -1588
  573. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.es.mjs.map +0 -1
  574. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.umd.js +0 -1682
  575. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.umd.js.map +0 -1
  576. package/examples/browser/vue/node_modules/magic-string/package.json +0 -70
  577. package/examples/browser/vue/node_modules/nanoid/LICENSE +0 -20
  578. package/examples/browser/vue/node_modules/nanoid/README.md +0 -39
  579. package/examples/browser/vue/node_modules/nanoid/async/index.browser.cjs +0 -69
  580. package/examples/browser/vue/node_modules/nanoid/async/index.browser.js +0 -34
  581. package/examples/browser/vue/node_modules/nanoid/async/index.cjs +0 -71
  582. package/examples/browser/vue/node_modules/nanoid/async/index.d.ts +0 -56
  583. package/examples/browser/vue/node_modules/nanoid/async/index.js +0 -35
  584. package/examples/browser/vue/node_modules/nanoid/async/index.native.js +0 -26
  585. package/examples/browser/vue/node_modules/nanoid/async/package.json +0 -12
  586. package/examples/browser/vue/node_modules/nanoid/bin/nanoid.cjs +0 -55
  587. package/examples/browser/vue/node_modules/nanoid/index.browser.cjs +0 -72
  588. package/examples/browser/vue/node_modules/nanoid/index.browser.js +0 -34
  589. package/examples/browser/vue/node_modules/nanoid/index.cjs +0 -85
  590. package/examples/browser/vue/node_modules/nanoid/index.d.cts +0 -91
  591. package/examples/browser/vue/node_modules/nanoid/index.d.ts +0 -91
  592. package/examples/browser/vue/node_modules/nanoid/index.js +0 -45
  593. package/examples/browser/vue/node_modules/nanoid/nanoid.js +0 -1
  594. package/examples/browser/vue/node_modules/nanoid/non-secure/index.cjs +0 -34
  595. package/examples/browser/vue/node_modules/nanoid/non-secure/index.d.ts +0 -33
  596. package/examples/browser/vue/node_modules/nanoid/non-secure/index.js +0 -21
  597. package/examples/browser/vue/node_modules/nanoid/non-secure/package.json +0 -6
  598. package/examples/browser/vue/node_modules/nanoid/package.json +0 -89
  599. package/examples/browser/vue/node_modules/nanoid/url-alphabet/index.cjs +0 -7
  600. package/examples/browser/vue/node_modules/nanoid/url-alphabet/index.js +0 -3
  601. package/examples/browser/vue/node_modules/nanoid/url-alphabet/package.json +0 -6
  602. package/examples/browser/vue/node_modules/picocolors/LICENSE +0 -15
  603. package/examples/browser/vue/node_modules/picocolors/README.md +0 -21
  604. package/examples/browser/vue/node_modules/picocolors/package.json +0 -25
  605. package/examples/browser/vue/node_modules/picocolors/picocolors.browser.js +0 -4
  606. package/examples/browser/vue/node_modules/picocolors/picocolors.d.ts +0 -5
  607. package/examples/browser/vue/node_modules/picocolors/picocolors.js +0 -75
  608. package/examples/browser/vue/node_modules/picocolors/types.d.ts +0 -51
  609. package/examples/browser/vue/node_modules/pinia/LICENSE +0 -21
  610. package/examples/browser/vue/node_modules/pinia/README.md +0 -24
  611. package/examples/browser/vue/node_modules/pinia/dist/pinia.cjs +0 -2061
  612. package/examples/browser/vue/node_modules/pinia/dist/pinia.d.ts +0 -1074
  613. package/examples/browser/vue/node_modules/pinia/dist/pinia.esm-browser.js +0 -2036
  614. package/examples/browser/vue/node_modules/pinia/dist/pinia.iife.js +0 -2223
  615. package/examples/browser/vue/node_modules/pinia/dist/pinia.iife.prod.js +0 -7
  616. package/examples/browser/vue/node_modules/pinia/dist/pinia.mjs +0 -2044
  617. package/examples/browser/vue/node_modules/pinia/dist/pinia.prod.cjs +0 -846
  618. package/examples/browser/vue/node_modules/pinia/index.cjs +0 -7
  619. package/examples/browser/vue/node_modules/pinia/index.js +0 -7
  620. package/examples/browser/vue/node_modules/pinia/package.json +0 -96
  621. package/examples/browser/vue/node_modules/postcss/LICENSE +0 -20
  622. package/examples/browser/vue/node_modules/postcss/README.md +0 -29
  623. package/examples/browser/vue/node_modules/postcss/lib/at-rule.d.ts +0 -140
  624. package/examples/browser/vue/node_modules/postcss/lib/at-rule.js +0 -25
  625. package/examples/browser/vue/node_modules/postcss/lib/comment.d.ts +0 -68
  626. package/examples/browser/vue/node_modules/postcss/lib/comment.js +0 -13
  627. package/examples/browser/vue/node_modules/postcss/lib/container.d.ts +0 -483
  628. package/examples/browser/vue/node_modules/postcss/lib/container.js +0 -447
  629. package/examples/browser/vue/node_modules/postcss/lib/css-syntax-error.d.ts +0 -248
  630. package/examples/browser/vue/node_modules/postcss/lib/css-syntax-error.js +0 -133
  631. package/examples/browser/vue/node_modules/postcss/lib/declaration.d.ts +0 -151
  632. package/examples/browser/vue/node_modules/postcss/lib/declaration.js +0 -24
  633. package/examples/browser/vue/node_modules/postcss/lib/document.d.ts +0 -69
  634. package/examples/browser/vue/node_modules/postcss/lib/document.js +0 -33
  635. package/examples/browser/vue/node_modules/postcss/lib/fromJSON.d.ts +0 -9
  636. package/examples/browser/vue/node_modules/postcss/lib/fromJSON.js +0 -54
  637. package/examples/browser/vue/node_modules/postcss/lib/input.d.ts +0 -227
  638. package/examples/browser/vue/node_modules/postcss/lib/input.js +0 -265
  639. package/examples/browser/vue/node_modules/postcss/lib/lazy-result.d.ts +0 -190
  640. package/examples/browser/vue/node_modules/postcss/lib/lazy-result.js +0 -550
  641. package/examples/browser/vue/node_modules/postcss/lib/list.d.ts +0 -60
  642. package/examples/browser/vue/node_modules/postcss/lib/list.js +0 -58
  643. package/examples/browser/vue/node_modules/postcss/lib/map-generator.js +0 -368
  644. package/examples/browser/vue/node_modules/postcss/lib/no-work-result.d.ts +0 -46
  645. package/examples/browser/vue/node_modules/postcss/lib/no-work-result.js +0 -138
  646. package/examples/browser/vue/node_modules/postcss/lib/node.d.ts +0 -556
  647. package/examples/browser/vue/node_modules/postcss/lib/node.js +0 -449
  648. package/examples/browser/vue/node_modules/postcss/lib/parse.d.ts +0 -9
  649. package/examples/browser/vue/node_modules/postcss/lib/parse.js +0 -42
  650. package/examples/browser/vue/node_modules/postcss/lib/parser.js +0 -611
  651. package/examples/browser/vue/node_modules/postcss/lib/postcss.d.mts +0 -69
  652. package/examples/browser/vue/node_modules/postcss/lib/postcss.d.ts +0 -458
  653. package/examples/browser/vue/node_modules/postcss/lib/postcss.js +0 -101
  654. package/examples/browser/vue/node_modules/postcss/lib/postcss.mjs +0 -30
  655. package/examples/browser/vue/node_modules/postcss/lib/previous-map.d.ts +0 -81
  656. package/examples/browser/vue/node_modules/postcss/lib/previous-map.js +0 -144
  657. package/examples/browser/vue/node_modules/postcss/lib/processor.d.ts +0 -115
  658. package/examples/browser/vue/node_modules/postcss/lib/processor.js +0 -67
  659. package/examples/browser/vue/node_modules/postcss/lib/result.d.ts +0 -205
  660. package/examples/browser/vue/node_modules/postcss/lib/result.js +0 -42
  661. package/examples/browser/vue/node_modules/postcss/lib/root.d.ts +0 -87
  662. package/examples/browser/vue/node_modules/postcss/lib/root.js +0 -61
  663. package/examples/browser/vue/node_modules/postcss/lib/rule.d.ts +0 -126
  664. package/examples/browser/vue/node_modules/postcss/lib/rule.js +0 -27
  665. package/examples/browser/vue/node_modules/postcss/lib/stringifier.d.ts +0 -46
  666. package/examples/browser/vue/node_modules/postcss/lib/stringifier.js +0 -353
  667. package/examples/browser/vue/node_modules/postcss/lib/stringify.d.ts +0 -9
  668. package/examples/browser/vue/node_modules/postcss/lib/stringify.js +0 -11
  669. package/examples/browser/vue/node_modules/postcss/lib/symbols.js +0 -5
  670. package/examples/browser/vue/node_modules/postcss/lib/terminal-highlight.js +0 -70
  671. package/examples/browser/vue/node_modules/postcss/lib/tokenize.js +0 -266
  672. package/examples/browser/vue/node_modules/postcss/lib/warn-once.js +0 -13
  673. package/examples/browser/vue/node_modules/postcss/lib/warning.d.ts +0 -147
  674. package/examples/browser/vue/node_modules/postcss/lib/warning.js +0 -37
  675. package/examples/browser/vue/node_modules/postcss/package.json +0 -88
  676. package/examples/browser/vue/node_modules/rollup/LICENSE.md +0 -679
  677. package/examples/browser/vue/node_modules/rollup/README.md +0 -134
  678. package/examples/browser/vue/node_modules/rollup/dist/bin/rollup +0 -1912
  679. package/examples/browser/vue/node_modules/rollup/dist/es/getLogFilter.js +0 -64
  680. package/examples/browser/vue/node_modules/rollup/dist/es/package.json +0 -1
  681. package/examples/browser/vue/node_modules/rollup/dist/es/parseAst.js +0 -12
  682. package/examples/browser/vue/node_modules/rollup/dist/es/rollup.js +0 -17
  683. package/examples/browser/vue/node_modules/rollup/dist/es/shared/node-entry.js +0 -23920
  684. package/examples/browser/vue/node_modules/rollup/dist/es/shared/parseAst.js +0 -2086
  685. package/examples/browser/vue/node_modules/rollup/dist/es/shared/watch.js +0 -9297
  686. package/examples/browser/vue/node_modules/rollup/dist/getLogFilter.d.ts +0 -5
  687. package/examples/browser/vue/node_modules/rollup/dist/getLogFilter.js +0 -69
  688. package/examples/browser/vue/node_modules/rollup/dist/loadConfigFile.d.ts +0 -20
  689. package/examples/browser/vue/node_modules/rollup/dist/loadConfigFile.js +0 -29
  690. package/examples/browser/vue/node_modules/rollup/dist/native.js +0 -129
  691. package/examples/browser/vue/node_modules/rollup/dist/parseAst.d.ts +0 -4
  692. package/examples/browser/vue/node_modules/rollup/dist/parseAst.js +0 -22
  693. package/examples/browser/vue/node_modules/rollup/dist/rollup.d.ts +0 -1185
  694. package/examples/browser/vue/node_modules/rollup/dist/rollup.js +0 -127
  695. package/examples/browser/vue/node_modules/rollup/dist/shared/fsevents-importer.js +0 -37
  696. package/examples/browser/vue/node_modules/rollup/dist/shared/index.js +0 -9003
  697. package/examples/browser/vue/node_modules/rollup/dist/shared/loadConfigFile.js +0 -572
  698. package/examples/browser/vue/node_modules/rollup/dist/shared/parseAst.js +0 -2318
  699. package/examples/browser/vue/node_modules/rollup/dist/shared/rollup.js +0 -23842
  700. package/examples/browser/vue/node_modules/rollup/dist/shared/watch-cli.js +0 -542
  701. package/examples/browser/vue/node_modules/rollup/dist/shared/watch.js +0 -324
  702. package/examples/browser/vue/node_modules/rollup/package.json +0 -273
  703. package/examples/browser/vue/node_modules/source-map-js/LICENSE +0 -28
  704. package/examples/browser/vue/node_modules/source-map-js/README.md +0 -765
  705. package/examples/browser/vue/node_modules/source-map-js/lib/array-set.js +0 -121
  706. package/examples/browser/vue/node_modules/source-map-js/lib/base64-vlq.js +0 -140
  707. package/examples/browser/vue/node_modules/source-map-js/lib/base64.js +0 -67
  708. package/examples/browser/vue/node_modules/source-map-js/lib/binary-search.js +0 -111
  709. package/examples/browser/vue/node_modules/source-map-js/lib/mapping-list.js +0 -79
  710. package/examples/browser/vue/node_modules/source-map-js/lib/quick-sort.js +0 -132
  711. package/examples/browser/vue/node_modules/source-map-js/lib/source-map-consumer.d.ts +0 -1
  712. package/examples/browser/vue/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
  713. package/examples/browser/vue/node_modules/source-map-js/lib/source-map-generator.d.ts +0 -1
  714. package/examples/browser/vue/node_modules/source-map-js/lib/source-map-generator.js +0 -444
  715. package/examples/browser/vue/node_modules/source-map-js/lib/source-node.d.ts +0 -1
  716. package/examples/browser/vue/node_modules/source-map-js/lib/source-node.js +0 -413
  717. package/examples/browser/vue/node_modules/source-map-js/lib/util.js +0 -594
  718. package/examples/browser/vue/node_modules/source-map-js/package.json +0 -71
  719. package/examples/browser/vue/node_modules/source-map-js/source-map.d.ts +0 -104
  720. package/examples/browser/vue/node_modules/source-map-js/source-map.js +0 -8
  721. package/examples/browser/vue/node_modules/vite/LICENSE.md +0 -3423
  722. package/examples/browser/vue/node_modules/vite/README.md +0 -20
  723. package/examples/browser/vue/node_modules/vite/bin/openChrome.applescript +0 -95
  724. package/examples/browser/vue/node_modules/vite/bin/vite.js +0 -61
  725. package/examples/browser/vue/node_modules/vite/client.d.ts +0 -256
  726. package/examples/browser/vue/node_modules/vite/dist/client/client.mjs +0 -829
  727. package/examples/browser/vue/node_modules/vite/dist/client/env.mjs +0 -24
  728. package/examples/browser/vue/node_modules/vite/dist/node/chunks/dep-D-7KCb9p.js +0 -7960
  729. package/examples/browser/vue/node_modules/vite/dist/node/chunks/dep-D_zLpgQd.js +0 -67047
  730. package/examples/browser/vue/node_modules/vite/dist/node/chunks/dep-IQS-Za7F.js +0 -561
  731. package/examples/browser/vue/node_modules/vite/dist/node/chunks/dep-YkMKzX4u.js +0 -993
  732. package/examples/browser/vue/node_modules/vite/dist/node/chunks/dep-e9kYborm.js +0 -7004
  733. package/examples/browser/vue/node_modules/vite/dist/node/cli.js +0 -917
  734. package/examples/browser/vue/node_modules/vite/dist/node/constants.js +0 -113
  735. package/examples/browser/vue/node_modules/vite/dist/node/index.d.ts +0 -3627
  736. package/examples/browser/vue/node_modules/vite/dist/node/index.js +0 -261
  737. package/examples/browser/vue/node_modules/vite/dist/node/runtime.d.ts +0 -63
  738. package/examples/browser/vue/node_modules/vite/dist/node/runtime.js +0 -1066
  739. package/examples/browser/vue/node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts +0 -281
  740. package/examples/browser/vue/node_modules/vite/dist/node-cjs/publicUtils.cjs +0 -6171
  741. package/examples/browser/vue/node_modules/vite/index.cjs +0 -60
  742. package/examples/browser/vue/node_modules/vite/index.d.cts +0 -6
  743. package/examples/browser/vue/node_modules/vite/package.json +0 -191
  744. package/examples/browser/vue/node_modules/vite/types/customEvent.d.ts +0 -39
  745. package/examples/browser/vue/node_modules/vite/types/hmrPayload.d.ts +0 -65
  746. package/examples/browser/vue/node_modules/vite/types/hot.d.ts +0 -36
  747. package/examples/browser/vue/node_modules/vite/types/import-meta.d.ts +0 -5
  748. package/examples/browser/vue/node_modules/vite/types/importGlob.d.ts +0 -75
  749. package/examples/browser/vue/node_modules/vite/types/importMeta.d.ts +0 -22
  750. package/examples/browser/vue/node_modules/vite/types/metadata.d.ts +0 -10
  751. package/examples/browser/vue/node_modules/vite/types/package.json +0 -4
  752. package/examples/browser/vue/node_modules/vue/LICENSE +0 -21
  753. package/examples/browser/vue/node_modules/vue/README.md +0 -62
  754. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.browser.js +0 -1
  755. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.browser.mjs +0 -1
  756. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.d.mts +0 -1
  757. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.d.ts +0 -1
  758. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.js +0 -3
  759. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.mjs +0 -3
  760. package/examples/browser/vue/node_modules/vue/compiler-sfc/package.json +0 -4
  761. package/examples/browser/vue/node_modules/vue/compiler-sfc/register-ts.js +0 -3
  762. package/examples/browser/vue/node_modules/vue/dist/vue.cjs.js +0 -80
  763. package/examples/browser/vue/node_modules/vue/dist/vue.cjs.prod.js +0 -66
  764. package/examples/browser/vue/node_modules/vue/dist/vue.d.mts +0 -7
  765. package/examples/browser/vue/node_modules/vue/dist/vue.d.ts +0 -7
  766. package/examples/browser/vue/node_modules/vue/dist/vue.esm-browser.js +0 -18392
  767. package/examples/browser/vue/node_modules/vue/dist/vue.esm-browser.prod.js +0 -12
  768. package/examples/browser/vue/node_modules/vue/dist/vue.esm-bundler.js +0 -71
  769. package/examples/browser/vue/node_modules/vue/dist/vue.global.js +0 -18272
  770. package/examples/browser/vue/node_modules/vue/dist/vue.global.prod.js +0 -12
  771. package/examples/browser/vue/node_modules/vue/dist/vue.runtime.esm-browser.js +0 -12522
  772. package/examples/browser/vue/node_modules/vue/dist/vue.runtime.esm-browser.prod.js +0 -6
  773. package/examples/browser/vue/node_modules/vue/dist/vue.runtime.esm-bundler.js +0 -26
  774. package/examples/browser/vue/node_modules/vue/dist/vue.runtime.global.js +0 -12574
  775. package/examples/browser/vue/node_modules/vue/dist/vue.runtime.global.prod.js +0 -6
  776. package/examples/browser/vue/node_modules/vue/index.js +0 -7
  777. package/examples/browser/vue/node_modules/vue/index.mjs +0 -1
  778. package/examples/browser/vue/node_modules/vue/jsx-runtime/index.d.ts +0 -25
  779. package/examples/browser/vue/node_modules/vue/jsx-runtime/index.js +0 -15
  780. package/examples/browser/vue/node_modules/vue/jsx-runtime/index.mjs +0 -12
  781. package/examples/browser/vue/node_modules/vue/jsx-runtime/package.json +0 -5
  782. package/examples/browser/vue/node_modules/vue/jsx.d.ts +0 -22
  783. package/examples/browser/vue/node_modules/vue/package.json +0 -112
  784. package/examples/browser/vue/node_modules/vue/server-renderer/index.d.mts +0 -1
  785. package/examples/browser/vue/node_modules/vue/server-renderer/index.d.ts +0 -1
  786. package/examples/browser/vue/node_modules/vue/server-renderer/index.js +0 -1
  787. package/examples/browser/vue/node_modules/vue/server-renderer/index.mjs +0 -1
  788. package/examples/browser/vue/node_modules/vue/server-renderer/package.json +0 -4
  789. package/examples/browser/vue/node_modules/vue-demi/LICENSE +0 -21
  790. package/examples/browser/vue/node_modules/vue-demi/README.md +0 -229
  791. package/examples/browser/vue/node_modules/vue-demi/bin/vue-demi-fix.js +0 -3
  792. package/examples/browser/vue/node_modules/vue-demi/bin/vue-demi-switch.js +0 -3
  793. package/examples/browser/vue/node_modules/vue-demi/lib/index.cjs +0 -29
  794. package/examples/browser/vue/node_modules/vue-demi/lib/index.d.ts +0 -22
  795. package/examples/browser/vue/node_modules/vue-demi/lib/index.iife.js +0 -126
  796. package/examples/browser/vue/node_modules/vue-demi/lib/index.mjs +0 -34
  797. package/examples/browser/vue/node_modules/vue-demi/lib/v2/index.cjs +0 -34
  798. package/examples/browser/vue/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
  799. package/examples/browser/vue/node_modules/vue-demi/lib/v2/index.mjs +0 -49
  800. package/examples/browser/vue/node_modules/vue-demi/lib/v2.7/index.cjs +0 -60
  801. package/examples/browser/vue/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
  802. package/examples/browser/vue/node_modules/vue-demi/lib/v2.7/index.mjs +0 -80
  803. package/examples/browser/vue/node_modules/vue-demi/lib/v3/index.cjs +0 -29
  804. package/examples/browser/vue/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
  805. package/examples/browser/vue/node_modules/vue-demi/lib/v3/index.mjs +0 -34
  806. package/examples/browser/vue/node_modules/vue-demi/package.json +0 -47
  807. package/examples/browser/vue/node_modules/vue-demi/scripts/postinstall.js +0 -19
  808. package/examples/browser/vue/node_modules/vue-demi/scripts/switch-cli.js +0 -18
  809. package/examples/browser/vue/node_modules/vue-demi/scripts/utils.js +0 -62
  810. package/examples/browser/vue/node_modules/vue-router/LICENSE +0 -21
  811. package/examples/browser/vue/node_modules/vue-router/README.md +0 -111
  812. package/examples/browser/vue/node_modules/vue-router/dist/devtools-BLCumUwL.mjs +0 -1218
  813. package/examples/browser/vue/node_modules/vue-router/dist/experimental/index.d.mts +0 -38
  814. package/examples/browser/vue/node_modules/vue-router/dist/experimental/index.mjs +0 -754
  815. package/examples/browser/vue/node_modules/vue-router/dist/router-BbqN7H95.d.mts +0 -1928
  816. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.cjs +0 -2797
  817. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.d.mts +0 -393
  818. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.esm-browser.js +0 -2743
  819. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.esm-browser.prod.js +0 -6
  820. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.esm-bundler.js +0 -2
  821. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.global.js +0 -3040
  822. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.global.prod.js +0 -6
  823. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.mjs +0 -1557
  824. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.prod.cjs +0 -23
  825. package/examples/browser/vue/node_modules/vue-router/index.js +0 -7
  826. package/examples/browser/vue/node_modules/vue-router/package.json +0 -154
  827. package/examples/browser/vue/node_modules/vue-router/vetur/attributes.json +0 -32
  828. package/examples/browser/vue/node_modules/vue-router/vetur/tags.json +0 -10
  829. package/examples/browser/vue/node_modules/vue-router/vue-router-auto-resolver.d.mts +0 -22
  830. package/examples/browser/vue/node_modules/vue-router/vue-router-auto-routes.d.ts +0 -4
  831. package/examples/browser/vue/node_modules/vue-router/vue-router-auto.d.ts +0 -1
  832. package/examples/browser/vue/node_modules/vue-router/vue-router.node.mjs +0 -2
  833. package/examples/browser/vue/package-lock.json +0 -1276
  834. package/examples/browser/vue/package.json +0 -23
  835. package/examples/browser/vue/public/peerpigeon-browser.js +0 -13322
  836. package/examples/browser/vue/public/pigeonlogo.svg +0 -51
  837. package/examples/browser/vue/src/App-simple.vue +0 -21
  838. package/examples/browser/vue/src/App.vue +0 -423
  839. package/examples/browser/vue/src/components/CryptoView.vue +0 -1661
  840. package/examples/browser/vue/src/components/DHTView.vue +0 -1281
  841. package/examples/browser/vue/src/components/DebugView.vue +0 -1783
  842. package/examples/browser/vue/src/components/MediaView.vue +0 -1197
  843. package/examples/browser/vue/src/components/MessagingView.vue +0 -803
  844. package/examples/browser/vue/src/components/NetworkView.vue +0 -930
  845. package/examples/browser/vue/src/components/StorageView.vue +0 -1376
  846. package/examples/browser/vue/src/components/TestingView.vue +0 -794
  847. package/examples/browser/vue/src/main.js +0 -11
  848. package/examples/browser/vue/src/router.js +0 -63
  849. package/examples/browser/vue/src/stores/peerpigeon.js +0 -1334
  850. package/examples/browser/vue/test-vue-restructured-2.log +0 -18
  851. package/examples/browser/vue/test-vue-restructured-3.log +0 -18
  852. package/examples/browser/vue/vite.config.js +0 -22
  853. package/examples/debug-configuration.js +0 -171
  854. package/examples/hub-example.js +0 -189
  855. package/examples/multi-hub-test.js +0 -186
  856. package/examples/nativescript/README.md +0 -73
  857. package/examples/nativescript/app.js +0 -152
  858. package/examples/nativescript/package.json +0 -27
  859. package/examples/node/README.md +0 -110
  860. package/examples/node/basic-storage-example.js +0 -90
  861. package/examples/node/package.json +0 -17
  862. package/examples/node/storage-spaces-test.js +0 -329
  863. package/examples/node/storage-test.js +0 -655
  864. package/examples/node/test-crypto-media.js +0 -137
  865. package/examples/node/test-crypto.js +0 -146
  866. package/examples/node/test-node.js +0 -152
  867. package/examples/programmatic-namespace-example.js +0 -108
  868. package/examples/selective-streaming-demo.html +0 -698
  869. package/examples/standard-events-demo.js +0 -126
  870. package/examples/stream-file-transfer-demo.html +0 -935
  871. package/index.js +0 -30
  872. package/server/index.js +0 -2147
  873. package/server/start.js +0 -52
  874. package/src/CleanupManager.js +0 -183
  875. package/src/ConnectionManager.js +0 -1286
  876. package/src/CryptoManager.js +0 -743
  877. package/src/DebugLogger.js +0 -204
  878. package/src/DistributedStorageManager.js +0 -1741
  879. package/src/EnvironmentDetector.js +0 -600
  880. package/src/EventEmitter.js +0 -106
  881. package/src/EvictionManager.js +0 -260
  882. package/src/GossipManager.js +0 -726
  883. package/src/LexicalStorageInterface.js +0 -332
  884. package/src/MediaManager.js +0 -276
  885. package/src/MeshOptimizer.js +0 -182
  886. package/src/PeerConnection.js +0 -1850
  887. package/src/PeerDiscovery.js +0 -329
  888. package/src/PeerPigeonMesh.js +0 -2502
  889. package/src/PigeonRTC-browser.js +0 -247
  890. package/src/SignalingClient.js +0 -395
  891. package/src/SignalingHandler.js +0 -589
  892. package/src/StorageManager.js +0 -107
  893. package/src/TimerUtils.js +0 -75
  894. package/src/WebDHT-Simple.js +0 -389
  895. package/src/WebDHT.js +0 -474
  896. package/src/browser-entry.js +0 -68
@@ -1,496 +0,0 @@
1
- import htmlDecodeTree from "./generated/decode-data-html.js";
2
- import xmlDecodeTree from "./generated/decode-data-xml.js";
3
- import decodeCodePoint, { replaceCodePoint, fromCodePoint, } from "./decode_codepoint.js";
4
- // Re-export for use by eg. htmlparser2
5
- export { htmlDecodeTree, xmlDecodeTree, decodeCodePoint };
6
- export { replaceCodePoint, fromCodePoint } from "./decode_codepoint.js";
7
- var CharCodes;
8
- (function (CharCodes) {
9
- CharCodes[CharCodes["NUM"] = 35] = "NUM";
10
- CharCodes[CharCodes["SEMI"] = 59] = "SEMI";
11
- CharCodes[CharCodes["EQUALS"] = 61] = "EQUALS";
12
- CharCodes[CharCodes["ZERO"] = 48] = "ZERO";
13
- CharCodes[CharCodes["NINE"] = 57] = "NINE";
14
- CharCodes[CharCodes["LOWER_A"] = 97] = "LOWER_A";
15
- CharCodes[CharCodes["LOWER_F"] = 102] = "LOWER_F";
16
- CharCodes[CharCodes["LOWER_X"] = 120] = "LOWER_X";
17
- CharCodes[CharCodes["LOWER_Z"] = 122] = "LOWER_Z";
18
- CharCodes[CharCodes["UPPER_A"] = 65] = "UPPER_A";
19
- CharCodes[CharCodes["UPPER_F"] = 70] = "UPPER_F";
20
- CharCodes[CharCodes["UPPER_Z"] = 90] = "UPPER_Z";
21
- })(CharCodes || (CharCodes = {}));
22
- /** Bit that needs to be set to convert an upper case ASCII character to lower case */
23
- const TO_LOWER_BIT = 0b100000;
24
- export var BinTrieFlags;
25
- (function (BinTrieFlags) {
26
- BinTrieFlags[BinTrieFlags["VALUE_LENGTH"] = 49152] = "VALUE_LENGTH";
27
- BinTrieFlags[BinTrieFlags["BRANCH_LENGTH"] = 16256] = "BRANCH_LENGTH";
28
- BinTrieFlags[BinTrieFlags["JUMP_TABLE"] = 127] = "JUMP_TABLE";
29
- })(BinTrieFlags || (BinTrieFlags = {}));
30
- function isNumber(code) {
31
- return code >= CharCodes.ZERO && code <= CharCodes.NINE;
32
- }
33
- function isHexadecimalCharacter(code) {
34
- return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_F) ||
35
- (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_F));
36
- }
37
- function isAsciiAlphaNumeric(code) {
38
- return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_Z) ||
39
- (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_Z) ||
40
- isNumber(code));
41
- }
42
- /**
43
- * Checks if the given character is a valid end character for an entity in an attribute.
44
- *
45
- * Attribute values that aren't terminated properly aren't parsed, and shouldn't lead to a parser error.
46
- * See the example in https://html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state
47
- */
48
- function isEntityInAttributeInvalidEnd(code) {
49
- return code === CharCodes.EQUALS || isAsciiAlphaNumeric(code);
50
- }
51
- var EntityDecoderState;
52
- (function (EntityDecoderState) {
53
- EntityDecoderState[EntityDecoderState["EntityStart"] = 0] = "EntityStart";
54
- EntityDecoderState[EntityDecoderState["NumericStart"] = 1] = "NumericStart";
55
- EntityDecoderState[EntityDecoderState["NumericDecimal"] = 2] = "NumericDecimal";
56
- EntityDecoderState[EntityDecoderState["NumericHex"] = 3] = "NumericHex";
57
- EntityDecoderState[EntityDecoderState["NamedEntity"] = 4] = "NamedEntity";
58
- })(EntityDecoderState || (EntityDecoderState = {}));
59
- export var DecodingMode;
60
- (function (DecodingMode) {
61
- /** Entities in text nodes that can end with any character. */
62
- DecodingMode[DecodingMode["Legacy"] = 0] = "Legacy";
63
- /** Only allow entities terminated with a semicolon. */
64
- DecodingMode[DecodingMode["Strict"] = 1] = "Strict";
65
- /** Entities in attributes have limitations on ending characters. */
66
- DecodingMode[DecodingMode["Attribute"] = 2] = "Attribute";
67
- })(DecodingMode || (DecodingMode = {}));
68
- /**
69
- * Token decoder with support of writing partial entities.
70
- */
71
- export class EntityDecoder {
72
- constructor(
73
- /** The tree used to decode entities. */
74
- decodeTree,
75
- /**
76
- * The function that is called when a codepoint is decoded.
77
- *
78
- * For multi-byte named entities, this will be called multiple times,
79
- * with the second codepoint, and the same `consumed` value.
80
- *
81
- * @param codepoint The decoded codepoint.
82
- * @param consumed The number of bytes consumed by the decoder.
83
- */
84
- emitCodePoint,
85
- /** An object that is used to produce errors. */
86
- errors) {
87
- this.decodeTree = decodeTree;
88
- this.emitCodePoint = emitCodePoint;
89
- this.errors = errors;
90
- /** The current state of the decoder. */
91
- this.state = EntityDecoderState.EntityStart;
92
- /** Characters that were consumed while parsing an entity. */
93
- this.consumed = 1;
94
- /**
95
- * The result of the entity.
96
- *
97
- * Either the result index of a numeric entity, or the codepoint of a
98
- * numeric entity.
99
- */
100
- this.result = 0;
101
- /** The current index in the decode tree. */
102
- this.treeIndex = 0;
103
- /** The number of characters that were consumed in excess. */
104
- this.excess = 1;
105
- /** The mode in which the decoder is operating. */
106
- this.decodeMode = DecodingMode.Strict;
107
- }
108
- /** Resets the instance to make it reusable. */
109
- startEntity(decodeMode) {
110
- this.decodeMode = decodeMode;
111
- this.state = EntityDecoderState.EntityStart;
112
- this.result = 0;
113
- this.treeIndex = 0;
114
- this.excess = 1;
115
- this.consumed = 1;
116
- }
117
- /**
118
- * Write an entity to the decoder. This can be called multiple times with partial entities.
119
- * If the entity is incomplete, the decoder will return -1.
120
- *
121
- * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
122
- * entity is incomplete, and resume when the next string is written.
123
- *
124
- * @param string The string containing the entity (or a continuation of the entity).
125
- * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
126
- * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
127
- */
128
- write(str, offset) {
129
- switch (this.state) {
130
- case EntityDecoderState.EntityStart: {
131
- if (str.charCodeAt(offset) === CharCodes.NUM) {
132
- this.state = EntityDecoderState.NumericStart;
133
- this.consumed += 1;
134
- return this.stateNumericStart(str, offset + 1);
135
- }
136
- this.state = EntityDecoderState.NamedEntity;
137
- return this.stateNamedEntity(str, offset);
138
- }
139
- case EntityDecoderState.NumericStart: {
140
- return this.stateNumericStart(str, offset);
141
- }
142
- case EntityDecoderState.NumericDecimal: {
143
- return this.stateNumericDecimal(str, offset);
144
- }
145
- case EntityDecoderState.NumericHex: {
146
- return this.stateNumericHex(str, offset);
147
- }
148
- case EntityDecoderState.NamedEntity: {
149
- return this.stateNamedEntity(str, offset);
150
- }
151
- }
152
- }
153
- /**
154
- * Switches between the numeric decimal and hexadecimal states.
155
- *
156
- * Equivalent to the `Numeric character reference state` in the HTML spec.
157
- *
158
- * @param str The string containing the entity (or a continuation of the entity).
159
- * @param offset The current offset.
160
- * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
161
- */
162
- stateNumericStart(str, offset) {
163
- if (offset >= str.length) {
164
- return -1;
165
- }
166
- if ((str.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {
167
- this.state = EntityDecoderState.NumericHex;
168
- this.consumed += 1;
169
- return this.stateNumericHex(str, offset + 1);
170
- }
171
- this.state = EntityDecoderState.NumericDecimal;
172
- return this.stateNumericDecimal(str, offset);
173
- }
174
- addToNumericResult(str, start, end, base) {
175
- if (start !== end) {
176
- const digitCount = end - start;
177
- this.result =
178
- this.result * Math.pow(base, digitCount) +
179
- parseInt(str.substr(start, digitCount), base);
180
- this.consumed += digitCount;
181
- }
182
- }
183
- /**
184
- * Parses a hexadecimal numeric entity.
185
- *
186
- * Equivalent to the `Hexademical character reference state` in the HTML spec.
187
- *
188
- * @param str The string containing the entity (or a continuation of the entity).
189
- * @param offset The current offset.
190
- * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
191
- */
192
- stateNumericHex(str, offset) {
193
- const startIdx = offset;
194
- while (offset < str.length) {
195
- const char = str.charCodeAt(offset);
196
- if (isNumber(char) || isHexadecimalCharacter(char)) {
197
- offset += 1;
198
- }
199
- else {
200
- this.addToNumericResult(str, startIdx, offset, 16);
201
- return this.emitNumericEntity(char, 3);
202
- }
203
- }
204
- this.addToNumericResult(str, startIdx, offset, 16);
205
- return -1;
206
- }
207
- /**
208
- * Parses a decimal numeric entity.
209
- *
210
- * Equivalent to the `Decimal character reference state` in the HTML spec.
211
- *
212
- * @param str The string containing the entity (or a continuation of the entity).
213
- * @param offset The current offset.
214
- * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
215
- */
216
- stateNumericDecimal(str, offset) {
217
- const startIdx = offset;
218
- while (offset < str.length) {
219
- const char = str.charCodeAt(offset);
220
- if (isNumber(char)) {
221
- offset += 1;
222
- }
223
- else {
224
- this.addToNumericResult(str, startIdx, offset, 10);
225
- return this.emitNumericEntity(char, 2);
226
- }
227
- }
228
- this.addToNumericResult(str, startIdx, offset, 10);
229
- return -1;
230
- }
231
- /**
232
- * Validate and emit a numeric entity.
233
- *
234
- * Implements the logic from the `Hexademical character reference start
235
- * state` and `Numeric character reference end state` in the HTML spec.
236
- *
237
- * @param lastCp The last code point of the entity. Used to see if the
238
- * entity was terminated with a semicolon.
239
- * @param expectedLength The minimum number of characters that should be
240
- * consumed. Used to validate that at least one digit
241
- * was consumed.
242
- * @returns The number of characters that were consumed.
243
- */
244
- emitNumericEntity(lastCp, expectedLength) {
245
- var _a;
246
- // Ensure we consumed at least one digit.
247
- if (this.consumed <= expectedLength) {
248
- (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);
249
- return 0;
250
- }
251
- // Figure out if this is a legit end of the entity
252
- if (lastCp === CharCodes.SEMI) {
253
- this.consumed += 1;
254
- }
255
- else if (this.decodeMode === DecodingMode.Strict) {
256
- return 0;
257
- }
258
- this.emitCodePoint(replaceCodePoint(this.result), this.consumed);
259
- if (this.errors) {
260
- if (lastCp !== CharCodes.SEMI) {
261
- this.errors.missingSemicolonAfterCharacterReference();
262
- }
263
- this.errors.validateNumericCharacterReference(this.result);
264
- }
265
- return this.consumed;
266
- }
267
- /**
268
- * Parses a named entity.
269
- *
270
- * Equivalent to the `Named character reference state` in the HTML spec.
271
- *
272
- * @param str The string containing the entity (or a continuation of the entity).
273
- * @param offset The current offset.
274
- * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
275
- */
276
- stateNamedEntity(str, offset) {
277
- const { decodeTree } = this;
278
- let current = decodeTree[this.treeIndex];
279
- // The mask is the number of bytes of the value, including the current byte.
280
- let valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
281
- for (; offset < str.length; offset++, this.excess++) {
282
- const char = str.charCodeAt(offset);
283
- this.treeIndex = determineBranch(decodeTree, current, this.treeIndex + Math.max(1, valueLength), char);
284
- if (this.treeIndex < 0) {
285
- return this.result === 0 ||
286
- // If we are parsing an attribute
287
- (this.decodeMode === DecodingMode.Attribute &&
288
- // We shouldn't have consumed any characters after the entity,
289
- (valueLength === 0 ||
290
- // And there should be no invalid characters.
291
- isEntityInAttributeInvalidEnd(char)))
292
- ? 0
293
- : this.emitNotTerminatedNamedEntity();
294
- }
295
- current = decodeTree[this.treeIndex];
296
- valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
297
- // If the branch is a value, store it and continue
298
- if (valueLength !== 0) {
299
- // If the entity is terminated by a semicolon, we are done.
300
- if (char === CharCodes.SEMI) {
301
- return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);
302
- }
303
- // If we encounter a non-terminated (legacy) entity while parsing strictly, then ignore it.
304
- if (this.decodeMode !== DecodingMode.Strict) {
305
- this.result = this.treeIndex;
306
- this.consumed += this.excess;
307
- this.excess = 0;
308
- }
309
- }
310
- }
311
- return -1;
312
- }
313
- /**
314
- * Emit a named entity that was not terminated with a semicolon.
315
- *
316
- * @returns The number of characters consumed.
317
- */
318
- emitNotTerminatedNamedEntity() {
319
- var _a;
320
- const { result, decodeTree } = this;
321
- const valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;
322
- this.emitNamedEntityData(result, valueLength, this.consumed);
323
- (_a = this.errors) === null || _a === void 0 ? void 0 : _a.missingSemicolonAfterCharacterReference();
324
- return this.consumed;
325
- }
326
- /**
327
- * Emit a named entity.
328
- *
329
- * @param result The index of the entity in the decode tree.
330
- * @param valueLength The number of bytes in the entity.
331
- * @param consumed The number of characters consumed.
332
- *
333
- * @returns The number of characters consumed.
334
- */
335
- emitNamedEntityData(result, valueLength, consumed) {
336
- const { decodeTree } = this;
337
- this.emitCodePoint(valueLength === 1
338
- ? decodeTree[result] & ~BinTrieFlags.VALUE_LENGTH
339
- : decodeTree[result + 1], consumed);
340
- if (valueLength === 3) {
341
- // For multi-byte values, we need to emit the second byte.
342
- this.emitCodePoint(decodeTree[result + 2], consumed);
343
- }
344
- return consumed;
345
- }
346
- /**
347
- * Signal to the parser that the end of the input was reached.
348
- *
349
- * Remaining data will be emitted and relevant errors will be produced.
350
- *
351
- * @returns The number of characters consumed.
352
- */
353
- end() {
354
- var _a;
355
- switch (this.state) {
356
- case EntityDecoderState.NamedEntity: {
357
- // Emit a named entity if we have one.
358
- return this.result !== 0 &&
359
- (this.decodeMode !== DecodingMode.Attribute ||
360
- this.result === this.treeIndex)
361
- ? this.emitNotTerminatedNamedEntity()
362
- : 0;
363
- }
364
- // Otherwise, emit a numeric entity if we have one.
365
- case EntityDecoderState.NumericDecimal: {
366
- return this.emitNumericEntity(0, 2);
367
- }
368
- case EntityDecoderState.NumericHex: {
369
- return this.emitNumericEntity(0, 3);
370
- }
371
- case EntityDecoderState.NumericStart: {
372
- (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);
373
- return 0;
374
- }
375
- case EntityDecoderState.EntityStart: {
376
- // Return 0 if we have no entity.
377
- return 0;
378
- }
379
- }
380
- }
381
- }
382
- /**
383
- * Creates a function that decodes entities in a string.
384
- *
385
- * @param decodeTree The decode tree.
386
- * @returns A function that decodes entities in a string.
387
- */
388
- function getDecoder(decodeTree) {
389
- let ret = "";
390
- const decoder = new EntityDecoder(decodeTree, (str) => (ret += fromCodePoint(str)));
391
- return function decodeWithTrie(str, decodeMode) {
392
- let lastIndex = 0;
393
- let offset = 0;
394
- while ((offset = str.indexOf("&", offset)) >= 0) {
395
- ret += str.slice(lastIndex, offset);
396
- decoder.startEntity(decodeMode);
397
- const len = decoder.write(str,
398
- // Skip the "&"
399
- offset + 1);
400
- if (len < 0) {
401
- lastIndex = offset + decoder.end();
402
- break;
403
- }
404
- lastIndex = offset + len;
405
- // If `len` is 0, skip the current `&` and continue.
406
- offset = len === 0 ? lastIndex + 1 : lastIndex;
407
- }
408
- const result = ret + str.slice(lastIndex);
409
- // Make sure we don't keep a reference to the final string.
410
- ret = "";
411
- return result;
412
- };
413
- }
414
- /**
415
- * Determines the branch of the current node that is taken given the current
416
- * character. This function is used to traverse the trie.
417
- *
418
- * @param decodeTree The trie.
419
- * @param current The current node.
420
- * @param nodeIdx The index right after the current node and its value.
421
- * @param char The current character.
422
- * @returns The index of the next node, or -1 if no branch is taken.
423
- */
424
- export function determineBranch(decodeTree, current, nodeIdx, char) {
425
- const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
426
- const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
427
- // Case 1: Single branch encoded in jump offset
428
- if (branchCount === 0) {
429
- return jumpOffset !== 0 && char === jumpOffset ? nodeIdx : -1;
430
- }
431
- // Case 2: Multiple branches encoded in jump table
432
- if (jumpOffset) {
433
- const value = char - jumpOffset;
434
- return value < 0 || value >= branchCount
435
- ? -1
436
- : decodeTree[nodeIdx + value] - 1;
437
- }
438
- // Case 3: Multiple branches encoded in dictionary
439
- // Binary search for the character.
440
- let lo = nodeIdx;
441
- let hi = lo + branchCount - 1;
442
- while (lo <= hi) {
443
- const mid = (lo + hi) >>> 1;
444
- const midVal = decodeTree[mid];
445
- if (midVal < char) {
446
- lo = mid + 1;
447
- }
448
- else if (midVal > char) {
449
- hi = mid - 1;
450
- }
451
- else {
452
- return decodeTree[mid + branchCount];
453
- }
454
- }
455
- return -1;
456
- }
457
- const htmlDecoder = getDecoder(htmlDecodeTree);
458
- const xmlDecoder = getDecoder(xmlDecodeTree);
459
- /**
460
- * Decodes an HTML string.
461
- *
462
- * @param str The string to decode.
463
- * @param mode The decoding mode.
464
- * @returns The decoded string.
465
- */
466
- export function decodeHTML(str, mode = DecodingMode.Legacy) {
467
- return htmlDecoder(str, mode);
468
- }
469
- /**
470
- * Decodes an HTML string in an attribute.
471
- *
472
- * @param str The string to decode.
473
- * @returns The decoded string.
474
- */
475
- export function decodeHTMLAttribute(str) {
476
- return htmlDecoder(str, DecodingMode.Attribute);
477
- }
478
- /**
479
- * Decodes an HTML string, requiring all entities to be terminated by a semicolon.
480
- *
481
- * @param str The string to decode.
482
- * @returns The decoded string.
483
- */
484
- export function decodeHTMLStrict(str) {
485
- return htmlDecoder(str, DecodingMode.Strict);
486
- }
487
- /**
488
- * Decodes an XML string, requiring all entities to be terminated by a semicolon.
489
- *
490
- * @param str The string to decode.
491
- * @returns The decoded string.
492
- */
493
- export function decodeXML(str) {
494
- return xmlDecoder(str, DecodingMode.Strict);
495
- }
496
- //# sourceMappingURL=decode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decode.js","source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AAG,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;QAC5B,MAAM,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;QAE/B,IAAI,MAAM,GAAG,IAAI,EAAE;YACf,EAAE,GAAG,GAAG,GAAG,CAAC,CAAC;SAChB;aAAM,IAAI,MAAM,GAAG,IAAI,EAAE;YACtB,EAAE,GAAG,GAAG,GAAG,CAAC,CAAC;SAChB;aAAM;YACH,OAAO,UAAU,CAAC,GAAG,GAAG,WAAW,CAAC,CAAC;SACxC;KACJ;IAED,OAAO,CAAC,CAAC,CAAC;AACd,CAAC;AAED,MAAM,WAAW,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AAC/C,MAAM,UAAU,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;AAE7C;;;;;;GAMG;AACH,MAAM,UAAU,UAAU,CAAC,GAAW,EAAE,IAAI,GAAG,YAAY,CAAC,MAAM;IAC9D,OAAO,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAClC,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,mBAAmB,CAAC,GAAW;IAC3C,OAAO,WAAW,CAAC,GAAG,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;AACpD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,GAAW;IACxC,OAAO,WAAW,CAAC,GAAG,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;AACjD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,SAAS,CAAC,GAAW;IACjC,OAAO,UAAU,CAAC,GAAG,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;AAChD,CAAC"}
@@ -1,19 +0,0 @@
1
- /**
2
- * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
3
- */
4
- export declare const fromCodePoint: (...codePoints: number[]) => string;
5
- /**
6
- * Replace the given code point with a replacement character if it is a
7
- * surrogate or is outside the valid range. Otherwise return the code
8
- * point unchanged.
9
- */
10
- export declare function replaceCodePoint(codePoint: number): number;
11
- /**
12
- * Replace the code point if relevant, then convert it to a string.
13
- *
14
- * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.
15
- * @param codePoint The code point to decode.
16
- * @returns The decoded code point.
17
- */
18
- export default function decodeCodePoint(codePoint: number): string;
19
- //# sourceMappingURL=decode_codepoint.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decode_codepoint.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/","sources":["decode_codepoint.ts"],"names":[],"mappings":"AAkCA;;GAEG;AACH,eAAO,MAAM,aAAa,qCAgBrB,CAAC;AAEN;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,UAMjD;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAEjE"}
@@ -1,71 +0,0 @@
1
- // Adapted from https://github.com/mathiasbynens/he/blob/36afe179392226cf1b6ccdb16ebbb7a5a844d93a/src/he.js#L106-L134
2
- var _a;
3
- const decodeMap = new Map([
4
- [0, 65533],
5
- // C1 Unicode control character reference replacements
6
- [128, 8364],
7
- [130, 8218],
8
- [131, 402],
9
- [132, 8222],
10
- [133, 8230],
11
- [134, 8224],
12
- [135, 8225],
13
- [136, 710],
14
- [137, 8240],
15
- [138, 352],
16
- [139, 8249],
17
- [140, 338],
18
- [142, 381],
19
- [145, 8216],
20
- [146, 8217],
21
- [147, 8220],
22
- [148, 8221],
23
- [149, 8226],
24
- [150, 8211],
25
- [151, 8212],
26
- [152, 732],
27
- [153, 8482],
28
- [154, 353],
29
- [155, 8250],
30
- [156, 339],
31
- [158, 382],
32
- [159, 376],
33
- ]);
34
- /**
35
- * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
36
- */
37
- export const fromCodePoint =
38
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
39
- (_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : function (codePoint) {
40
- let output = "";
41
- if (codePoint > 0xffff) {
42
- codePoint -= 0x10000;
43
- output += String.fromCharCode(((codePoint >>> 10) & 0x3ff) | 0xd800);
44
- codePoint = 0xdc00 | (codePoint & 0x3ff);
45
- }
46
- output += String.fromCharCode(codePoint);
47
- return output;
48
- };
49
- /**
50
- * Replace the given code point with a replacement character if it is a
51
- * surrogate or is outside the valid range. Otherwise return the code
52
- * point unchanged.
53
- */
54
- export function replaceCodePoint(codePoint) {
55
- var _a;
56
- if ((codePoint >= 0xd800 && codePoint <= 0xdfff) || codePoint > 0x10ffff) {
57
- return 0xfffd;
58
- }
59
- return (_a = decodeMap.get(codePoint)) !== null && _a !== void 0 ? _a : codePoint;
60
- }
61
- /**
62
- * Replace the code point if relevant, then convert it to a string.
63
- *
64
- * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.
65
- * @param codePoint The code point to decode.
66
- * @returns The decoded code point.
67
- */
68
- export default function decodeCodePoint(codePoint) {
69
- return fromCodePoint(replaceCodePoint(codePoint));
70
- }
71
- //# sourceMappingURL=decode_codepoint.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decode_codepoint.js","sourceRoot":"https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/","sources":["decode_codepoint.ts"],"names":[],"mappings":"AAAA,qHAAqH;;AAErH,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC;IACtB,CAAC,CAAC,EAAE,KAAK,CAAC;IACV,sDAAsD;IACtD,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,GAAG,CAAC;IACV,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,C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M,CAAC;AAClB,CAAC,CAAC;AAEN;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,SAAiB;;IAC9C,IAAI,CAAC,SAAS,IAAI,MAAM,IAAI,SAAS,IAAI,MAAM,CAAC,IAAI,SAAS,GAAG,QAAQ,EAAE;QACtE,OAAO,MAAM,CAAC;KACjB;IAED,OAAO,MAAA,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,SAAiB;IACrD,OAAO,aAAa,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,CAAC;AACtD,CAAC"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Encodes all characters in the input using HTML entities. This includes
3
- * characters that are valid ASCII characters in HTML documents, such as `#`.
4
- *
5
- * To get a more compact output, consider using the `encodeNonAsciiHTML`
6
- * function, which will only encode characters that are not valid in HTML
7
- * documents, as well as non-ASCII characters.
8
- *
9
- * If a character has no equivalent entity, a numeric hexadecimal reference
10
- * (eg. `&#xfc;`) will be used.
11
- */
12
- export declare function encodeHTML(data: string): string;
13
- /**
14
- * Encodes all non-ASCII characters, as well as characters not valid in HTML
15
- * documents using HTML entities. This function will not encode characters that
16
- * are valid in HTML documents, such as `#`.
17
- *
18
- * If a character has no equivalent entity, a numeric hexadecimal reference
19
- * (eg. `&#xfc;`) will be used.
20
- */
21
- export declare function encodeNonAsciiHTML(data: string): string;
22
- //# sourceMappingURL=encode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"encode.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/","sources":["encode.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C;AACD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEvD"}