react-native-kookit 0.1.7 → 0.1.8

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 (1173) hide show
  1. package/package.json +1 -1
  2. package/plugin/node_modules/.package-lock.json +0 -752
  3. package/plugin/node_modules/@babel/code-frame/LICENSE +0 -22
  4. package/plugin/node_modules/@babel/code-frame/README.md +0 -19
  5. package/plugin/node_modules/@babel/code-frame/lib/index.js +0 -167
  6. package/plugin/node_modules/@babel/code-frame/package.json +0 -25
  7. package/plugin/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
  8. package/plugin/node_modules/@babel/helper-validator-identifier/README.md +0 -19
  9. package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  10. package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  11. package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  12. package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  13. package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  14. package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  15. package/plugin/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  16. package/plugin/node_modules/@babel/highlight/LICENSE +0 -22
  17. package/plugin/node_modules/@babel/highlight/README.md +0 -19
  18. package/plugin/node_modules/@babel/highlight/lib/index.js +0 -119
  19. package/plugin/node_modules/@babel/highlight/lib/index.js.map +0 -1
  20. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +0 -165
  21. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/license +0 -9
  22. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +0 -56
  23. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +0 -147
  24. package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js +0 -228
  25. package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +0 -93
  26. package/plugin/node_modules/@babel/highlight/node_modules/chalk/license +0 -9
  27. package/plugin/node_modules/@babel/highlight/node_modules/chalk/package.json +0 -71
  28. package/plugin/node_modules/@babel/highlight/node_modules/chalk/readme.md +0 -314
  29. package/plugin/node_modules/@babel/highlight/node_modules/chalk/templates.js +0 -128
  30. package/plugin/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +0 -97
  31. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +0 -54
  32. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +0 -21
  33. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/README.md +0 -68
  34. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +0 -868
  35. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/index.js +0 -78
  36. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/package.json +0 -46
  37. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/route.js +0 -97
  38. package/plugin/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +0 -43
  39. package/plugin/node_modules/@babel/highlight/node_modules/color-name/LICENSE +0 -8
  40. package/plugin/node_modules/@babel/highlight/node_modules/color-name/README.md +0 -11
  41. package/plugin/node_modules/@babel/highlight/node_modules/color-name/index.js +0 -152
  42. package/plugin/node_modules/@babel/highlight/node_modules/color-name/package.json +0 -25
  43. package/plugin/node_modules/@babel/highlight/node_modules/color-name/test.js +0 -7
  44. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/index.js +0 -8
  45. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/license +0 -9
  46. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/package.json +0 -44
  47. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/readme.md +0 -70
  48. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/browser.js +0 -5
  49. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/index.js +0 -131
  50. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/license +0 -9
  51. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/package.json +0 -53
  52. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/readme.md +0 -66
  53. package/plugin/node_modules/@babel/highlight/package.json +0 -30
  54. package/plugin/node_modules/@expo/config-plugins/LICENSE +0 -22
  55. package/plugin/node_modules/@expo/config-plugins/README.md +0 -34
  56. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.d.ts +0 -177
  57. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js +0 -51
  58. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js.map +0 -1
  59. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.d.ts +0 -6
  60. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js +0 -45
  61. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js.map +0 -1
  62. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.d.ts +0 -28
  63. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js +0 -93
  64. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js.map +0 -1
  65. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.d.ts +0 -29
  66. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js +0 -106
  67. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js.map +0 -1
  68. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.d.ts +0 -3
  69. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js +0 -67
  70. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js.map +0 -1
  71. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.d.ts +0 -2
  72. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js +0 -82
  73. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js.map +0 -1
  74. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.d.ts +0 -5
  75. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js +0 -46
  76. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js.map +0 -1
  77. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.d.ts +0 -17
  78. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js +0 -138
  79. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js.map +0 -1
  80. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.d.ts +0 -8
  81. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js +0 -83
  82. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js.map +0 -1
  83. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.d.ts +0 -157
  84. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js +0 -221
  85. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js.map +0 -1
  86. package/plugin/node_modules/@expo/config-plugins/build/android/Name.d.ts +0 -20
  87. package/plugin/node_modules/@expo/config-plugins/build/android/Name.js +0 -91
  88. package/plugin/node_modules/@expo/config-plugins/build/android/Name.js.map +0 -1
  89. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.d.ts +0 -6
  90. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js +0 -39
  91. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js.map +0 -1
  92. package/plugin/node_modules/@expo/config-plugins/build/android/Package.d.ts +0 -23
  93. package/plugin/node_modules/@expo/config-plugins/build/android/Package.js +0 -323
  94. package/plugin/node_modules/@expo/config-plugins/build/android/Package.js.map +0 -1
  95. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.d.ts +0 -30
  96. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js +0 -154
  97. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js.map +0 -1
  98. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.d.ts +0 -20
  99. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js +0 -207
  100. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js.map +0 -1
  101. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.d.ts +0 -6
  102. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js +0 -62
  103. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js.map +0 -1
  104. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.d.ts +0 -12
  105. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js +0 -55
  106. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js.map +0 -1
  107. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.d.ts +0 -87
  108. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js +0 -150
  109. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js.map +0 -1
  110. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.d.ts +0 -20
  111. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js +0 -217
  112. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js.map +0 -1
  113. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.d.ts +0 -16
  114. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js +0 -112
  115. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js.map +0 -1
  116. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.d.ts +0 -6
  117. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js +0 -54
  118. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js.map +0 -1
  119. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.d.ts +0 -61
  120. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js +0 -169
  121. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js.map +0 -1
  122. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.d.ts +0 -21
  123. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js +0 -159
  124. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js.map +0 -1
  125. package/plugin/node_modules/@expo/config-plugins/build/android/Version.d.ts +0 -16
  126. package/plugin/node_modules/@expo/config-plugins/build/android/Version.js +0 -87
  127. package/plugin/node_modules/@expo/config-plugins/build/android/Version.js.map +0 -1
  128. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.d.ts +0 -6
  129. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js +0 -48
  130. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js.map +0 -1
  131. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.d.ts +0 -20
  132. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js +0 -93
  133. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js.map +0 -1
  134. package/plugin/node_modules/@expo/config-plugins/build/android/index.d.ts +0 -25
  135. package/plugin/node_modules/@expo/config-plugins/build/android/index.js +0 -308
  136. package/plugin/node_modules/@expo/config-plugins/build/android/index.js.map +0 -1
  137. package/plugin/node_modules/@expo/config-plugins/build/index.d.ts +0 -36
  138. package/plugin/node_modules/@expo/config-plugins/build/index.js +0 -428
  139. package/plugin/node_modules/@expo/config-plugins/build/index.js.map +0 -1
  140. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.d.ts +0 -33
  141. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js +0 -110
  142. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js.map +0 -1
  143. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.d.ts +0 -27
  144. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js +0 -67
  145. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js.map +0 -1
  146. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.d.ts +0 -10
  147. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js +0 -112
  148. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js.map +0 -1
  149. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.d.ts +0 -50
  150. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js +0 -241
  151. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js.map +0 -1
  152. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.d.ts +0 -19
  153. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js +0 -92
  154. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js.map +0 -1
  155. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.d.ts +0 -9
  156. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js +0 -132
  157. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js.map +0 -1
  158. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.d.ts +0 -14
  159. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js +0 -139
  160. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js.map +0 -1
  161. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.d.ts +0 -48
  162. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js +0 -2
  163. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js.map +0 -1
  164. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.d.ts +0 -14
  165. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js +0 -132
  166. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js.map +0 -1
  167. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.d.ts +0 -17
  168. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js +0 -211
  169. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js.map +0 -1
  170. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.d.ts +0 -20
  171. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js +0 -111
  172. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js.map +0 -1
  173. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.d.ts +0 -7
  174. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js +0 -42
  175. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js.map +0 -1
  176. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.d.ts +0 -38
  177. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js +0 -311
  178. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js.map +0 -1
  179. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.d.ts +0 -9
  180. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js +0 -58
  181. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js.map +0 -1
  182. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.d.ts +0 -20
  183. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js +0 -129
  184. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js.map +0 -1
  185. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.d.ts +0 -8
  186. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js +0 -67
  187. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js.map +0 -1
  188. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.d.ts +0 -5
  189. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js +0 -101
  190. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js.map +0 -1
  191. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.d.ts +0 -11
  192. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js +0 -111
  193. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js.map +0 -1
  194. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.d.ts +0 -34
  195. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js +0 -196
  196. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js.map +0 -1
  197. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.d.ts +0 -27
  198. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js +0 -136
  199. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js.map +0 -1
  200. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.d.ts +0 -17
  201. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js +0 -121
  202. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js.map +0 -1
  203. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.d.ts +0 -5
  204. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js +0 -38
  205. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js.map +0 -1
  206. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.d.ts +0 -8
  207. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js +0 -44
  208. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js.map +0 -1
  209. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.d.ts +0 -31
  210. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js +0 -99
  211. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js.map +0 -1
  212. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.d.ts +0 -81
  213. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js +0 -264
  214. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js.map +0 -1
  215. package/plugin/node_modules/@expo/config-plugins/build/ios/index.d.ts +0 -27
  216. package/plugin/node_modules/@expo/config-plugins/build/ios/index.js +0 -342
  217. package/plugin/node_modules/@expo/config-plugins/build/ios/index.js.map +0 -1
  218. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.d.ts +0 -93
  219. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js +0 -484
  220. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js.map +0 -1
  221. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.d.ts +0 -12
  222. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js +0 -49
  223. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js.map +0 -1
  224. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.d.ts +0 -1
  225. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js +0 -10
  226. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js.map +0 -1
  227. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.d.ts +0 -89
  228. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js +0 -210
  229. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js.map +0 -1
  230. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.d.ts +0 -31
  231. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js +0 -129
  232. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js.map +0 -1
  233. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.d.ts +0 -77
  234. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js +0 -205
  235. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js.map +0 -1
  236. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.d.ts +0 -39
  237. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js +0 -226
  238. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js.map +0 -1
  239. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.d.ts +0 -40
  240. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js +0 -510
  241. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js.map +0 -1
  242. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.d.ts +0 -10
  243. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js +0 -30
  244. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js.map +0 -1
  245. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.d.ts +0 -10
  246. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js +0 -30
  247. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js.map +0 -1
  248. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.d.ts +0 -33
  249. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js +0 -442
  250. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js.map +0 -1
  251. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.d.ts +0 -46
  252. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js +0 -208
  253. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js.map +0 -1
  254. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.d.ts +0 -8
  255. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js +0 -35
  256. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js.map +0 -1
  257. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.d.ts +0 -20
  258. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js +0 -55
  259. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js.map +0 -1
  260. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.d.ts +0 -17
  261. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js +0 -138
  262. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js.map +0 -1
  263. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.d.ts +0 -25
  264. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js +0 -2
  265. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js.map +0 -1
  266. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.d.ts +0 -29
  267. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js +0 -217
  268. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js.map +0 -1
  269. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.d.ts +0 -27
  270. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js +0 -161
  271. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js.map +0 -1
  272. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.d.ts +0 -32
  273. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js +0 -63
  274. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js.map +0 -1
  275. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.d.ts +0 -15
  276. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js +0 -27
  277. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js.map +0 -1
  278. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.d.ts +0 -4
  279. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js +0 -45
  280. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js.map +0 -1
  281. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.d.ts +0 -36
  282. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js +0 -128
  283. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js.map +0 -1
  284. package/plugin/node_modules/@expo/config-plugins/build/utils/history.d.ts +0 -11
  285. package/plugin/node_modules/@expo/config-plugins/build/utils/history.js +0 -24
  286. package/plugin/node_modules/@expo/config-plugins/build/utils/history.js.map +0 -1
  287. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.d.ts +0 -7
  288. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js +0 -65
  289. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js.map +0 -1
  290. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.d.ts +0 -3
  291. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js +0 -42
  292. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js.map +0 -1
  293. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.d.ts +0 -2
  294. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js +0 -20
  295. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js.map +0 -1
  296. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.d.ts +0 -33
  297. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js +0 -218
  298. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js.map +0 -1
  299. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.d.ts +0 -4
  300. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js +0 -42
  301. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js.map +0 -1
  302. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.d.ts +0 -3
  303. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js +0 -42
  304. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js.map +0 -1
  305. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.d.ts +0 -26
  306. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js +0 -52
  307. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js.map +0 -1
  308. package/plugin/node_modules/@expo/config-plugins/package.json +0 -62
  309. package/plugin/node_modules/@expo/config-types/LICENSE +0 -22
  310. package/plugin/node_modules/@expo/config-types/README.md +0 -38
  311. package/plugin/node_modules/@expo/config-types/build/ExpoConfig.d.ts +0 -878
  312. package/plugin/node_modules/@expo/config-types/build/ExpoConfig.js +0 -6
  313. package/plugin/node_modules/@expo/config-types/package.json +0 -48
  314. package/plugin/node_modules/@expo/json-file/LICENSE +0 -22
  315. package/plugin/node_modules/@expo/json-file/README.md +0 -29
  316. package/plugin/node_modules/@expo/json-file/build/JsonFile.d.ts +0 -61
  317. package/plugin/node_modules/@expo/json-file/build/JsonFile.js +0 -283
  318. package/plugin/node_modules/@expo/json-file/build/JsonFile.js.map +0 -1
  319. package/plugin/node_modules/@expo/json-file/build/JsonFileError.d.ts +0 -13
  320. package/plugin/node_modules/@expo/json-file/build/JsonFileError.js +0 -35
  321. package/plugin/node_modules/@expo/json-file/build/JsonFileError.js.map +0 -1
  322. package/plugin/node_modules/@expo/json-file/package.json +0 -47
  323. package/plugin/node_modules/@expo/plist/README.md +0 -8
  324. package/plugin/node_modules/@expo/plist/build/build.d.ts +0 -11
  325. package/plugin/node_modules/@expo/plist/build/build.js +0 -152
  326. package/plugin/node_modules/@expo/plist/build/build.js.map +0 -1
  327. package/plugin/node_modules/@expo/plist/build/index.d.ts +0 -16
  328. package/plugin/node_modules/@expo/plist/build/index.js +0 -6
  329. package/plugin/node_modules/@expo/plist/build/index.js.map +0 -1
  330. package/plugin/node_modules/@expo/plist/build/parse.d.ts +0 -8
  331. package/plugin/node_modules/@expo/plist/build/parse.js +0 -201
  332. package/plugin/node_modules/@expo/plist/build/parse.js.map +0 -1
  333. package/plugin/node_modules/@expo/plist/package.json +0 -45
  334. package/plugin/node_modules/@expo/sdk-runtime-versions/README.md +0 -5
  335. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.d.ts +0 -4
  336. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js +0 -21
  337. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js.map +0 -1
  338. package/plugin/node_modules/@expo/sdk-runtime-versions/package.json +0 -29
  339. package/plugin/node_modules/@types/node/LICENSE +0 -21
  340. package/plugin/node_modules/@types/node/README.md +0 -15
  341. package/plugin/node_modules/@types/node/assert/strict.d.ts +0 -8
  342. package/plugin/node_modules/@types/node/assert.d.ts +0 -1044
  343. package/plugin/node_modules/@types/node/async_hooks.d.ts +0 -605
  344. package/plugin/node_modules/@types/node/buffer.buffer.d.ts +0 -462
  345. package/plugin/node_modules/@types/node/buffer.d.ts +0 -1932
  346. package/plugin/node_modules/@types/node/child_process.d.ts +0 -1548
  347. package/plugin/node_modules/@types/node/cluster.d.ts +0 -578
  348. package/plugin/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  349. package/plugin/node_modules/@types/node/compatibility/index.d.ts +0 -9
  350. package/plugin/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  351. package/plugin/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  352. package/plugin/node_modules/@types/node/console.d.ts +0 -452
  353. package/plugin/node_modules/@types/node/constants.d.ts +0 -21
  354. package/plugin/node_modules/@types/node/crypto.d.ts +0 -4570
  355. package/plugin/node_modules/@types/node/dgram.d.ts +0 -596
  356. package/plugin/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  357. package/plugin/node_modules/@types/node/dns/promises.d.ts +0 -479
  358. package/plugin/node_modules/@types/node/dns.d.ts +0 -871
  359. package/plugin/node_modules/@types/node/dom-events.d.ts +0 -99
  360. package/plugin/node_modules/@types/node/domain.d.ts +0 -170
  361. package/plugin/node_modules/@types/node/events.d.ts +0 -931
  362. package/plugin/node_modules/@types/node/fs/promises.d.ts +0 -1248
  363. package/plugin/node_modules/@types/node/fs.d.ts +0 -4362
  364. package/plugin/node_modules/@types/node/globals.d.ts +0 -335
  365. package/plugin/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  366. package/plugin/node_modules/@types/node/http.d.ts +0 -2031
  367. package/plugin/node_modules/@types/node/http2.d.ts +0 -2623
  368. package/plugin/node_modules/@types/node/https.d.ts +0 -544
  369. package/plugin/node_modules/@types/node/index.d.ts +0 -91
  370. package/plugin/node_modules/@types/node/inspector.d.ts +0 -3966
  371. package/plugin/node_modules/@types/node/module.d.ts +0 -539
  372. package/plugin/node_modules/@types/node/net.d.ts +0 -1011
  373. package/plugin/node_modules/@types/node/os.d.ts +0 -495
  374. package/plugin/node_modules/@types/node/package.json +0 -140
  375. package/plugin/node_modules/@types/node/path.d.ts +0 -200
  376. package/plugin/node_modules/@types/node/perf_hooks.d.ts +0 -963
  377. package/plugin/node_modules/@types/node/process.d.ts +0 -1956
  378. package/plugin/node_modules/@types/node/punycode.d.ts +0 -117
  379. package/plugin/node_modules/@types/node/querystring.d.ts +0 -152
  380. package/plugin/node_modules/@types/node/readline/promises.d.ts +0 -162
  381. package/plugin/node_modules/@types/node/readline.d.ts +0 -589
  382. package/plugin/node_modules/@types/node/repl.d.ts +0 -430
  383. package/plugin/node_modules/@types/node/sea.d.ts +0 -153
  384. package/plugin/node_modules/@types/node/stream/consumers.d.ts +0 -38
  385. package/plugin/node_modules/@types/node/stream/promises.d.ts +0 -90
  386. package/plugin/node_modules/@types/node/stream/web.d.ts +0 -533
  387. package/plugin/node_modules/@types/node/stream.d.ts +0 -1668
  388. package/plugin/node_modules/@types/node/string_decoder.d.ts +0 -67
  389. package/plugin/node_modules/@types/node/test.d.ts +0 -1807
  390. package/plugin/node_modules/@types/node/timers/promises.d.ts +0 -108
  391. package/plugin/node_modules/@types/node/timers.d.ts +0 -286
  392. package/plugin/node_modules/@types/node/tls.d.ts +0 -1231
  393. package/plugin/node_modules/@types/node/trace_events.d.ts +0 -197
  394. package/plugin/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  395. package/plugin/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  396. package/plugin/node_modules/@types/node/ts5.6/index.d.ts +0 -91
  397. package/plugin/node_modules/@types/node/tty.d.ts +0 -208
  398. package/plugin/node_modules/@types/node/url.d.ts +0 -964
  399. package/plugin/node_modules/@types/node/util.d.ts +0 -2331
  400. package/plugin/node_modules/@types/node/v8.d.ts +0 -808
  401. package/plugin/node_modules/@types/node/vm.d.ts +0 -1030
  402. package/plugin/node_modules/@types/node/wasi.d.ts +0 -181
  403. package/plugin/node_modules/@types/node/worker_threads.d.ts +0 -724
  404. package/plugin/node_modules/@types/node/zlib.d.ts +0 -539
  405. package/plugin/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -401
  406. package/plugin/node_modules/@xmldom/xmldom/LICENSE +0 -8
  407. package/plugin/node_modules/@xmldom/xmldom/index.d.ts +0 -43
  408. package/plugin/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
  409. package/plugin/node_modules/@xmldom/xmldom/lib/conventions.js +0 -177
  410. package/plugin/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -268
  411. package/plugin/node_modules/@xmldom/xmldom/lib/dom.js +0 -1808
  412. package/plugin/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
  413. package/plugin/node_modules/@xmldom/xmldom/lib/index.js +0 -4
  414. package/plugin/node_modules/@xmldom/xmldom/lib/sax.js +0 -656
  415. package/plugin/node_modules/@xmldom/xmldom/package.json +0 -60
  416. package/plugin/node_modules/@xmldom/xmldom/readme.md +0 -338
  417. package/plugin/node_modules/ansi-styles/index.d.ts +0 -345
  418. package/plugin/node_modules/ansi-styles/index.js +0 -163
  419. package/plugin/node_modules/ansi-styles/license +0 -9
  420. package/plugin/node_modules/ansi-styles/package.json +0 -56
  421. package/plugin/node_modules/ansi-styles/readme.md +0 -152
  422. package/plugin/node_modules/balanced-match/.github/FUNDING.yml +0 -2
  423. package/plugin/node_modules/balanced-match/LICENSE.md +0 -21
  424. package/plugin/node_modules/balanced-match/README.md +0 -97
  425. package/plugin/node_modules/balanced-match/index.js +0 -62
  426. package/plugin/node_modules/balanced-match/package.json +0 -48
  427. package/plugin/node_modules/base64-js/LICENSE +0 -21
  428. package/plugin/node_modules/base64-js/README.md +0 -34
  429. package/plugin/node_modules/base64-js/base64js.min.js +0 -1
  430. package/plugin/node_modules/base64-js/index.d.ts +0 -3
  431. package/plugin/node_modules/base64-js/index.js +0 -150
  432. package/plugin/node_modules/base64-js/package.json +0 -47
  433. package/plugin/node_modules/big-integer/BigInteger.d.ts +0 -2393
  434. package/plugin/node_modules/big-integer/BigInteger.js +0 -1453
  435. package/plugin/node_modules/big-integer/BigInteger.min.js +0 -1
  436. package/plugin/node_modules/big-integer/LICENSE +0 -24
  437. package/plugin/node_modules/big-integer/README.md +0 -589
  438. package/plugin/node_modules/big-integer/bower.json +0 -29
  439. package/plugin/node_modules/big-integer/package.json +0 -48
  440. package/plugin/node_modules/big-integer/tsconfig.json +0 -24
  441. package/plugin/node_modules/bplist-creator/LICENSE +0 -18
  442. package/plugin/node_modules/bplist-creator/README.md +0 -64
  443. package/plugin/node_modules/bplist-creator/bplistCreator.js +0 -460
  444. package/plugin/node_modules/bplist-creator/package.json +0 -28
  445. package/plugin/node_modules/bplist-creator/test/airplay.bplist +0 -0
  446. package/plugin/node_modules/bplist-creator/test/binaryData.bplist +0 -0
  447. package/plugin/node_modules/bplist-creator/test/creatorTest.js +0 -211
  448. package/plugin/node_modules/bplist-creator/test/iTunes-small.bplist +0 -0
  449. package/plugin/node_modules/bplist-creator/test/integers.bplist +0 -0
  450. package/plugin/node_modules/bplist-creator/test/sample1.bplist +0 -0
  451. package/plugin/node_modules/bplist-creator/test/sample2.bplist +0 -0
  452. package/plugin/node_modules/bplist-creator/test/uid.bplist +0 -0
  453. package/plugin/node_modules/bplist-creator/test/utf16.bplist +0 -0
  454. package/plugin/node_modules/bplist-parser/.editorconfig +0 -12
  455. package/plugin/node_modules/bplist-parser/.eslintignore +0 -1
  456. package/plugin/node_modules/bplist-parser/.eslintrc.js +0 -295
  457. package/plugin/node_modules/bplist-parser/README.md +0 -48
  458. package/plugin/node_modules/bplist-parser/bplistParser.d.ts +0 -6
  459. package/plugin/node_modules/bplist-parser/bplistParser.js +0 -366
  460. package/plugin/node_modules/bplist-parser/package.json +0 -35
  461. package/plugin/node_modules/brace-expansion/LICENSE +0 -21
  462. package/plugin/node_modules/brace-expansion/README.md +0 -129
  463. package/plugin/node_modules/brace-expansion/index.js +0 -201
  464. package/plugin/node_modules/brace-expansion/package.json +0 -50
  465. package/plugin/node_modules/chalk/index.d.ts +0 -415
  466. package/plugin/node_modules/chalk/license +0 -9
  467. package/plugin/node_modules/chalk/package.json +0 -68
  468. package/plugin/node_modules/chalk/readme.md +0 -341
  469. package/plugin/node_modules/chalk/source/index.js +0 -229
  470. package/plugin/node_modules/chalk/source/templates.js +0 -134
  471. package/plugin/node_modules/chalk/source/util.js +0 -39
  472. package/plugin/node_modules/color-convert/CHANGELOG.md +0 -54
  473. package/plugin/node_modules/color-convert/LICENSE +0 -21
  474. package/plugin/node_modules/color-convert/README.md +0 -68
  475. package/plugin/node_modules/color-convert/conversions.js +0 -839
  476. package/plugin/node_modules/color-convert/index.js +0 -81
  477. package/plugin/node_modules/color-convert/package.json +0 -48
  478. package/plugin/node_modules/color-convert/route.js +0 -97
  479. package/plugin/node_modules/color-name/LICENSE +0 -8
  480. package/plugin/node_modules/color-name/README.md +0 -11
  481. package/plugin/node_modules/color-name/index.js +0 -152
  482. package/plugin/node_modules/color-name/package.json +0 -28
  483. package/plugin/node_modules/concat-map/.travis.yml +0 -4
  484. package/plugin/node_modules/concat-map/LICENSE +0 -18
  485. package/plugin/node_modules/concat-map/README.markdown +0 -62
  486. package/plugin/node_modules/concat-map/example/map.js +0 -6
  487. package/plugin/node_modules/concat-map/index.js +0 -13
  488. package/plugin/node_modules/concat-map/package.json +0 -43
  489. package/plugin/node_modules/concat-map/test/map.js +0 -39
  490. package/plugin/node_modules/debug/LICENSE +0 -20
  491. package/plugin/node_modules/debug/README.md +0 -481
  492. package/plugin/node_modules/debug/package.json +0 -64
  493. package/plugin/node_modules/debug/src/browser.js +0 -272
  494. package/plugin/node_modules/debug/src/common.js +0 -292
  495. package/plugin/node_modules/debug/src/index.js +0 -10
  496. package/plugin/node_modules/debug/src/node.js +0 -263
  497. package/plugin/node_modules/escape-string-regexp/index.js +0 -11
  498. package/plugin/node_modules/escape-string-regexp/license +0 -21
  499. package/plugin/node_modules/escape-string-regexp/package.json +0 -41
  500. package/plugin/node_modules/escape-string-regexp/readme.md +0 -27
  501. package/plugin/node_modules/find-up/index.d.ts +0 -138
  502. package/plugin/node_modules/find-up/index.js +0 -89
  503. package/plugin/node_modules/find-up/license +0 -9
  504. package/plugin/node_modules/find-up/package.json +0 -54
  505. package/plugin/node_modules/find-up/readme.md +0 -151
  506. package/plugin/node_modules/fs.realpath/LICENSE +0 -43
  507. package/plugin/node_modules/fs.realpath/README.md +0 -33
  508. package/plugin/node_modules/fs.realpath/index.js +0 -66
  509. package/plugin/node_modules/fs.realpath/old.js +0 -303
  510. package/plugin/node_modules/fs.realpath/package.json +0 -26
  511. package/plugin/node_modules/getenv/LICENSE.md +0 -20
  512. package/plugin/node_modules/getenv/README.md +0 -197
  513. package/plugin/node_modules/getenv/index.js +0 -150
  514. package/plugin/node_modules/getenv/package.json +0 -38
  515. package/plugin/node_modules/glob/LICENSE +0 -21
  516. package/plugin/node_modules/glob/README.md +0 -375
  517. package/plugin/node_modules/glob/changelog.md +0 -67
  518. package/plugin/node_modules/glob/common.js +0 -240
  519. package/plugin/node_modules/glob/glob.js +0 -790
  520. package/plugin/node_modules/glob/package.json +0 -46
  521. package/plugin/node_modules/glob/sync.js +0 -486
  522. package/plugin/node_modules/graceful-fs/LICENSE +0 -15
  523. package/plugin/node_modules/graceful-fs/README.md +0 -143
  524. package/plugin/node_modules/graceful-fs/clone.js +0 -23
  525. package/plugin/node_modules/graceful-fs/graceful-fs.js +0 -448
  526. package/plugin/node_modules/graceful-fs/legacy-streams.js +0 -118
  527. package/plugin/node_modules/graceful-fs/package.json +0 -53
  528. package/plugin/node_modules/graceful-fs/polyfills.js +0 -355
  529. package/plugin/node_modules/has-flag/index.d.ts +0 -39
  530. package/plugin/node_modules/has-flag/index.js +0 -8
  531. package/plugin/node_modules/has-flag/license +0 -9
  532. package/plugin/node_modules/has-flag/package.json +0 -46
  533. package/plugin/node_modules/has-flag/readme.md +0 -89
  534. package/plugin/node_modules/imurmurhash/README.md +0 -122
  535. package/plugin/node_modules/imurmurhash/imurmurhash.js +0 -138
  536. package/plugin/node_modules/imurmurhash/imurmurhash.min.js +0 -12
  537. package/plugin/node_modules/imurmurhash/package.json +0 -40
  538. package/plugin/node_modules/inflight/LICENSE +0 -15
  539. package/plugin/node_modules/inflight/README.md +0 -37
  540. package/plugin/node_modules/inflight/inflight.js +0 -54
  541. package/plugin/node_modules/inflight/package.json +0 -29
  542. package/plugin/node_modules/inherits/LICENSE +0 -16
  543. package/plugin/node_modules/inherits/README.md +0 -42
  544. package/plugin/node_modules/inherits/inherits.js +0 -9
  545. package/plugin/node_modules/inherits/inherits_browser.js +0 -27
  546. package/plugin/node_modules/inherits/package.json +0 -29
  547. package/plugin/node_modules/js-tokens/CHANGELOG.md +0 -151
  548. package/plugin/node_modules/js-tokens/LICENSE +0 -21
  549. package/plugin/node_modules/js-tokens/README.md +0 -240
  550. package/plugin/node_modules/js-tokens/index.js +0 -23
  551. package/plugin/node_modules/js-tokens/package.json +0 -30
  552. package/plugin/node_modules/json5/LICENSE.md +0 -23
  553. package/plugin/node_modules/json5/README.md +0 -282
  554. package/plugin/node_modules/json5/dist/index.js +0 -1737
  555. package/plugin/node_modules/json5/dist/index.min.js +0 -1
  556. package/plugin/node_modules/json5/dist/index.min.mjs +0 -1
  557. package/plugin/node_modules/json5/dist/index.mjs +0 -1426
  558. package/plugin/node_modules/json5/lib/cli.js +0 -152
  559. package/plugin/node_modules/json5/lib/index.d.ts +0 -4
  560. package/plugin/node_modules/json5/lib/index.js +0 -9
  561. package/plugin/node_modules/json5/lib/parse.d.ts +0 -15
  562. package/plugin/node_modules/json5/lib/parse.js +0 -1114
  563. package/plugin/node_modules/json5/lib/register.js +0 -13
  564. package/plugin/node_modules/json5/lib/require.js +0 -4
  565. package/plugin/node_modules/json5/lib/stringify.d.ts +0 -89
  566. package/plugin/node_modules/json5/lib/stringify.js +0 -261
  567. package/plugin/node_modules/json5/lib/unicode.d.ts +0 -3
  568. package/plugin/node_modules/json5/lib/unicode.js +0 -4
  569. package/plugin/node_modules/json5/lib/util.d.ts +0 -5
  570. package/plugin/node_modules/json5/lib/util.js +0 -35
  571. package/plugin/node_modules/json5/package.json +0 -72
  572. package/plugin/node_modules/locate-path/index.d.ts +0 -83
  573. package/plugin/node_modules/locate-path/index.js +0 -68
  574. package/plugin/node_modules/locate-path/license +0 -9
  575. package/plugin/node_modules/locate-path/package.json +0 -46
  576. package/plugin/node_modules/locate-path/readme.md +0 -125
  577. package/plugin/node_modules/minimatch/LICENSE +0 -15
  578. package/plugin/node_modules/minimatch/README.md +0 -230
  579. package/plugin/node_modules/minimatch/minimatch.js +0 -947
  580. package/plugin/node_modules/minimatch/package.json +0 -33
  581. package/plugin/node_modules/ms/index.js +0 -162
  582. package/plugin/node_modules/ms/license.md +0 -21
  583. package/plugin/node_modules/ms/package.json +0 -38
  584. package/plugin/node_modules/ms/readme.md +0 -59
  585. package/plugin/node_modules/once/LICENSE +0 -15
  586. package/plugin/node_modules/once/README.md +0 -79
  587. package/plugin/node_modules/once/once.js +0 -42
  588. package/plugin/node_modules/once/package.json +0 -33
  589. package/plugin/node_modules/p-limit/index.d.ts +0 -42
  590. package/plugin/node_modules/p-limit/index.js +0 -71
  591. package/plugin/node_modules/p-limit/license +0 -9
  592. package/plugin/node_modules/p-limit/package.json +0 -52
  593. package/plugin/node_modules/p-limit/readme.md +0 -101
  594. package/plugin/node_modules/p-locate/index.d.ts +0 -53
  595. package/plugin/node_modules/p-locate/index.js +0 -50
  596. package/plugin/node_modules/p-locate/license +0 -9
  597. package/plugin/node_modules/p-locate/package.json +0 -54
  598. package/plugin/node_modules/p-locate/readme.md +0 -93
  599. package/plugin/node_modules/path-exists/index.d.ts +0 -28
  600. package/plugin/node_modules/path-exists/index.js +0 -23
  601. package/plugin/node_modules/path-exists/license +0 -9
  602. package/plugin/node_modules/path-exists/package.json +0 -39
  603. package/plugin/node_modules/path-exists/readme.md +0 -52
  604. package/plugin/node_modules/path-is-absolute/index.js +0 -20
  605. package/plugin/node_modules/path-is-absolute/license +0 -21
  606. package/plugin/node_modules/path-is-absolute/package.json +0 -43
  607. package/plugin/node_modules/path-is-absolute/readme.md +0 -59
  608. package/plugin/node_modules/picocolors/LICENSE +0 -15
  609. package/plugin/node_modules/picocolors/README.md +0 -21
  610. package/plugin/node_modules/picocolors/package.json +0 -25
  611. package/plugin/node_modules/picocolors/picocolors.browser.js +0 -4
  612. package/plugin/node_modules/picocolors/picocolors.d.ts +0 -5
  613. package/plugin/node_modules/picocolors/picocolors.js +0 -75
  614. package/plugin/node_modules/picocolors/types.d.ts +0 -51
  615. package/plugin/node_modules/plist/.github/workflows/ci.yml +0 -24
  616. package/plugin/node_modules/plist/.jshintrc +0 -4
  617. package/plugin/node_modules/plist/History.md +0 -196
  618. package/plugin/node_modules/plist/LICENSE +0 -24
  619. package/plugin/node_modules/plist/Makefile +0 -75
  620. package/plugin/node_modules/plist/README.md +0 -146
  621. package/plugin/node_modules/plist/dist/plist-build.js +0 -5348
  622. package/plugin/node_modules/plist/dist/plist-parse.js +0 -7456
  623. package/plugin/node_modules/plist/dist/plist.js +0 -9888
  624. package/plugin/node_modules/plist/examples/browser/index.html +0 -14
  625. package/plugin/node_modules/plist/index.js +0 -13
  626. package/plugin/node_modules/plist/lib/build.js +0 -143
  627. package/plugin/node_modules/plist/lib/parse.js +0 -227
  628. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -459
  629. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/LICENSE +0 -8
  630. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/SECURITY.md +0 -50
  631. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/index.d.ts +0 -43
  632. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
  633. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/conventions.js +0 -203
  634. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -322
  635. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom.js +0 -1840
  636. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
  637. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/index.js +0 -4
  638. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/sax.js +0 -662
  639. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/package.json +0 -71
  640. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/readme.md +0 -356
  641. package/plugin/node_modules/plist/node_modules/xmlbuilder/.nycrc +0 -6
  642. package/plugin/node_modules/plist/node_modules/xmlbuilder/.vscode/launch.json +0 -23
  643. package/plugin/node_modules/plist/node_modules/xmlbuilder/CHANGELOG.md +0 -593
  644. package/plugin/node_modules/plist/node_modules/xmlbuilder/LICENSE +0 -21
  645. package/plugin/node_modules/plist/node_modules/xmlbuilder/README.md +0 -103
  646. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Derivation.js +0 -10
  647. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
  648. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/NodeType.js +0 -25
  649. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/OperationType.js +0 -11
  650. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Utility.js +0 -88
  651. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/WriterState.js +0 -10
  652. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -130
  653. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCData.js +0 -41
  654. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -86
  655. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLComment.js +0 -41
  656. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -80
  657. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -20
  658. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -55
  659. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -44
  660. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -66
  661. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -44
  662. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -115
  663. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -66
  664. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -51
  665. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocType.js +0 -235
  666. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocument.js +0 -282
  667. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -650
  668. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -21
  669. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDummy.js +0 -39
  670. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLElement.js +0 -334
  671. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -77
  672. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNode.js +0 -999
  673. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -51
  674. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -45
  675. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -56
  676. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLRaw.js +0 -40
  677. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -209
  678. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -40
  679. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -291
  680. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLText.js +0 -82
  681. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -23
  682. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -27
  683. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -485
  684. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/index.js +0 -120
  685. package/plugin/node_modules/plist/node_modules/xmlbuilder/package.json +0 -51
  686. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/escaping.coffee +0 -244
  687. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/object.coffee +0 -21
  688. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/index.coffee +0 -161
  689. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/perf.list +0 -11
  690. package/plugin/node_modules/plist/node_modules/xmlbuilder/typings/index.d.ts +0 -1771
  691. package/plugin/node_modules/plist/package.json +0 -44
  692. package/plugin/node_modules/resolve-from/index.d.ts +0 -31
  693. package/plugin/node_modules/resolve-from/index.js +0 -47
  694. package/plugin/node_modules/resolve-from/license +0 -9
  695. package/plugin/node_modules/resolve-from/package.json +0 -36
  696. package/plugin/node_modules/resolve-from/readme.md +0 -72
  697. package/plugin/node_modules/sax/LICENSE +0 -41
  698. package/plugin/node_modules/sax/README.md +0 -228
  699. package/plugin/node_modules/sax/lib/sax.js +0 -1597
  700. package/plugin/node_modules/sax/package.json +0 -29
  701. package/plugin/node_modules/semver/LICENSE +0 -15
  702. package/plugin/node_modules/semver/README.md +0 -664
  703. package/plugin/node_modules/semver/bin/semver.js +0 -191
  704. package/plugin/node_modules/semver/classes/comparator.js +0 -143
  705. package/plugin/node_modules/semver/classes/index.js +0 -7
  706. package/plugin/node_modules/semver/classes/range.js +0 -556
  707. package/plugin/node_modules/semver/classes/semver.js +0 -319
  708. package/plugin/node_modules/semver/functions/clean.js +0 -8
  709. package/plugin/node_modules/semver/functions/cmp.js +0 -54
  710. package/plugin/node_modules/semver/functions/coerce.js +0 -62
  711. package/plugin/node_modules/semver/functions/compare-build.js +0 -9
  712. package/plugin/node_modules/semver/functions/compare-loose.js +0 -5
  713. package/plugin/node_modules/semver/functions/compare.js +0 -7
  714. package/plugin/node_modules/semver/functions/diff.js +0 -60
  715. package/plugin/node_modules/semver/functions/eq.js +0 -5
  716. package/plugin/node_modules/semver/functions/gt.js +0 -5
  717. package/plugin/node_modules/semver/functions/gte.js +0 -5
  718. package/plugin/node_modules/semver/functions/inc.js +0 -21
  719. package/plugin/node_modules/semver/functions/lt.js +0 -5
  720. package/plugin/node_modules/semver/functions/lte.js +0 -5
  721. package/plugin/node_modules/semver/functions/major.js +0 -5
  722. package/plugin/node_modules/semver/functions/minor.js +0 -5
  723. package/plugin/node_modules/semver/functions/neq.js +0 -5
  724. package/plugin/node_modules/semver/functions/parse.js +0 -18
  725. package/plugin/node_modules/semver/functions/patch.js +0 -5
  726. package/plugin/node_modules/semver/functions/prerelease.js +0 -8
  727. package/plugin/node_modules/semver/functions/rcompare.js +0 -5
  728. package/plugin/node_modules/semver/functions/rsort.js +0 -5
  729. package/plugin/node_modules/semver/functions/satisfies.js +0 -12
  730. package/plugin/node_modules/semver/functions/sort.js +0 -5
  731. package/plugin/node_modules/semver/functions/valid.js +0 -8
  732. package/plugin/node_modules/semver/index.js +0 -91
  733. package/plugin/node_modules/semver/internal/constants.js +0 -37
  734. package/plugin/node_modules/semver/internal/debug.js +0 -11
  735. package/plugin/node_modules/semver/internal/identifiers.js +0 -25
  736. package/plugin/node_modules/semver/internal/lrucache.js +0 -42
  737. package/plugin/node_modules/semver/internal/parse-options.js +0 -17
  738. package/plugin/node_modules/semver/internal/re.js +0 -223
  739. package/plugin/node_modules/semver/package.json +0 -78
  740. package/plugin/node_modules/semver/preload.js +0 -4
  741. package/plugin/node_modules/semver/range.bnf +0 -16
  742. package/plugin/node_modules/semver/ranges/gtr.js +0 -6
  743. package/plugin/node_modules/semver/ranges/intersects.js +0 -9
  744. package/plugin/node_modules/semver/ranges/ltr.js +0 -6
  745. package/plugin/node_modules/semver/ranges/max-satisfying.js +0 -27
  746. package/plugin/node_modules/semver/ranges/min-satisfying.js +0 -26
  747. package/plugin/node_modules/semver/ranges/min-version.js +0 -63
  748. package/plugin/node_modules/semver/ranges/outside.js +0 -82
  749. package/plugin/node_modules/semver/ranges/simplify.js +0 -49
  750. package/plugin/node_modules/semver/ranges/subset.js +0 -249
  751. package/plugin/node_modules/semver/ranges/to-comparators.js +0 -10
  752. package/plugin/node_modules/semver/ranges/valid.js +0 -13
  753. package/plugin/node_modules/signal-exit/LICENSE.txt +0 -16
  754. package/plugin/node_modules/signal-exit/README.md +0 -39
  755. package/plugin/node_modules/signal-exit/index.js +0 -202
  756. package/plugin/node_modules/signal-exit/package.json +0 -38
  757. package/plugin/node_modules/signal-exit/signals.js +0 -53
  758. package/plugin/node_modules/simple-plist/LICENSE +0 -20
  759. package/plugin/node_modules/simple-plist/README.md +0 -130
  760. package/plugin/node_modules/simple-plist/dist/index.d.ts +0 -24
  761. package/plugin/node_modules/simple-plist/dist/index.js +0 -41
  762. package/plugin/node_modules/simple-plist/dist/parse.d.ts +0 -8
  763. package/plugin/node_modules/simple-plist/dist/parse.js +0 -45
  764. package/plugin/node_modules/simple-plist/dist/readFile.d.ts +0 -4
  765. package/plugin/node_modules/simple-plist/dist/readFile.js +0 -36
  766. package/plugin/node_modules/simple-plist/dist/readFileSync.d.ts +0 -3
  767. package/plugin/node_modules/simple-plist/dist/readFileSync.js +0 -26
  768. package/plugin/node_modules/simple-plist/dist/stringify.d.ts +0 -2
  769. package/plugin/node_modules/simple-plist/dist/stringify.js +0 -21
  770. package/plugin/node_modules/simple-plist/dist/types.d.ts +0 -4
  771. package/plugin/node_modules/simple-plist/dist/types.js +0 -12
  772. package/plugin/node_modules/simple-plist/dist/writeBinaryFile.d.ts +0 -5
  773. package/plugin/node_modules/simple-plist/dist/writeBinaryFile.js +0 -30
  774. package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.d.ts +0 -4
  775. package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.js +0 -22
  776. package/plugin/node_modules/simple-plist/dist/writeFile.d.ts +0 -5
  777. package/plugin/node_modules/simple-plist/dist/writeFile.js +0 -30
  778. package/plugin/node_modules/simple-plist/dist/writeFileSync.d.ts +0 -4
  779. package/plugin/node_modules/simple-plist/dist/writeFileSync.js +0 -23
  780. package/plugin/node_modules/simple-plist/package.json +0 -53
  781. package/plugin/node_modules/slash/index.d.ts +0 -25
  782. package/plugin/node_modules/slash/index.js +0 -11
  783. package/plugin/node_modules/slash/license +0 -9
  784. package/plugin/node_modules/slash/package.json +0 -35
  785. package/plugin/node_modules/slash/readme.md +0 -44
  786. package/plugin/node_modules/slugify/CHANGELOG.md +0 -94
  787. package/plugin/node_modules/slugify/LICENSE +0 -21
  788. package/plugin/node_modules/slugify/README.md +0 -98
  789. package/plugin/node_modules/slugify/package.json +0 -42
  790. package/plugin/node_modules/slugify/slugify.d.ts +0 -24
  791. package/plugin/node_modules/slugify/slugify.js +0 -69
  792. package/plugin/node_modules/stream-buffers/.mailmap +0 -2
  793. package/plugin/node_modules/stream-buffers/.travis.yml +0 -28
  794. package/plugin/node_modules/stream-buffers/README.md +0 -157
  795. package/plugin/node_modules/stream-buffers/UNLICENSE +0 -24
  796. package/plugin/node_modules/stream-buffers/coverage/coverage.json +0 -1
  797. package/plugin/node_modules/stream-buffers/coverage/lcov-report/base.css +0 -182
  798. package/plugin/node_modules/stream-buffers/coverage/lcov-report/index.html +0 -73
  799. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/constants.js.html +0 -63
  800. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/index.html +0 -112
  801. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/readable_streambuffer.js.html +0 -453
  802. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/streambuffer.js.html +0 -54
  803. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/writable_streambuffer.js.html +0 -336
  804. package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.css +0 -1
  805. package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.js +0 -1
  806. package/plugin/node_modules/stream-buffers/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  807. package/plugin/node_modules/stream-buffers/coverage/lcov-report/sorter.js +0 -156
  808. package/plugin/node_modules/stream-buffers/coverage/lcov.info +0 -305
  809. package/plugin/node_modules/stream-buffers/lib/constants.js +0 -6
  810. package/plugin/node_modules/stream-buffers/lib/readable_streambuffer.js +0 -136
  811. package/plugin/node_modules/stream-buffers/lib/streambuffer.js +0 -3
  812. package/plugin/node_modules/stream-buffers/lib/writable_streambuffer.js +0 -97
  813. package/plugin/node_modules/stream-buffers/package.json +0 -28
  814. package/plugin/node_modules/supports-color/browser.js +0 -5
  815. package/plugin/node_modules/supports-color/index.js +0 -135
  816. package/plugin/node_modules/supports-color/license +0 -9
  817. package/plugin/node_modules/supports-color/package.json +0 -53
  818. package/plugin/node_modules/supports-color/readme.md +0 -76
  819. package/plugin/node_modules/typescript/LICENSE.txt +0 -55
  820. package/plugin/node_modules/typescript/README.md +0 -50
  821. package/plugin/node_modules/typescript/SECURITY.md +0 -41
  822. package/plugin/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  823. package/plugin/node_modules/typescript/bin/tsc +0 -2
  824. package/plugin/node_modules/typescript/bin/tsserver +0 -2
  825. package/plugin/node_modules/typescript/lib/_tsc.js +0 -133792
  826. package/plugin/node_modules/typescript/lib/_tsserver.js +0 -659
  827. package/plugin/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  828. package/plugin/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  829. package/plugin/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  830. package/plugin/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  831. package/plugin/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  832. package/plugin/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  833. package/plugin/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  834. package/plugin/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  835. package/plugin/node_modules/typescript/lib/lib.d.ts +0 -22
  836. package/plugin/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  837. package/plugin/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  838. package/plugin/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  839. package/plugin/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  840. package/plugin/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  841. package/plugin/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  842. package/plugin/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  843. package/plugin/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  844. package/plugin/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  845. package/plugin/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  846. package/plugin/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  847. package/plugin/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  848. package/plugin/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  849. package/plugin/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  850. package/plugin/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  851. package/plugin/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  852. package/plugin/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  853. package/plugin/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  854. package/plugin/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  855. package/plugin/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  856. package/plugin/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  857. package/plugin/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  858. package/plugin/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  859. package/plugin/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  860. package/plugin/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  861. package/plugin/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  862. package/plugin/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  863. package/plugin/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  864. package/plugin/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  865. package/plugin/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  866. package/plugin/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  867. package/plugin/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  868. package/plugin/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  869. package/plugin/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  870. package/plugin/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  871. package/plugin/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  872. package/plugin/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  873. package/plugin/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  874. package/plugin/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  875. package/plugin/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  876. package/plugin/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  877. package/plugin/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  878. package/plugin/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  879. package/plugin/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  880. package/plugin/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  881. package/plugin/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  882. package/plugin/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  883. package/plugin/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  884. package/plugin/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  885. package/plugin/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  886. package/plugin/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  887. package/plugin/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  888. package/plugin/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  889. package/plugin/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  890. package/plugin/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  891. package/plugin/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  892. package/plugin/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  893. package/plugin/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  894. package/plugin/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  895. package/plugin/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  896. package/plugin/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  897. package/plugin/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  898. package/plugin/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  899. package/plugin/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  900. package/plugin/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  901. package/plugin/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  902. package/plugin/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  903. package/plugin/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  904. package/plugin/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  905. package/plugin/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  906. package/plugin/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  907. package/plugin/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  908. package/plugin/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  909. package/plugin/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  910. package/plugin/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  911. package/plugin/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  912. package/plugin/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  913. package/plugin/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  914. package/plugin/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  915. package/plugin/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  916. package/plugin/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  917. package/plugin/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  918. package/plugin/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  919. package/plugin/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  920. package/plugin/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  921. package/plugin/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  922. package/plugin/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  923. package/plugin/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  924. package/plugin/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -443
  925. package/plugin/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  926. package/plugin/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  927. package/plugin/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  928. package/plugin/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  929. package/plugin/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  930. package/plugin/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  931. package/plugin/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  932. package/plugin/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  933. package/plugin/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  934. package/plugin/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  935. package/plugin/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  936. package/plugin/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  937. package/plugin/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  938. package/plugin/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  939. package/plugin/node_modules/typescript/lib/tsc.js +0 -8
  940. package/plugin/node_modules/typescript/lib/tsserver.js +0 -8
  941. package/plugin/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  942. package/plugin/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  943. package/plugin/node_modules/typescript/lib/typesMap.json +0 -497
  944. package/plugin/node_modules/typescript/lib/typescript.d.ts +0 -11438
  945. package/plugin/node_modules/typescript/lib/typescript.js +0 -200253
  946. package/plugin/node_modules/typescript/lib/typingsInstaller.js +0 -8
  947. package/plugin/node_modules/typescript/lib/watchGuard.js +0 -53
  948. package/plugin/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  949. package/plugin/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  950. package/plugin/node_modules/typescript/package.json +0 -120
  951. package/plugin/node_modules/undici-types/LICENSE +0 -21
  952. package/plugin/node_modules/undici-types/README.md +0 -6
  953. package/plugin/node_modules/undici-types/agent.d.ts +0 -31
  954. package/plugin/node_modules/undici-types/api.d.ts +0 -43
  955. package/plugin/node_modules/undici-types/balanced-pool.d.ts +0 -29
  956. package/plugin/node_modules/undici-types/cache.d.ts +0 -36
  957. package/plugin/node_modules/undici-types/client.d.ts +0 -108
  958. package/plugin/node_modules/undici-types/connector.d.ts +0 -34
  959. package/plugin/node_modules/undici-types/content-type.d.ts +0 -21
  960. package/plugin/node_modules/undici-types/cookies.d.ts +0 -28
  961. package/plugin/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  962. package/plugin/node_modules/undici-types/dispatcher.d.ts +0 -256
  963. package/plugin/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  964. package/plugin/node_modules/undici-types/errors.d.ts +0 -149
  965. package/plugin/node_modules/undici-types/eventsource.d.ts +0 -61
  966. package/plugin/node_modules/undici-types/fetch.d.ts +0 -209
  967. package/plugin/node_modules/undici-types/file.d.ts +0 -39
  968. package/plugin/node_modules/undici-types/filereader.d.ts +0 -54
  969. package/plugin/node_modules/undici-types/formdata.d.ts +0 -108
  970. package/plugin/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  971. package/plugin/node_modules/undici-types/global-origin.d.ts +0 -7
  972. package/plugin/node_modules/undici-types/handlers.d.ts +0 -15
  973. package/plugin/node_modules/undici-types/header.d.ts +0 -4
  974. package/plugin/node_modules/undici-types/index.d.ts +0 -71
  975. package/plugin/node_modules/undici-types/interceptors.d.ts +0 -17
  976. package/plugin/node_modules/undici-types/mock-agent.d.ts +0 -50
  977. package/plugin/node_modules/undici-types/mock-client.d.ts +0 -25
  978. package/plugin/node_modules/undici-types/mock-errors.d.ts +0 -12
  979. package/plugin/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  980. package/plugin/node_modules/undici-types/mock-pool.d.ts +0 -25
  981. package/plugin/node_modules/undici-types/package.json +0 -55
  982. package/plugin/node_modules/undici-types/patch.d.ts +0 -33
  983. package/plugin/node_modules/undici-types/pool-stats.d.ts +0 -19
  984. package/plugin/node_modules/undici-types/pool.d.ts +0 -39
  985. package/plugin/node_modules/undici-types/proxy-agent.d.ts +0 -28
  986. package/plugin/node_modules/undici-types/readable.d.ts +0 -65
  987. package/plugin/node_modules/undici-types/retry-agent.d.ts +0 -8
  988. package/plugin/node_modules/undici-types/retry-handler.d.ts +0 -116
  989. package/plugin/node_modules/undici-types/util.d.ts +0 -18
  990. package/plugin/node_modules/undici-types/webidl.d.ts +0 -228
  991. package/plugin/node_modules/undici-types/websocket.d.ts +0 -150
  992. package/plugin/node_modules/uuid/CHANGELOG.md +0 -156
  993. package/plugin/node_modules/uuid/CONTRIBUTING.md +0 -20
  994. package/plugin/node_modules/uuid/LICENSE.md +0 -21
  995. package/plugin/node_modules/uuid/README.md +0 -406
  996. package/plugin/node_modules/uuid/deprecate.js +0 -20
  997. package/plugin/node_modules/uuid/dist/bin/uuid +0 -2
  998. package/plugin/node_modules/uuid/dist/bytesToUuid.js +0 -27
  999. package/plugin/node_modules/uuid/dist/esm-browser/bytesToUuid.js +0 -18
  1000. package/plugin/node_modules/uuid/dist/esm-browser/index.js +0 -4
  1001. package/plugin/node_modules/uuid/dist/esm-browser/md5.js +0 -218
  1002. package/plugin/node_modules/uuid/dist/esm-browser/rng.js +0 -15
  1003. package/plugin/node_modules/uuid/dist/esm-browser/sha1.js +0 -91
  1004. package/plugin/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  1005. package/plugin/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  1006. package/plugin/node_modules/uuid/dist/esm-browser/v35.js +0 -56
  1007. package/plugin/node_modules/uuid/dist/esm-browser/v4.js +0 -27
  1008. package/plugin/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  1009. package/plugin/node_modules/uuid/dist/esm-node/bytesToUuid.js +0 -18
  1010. package/plugin/node_modules/uuid/dist/esm-node/index.js +0 -4
  1011. package/plugin/node_modules/uuid/dist/esm-node/md5.js +0 -13
  1012. package/plugin/node_modules/uuid/dist/esm-node/rng.js +0 -4
  1013. package/plugin/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  1014. package/plugin/node_modules/uuid/dist/esm-node/v1.js +0 -95
  1015. package/plugin/node_modules/uuid/dist/esm-node/v3.js +0 -4
  1016. package/plugin/node_modules/uuid/dist/esm-node/v35.js +0 -56
  1017. package/plugin/node_modules/uuid/dist/esm-node/v4.js +0 -27
  1018. package/plugin/node_modules/uuid/dist/esm-node/v5.js +0 -4
  1019. package/plugin/node_modules/uuid/dist/index.js +0 -39
  1020. package/plugin/node_modules/uuid/dist/md5-browser.js +0 -225
  1021. package/plugin/node_modules/uuid/dist/md5.js +0 -24
  1022. package/plugin/node_modules/uuid/dist/rng-browser.js +0 -23
  1023. package/plugin/node_modules/uuid/dist/rng.js +0 -16
  1024. package/plugin/node_modules/uuid/dist/sha1-browser.js +0 -96
  1025. package/plugin/node_modules/uuid/dist/sha1.js +0 -24
  1026. package/plugin/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  1027. package/plugin/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  1028. package/plugin/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  1029. package/plugin/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  1030. package/plugin/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  1031. package/plugin/node_modules/uuid/dist/uuid-bin.js +0 -67
  1032. package/plugin/node_modules/uuid/dist/v1.js +0 -108
  1033. package/plugin/node_modules/uuid/dist/v3.js +0 -17
  1034. package/plugin/node_modules/uuid/dist/v35.js +0 -69
  1035. package/plugin/node_modules/uuid/dist/v4.js +0 -41
  1036. package/plugin/node_modules/uuid/dist/v5.js +0 -17
  1037. package/plugin/node_modules/uuid/package.json +0 -115
  1038. package/plugin/node_modules/uuid/v1.js +0 -8
  1039. package/plugin/node_modules/uuid/v3.js +0 -8
  1040. package/plugin/node_modules/uuid/v4.js +0 -8
  1041. package/plugin/node_modules/uuid/v5.js +0 -8
  1042. package/plugin/node_modules/wrappy/LICENSE +0 -15
  1043. package/plugin/node_modules/wrappy/README.md +0 -36
  1044. package/plugin/node_modules/wrappy/package.json +0 -29
  1045. package/plugin/node_modules/wrappy/wrappy.js +0 -33
  1046. package/plugin/node_modules/write-file-atomic/CHANGELOG.md +0 -25
  1047. package/plugin/node_modules/write-file-atomic/LICENSE +0 -6
  1048. package/plugin/node_modules/write-file-atomic/README.md +0 -56
  1049. package/plugin/node_modules/write-file-atomic/index.js +0 -238
  1050. package/plugin/node_modules/write-file-atomic/package.json +0 -41
  1051. package/plugin/node_modules/xcode/AUTHORS +0 -6
  1052. package/plugin/node_modules/xcode/CONTRIBUTING.md +0 -37
  1053. package/plugin/node_modules/xcode/LICENSE +0 -202
  1054. package/plugin/node_modules/xcode/Makefile +0 -24
  1055. package/plugin/node_modules/xcode/NOTICE +0 -5
  1056. package/plugin/node_modules/xcode/README.md +0 -72
  1057. package/plugin/node_modules/xcode/RELEASENOTES.md +0 -77
  1058. package/plugin/node_modules/xcode/index.js +0 -18
  1059. package/plugin/node_modules/xcode/lib/parseJob.js +0 -32
  1060. package/plugin/node_modules/xcode/lib/parser/pbxproj.js +0 -1904
  1061. package/plugin/node_modules/xcode/lib/parser/pbxproj.pegjs +0 -280
  1062. package/plugin/node_modules/xcode/lib/pbxFile.js +0 -233
  1063. package/plugin/node_modules/xcode/lib/pbxProject.js +0 -2201
  1064. package/plugin/node_modules/xcode/lib/pbxWriter.js +0 -309
  1065. package/plugin/node_modules/xcode/package.json +0 -61
  1066. package/plugin/node_modules/xml2js/LICENSE +0 -19
  1067. package/plugin/node_modules/xml2js/README.md +0 -507
  1068. package/plugin/node_modules/xml2js/lib/bom.js +0 -12
  1069. package/plugin/node_modules/xml2js/lib/builder.js +0 -127
  1070. package/plugin/node_modules/xml2js/lib/defaults.js +0 -72
  1071. package/plugin/node_modules/xml2js/lib/parser.js +0 -396
  1072. package/plugin/node_modules/xml2js/lib/processors.js +0 -34
  1073. package/plugin/node_modules/xml2js/lib/xml2js.js +0 -39
  1074. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +0 -470
  1075. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +0 -21
  1076. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/README.md +0 -86
  1077. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +0 -20
  1078. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +0 -10
  1079. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
  1080. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +0 -23
  1081. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +0 -11
  1082. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +0 -83
  1083. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +0 -10
  1084. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -108
  1085. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +0 -36
  1086. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -79
  1087. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +0 -36
  1088. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -64
  1089. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -16
  1090. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -32
  1091. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -28
  1092. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -55
  1093. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -38
  1094. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -97
  1095. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -52
  1096. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -43
  1097. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +0 -186
  1098. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +0 -242
  1099. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -528
  1100. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -24
  1101. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +0 -31
  1102. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +0 -298
  1103. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -58
  1104. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +0 -785
  1105. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -48
  1106. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -28
  1107. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -49
  1108. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +0 -35
  1109. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -176
  1110. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -35
  1111. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -240
  1112. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +0 -69
  1113. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -21
  1114. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -16
  1115. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -428
  1116. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +0 -65
  1117. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/package.json +0 -39
  1118. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +0 -153
  1119. package/plugin/node_modules/xml2js/package.json +0 -93
  1120. package/plugin/node_modules/xmlbuilder/.nycrc +0 -6
  1121. package/plugin/node_modules/xmlbuilder/CHANGELOG.md +0 -568
  1122. package/plugin/node_modules/xmlbuilder/LICENSE +0 -21
  1123. package/plugin/node_modules/xmlbuilder/README.md +0 -103
  1124. package/plugin/node_modules/xmlbuilder/lib/Derivation.js +0 -10
  1125. package/plugin/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
  1126. package/plugin/node_modules/xmlbuilder/lib/NodeType.js +0 -25
  1127. package/plugin/node_modules/xmlbuilder/lib/OperationType.js +0 -11
  1128. package/plugin/node_modules/xmlbuilder/lib/Utility.js +0 -88
  1129. package/plugin/node_modules/xmlbuilder/lib/WriterState.js +0 -10
  1130. package/plugin/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -130
  1131. package/plugin/node_modules/xmlbuilder/lib/XMLCData.js +0 -41
  1132. package/plugin/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -86
  1133. package/plugin/node_modules/xmlbuilder/lib/XMLComment.js +0 -41
  1134. package/plugin/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -80
  1135. package/plugin/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -20
  1136. package/plugin/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -55
  1137. package/plugin/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -44
  1138. package/plugin/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -66
  1139. package/plugin/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -44
  1140. package/plugin/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -115
  1141. package/plugin/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -66
  1142. package/plugin/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -51
  1143. package/plugin/node_modules/xmlbuilder/lib/XMLDocType.js +0 -235
  1144. package/plugin/node_modules/xmlbuilder/lib/XMLDocument.js +0 -282
  1145. package/plugin/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -650
  1146. package/plugin/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -21
  1147. package/plugin/node_modules/xmlbuilder/lib/XMLDummy.js +0 -39
  1148. package/plugin/node_modules/xmlbuilder/lib/XMLElement.js +0 -334
  1149. package/plugin/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -77
  1150. package/plugin/node_modules/xmlbuilder/lib/XMLNode.js +0 -999
  1151. package/plugin/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -51
  1152. package/plugin/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -45
  1153. package/plugin/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -56
  1154. package/plugin/node_modules/xmlbuilder/lib/XMLRaw.js +0 -40
  1155. package/plugin/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -209
  1156. package/plugin/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -40
  1157. package/plugin/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -287
  1158. package/plugin/node_modules/xmlbuilder/lib/XMLText.js +0 -82
  1159. package/plugin/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -23
  1160. package/plugin/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -27
  1161. package/plugin/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -485
  1162. package/plugin/node_modules/xmlbuilder/lib/index.js +0 -120
  1163. package/plugin/node_modules/xmlbuilder/package.json +0 -51
  1164. package/plugin/node_modules/xmlbuilder/perf/basic/escaping.coffee +0 -244
  1165. package/plugin/node_modules/xmlbuilder/perf/basic/object.coffee +0 -21
  1166. package/plugin/node_modules/xmlbuilder/perf/index.coffee +0 -161
  1167. package/plugin/node_modules/xmlbuilder/perf/perf.list +0 -11
  1168. package/plugin/node_modules/xmlbuilder/typings/index.d.ts +0 -1761
  1169. package/plugin/node_modules/yocto-queue/index.d.ts +0 -56
  1170. package/plugin/node_modules/yocto-queue/index.js +0 -68
  1171. package/plugin/node_modules/yocto-queue/license +0 -9
  1172. package/plugin/node_modules/yocto-queue/package.json +0 -43
  1173. package/plugin/node_modules/yocto-queue/readme.md +0 -64
@@ -1,1808 +0,0 @@
1
- var conventions = require("./conventions");
2
-
3
- var find = conventions.find;
4
- var NAMESPACE = conventions.NAMESPACE;
5
-
6
- /**
7
- * A prerequisite for `[].filter`, to drop elements that are empty
8
- * @param {string} input
9
- * @returns {boolean}
10
- */
11
- function notEmptyString (input) {
12
- return input !== ''
13
- }
14
- /**
15
- * @see https://infra.spec.whatwg.org/#split-on-ascii-whitespace
16
- * @see https://infra.spec.whatwg.org/#ascii-whitespace
17
- *
18
- * @param {string} input
19
- * @returns {string[]} (can be empty)
20
- */
21
- function splitOnASCIIWhitespace(input) {
22
- // U+0009 TAB, U+000A LF, U+000C FF, U+000D CR, U+0020 SPACE
23
- return input ? input.split(/[\t\n\f\r ]+/).filter(notEmptyString) : []
24
- }
25
-
26
- /**
27
- * Adds element as a key to current if it is not already present.
28
- *
29
- * @param {Record<string, boolean | undefined>} current
30
- * @param {string} element
31
- * @returns {Record<string, boolean | undefined>}
32
- */
33
- function orderedSetReducer (current, element) {
34
- if (!current.hasOwnProperty(element)) {
35
- current[element] = true;
36
- }
37
- return current;
38
- }
39
-
40
- /**
41
- * @see https://infra.spec.whatwg.org/#ordered-set
42
- * @param {string} input
43
- * @returns {string[]}
44
- */
45
- function toOrderedSet(input) {
46
- if (!input) return [];
47
- var list = splitOnASCIIWhitespace(input);
48
- return Object.keys(list.reduce(orderedSetReducer, {}))
49
- }
50
-
51
- /**
52
- * Uses `list.indexOf` to implement something like `Array.prototype.includes`,
53
- * which we can not rely on being available.
54
- *
55
- * @param {any[]} list
56
- * @returns {function(any): boolean}
57
- */
58
- function arrayIncludes (list) {
59
- return function(element) {
60
- return list && list.indexOf(element) !== -1;
61
- }
62
- }
63
-
64
- function copy(src,dest){
65
- for(var p in src){
66
- if (Object.prototype.hasOwnProperty.call(src, p)) {
67
- dest[p] = src[p];
68
- }
69
- }
70
- }
71
-
72
- /**
73
- ^\w+\.prototype\.([_\w]+)\s*=\s*((?:.*\{\s*?[\r\n][\s\S]*?^})|\S.*?(?=[;\r\n]));?
74
- ^\w+\.prototype\.([_\w]+)\s*=\s*(\S.*?(?=[;\r\n]));?
75
- */
76
- function _extends(Class,Super){
77
- var pt = Class.prototype;
78
- if(!(pt instanceof Super)){
79
- function t(){};
80
- t.prototype = Super.prototype;
81
- t = new t();
82
- copy(pt,t);
83
- Class.prototype = pt = t;
84
- }
85
- if(pt.constructor != Class){
86
- if(typeof Class != 'function'){
87
- console.error("unknown Class:"+Class)
88
- }
89
- pt.constructor = Class
90
- }
91
- }
92
-
93
- // Node Types
94
- var NodeType = {}
95
- var ELEMENT_NODE = NodeType.ELEMENT_NODE = 1;
96
- var ATTRIBUTE_NODE = NodeType.ATTRIBUTE_NODE = 2;
97
- var TEXT_NODE = NodeType.TEXT_NODE = 3;
98
- var CDATA_SECTION_NODE = NodeType.CDATA_SECTION_NODE = 4;
99
- var ENTITY_REFERENCE_NODE = NodeType.ENTITY_REFERENCE_NODE = 5;
100
- var ENTITY_NODE = NodeType.ENTITY_NODE = 6;
101
- var PROCESSING_INSTRUCTION_NODE = NodeType.PROCESSING_INSTRUCTION_NODE = 7;
102
- var COMMENT_NODE = NodeType.COMMENT_NODE = 8;
103
- var DOCUMENT_NODE = NodeType.DOCUMENT_NODE = 9;
104
- var DOCUMENT_TYPE_NODE = NodeType.DOCUMENT_TYPE_NODE = 10;
105
- var DOCUMENT_FRAGMENT_NODE = NodeType.DOCUMENT_FRAGMENT_NODE = 11;
106
- var NOTATION_NODE = NodeType.NOTATION_NODE = 12;
107
-
108
- // ExceptionCode
109
- var ExceptionCode = {}
110
- var ExceptionMessage = {};
111
- var INDEX_SIZE_ERR = ExceptionCode.INDEX_SIZE_ERR = ((ExceptionMessage[1]="Index size error"),1);
112
- var DOMSTRING_SIZE_ERR = ExceptionCode.DOMSTRING_SIZE_ERR = ((ExceptionMessage[2]="DOMString size error"),2);
113
- var HIERARCHY_REQUEST_ERR = ExceptionCode.HIERARCHY_REQUEST_ERR = ((ExceptionMessage[3]="Hierarchy request error"),3);
114
- var WRONG_DOCUMENT_ERR = ExceptionCode.WRONG_DOCUMENT_ERR = ((ExceptionMessage[4]="Wrong document"),4);
115
- var INVALID_CHARACTER_ERR = ExceptionCode.INVALID_CHARACTER_ERR = ((ExceptionMessage[5]="Invalid character"),5);
116
- var NO_DATA_ALLOWED_ERR = ExceptionCode.NO_DATA_ALLOWED_ERR = ((ExceptionMessage[6]="No data allowed"),6);
117
- var NO_MODIFICATION_ALLOWED_ERR = ExceptionCode.NO_MODIFICATION_ALLOWED_ERR = ((ExceptionMessage[7]="No modification allowed"),7);
118
- var NOT_FOUND_ERR = ExceptionCode.NOT_FOUND_ERR = ((ExceptionMessage[8]="Not found"),8);
119
- var NOT_SUPPORTED_ERR = ExceptionCode.NOT_SUPPORTED_ERR = ((ExceptionMessage[9]="Not supported"),9);
120
- var INUSE_ATTRIBUTE_ERR = ExceptionCode.INUSE_ATTRIBUTE_ERR = ((ExceptionMessage[10]="Attribute in use"),10);
121
- //level2
122
- var INVALID_STATE_ERR = ExceptionCode.INVALID_STATE_ERR = ((ExceptionMessage[11]="Invalid state"),11);
123
- var SYNTAX_ERR = ExceptionCode.SYNTAX_ERR = ((ExceptionMessage[12]="Syntax error"),12);
124
- var INVALID_MODIFICATION_ERR = ExceptionCode.INVALID_MODIFICATION_ERR = ((ExceptionMessage[13]="Invalid modification"),13);
125
- var NAMESPACE_ERR = ExceptionCode.NAMESPACE_ERR = ((ExceptionMessage[14]="Invalid namespace"),14);
126
- var INVALID_ACCESS_ERR = ExceptionCode.INVALID_ACCESS_ERR = ((ExceptionMessage[15]="Invalid access"),15);
127
-
128
- /**
129
- * DOM Level 2
130
- * Object DOMException
131
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
132
- * @see http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html
133
- */
134
- function DOMException(code, message) {
135
- if(message instanceof Error){
136
- var error = message;
137
- }else{
138
- error = this;
139
- Error.call(this, ExceptionMessage[code]);
140
- this.message = ExceptionMessage[code];
141
- if(Error.captureStackTrace) Error.captureStackTrace(this, DOMException);
142
- }
143
- error.code = code;
144
- if(message) this.message = this.message + ": " + message;
145
- return error;
146
- };
147
- DOMException.prototype = Error.prototype;
148
- copy(ExceptionCode,DOMException)
149
-
150
- /**
151
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-536297177
152
- * The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. NodeList objects in the DOM are live.
153
- * The items in the NodeList are accessible via an integral index, starting from 0.
154
- */
155
- function NodeList() {
156
- };
157
- NodeList.prototype = {
158
- /**
159
- * The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.
160
- * @standard level1
161
- */
162
- length:0,
163
- /**
164
- * Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
165
- * @standard level1
166
- * @param index unsigned long
167
- * Index into the collection.
168
- * @return Node
169
- * The node at the indexth position in the NodeList, or null if that is not a valid index.
170
- */
171
- item: function(index) {
172
- return index >= 0 && index < this.length ? this[index] : null;
173
- },
174
- toString:function(isHTML,nodeFilter){
175
- for(var buf = [], i = 0;i<this.length;i++){
176
- serializeToString(this[i],buf,isHTML,nodeFilter);
177
- }
178
- return buf.join('');
179
- },
180
- /**
181
- * @private
182
- * @param {function (Node):boolean} predicate
183
- * @returns {Node[]}
184
- */
185
- filter: function (predicate) {
186
- return Array.prototype.filter.call(this, predicate);
187
- },
188
- /**
189
- * @private
190
- * @param {Node} item
191
- * @returns {number}
192
- */
193
- indexOf: function (item) {
194
- return Array.prototype.indexOf.call(this, item);
195
- },
196
- };
197
-
198
- function LiveNodeList(node,refresh){
199
- this._node = node;
200
- this._refresh = refresh
201
- _updateLiveList(this);
202
- }
203
- function _updateLiveList(list){
204
- var inc = list._node._inc || list._node.ownerDocument._inc;
205
- if (list._inc !== inc) {
206
- var ls = list._refresh(list._node);
207
- __set__(list,'length',ls.length);
208
- if (!list.$$length || ls.length < list.$$length) {
209
- for (var i = ls.length; i in list; i++) {
210
- if (Object.prototype.hasOwnProperty.call(list, i)) {
211
- delete list[i];
212
- }
213
- }
214
- }
215
- copy(ls,list);
216
- list._inc = inc;
217
- }
218
- }
219
- LiveNodeList.prototype.item = function(i){
220
- _updateLiveList(this);
221
- return this[i] || null;
222
- }
223
-
224
- _extends(LiveNodeList,NodeList);
225
-
226
- /**
227
- * Objects implementing the NamedNodeMap interface are used
228
- * to represent collections of nodes that can be accessed by name.
229
- * Note that NamedNodeMap does not inherit from NodeList;
230
- * NamedNodeMaps are not maintained in any particular order.
231
- * Objects contained in an object implementing NamedNodeMap may also be accessed by an ordinal index,
232
- * but this is simply to allow convenient enumeration of the contents of a NamedNodeMap,
233
- * and does not imply that the DOM specifies an order to these Nodes.
234
- * NamedNodeMap objects in the DOM are live.
235
- * used for attributes or DocumentType entities
236
- */
237
- function NamedNodeMap() {
238
- };
239
-
240
- function _findNodeIndex(list,node){
241
- var i = list.length;
242
- while(i--){
243
- if(list[i] === node){return i}
244
- }
245
- }
246
-
247
- function _addNamedNode(el,list,newAttr,oldAttr){
248
- if(oldAttr){
249
- list[_findNodeIndex(list,oldAttr)] = newAttr;
250
- }else{
251
- list[list.length++] = newAttr;
252
- }
253
- if(el){
254
- newAttr.ownerElement = el;
255
- var doc = el.ownerDocument;
256
- if(doc){
257
- oldAttr && _onRemoveAttribute(doc,el,oldAttr);
258
- _onAddAttribute(doc,el,newAttr);
259
- }
260
- }
261
- }
262
- function _removeNamedNode(el,list,attr){
263
- //console.log('remove attr:'+attr)
264
- var i = _findNodeIndex(list,attr);
265
- if(i>=0){
266
- var lastIndex = list.length-1
267
- while(i<lastIndex){
268
- list[i] = list[++i]
269
- }
270
- list.length = lastIndex;
271
- if(el){
272
- var doc = el.ownerDocument;
273
- if(doc){
274
- _onRemoveAttribute(doc,el,attr);
275
- attr.ownerElement = null;
276
- }
277
- }
278
- }else{
279
- throw new DOMException(NOT_FOUND_ERR,new Error(el.tagName+'@'+attr))
280
- }
281
- }
282
- NamedNodeMap.prototype = {
283
- length:0,
284
- item:NodeList.prototype.item,
285
- getNamedItem: function(key) {
286
- // if(key.indexOf(':')>0 || key == 'xmlns'){
287
- // return null;
288
- // }
289
- //console.log()
290
- var i = this.length;
291
- while(i--){
292
- var attr = this[i];
293
- //console.log(attr.nodeName,key)
294
- if(attr.nodeName == key){
295
- return attr;
296
- }
297
- }
298
- },
299
- setNamedItem: function(attr) {
300
- var el = attr.ownerElement;
301
- if(el && el!=this._ownerElement){
302
- throw new DOMException(INUSE_ATTRIBUTE_ERR);
303
- }
304
- var oldAttr = this.getNamedItem(attr.nodeName);
305
- _addNamedNode(this._ownerElement,this,attr,oldAttr);
306
- return oldAttr;
307
- },
308
- /* returns Node */
309
- setNamedItemNS: function(attr) {// raises: WRONG_DOCUMENT_ERR,NO_MODIFICATION_ALLOWED_ERR,INUSE_ATTRIBUTE_ERR
310
- var el = attr.ownerElement, oldAttr;
311
- if(el && el!=this._ownerElement){
312
- throw new DOMException(INUSE_ATTRIBUTE_ERR);
313
- }
314
- oldAttr = this.getNamedItemNS(attr.namespaceURI,attr.localName);
315
- _addNamedNode(this._ownerElement,this,attr,oldAttr);
316
- return oldAttr;
317
- },
318
-
319
- /* returns Node */
320
- removeNamedItem: function(key) {
321
- var attr = this.getNamedItem(key);
322
- _removeNamedNode(this._ownerElement,this,attr);
323
- return attr;
324
-
325
-
326
- },// raises: NOT_FOUND_ERR,NO_MODIFICATION_ALLOWED_ERR
327
-
328
- //for level2
329
- removeNamedItemNS:function(namespaceURI,localName){
330
- var attr = this.getNamedItemNS(namespaceURI,localName);
331
- _removeNamedNode(this._ownerElement,this,attr);
332
- return attr;
333
- },
334
- getNamedItemNS: function(namespaceURI, localName) {
335
- var i = this.length;
336
- while(i--){
337
- var node = this[i];
338
- if(node.localName == localName && node.namespaceURI == namespaceURI){
339
- return node;
340
- }
341
- }
342
- return null;
343
- }
344
- };
345
-
346
- /**
347
- * The DOMImplementation interface represents an object providing methods
348
- * which are not dependent on any particular document.
349
- * Such an object is returned by the `Document.implementation` property.
350
- *
351
- * __The individual methods describe the differences compared to the specs.__
352
- *
353
- * @constructor
354
- *
355
- * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation MDN
356
- * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-102161490 DOM Level 1 Core (Initial)
357
- * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-102161490 DOM Level 2 Core
358
- * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-102161490 DOM Level 3 Core
359
- * @see https://dom.spec.whatwg.org/#domimplementation DOM Living Standard
360
- */
361
- function DOMImplementation() {
362
- }
363
-
364
- DOMImplementation.prototype = {
365
- /**
366
- * The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.
367
- * The different implementations fairly diverged in what kind of features were reported.
368
- * The latest version of the spec settled to force this method to always return true, where the functionality was accurate and in use.
369
- *
370
- * @deprecated It is deprecated and modern browsers return true in all cases.
371
- *
372
- * @param {string} feature
373
- * @param {string} [version]
374
- * @returns {boolean} always true
375
- *
376
- * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature MDN
377
- * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-5CED94D7 DOM Level 1 Core
378
- * @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature DOM Living Standard
379
- */
380
- hasFeature: function(feature, version) {
381
- return true;
382
- },
383
- /**
384
- * Creates an XML Document object of the specified type with its document element.
385
- *
386
- * __It behaves slightly different from the description in the living standard__:
387
- * - There is no interface/class `XMLDocument`, it returns a `Document` instance.
388
- * - `contentType`, `encoding`, `mode`, `origin`, `url` fields are currently not declared.
389
- * - this implementation is not validating names or qualified names
390
- * (when parsing XML strings, the SAX parser takes care of that)
391
- *
392
- * @param {string|null} namespaceURI
393
- * @param {string} qualifiedName
394
- * @param {DocumentType=null} doctype
395
- * @returns {Document}
396
- *
397
- * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument MDN
398
- * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocument DOM Level 2 Core (initial)
399
- * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument DOM Level 2 Core
400
- *
401
- * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract
402
- * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names
403
- * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
404
- */
405
- createDocument: function(namespaceURI, qualifiedName, doctype){
406
- var doc = new Document();
407
- doc.implementation = this;
408
- doc.childNodes = new NodeList();
409
- doc.doctype = doctype || null;
410
- if (doctype){
411
- doc.appendChild(doctype);
412
- }
413
- if (qualifiedName){
414
- var root = doc.createElementNS(namespaceURI, qualifiedName);
415
- doc.appendChild(root);
416
- }
417
- return doc;
418
- },
419
- /**
420
- * Returns a doctype, with the given `qualifiedName`, `publicId`, and `systemId`.
421
- *
422
- * __This behavior is slightly different from the in the specs__:
423
- * - this implementation is not validating names or qualified names
424
- * (when parsing XML strings, the SAX parser takes care of that)
425
- *
426
- * @param {string} qualifiedName
427
- * @param {string} [publicId]
428
- * @param {string} [systemId]
429
- * @returns {DocumentType} which can either be used with `DOMImplementation.createDocument` upon document creation
430
- * or can be put into the document via methods like `Node.insertBefore()` or `Node.replaceChild()`
431
- *
432
- * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType MDN
433
- * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocType DOM Level 2 Core
434
- * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype DOM Living Standard
435
- *
436
- * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract
437
- * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names
438
- * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
439
- */
440
- createDocumentType: function(qualifiedName, publicId, systemId){
441
- var node = new DocumentType();
442
- node.name = qualifiedName;
443
- node.nodeName = qualifiedName;
444
- node.publicId = publicId || '';
445
- node.systemId = systemId || '';
446
-
447
- return node;
448
- }
449
- };
450
-
451
-
452
- /**
453
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1950641247
454
- */
455
-
456
- function Node() {
457
- };
458
-
459
- Node.prototype = {
460
- firstChild : null,
461
- lastChild : null,
462
- previousSibling : null,
463
- nextSibling : null,
464
- attributes : null,
465
- parentNode : null,
466
- childNodes : null,
467
- ownerDocument : null,
468
- nodeValue : null,
469
- namespaceURI : null,
470
- prefix : null,
471
- localName : null,
472
- // Modified in DOM Level 2:
473
- insertBefore:function(newChild, refChild){//raises
474
- return _insertBefore(this,newChild,refChild);
475
- },
476
- replaceChild:function(newChild, oldChild){//raises
477
- _insertBefore(this, newChild,oldChild, assertPreReplacementValidityInDocument);
478
- if(oldChild){
479
- this.removeChild(oldChild);
480
- }
481
- },
482
- removeChild:function(oldChild){
483
- return _removeChild(this,oldChild);
484
- },
485
- appendChild:function(newChild){
486
- return this.insertBefore(newChild,null);
487
- },
488
- hasChildNodes:function(){
489
- return this.firstChild != null;
490
- },
491
- cloneNode:function(deep){
492
- return cloneNode(this.ownerDocument||this,this,deep);
493
- },
494
- // Modified in DOM Level 2:
495
- normalize:function(){
496
- var child = this.firstChild;
497
- while(child){
498
- var next = child.nextSibling;
499
- if(next && next.nodeType == TEXT_NODE && child.nodeType == TEXT_NODE){
500
- this.removeChild(next);
501
- child.appendData(next.data);
502
- }else{
503
- child.normalize();
504
- child = next;
505
- }
506
- }
507
- },
508
- // Introduced in DOM Level 2:
509
- isSupported:function(feature, version){
510
- return this.ownerDocument.implementation.hasFeature(feature,version);
511
- },
512
- // Introduced in DOM Level 2:
513
- hasAttributes:function(){
514
- return this.attributes.length>0;
515
- },
516
- /**
517
- * Look up the prefix associated to the given namespace URI, starting from this node.
518
- * **The default namespace declarations are ignored by this method.**
519
- * See Namespace Prefix Lookup for details on the algorithm used by this method.
520
- *
521
- * _Note: The implementation seems to be incomplete when compared to the algorithm described in the specs._
522
- *
523
- * @param {string | null} namespaceURI
524
- * @returns {string | null}
525
- * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix
526
- * @see https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespacePrefixAlgo
527
- * @see https://dom.spec.whatwg.org/#dom-node-lookupprefix
528
- * @see https://github.com/xmldom/xmldom/issues/322
529
- */
530
- lookupPrefix:function(namespaceURI){
531
- var el = this;
532
- while(el){
533
- var map = el._nsMap;
534
- //console.dir(map)
535
- if(map){
536
- for(var n in map){
537
- if (Object.prototype.hasOwnProperty.call(map, n) && map[n] === namespaceURI) {
538
- return n;
539
- }
540
- }
541
- }
542
- el = el.nodeType == ATTRIBUTE_NODE?el.ownerDocument : el.parentNode;
543
- }
544
- return null;
545
- },
546
- // Introduced in DOM Level 3:
547
- lookupNamespaceURI:function(prefix){
548
- var el = this;
549
- while(el){
550
- var map = el._nsMap;
551
- //console.dir(map)
552
- if(map){
553
- if(prefix in map){
554
- if(Object.prototype.hasOwnProperty.call(map, prefix)){
555
- return map[prefix] ;
556
- }
557
- }
558
- }
559
- el = el.nodeType == ATTRIBUTE_NODE?el.ownerDocument : el.parentNode;
560
- }
561
- return null;
562
- },
563
- // Introduced in DOM Level 3:
564
- isDefaultNamespace:function(namespaceURI){
565
- var prefix = this.lookupPrefix(namespaceURI);
566
- return prefix == null;
567
- }
568
- };
569
-
570
-
571
- function _xmlEncoder(c){
572
- return c == '<' && '&lt;' ||
573
- c == '>' && '&gt;' ||
574
- c == '&' && '&amp;' ||
575
- c == '"' && '&quot;' ||
576
- '&#'+c.charCodeAt()+';'
577
- }
578
-
579
-
580
- copy(NodeType,Node);
581
- copy(NodeType,Node.prototype);
582
-
583
- /**
584
- * @param callback return true for continue,false for break
585
- * @return boolean true: break visit;
586
- */
587
- function _visitNode(node,callback){
588
- if(callback(node)){
589
- return true;
590
- }
591
- if(node = node.firstChild){
592
- do{
593
- if(_visitNode(node,callback)){return true}
594
- }while(node=node.nextSibling)
595
- }
596
- }
597
-
598
-
599
-
600
- function Document(){
601
- this.ownerDocument = this;
602
- }
603
-
604
- function _onAddAttribute(doc,el,newAttr){
605
- doc && doc._inc++;
606
- var ns = newAttr.namespaceURI ;
607
- if(ns === NAMESPACE.XMLNS){
608
- //update namespace
609
- el._nsMap[newAttr.prefix?newAttr.localName:''] = newAttr.value
610
- }
611
- }
612
-
613
- function _onRemoveAttribute(doc,el,newAttr,remove){
614
- doc && doc._inc++;
615
- var ns = newAttr.namespaceURI ;
616
- if(ns === NAMESPACE.XMLNS){
617
- //update namespace
618
- delete el._nsMap[newAttr.prefix?newAttr.localName:'']
619
- }
620
- }
621
-
622
- function _onUpdateChild(doc,el,newChild){
623
- if(doc && doc._inc){
624
- doc._inc++;
625
- //update childNodes
626
- var cs = el.childNodes;
627
- if(newChild){
628
- cs[cs.length++] = newChild;
629
- }else{
630
- //console.log(1)
631
- var child = el.firstChild;
632
- var i = 0;
633
- while(child){
634
- cs[i++] = child;
635
- child =child.nextSibling;
636
- }
637
- cs.length = i;
638
- delete cs[cs.length];
639
- }
640
- }
641
- }
642
-
643
- /**
644
- * attributes;
645
- * children;
646
- *
647
- * writeable properties:
648
- * nodeValue,Attr:value,CharacterData:data
649
- * prefix
650
- */
651
- function _removeChild(parentNode,child){
652
- var previous = child.previousSibling;
653
- var next = child.nextSibling;
654
- if(previous){
655
- previous.nextSibling = next;
656
- }else{
657
- parentNode.firstChild = next
658
- }
659
- if(next){
660
- next.previousSibling = previous;
661
- }else{
662
- parentNode.lastChild = previous;
663
- }
664
- child.parentNode = null;
665
- child.previousSibling = null;
666
- child.nextSibling = null;
667
- _onUpdateChild(parentNode.ownerDocument,parentNode);
668
- return child;
669
- }
670
-
671
- /**
672
- * Returns `true` if `node` can be a parent for insertion.
673
- * @param {Node} node
674
- * @returns {boolean}
675
- */
676
- function hasValidParentNodeType(node) {
677
- return (
678
- node &&
679
- (node.nodeType === Node.DOCUMENT_NODE || node.nodeType === Node.DOCUMENT_FRAGMENT_NODE || node.nodeType === Node.ELEMENT_NODE)
680
- );
681
- }
682
-
683
- /**
684
- * Returns `true` if `node` can be inserted according to it's `nodeType`.
685
- * @param {Node} node
686
- * @returns {boolean}
687
- */
688
- function hasInsertableNodeType(node) {
689
- return (
690
- node &&
691
- (isElementNode(node) ||
692
- isTextNode(node) ||
693
- isDocTypeNode(node) ||
694
- node.nodeType === Node.DOCUMENT_FRAGMENT_NODE ||
695
- node.nodeType === Node.COMMENT_NODE ||
696
- node.nodeType === Node.PROCESSING_INSTRUCTION_NODE)
697
- );
698
- }
699
-
700
- /**
701
- * Returns true if `node` is a DOCTYPE node
702
- * @param {Node} node
703
- * @returns {boolean}
704
- */
705
- function isDocTypeNode(node) {
706
- return node && node.nodeType === Node.DOCUMENT_TYPE_NODE;
707
- }
708
-
709
- /**
710
- * Returns true if the node is an element
711
- * @param {Node} node
712
- * @returns {boolean}
713
- */
714
- function isElementNode(node) {
715
- return node && node.nodeType === Node.ELEMENT_NODE;
716
- }
717
- /**
718
- * Returns true if `node` is a text node
719
- * @param {Node} node
720
- * @returns {boolean}
721
- */
722
- function isTextNode(node) {
723
- return node && node.nodeType === Node.TEXT_NODE;
724
- }
725
-
726
- /**
727
- * Check if en element node can be inserted before `child`, or at the end if child is falsy,
728
- * according to the presence and position of a doctype node on the same level.
729
- *
730
- * @param {Document} doc The document node
731
- * @param {Node} child the node that would become the nextSibling if the element would be inserted
732
- * @returns {boolean} `true` if an element can be inserted before child
733
- * @private
734
- * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
735
- */
736
- function isElementInsertionPossible(doc, child) {
737
- var parentChildNodes = doc.childNodes || [];
738
- if (find(parentChildNodes, isElementNode) || isDocTypeNode(child)) {
739
- return false;
740
- }
741
- var docTypeNode = find(parentChildNodes, isDocTypeNode);
742
- return !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));
743
- }
744
-
745
- /**
746
- * Check if en element node can be inserted before `child`, or at the end if child is falsy,
747
- * according to the presence and position of a doctype node on the same level.
748
- *
749
- * @param {Node} doc The document node
750
- * @param {Node} child the node that would become the nextSibling if the element would be inserted
751
- * @returns {boolean} `true` if an element can be inserted before child
752
- * @private
753
- * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
754
- */
755
- function isElementReplacementPossible(doc, child) {
756
- var parentChildNodes = doc.childNodes || [];
757
-
758
- function hasElementChildThatIsNotChild(node) {
759
- return isElementNode(node) && node !== child;
760
- }
761
-
762
- if (find(parentChildNodes, hasElementChildThatIsNotChild)) {
763
- return false;
764
- }
765
- var docTypeNode = find(parentChildNodes, isDocTypeNode);
766
- return !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));
767
- }
768
-
769
- /**
770
- * @private
771
- * Steps 1-5 of the checks before inserting and before replacing a child are the same.
772
- *
773
- * @param {Node} parent the parent node to insert `node` into
774
- * @param {Node} node the node to insert
775
- * @param {Node=} child the node that should become the `nextSibling` of `node`
776
- * @returns {Node}
777
- * @throws DOMException for several node combinations that would create a DOM that is not well-formed.
778
- * @throws DOMException if `child` is provided but is not a child of `parent`.
779
- * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
780
- * @see https://dom.spec.whatwg.org/#concept-node-replace
781
- */
782
- function assertPreInsertionValidity1to5(parent, node, child) {
783
- // 1. If `parent` is not a Document, DocumentFragment, or Element node, then throw a "HierarchyRequestError" DOMException.
784
- if (!hasValidParentNodeType(parent)) {
785
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'Unexpected parent node type ' + parent.nodeType);
786
- }
787
- // 2. If `node` is a host-including inclusive ancestor of `parent`, then throw a "HierarchyRequestError" DOMException.
788
- // not implemented!
789
- // 3. If `child` is non-null and its parent is not `parent`, then throw a "NotFoundError" DOMException.
790
- if (child && child.parentNode !== parent) {
791
- throw new DOMException(NOT_FOUND_ERR, 'child not in parent');
792
- }
793
- if (
794
- // 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a "HierarchyRequestError" DOMException.
795
- !hasInsertableNodeType(node) ||
796
- // 5. If either `node` is a Text node and `parent` is a document,
797
- // the sax parser currently adds top level text nodes, this will be fixed in 0.9.0
798
- // || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE)
799
- // or `node` is a doctype and `parent` is not a document, then throw a "HierarchyRequestError" DOMException.
800
- (isDocTypeNode(node) && parent.nodeType !== Node.DOCUMENT_NODE)
801
- ) {
802
- throw new DOMException(
803
- HIERARCHY_REQUEST_ERR,
804
- 'Unexpected node type ' + node.nodeType + ' for parent node type ' + parent.nodeType
805
- );
806
- }
807
- }
808
-
809
- /**
810
- * @private
811
- * Step 6 of the checks before inserting and before replacing a child are different.
812
- *
813
- * @param {Document} parent the parent node to insert `node` into
814
- * @param {Node} node the node to insert
815
- * @param {Node | undefined} child the node that should become the `nextSibling` of `node`
816
- * @returns {Node}
817
- * @throws DOMException for several node combinations that would create a DOM that is not well-formed.
818
- * @throws DOMException if `child` is provided but is not a child of `parent`.
819
- * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
820
- * @see https://dom.spec.whatwg.org/#concept-node-replace
821
- */
822
- function assertPreInsertionValidityInDocument(parent, node, child) {
823
- var parentChildNodes = parent.childNodes || [];
824
- var nodeChildNodes = node.childNodes || [];
825
-
826
- // DocumentFragment
827
- if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
828
- var nodeChildElements = nodeChildNodes.filter(isElementNode);
829
- // If node has more than one element child or has a Text node child.
830
- if (nodeChildElements.length > 1 || find(nodeChildNodes, isTextNode)) {
831
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'More than one element or text in fragment');
832
- }
833
- // Otherwise, if `node` has one element child and either `parent` has an element child,
834
- // `child` is a doctype, or `child` is non-null and a doctype is following `child`.
835
- if (nodeChildElements.length === 1 && !isElementInsertionPossible(parent, child)) {
836
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'Element in fragment can not be inserted before doctype');
837
- }
838
- }
839
- // Element
840
- if (isElementNode(node)) {
841
- // `parent` has an element child, `child` is a doctype,
842
- // or `child` is non-null and a doctype is following `child`.
843
- if (!isElementInsertionPossible(parent, child)) {
844
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'Only one element can be added and only after doctype');
845
- }
846
- }
847
- // DocumentType
848
- if (isDocTypeNode(node)) {
849
- // `parent` has a doctype child,
850
- if (find(parentChildNodes, isDocTypeNode)) {
851
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'Only one doctype is allowed');
852
- }
853
- var parentElementChild = find(parentChildNodes, isElementNode);
854
- // `child` is non-null and an element is preceding `child`,
855
- if (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) {
856
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can only be inserted before an element');
857
- }
858
- // or `child` is null and `parent` has an element child.
859
- if (!child && parentElementChild) {
860
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can not be appended since element is present');
861
- }
862
- }
863
- }
864
-
865
- /**
866
- * @private
867
- * Step 6 of the checks before inserting and before replacing a child are different.
868
- *
869
- * @param {Document} parent the parent node to insert `node` into
870
- * @param {Node} node the node to insert
871
- * @param {Node | undefined} child the node that should become the `nextSibling` of `node`
872
- * @returns {Node}
873
- * @throws DOMException for several node combinations that would create a DOM that is not well-formed.
874
- * @throws DOMException if `child` is provided but is not a child of `parent`.
875
- * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
876
- * @see https://dom.spec.whatwg.org/#concept-node-replace
877
- */
878
- function assertPreReplacementValidityInDocument(parent, node, child) {
879
- var parentChildNodes = parent.childNodes || [];
880
- var nodeChildNodes = node.childNodes || [];
881
-
882
- // DocumentFragment
883
- if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
884
- var nodeChildElements = nodeChildNodes.filter(isElementNode);
885
- // If `node` has more than one element child or has a Text node child.
886
- if (nodeChildElements.length > 1 || find(nodeChildNodes, isTextNode)) {
887
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'More than one element or text in fragment');
888
- }
889
- // Otherwise, if `node` has one element child and either `parent` has an element child that is not `child` or a doctype is following `child`.
890
- if (nodeChildElements.length === 1 && !isElementReplacementPossible(parent, child)) {
891
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'Element in fragment can not be inserted before doctype');
892
- }
893
- }
894
- // Element
895
- if (isElementNode(node)) {
896
- // `parent` has an element child that is not `child` or a doctype is following `child`.
897
- if (!isElementReplacementPossible(parent, child)) {
898
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'Only one element can be added and only after doctype');
899
- }
900
- }
901
- // DocumentType
902
- if (isDocTypeNode(node)) {
903
- function hasDoctypeChildThatIsNotChild(node) {
904
- return isDocTypeNode(node) && node !== child;
905
- }
906
-
907
- // `parent` has a doctype child that is not `child`,
908
- if (find(parentChildNodes, hasDoctypeChildThatIsNotChild)) {
909
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'Only one doctype is allowed');
910
- }
911
- var parentElementChild = find(parentChildNodes, isElementNode);
912
- // or an element is preceding `child`.
913
- if (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) {
914
- throw new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can only be inserted before an element');
915
- }
916
- }
917
- }
918
-
919
- /**
920
- * @private
921
- * @param {Node} parent the parent node to insert `node` into
922
- * @param {Node} node the node to insert
923
- * @param {Node=} child the node that should become the `nextSibling` of `node`
924
- * @returns {Node}
925
- * @throws DOMException for several node combinations that would create a DOM that is not well-formed.
926
- * @throws DOMException if `child` is provided but is not a child of `parent`.
927
- * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
928
- */
929
- function _insertBefore(parent, node, child, _inDocumentAssertion) {
930
- // To ensure pre-insertion validity of a node into a parent before a child, run these steps:
931
- assertPreInsertionValidity1to5(parent, node, child);
932
-
933
- // If parent is a document, and any of the statements below, switched on the interface node implements,
934
- // are true, then throw a "HierarchyRequestError" DOMException.
935
- if (parent.nodeType === Node.DOCUMENT_NODE) {
936
- (_inDocumentAssertion || assertPreInsertionValidityInDocument)(parent, node, child);
937
- }
938
-
939
- var cp = node.parentNode;
940
- if(cp){
941
- cp.removeChild(node);//remove and update
942
- }
943
- if(node.nodeType === DOCUMENT_FRAGMENT_NODE){
944
- var newFirst = node.firstChild;
945
- if (newFirst == null) {
946
- return node;
947
- }
948
- var newLast = node.lastChild;
949
- }else{
950
- newFirst = newLast = node;
951
- }
952
- var pre = child ? child.previousSibling : parent.lastChild;
953
-
954
- newFirst.previousSibling = pre;
955
- newLast.nextSibling = child;
956
-
957
-
958
- if(pre){
959
- pre.nextSibling = newFirst;
960
- }else{
961
- parent.firstChild = newFirst;
962
- }
963
- if(child == null){
964
- parent.lastChild = newLast;
965
- }else{
966
- child.previousSibling = newLast;
967
- }
968
- do{
969
- newFirst.parentNode = parent;
970
- }while(newFirst !== newLast && (newFirst= newFirst.nextSibling))
971
- _onUpdateChild(parent.ownerDocument||parent, parent);
972
- //console.log(parent.lastChild.nextSibling == null)
973
- if (node.nodeType == DOCUMENT_FRAGMENT_NODE) {
974
- node.firstChild = node.lastChild = null;
975
- }
976
- return node;
977
- }
978
- function _appendSingleChild(parentNode,newChild){
979
- if (newChild.parentNode) {
980
- newChild.parentNode.removeChild(newChild);
981
- }
982
- newChild.parentNode = parentNode;
983
- newChild.previousSibling = parentNode.lastChild;
984
- newChild.nextSibling = null;
985
- if (newChild.previousSibling) {
986
- newChild.previousSibling.nextSibling = newChild;
987
- }else{
988
- parentNode.firstChild = newChild;
989
- }
990
- parentNode.lastChild = newChild;
991
- _onUpdateChild(parentNode.ownerDocument,parentNode,newChild);
992
- return newChild;
993
- }
994
-
995
- Document.prototype = {
996
- //implementation : null,
997
- nodeName : '#document',
998
- nodeType : DOCUMENT_NODE,
999
- /**
1000
- * The DocumentType node of the document.
1001
- *
1002
- * @readonly
1003
- * @type DocumentType
1004
- */
1005
- doctype : null,
1006
- documentElement : null,
1007
- _inc : 1,
1008
-
1009
- insertBefore : function(newChild, refChild){//raises
1010
- if(newChild.nodeType == DOCUMENT_FRAGMENT_NODE){
1011
- var child = newChild.firstChild;
1012
- while(child){
1013
- var next = child.nextSibling;
1014
- this.insertBefore(child,refChild);
1015
- child = next;
1016
- }
1017
- return newChild;
1018
- }
1019
- _insertBefore(this, newChild, refChild);
1020
- newChild.ownerDocument = this;
1021
- if (this.documentElement === null && newChild.nodeType === ELEMENT_NODE) {
1022
- this.documentElement = newChild;
1023
- }
1024
-
1025
- return newChild;
1026
- },
1027
- removeChild : function(oldChild){
1028
- if(this.documentElement == oldChild){
1029
- this.documentElement = null;
1030
- }
1031
- return _removeChild(this,oldChild);
1032
- },
1033
- replaceChild: function (newChild, oldChild) {
1034
- //raises
1035
- _insertBefore(this, newChild, oldChild, assertPreReplacementValidityInDocument);
1036
- newChild.ownerDocument = this;
1037
- if (oldChild) {
1038
- this.removeChild(oldChild);
1039
- }
1040
- if (isElementNode(newChild)) {
1041
- this.documentElement = newChild;
1042
- }
1043
- },
1044
- // Introduced in DOM Level 2:
1045
- importNode : function(importedNode,deep){
1046
- return importNode(this,importedNode,deep);
1047
- },
1048
- // Introduced in DOM Level 2:
1049
- getElementById : function(id){
1050
- var rtv = null;
1051
- _visitNode(this.documentElement,function(node){
1052
- if(node.nodeType == ELEMENT_NODE){
1053
- if(node.getAttribute('id') == id){
1054
- rtv = node;
1055
- return true;
1056
- }
1057
- }
1058
- })
1059
- return rtv;
1060
- },
1061
-
1062
- /**
1063
- * The `getElementsByClassName` method of `Document` interface returns an array-like object
1064
- * of all child elements which have **all** of the given class name(s).
1065
- *
1066
- * Returns an empty list if `classeNames` is an empty string or only contains HTML white space characters.
1067
- *
1068
- *
1069
- * Warning: This is a live LiveNodeList.
1070
- * Changes in the DOM will reflect in the array as the changes occur.
1071
- * If an element selected by this array no longer qualifies for the selector,
1072
- * it will automatically be removed. Be aware of this for iteration purposes.
1073
- *
1074
- * @param {string} classNames is a string representing the class name(s) to match; multiple class names are separated by (ASCII-)whitespace
1075
- *
1076
- * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName
1077
- * @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname
1078
- */
1079
- getElementsByClassName: function(classNames) {
1080
- var classNamesSet = toOrderedSet(classNames)
1081
- return new LiveNodeList(this, function(base) {
1082
- var ls = [];
1083
- if (classNamesSet.length > 0) {
1084
- _visitNode(base.documentElement, function(node) {
1085
- if(node !== base && node.nodeType === ELEMENT_NODE) {
1086
- var nodeClassNames = node.getAttribute('class')
1087
- // can be null if the attribute does not exist
1088
- if (nodeClassNames) {
1089
- // before splitting and iterating just compare them for the most common case
1090
- var matches = classNames === nodeClassNames;
1091
- if (!matches) {
1092
- var nodeClassNamesSet = toOrderedSet(nodeClassNames)
1093
- matches = classNamesSet.every(arrayIncludes(nodeClassNamesSet))
1094
- }
1095
- if(matches) {
1096
- ls.push(node);
1097
- }
1098
- }
1099
- }
1100
- });
1101
- }
1102
- return ls;
1103
- });
1104
- },
1105
-
1106
- //document factory method:
1107
- createElement : function(tagName){
1108
- var node = new Element();
1109
- node.ownerDocument = this;
1110
- node.nodeName = tagName;
1111
- node.tagName = tagName;
1112
- node.localName = tagName;
1113
- node.childNodes = new NodeList();
1114
- var attrs = node.attributes = new NamedNodeMap();
1115
- attrs._ownerElement = node;
1116
- return node;
1117
- },
1118
- createDocumentFragment : function(){
1119
- var node = new DocumentFragment();
1120
- node.ownerDocument = this;
1121
- node.childNodes = new NodeList();
1122
- return node;
1123
- },
1124
- createTextNode : function(data){
1125
- var node = new Text();
1126
- node.ownerDocument = this;
1127
- node.appendData(data)
1128
- return node;
1129
- },
1130
- createComment : function(data){
1131
- var node = new Comment();
1132
- node.ownerDocument = this;
1133
- node.appendData(data)
1134
- return node;
1135
- },
1136
- createCDATASection : function(data){
1137
- var node = new CDATASection();
1138
- node.ownerDocument = this;
1139
- node.appendData(data)
1140
- return node;
1141
- },
1142
- createProcessingInstruction : function(target,data){
1143
- var node = new ProcessingInstruction();
1144
- node.ownerDocument = this;
1145
- node.tagName = node.nodeName = node.target = target;
1146
- node.nodeValue = node.data = data;
1147
- return node;
1148
- },
1149
- createAttribute : function(name){
1150
- var node = new Attr();
1151
- node.ownerDocument = this;
1152
- node.name = name;
1153
- node.nodeName = name;
1154
- node.localName = name;
1155
- node.specified = true;
1156
- return node;
1157
- },
1158
- createEntityReference : function(name){
1159
- var node = new EntityReference();
1160
- node.ownerDocument = this;
1161
- node.nodeName = name;
1162
- return node;
1163
- },
1164
- // Introduced in DOM Level 2:
1165
- createElementNS : function(namespaceURI,qualifiedName){
1166
- var node = new Element();
1167
- var pl = qualifiedName.split(':');
1168
- var attrs = node.attributes = new NamedNodeMap();
1169
- node.childNodes = new NodeList();
1170
- node.ownerDocument = this;
1171
- node.nodeName = qualifiedName;
1172
- node.tagName = qualifiedName;
1173
- node.namespaceURI = namespaceURI;
1174
- if(pl.length == 2){
1175
- node.prefix = pl[0];
1176
- node.localName = pl[1];
1177
- }else{
1178
- //el.prefix = null;
1179
- node.localName = qualifiedName;
1180
- }
1181
- attrs._ownerElement = node;
1182
- return node;
1183
- },
1184
- // Introduced in DOM Level 2:
1185
- createAttributeNS : function(namespaceURI,qualifiedName){
1186
- var node = new Attr();
1187
- var pl = qualifiedName.split(':');
1188
- node.ownerDocument = this;
1189
- node.nodeName = qualifiedName;
1190
- node.name = qualifiedName;
1191
- node.namespaceURI = namespaceURI;
1192
- node.specified = true;
1193
- if(pl.length == 2){
1194
- node.prefix = pl[0];
1195
- node.localName = pl[1];
1196
- }else{
1197
- //el.prefix = null;
1198
- node.localName = qualifiedName;
1199
- }
1200
- return node;
1201
- }
1202
- };
1203
- _extends(Document,Node);
1204
-
1205
-
1206
- function Element() {
1207
- this._nsMap = {};
1208
- };
1209
- Element.prototype = {
1210
- nodeType : ELEMENT_NODE,
1211
- hasAttribute : function(name){
1212
- return this.getAttributeNode(name)!=null;
1213
- },
1214
- getAttribute : function(name){
1215
- var attr = this.getAttributeNode(name);
1216
- return attr && attr.value || '';
1217
- },
1218
- getAttributeNode : function(name){
1219
- return this.attributes.getNamedItem(name);
1220
- },
1221
- setAttribute : function(name, value){
1222
- var attr = this.ownerDocument.createAttribute(name);
1223
- attr.value = attr.nodeValue = "" + value;
1224
- this.setAttributeNode(attr)
1225
- },
1226
- removeAttribute : function(name){
1227
- var attr = this.getAttributeNode(name)
1228
- attr && this.removeAttributeNode(attr);
1229
- },
1230
-
1231
- //four real opeartion method
1232
- appendChild:function(newChild){
1233
- if(newChild.nodeType === DOCUMENT_FRAGMENT_NODE){
1234
- return this.insertBefore(newChild,null);
1235
- }else{
1236
- return _appendSingleChild(this,newChild);
1237
- }
1238
- },
1239
- setAttributeNode : function(newAttr){
1240
- return this.attributes.setNamedItem(newAttr);
1241
- },
1242
- setAttributeNodeNS : function(newAttr){
1243
- return this.attributes.setNamedItemNS(newAttr);
1244
- },
1245
- removeAttributeNode : function(oldAttr){
1246
- //console.log(this == oldAttr.ownerElement)
1247
- return this.attributes.removeNamedItem(oldAttr.nodeName);
1248
- },
1249
- //get real attribute name,and remove it by removeAttributeNode
1250
- removeAttributeNS : function(namespaceURI, localName){
1251
- var old = this.getAttributeNodeNS(namespaceURI, localName);
1252
- old && this.removeAttributeNode(old);
1253
- },
1254
-
1255
- hasAttributeNS : function(namespaceURI, localName){
1256
- return this.getAttributeNodeNS(namespaceURI, localName)!=null;
1257
- },
1258
- getAttributeNS : function(namespaceURI, localName){
1259
- var attr = this.getAttributeNodeNS(namespaceURI, localName);
1260
- return attr && attr.value || '';
1261
- },
1262
- setAttributeNS : function(namespaceURI, qualifiedName, value){
1263
- var attr = this.ownerDocument.createAttributeNS(namespaceURI, qualifiedName);
1264
- attr.value = attr.nodeValue = "" + value;
1265
- this.setAttributeNode(attr)
1266
- },
1267
- getAttributeNodeNS : function(namespaceURI, localName){
1268
- return this.attributes.getNamedItemNS(namespaceURI, localName);
1269
- },
1270
-
1271
- getElementsByTagName : function(tagName){
1272
- return new LiveNodeList(this,function(base){
1273
- var ls = [];
1274
- _visitNode(base,function(node){
1275
- if(node !== base && node.nodeType == ELEMENT_NODE && (tagName === '*' || node.tagName == tagName)){
1276
- ls.push(node);
1277
- }
1278
- });
1279
- return ls;
1280
- });
1281
- },
1282
- getElementsByTagNameNS : function(namespaceURI, localName){
1283
- return new LiveNodeList(this,function(base){
1284
- var ls = [];
1285
- _visitNode(base,function(node){
1286
- if(node !== base && node.nodeType === ELEMENT_NODE && (namespaceURI === '*' || node.namespaceURI === namespaceURI) && (localName === '*' || node.localName == localName)){
1287
- ls.push(node);
1288
- }
1289
- });
1290
- return ls;
1291
-
1292
- });
1293
- }
1294
- };
1295
- Document.prototype.getElementsByTagName = Element.prototype.getElementsByTagName;
1296
- Document.prototype.getElementsByTagNameNS = Element.prototype.getElementsByTagNameNS;
1297
-
1298
-
1299
- _extends(Element,Node);
1300
- function Attr() {
1301
- };
1302
- Attr.prototype.nodeType = ATTRIBUTE_NODE;
1303
- _extends(Attr,Node);
1304
-
1305
-
1306
- function CharacterData() {
1307
- };
1308
- CharacterData.prototype = {
1309
- data : '',
1310
- substringData : function(offset, count) {
1311
- return this.data.substring(offset, offset+count);
1312
- },
1313
- appendData: function(text) {
1314
- text = this.data+text;
1315
- this.nodeValue = this.data = text;
1316
- this.length = text.length;
1317
- },
1318
- insertData: function(offset,text) {
1319
- this.replaceData(offset,0,text);
1320
-
1321
- },
1322
- appendChild:function(newChild){
1323
- throw new Error(ExceptionMessage[HIERARCHY_REQUEST_ERR])
1324
- },
1325
- deleteData: function(offset, count) {
1326
- this.replaceData(offset,count,"");
1327
- },
1328
- replaceData: function(offset, count, text) {
1329
- var start = this.data.substring(0,offset);
1330
- var end = this.data.substring(offset+count);
1331
- text = start + text + end;
1332
- this.nodeValue = this.data = text;
1333
- this.length = text.length;
1334
- }
1335
- }
1336
- _extends(CharacterData,Node);
1337
- function Text() {
1338
- };
1339
- Text.prototype = {
1340
- nodeName : "#text",
1341
- nodeType : TEXT_NODE,
1342
- splitText : function(offset) {
1343
- var text = this.data;
1344
- var newText = text.substring(offset);
1345
- text = text.substring(0, offset);
1346
- this.data = this.nodeValue = text;
1347
- this.length = text.length;
1348
- var newNode = this.ownerDocument.createTextNode(newText);
1349
- if(this.parentNode){
1350
- this.parentNode.insertBefore(newNode, this.nextSibling);
1351
- }
1352
- return newNode;
1353
- }
1354
- }
1355
- _extends(Text,CharacterData);
1356
- function Comment() {
1357
- };
1358
- Comment.prototype = {
1359
- nodeName : "#comment",
1360
- nodeType : COMMENT_NODE
1361
- }
1362
- _extends(Comment,CharacterData);
1363
-
1364
- function CDATASection() {
1365
- };
1366
- CDATASection.prototype = {
1367
- nodeName : "#cdata-section",
1368
- nodeType : CDATA_SECTION_NODE
1369
- }
1370
- _extends(CDATASection,CharacterData);
1371
-
1372
-
1373
- function DocumentType() {
1374
- };
1375
- DocumentType.prototype.nodeType = DOCUMENT_TYPE_NODE;
1376
- _extends(DocumentType,Node);
1377
-
1378
- function Notation() {
1379
- };
1380
- Notation.prototype.nodeType = NOTATION_NODE;
1381
- _extends(Notation,Node);
1382
-
1383
- function Entity() {
1384
- };
1385
- Entity.prototype.nodeType = ENTITY_NODE;
1386
- _extends(Entity,Node);
1387
-
1388
- function EntityReference() {
1389
- };
1390
- EntityReference.prototype.nodeType = ENTITY_REFERENCE_NODE;
1391
- _extends(EntityReference,Node);
1392
-
1393
- function DocumentFragment() {
1394
- };
1395
- DocumentFragment.prototype.nodeName = "#document-fragment";
1396
- DocumentFragment.prototype.nodeType = DOCUMENT_FRAGMENT_NODE;
1397
- _extends(DocumentFragment,Node);
1398
-
1399
-
1400
- function ProcessingInstruction() {
1401
- }
1402
- ProcessingInstruction.prototype.nodeType = PROCESSING_INSTRUCTION_NODE;
1403
- _extends(ProcessingInstruction,Node);
1404
- function XMLSerializer(){}
1405
- XMLSerializer.prototype.serializeToString = function(node,isHtml,nodeFilter){
1406
- return nodeSerializeToString.call(node,isHtml,nodeFilter);
1407
- }
1408
- Node.prototype.toString = nodeSerializeToString;
1409
- function nodeSerializeToString(isHtml,nodeFilter){
1410
- var buf = [];
1411
- var refNode = this.nodeType == 9 && this.documentElement || this;
1412
- var prefix = refNode.prefix;
1413
- var uri = refNode.namespaceURI;
1414
-
1415
- if(uri && prefix == null){
1416
- //console.log(prefix)
1417
- var prefix = refNode.lookupPrefix(uri);
1418
- if(prefix == null){
1419
- //isHTML = true;
1420
- var visibleNamespaces=[
1421
- {namespace:uri,prefix:null}
1422
- //{namespace:uri,prefix:''}
1423
- ]
1424
- }
1425
- }
1426
- serializeToString(this,buf,isHtml,nodeFilter,visibleNamespaces);
1427
- //console.log('###',this.nodeType,uri,prefix,buf.join(''))
1428
- return buf.join('');
1429
- }
1430
-
1431
- function needNamespaceDefine(node, isHTML, visibleNamespaces) {
1432
- var prefix = node.prefix || '';
1433
- var uri = node.namespaceURI;
1434
- // According to [Namespaces in XML 1.0](https://www.w3.org/TR/REC-xml-names/#ns-using) ,
1435
- // and more specifically https://www.w3.org/TR/REC-xml-names/#nsc-NoPrefixUndecl :
1436
- // > In a namespace declaration for a prefix [...], the attribute value MUST NOT be empty.
1437
- // in a similar manner [Namespaces in XML 1.1](https://www.w3.org/TR/xml-names11/#ns-using)
1438
- // and more specifically https://www.w3.org/TR/xml-names11/#nsc-NSDeclared :
1439
- // > [...] Furthermore, the attribute value [...] must not be an empty string.
1440
- // so serializing empty namespace value like xmlns:ds="" would produce an invalid XML document.
1441
- if (!uri) {
1442
- return false;
1443
- }
1444
- if (prefix === "xml" && uri === NAMESPACE.XML || uri === NAMESPACE.XMLNS) {
1445
- return false;
1446
- }
1447
-
1448
- var i = visibleNamespaces.length
1449
- while (i--) {
1450
- var ns = visibleNamespaces[i];
1451
- // get namespace prefix
1452
- if (ns.prefix === prefix) {
1453
- return ns.namespace !== uri;
1454
- }
1455
- }
1456
- return true;
1457
- }
1458
- /**
1459
- * Well-formed constraint: No < in Attribute Values
1460
- * The replacement text of any entity referred to directly or indirectly in an attribute value must not contain a <.
1461
- * @see https://www.w3.org/TR/xml/#CleanAttrVals
1462
- * @see https://www.w3.org/TR/xml/#NT-AttValue
1463
- */
1464
- function addSerializedAttribute(buf, qualifiedName, value) {
1465
- buf.push(' ', qualifiedName, '="', value.replace(/[<&"]/g,_xmlEncoder), '"')
1466
- }
1467
-
1468
- function serializeToString(node,buf,isHTML,nodeFilter,visibleNamespaces){
1469
- if (!visibleNamespaces) {
1470
- visibleNamespaces = [];
1471
- }
1472
-
1473
- if(nodeFilter){
1474
- node = nodeFilter(node);
1475
- if(node){
1476
- if(typeof node == 'string'){
1477
- buf.push(node);
1478
- return;
1479
- }
1480
- }else{
1481
- return;
1482
- }
1483
- //buf.sort.apply(attrs, attributeSorter);
1484
- }
1485
-
1486
- switch(node.nodeType){
1487
- case ELEMENT_NODE:
1488
- var attrs = node.attributes;
1489
- var len = attrs.length;
1490
- var child = node.firstChild;
1491
- var nodeName = node.tagName;
1492
-
1493
- isHTML = NAMESPACE.isHTML(node.namespaceURI) || isHTML
1494
-
1495
- var prefixedNodeName = nodeName
1496
- if (!isHTML && !node.prefix && node.namespaceURI) {
1497
- var defaultNS
1498
- // lookup current default ns from `xmlns` attribute
1499
- for (var ai = 0; ai < attrs.length; ai++) {
1500
- if (attrs.item(ai).name === 'xmlns') {
1501
- defaultNS = attrs.item(ai).value
1502
- break
1503
- }
1504
- }
1505
- if (!defaultNS) {
1506
- // lookup current default ns in visibleNamespaces
1507
- for (var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--) {
1508
- var namespace = visibleNamespaces[nsi]
1509
- if (namespace.prefix === '' && namespace.namespace === node.namespaceURI) {
1510
- defaultNS = namespace.namespace
1511
- break
1512
- }
1513
- }
1514
- }
1515
- if (defaultNS !== node.namespaceURI) {
1516
- for (var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--) {
1517
- var namespace = visibleNamespaces[nsi]
1518
- if (namespace.namespace === node.namespaceURI) {
1519
- if (namespace.prefix) {
1520
- prefixedNodeName = namespace.prefix + ':' + nodeName
1521
- }
1522
- break
1523
- }
1524
- }
1525
- }
1526
- }
1527
-
1528
- buf.push('<', prefixedNodeName);
1529
-
1530
- for(var i=0;i<len;i++){
1531
- // add namespaces for attributes
1532
- var attr = attrs.item(i);
1533
- if (attr.prefix == 'xmlns') {
1534
- visibleNamespaces.push({ prefix: attr.localName, namespace: attr.value });
1535
- }else if(attr.nodeName == 'xmlns'){
1536
- visibleNamespaces.push({ prefix: '', namespace: attr.value });
1537
- }
1538
- }
1539
-
1540
- for(var i=0;i<len;i++){
1541
- var attr = attrs.item(i);
1542
- if (needNamespaceDefine(attr,isHTML, visibleNamespaces)) {
1543
- var prefix = attr.prefix||'';
1544
- var uri = attr.namespaceURI;
1545
- addSerializedAttribute(buf, prefix ? 'xmlns:' + prefix : "xmlns", uri);
1546
- visibleNamespaces.push({ prefix: prefix, namespace:uri });
1547
- }
1548
- serializeToString(attr,buf,isHTML,nodeFilter,visibleNamespaces);
1549
- }
1550
-
1551
- // add namespace for current node
1552
- if (nodeName === prefixedNodeName && needNamespaceDefine(node, isHTML, visibleNamespaces)) {
1553
- var prefix = node.prefix||'';
1554
- var uri = node.namespaceURI;
1555
- addSerializedAttribute(buf, prefix ? 'xmlns:' + prefix : "xmlns", uri);
1556
- visibleNamespaces.push({ prefix: prefix, namespace:uri });
1557
- }
1558
-
1559
- if(child || isHTML && !/^(?:meta|link|img|br|hr|input)$/i.test(nodeName)){
1560
- buf.push('>');
1561
- //if is cdata child node
1562
- if(isHTML && /^script$/i.test(nodeName)){
1563
- while(child){
1564
- if(child.data){
1565
- buf.push(child.data);
1566
- }else{
1567
- serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());
1568
- }
1569
- child = child.nextSibling;
1570
- }
1571
- }else
1572
- {
1573
- while(child){
1574
- serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());
1575
- child = child.nextSibling;
1576
- }
1577
- }
1578
- buf.push('</',prefixedNodeName,'>');
1579
- }else{
1580
- buf.push('/>');
1581
- }
1582
- // remove added visible namespaces
1583
- //visibleNamespaces.length = startVisibleNamespaces;
1584
- return;
1585
- case DOCUMENT_NODE:
1586
- case DOCUMENT_FRAGMENT_NODE:
1587
- var child = node.firstChild;
1588
- while(child){
1589
- serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());
1590
- child = child.nextSibling;
1591
- }
1592
- return;
1593
- case ATTRIBUTE_NODE:
1594
- return addSerializedAttribute(buf, node.name, node.value);
1595
- case TEXT_NODE:
1596
- /**
1597
- * The ampersand character (&) and the left angle bracket (<) must not appear in their literal form,
1598
- * except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section.
1599
- * If they are needed elsewhere, they must be escaped using either numeric character references or the strings
1600
- * `&amp;` and `&lt;` respectively.
1601
- * The right angle bracket (>) may be represented using the string " &gt; ", and must, for compatibility,
1602
- * be escaped using either `&gt;` or a character reference when it appears in the string `]]>` in content,
1603
- * when that string is not marking the end of a CDATA section.
1604
- *
1605
- * In the content of elements, character data is any string of characters
1606
- * which does not contain the start-delimiter of any markup
1607
- * and does not include the CDATA-section-close delimiter, `]]>`.
1608
- *
1609
- * @see https://www.w3.org/TR/xml/#NT-CharData
1610
- */
1611
- return buf.push(node.data
1612
- .replace(/[<&]/g,_xmlEncoder)
1613
- .replace(/]]>/g, ']]&gt;')
1614
- );
1615
- case CDATA_SECTION_NODE:
1616
- return buf.push( '<![CDATA[',node.data,']]>');
1617
- case COMMENT_NODE:
1618
- return buf.push( "<!--",node.data,"-->");
1619
- case DOCUMENT_TYPE_NODE:
1620
- var pubid = node.publicId;
1621
- var sysid = node.systemId;
1622
- buf.push('<!DOCTYPE ',node.name);
1623
- if(pubid){
1624
- buf.push(' PUBLIC ', pubid);
1625
- if (sysid && sysid!='.') {
1626
- buf.push(' ', sysid);
1627
- }
1628
- buf.push('>');
1629
- }else if(sysid && sysid!='.'){
1630
- buf.push(' SYSTEM ', sysid, '>');
1631
- }else{
1632
- var sub = node.internalSubset;
1633
- if(sub){
1634
- buf.push(" [",sub,"]");
1635
- }
1636
- buf.push(">");
1637
- }
1638
- return;
1639
- case PROCESSING_INSTRUCTION_NODE:
1640
- return buf.push( "<?",node.target," ",node.data,"?>");
1641
- case ENTITY_REFERENCE_NODE:
1642
- return buf.push( '&',node.nodeName,';');
1643
- //case ENTITY_NODE:
1644
- //case NOTATION_NODE:
1645
- default:
1646
- buf.push('??',node.nodeName);
1647
- }
1648
- }
1649
- function importNode(doc,node,deep){
1650
- var node2;
1651
- switch (node.nodeType) {
1652
- case ELEMENT_NODE:
1653
- node2 = node.cloneNode(false);
1654
- node2.ownerDocument = doc;
1655
- //var attrs = node2.attributes;
1656
- //var len = attrs.length;
1657
- //for(var i=0;i<len;i++){
1658
- //node2.setAttributeNodeNS(importNode(doc,attrs.item(i),deep));
1659
- //}
1660
- case DOCUMENT_FRAGMENT_NODE:
1661
- break;
1662
- case ATTRIBUTE_NODE:
1663
- deep = true;
1664
- break;
1665
- //case ENTITY_REFERENCE_NODE:
1666
- //case PROCESSING_INSTRUCTION_NODE:
1667
- ////case TEXT_NODE:
1668
- //case CDATA_SECTION_NODE:
1669
- //case COMMENT_NODE:
1670
- // deep = false;
1671
- // break;
1672
- //case DOCUMENT_NODE:
1673
- //case DOCUMENT_TYPE_NODE:
1674
- //cannot be imported.
1675
- //case ENTITY_NODE:
1676
- //case NOTATION_NODE:
1677
- //can not hit in level3
1678
- //default:throw e;
1679
- }
1680
- if(!node2){
1681
- node2 = node.cloneNode(false);//false
1682
- }
1683
- node2.ownerDocument = doc;
1684
- node2.parentNode = null;
1685
- if(deep){
1686
- var child = node.firstChild;
1687
- while(child){
1688
- node2.appendChild(importNode(doc,child,deep));
1689
- child = child.nextSibling;
1690
- }
1691
- }
1692
- return node2;
1693
- }
1694
- //
1695
- //var _relationMap = {firstChild:1,lastChild:1,previousSibling:1,nextSibling:1,
1696
- // attributes:1,childNodes:1,parentNode:1,documentElement:1,doctype,};
1697
- function cloneNode(doc,node,deep){
1698
- var node2 = new node.constructor();
1699
- for (var n in node) {
1700
- if (Object.prototype.hasOwnProperty.call(node, n)) {
1701
- var v = node[n];
1702
- if (typeof v != "object") {
1703
- if (v != node2[n]) {
1704
- node2[n] = v;
1705
- }
1706
- }
1707
- }
1708
- }
1709
- if(node.childNodes){
1710
- node2.childNodes = new NodeList();
1711
- }
1712
- node2.ownerDocument = doc;
1713
- switch (node2.nodeType) {
1714
- case ELEMENT_NODE:
1715
- var attrs = node.attributes;
1716
- var attrs2 = node2.attributes = new NamedNodeMap();
1717
- var len = attrs.length
1718
- attrs2._ownerElement = node2;
1719
- for(var i=0;i<len;i++){
1720
- node2.setAttributeNode(cloneNode(doc,attrs.item(i),true));
1721
- }
1722
- break;;
1723
- case ATTRIBUTE_NODE:
1724
- deep = true;
1725
- }
1726
- if(deep){
1727
- var child = node.firstChild;
1728
- while(child){
1729
- node2.appendChild(cloneNode(doc,child,deep));
1730
- child = child.nextSibling;
1731
- }
1732
- }
1733
- return node2;
1734
- }
1735
-
1736
- function __set__(object,key,value){
1737
- object[key] = value
1738
- }
1739
- //do dynamic
1740
- try{
1741
- if(Object.defineProperty){
1742
- Object.defineProperty(LiveNodeList.prototype,'length',{
1743
- get:function(){
1744
- _updateLiveList(this);
1745
- return this.$$length;
1746
- }
1747
- });
1748
-
1749
- Object.defineProperty(Node.prototype,'textContent',{
1750
- get:function(){
1751
- return getTextContent(this);
1752
- },
1753
-
1754
- set:function(data){
1755
- switch(this.nodeType){
1756
- case ELEMENT_NODE:
1757
- case DOCUMENT_FRAGMENT_NODE:
1758
- while(this.firstChild){
1759
- this.removeChild(this.firstChild);
1760
- }
1761
- if(data || String(data)){
1762
- this.appendChild(this.ownerDocument.createTextNode(data));
1763
- }
1764
- break;
1765
-
1766
- default:
1767
- this.data = data;
1768
- this.value = data;
1769
- this.nodeValue = data;
1770
- }
1771
- }
1772
- })
1773
-
1774
- function getTextContent(node){
1775
- switch(node.nodeType){
1776
- case ELEMENT_NODE:
1777
- case DOCUMENT_FRAGMENT_NODE:
1778
- var buf = [];
1779
- node = node.firstChild;
1780
- while(node){
1781
- if(node.nodeType!==7 && node.nodeType !==8){
1782
- buf.push(getTextContent(node));
1783
- }
1784
- node = node.nextSibling;
1785
- }
1786
- return buf.join('');
1787
- default:
1788
- return node.nodeValue;
1789
- }
1790
- }
1791
-
1792
- __set__ = function(object,key,value){
1793
- //console.log(value)
1794
- object['$$'+key] = value
1795
- }
1796
- }
1797
- }catch(e){//ie8
1798
- }
1799
-
1800
- //if(typeof require == 'function'){
1801
- exports.DocumentType = DocumentType;
1802
- exports.DOMException = DOMException;
1803
- exports.DOMImplementation = DOMImplementation;
1804
- exports.Element = Element;
1805
- exports.Node = Node;
1806
- exports.NodeList = NodeList;
1807
- exports.XMLSerializer = XMLSerializer;
1808
- //}