react-native-asset 2.1.1 → 2.2.0-rc1

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 (570) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +34 -16
  3. package/esm/_dnt.polyfills.d.ts +111 -0
  4. package/esm/_dnt.polyfills.d.ts.map +1 -0
  5. package/esm/_dnt.polyfills.js +141 -0
  6. package/esm/_dnt.shims.d.ts +6 -0
  7. package/esm/_dnt.shims.d.ts.map +1 -0
  8. package/esm/_dnt.shims.js +61 -0
  9. package/esm/clean-assets/android.d.ts +6 -0
  10. package/esm/clean-assets/android.d.ts.map +1 -0
  11. package/esm/clean-assets/android.js +24 -0
  12. package/esm/clean-assets/ios.d.ts +7 -0
  13. package/esm/clean-assets/ios.d.ts.map +1 -0
  14. package/esm/clean-assets/ios.js +23 -0
  15. package/esm/cli.d.ts +2 -0
  16. package/esm/cli.d.ts.map +1 -0
  17. package/esm/cli.js +68 -0
  18. package/esm/copy-assets/android.d.ts +6 -0
  19. package/esm/copy-assets/android.d.ts.map +1 -0
  20. package/esm/copy-assets/android.js +31 -0
  21. package/esm/copy-assets/ios.d.ts +7 -0
  22. package/esm/copy-assets/ios.d.ts.map +1 -0
  23. package/esm/copy-assets/ios.js +29 -0
  24. package/esm/deps/jsr.io/@std/cli/1.0.24/parse_args.d.ts +343 -0
  25. package/esm/deps/jsr.io/@std/cli/1.0.24/parse_args.d.ts.map +1 -0
  26. package/esm/deps/jsr.io/@std/cli/1.0.24/parse_args.js +358 -0
  27. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
  28. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
  29. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +12 -0
  30. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
  31. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
  32. package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +5 -0
  33. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +2 -0
  34. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +1 -0
  35. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +7 -0
  36. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +4 -0
  37. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +1 -0
  38. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.js +40 -0
  39. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +2 -0
  40. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +1 -0
  41. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.js +23 -0
  42. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +40 -0
  43. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +1 -0
  44. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.js +46 -0
  45. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +2 -0
  46. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +1 -0
  47. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +8 -0
  48. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +4 -0
  49. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +1 -0
  50. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.js +19 -0
  51. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +2 -0
  52. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +1 -0
  53. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +9 -0
  54. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +35 -0
  55. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +1 -0
  56. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +234 -0
  57. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +2 -0
  58. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +1 -0
  59. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +8 -0
  60. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +2 -0
  61. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +1 -0
  62. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +77 -0
  63. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +2 -0
  64. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +1 -0
  65. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.js +9 -0
  66. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +2 -0
  67. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +1 -0
  68. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +19 -0
  69. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +2 -0
  70. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +1 -0
  71. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +15 -0
  72. package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts +27 -0
  73. package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +1 -0
  74. package/esm/deps/jsr.io/@std/path/1.1.3/basename.js +35 -0
  75. package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts +28 -0
  76. package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +1 -0
  77. package/esm/deps/jsr.io/@std/path/1.1.3/common.js +33 -0
  78. package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts +15 -0
  79. package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +1 -0
  80. package/esm/deps/jsr.io/@std/path/1.1.3/constants.js +17 -0
  81. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +22 -0
  82. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +1 -0
  83. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.js +28 -0
  84. package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts +22 -0
  85. package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +1 -0
  86. package/esm/deps/jsr.io/@std/path/1.1.3/extname.js +28 -0
  87. package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts +22 -0
  88. package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +1 -0
  89. package/esm/deps/jsr.io/@std/path/1.1.3/format.js +27 -0
  90. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +22 -0
  91. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +1 -0
  92. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.js +28 -0
  93. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +77 -0
  94. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +1 -0
  95. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +83 -0
  96. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +22 -0
  97. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +1 -0
  98. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.js +28 -0
  99. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +17 -0
  100. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +1 -0
  101. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.js +42 -0
  102. package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts +23 -0
  103. package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +1 -0
  104. package/esm/deps/jsr.io/@std/path/1.1.3/join.js +29 -0
  105. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +28 -0
  106. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +1 -0
  107. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.js +34 -0
  108. package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts +213 -0
  109. package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +1 -0
  110. package/esm/deps/jsr.io/@std/path/1.1.3/mod.js +216 -0
  111. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +26 -0
  112. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +1 -0
  113. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.js +32 -0
  114. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +29 -0
  115. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +1 -0
  116. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +35 -0
  117. package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts +35 -0
  118. package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +1 -0
  119. package/esm/deps/jsr.io/@std/path/1.1.3/parse.js +39 -0
  120. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +2 -0
  121. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +1 -0
  122. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.js +8 -0
  123. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +39 -0
  124. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +1 -0
  125. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.js +52 -0
  126. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +13 -0
  127. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +1 -0
  128. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.js +14 -0
  129. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +30 -0
  130. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +1 -0
  131. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +64 -0
  132. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +37 -0
  133. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +1 -0
  134. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.js +93 -0
  135. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +24 -0
  136. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +1 -0
  137. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.js +28 -0
  138. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +16 -0
  139. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +1 -0
  140. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +21 -0
  141. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +72 -0
  142. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +1 -0
  143. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +82 -0
  144. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +17 -0
  145. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +1 -0
  146. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +23 -0
  147. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +31 -0
  148. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +1 -0
  149. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.js +45 -0
  150. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +20 -0
  151. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +1 -0
  152. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +40 -0
  153. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +37 -0
  154. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +1 -0
  155. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +58 -0
  156. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +20 -0
  157. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +1 -0
  158. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +32 -0
  159. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +25 -0
  160. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +1 -0
  161. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.js +115 -0
  162. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +20 -0
  163. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +1 -0
  164. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.js +106 -0
  165. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +17 -0
  166. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +1 -0
  167. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +59 -0
  168. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +17 -0
  169. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +1 -0
  170. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +27 -0
  171. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +16 -0
  172. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +1 -0
  173. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +20 -0
  174. package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts +24 -0
  175. package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +1 -0
  176. package/esm/deps/jsr.io/@std/path/1.1.3/relative.js +30 -0
  177. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +22 -0
  178. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +1 -0
  179. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.js +30 -0
  180. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +22 -0
  181. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +1 -0
  182. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.js +28 -0
  183. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +21 -0
  184. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +1 -0
  185. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +29 -0
  186. package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts +38 -0
  187. package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +1 -0
  188. package/esm/deps/jsr.io/@std/path/1.1.3/types.js +3 -0
  189. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +4 -0
  190. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +1 -0
  191. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.js +15 -0
  192. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +22 -0
  193. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +1 -0
  194. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.js +47 -0
  195. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +13 -0
  196. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +1 -0
  197. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.js +14 -0
  198. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +17 -0
  199. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +1 -0
  200. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +113 -0
  201. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +17 -0
  202. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +1 -0
  203. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.js +82 -0
  204. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +24 -0
  205. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +1 -0
  206. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.js +28 -0
  207. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +18 -0
  208. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +1 -0
  209. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +30 -0
  210. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +71 -0
  211. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +1 -0
  212. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +82 -0
  213. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +17 -0
  214. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +1 -0
  215. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +38 -0
  216. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +18 -0
  217. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +1 -0
  218. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.js +77 -0
  219. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +21 -0
  220. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +1 -0
  221. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +41 -0
  222. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +19 -0
  223. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +1 -0
  224. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +135 -0
  225. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +20 -0
  226. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +1 -0
  227. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +32 -0
  228. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +25 -0
  229. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +1 -0
  230. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.js +176 -0
  231. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +23 -0
  232. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +1 -0
  233. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.js +131 -0
  234. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +17 -0
  235. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +1 -0
  236. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +154 -0
  237. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +17 -0
  238. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +1 -0
  239. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +34 -0
  240. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +17 -0
  241. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +1 -0
  242. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +49 -0
  243. package/esm/get-config.d.ts +14 -0
  244. package/esm/get-config.d.ts.map +1 -0
  245. package/esm/get-config.js +41 -0
  246. package/esm/main.d.ts +11 -0
  247. package/esm/main.d.ts.map +1 -0
  248. package/esm/main.js +235 -0
  249. package/esm/manifest/index.d.ts +11 -0
  250. package/esm/manifest/index.d.ts.map +1 -0
  251. package/esm/manifest/index.js +32 -0
  252. package/esm/mod.d.ts +5 -0
  253. package/esm/mod.d.ts.map +1 -0
  254. package/esm/mod.js +12 -0
  255. package/esm/package.json +3 -0
  256. package/esm/react-native-lib/ios/createGroup.d.ts +8 -0
  257. package/esm/react-native-lib/ios/createGroup.d.ts.map +1 -0
  258. package/esm/react-native-lib/ios/createGroup.js +26 -0
  259. package/esm/react-native-lib/ios/createGroupWithMessage.d.ts +8 -0
  260. package/esm/react-native-lib/ios/createGroupWithMessage.d.ts.map +1 -0
  261. package/esm/react-native-lib/ios/createGroupWithMessage.js +22 -0
  262. package/esm/react-native-lib/ios/getBuildProperty.d.ts +19 -0
  263. package/esm/react-native-lib/ios/getBuildProperty.d.ts.map +1 -0
  264. package/{lib → esm}/react-native-lib/ios/getBuildProperty.js +6 -9
  265. package/esm/react-native-lib/ios/getGroup.d.ts +10 -0
  266. package/esm/react-native-lib/ios/getGroup.d.ts.map +1 -0
  267. package/esm/react-native-lib/ios/getGroup.js +35 -0
  268. package/esm/react-native-lib/ios/getPlist.d.ts +7 -0
  269. package/esm/react-native-lib/ios/getPlist.d.ts.map +1 -0
  270. package/esm/react-native-lib/ios/getPlist.js +28 -0
  271. package/esm/react-native-lib/ios/getPlistPath.d.ts +2 -0
  272. package/esm/react-native-lib/ios/getPlistPath.d.ts.map +1 -0
  273. package/esm/react-native-lib/ios/getPlistPath.js +15 -0
  274. package/esm/react-native-lib/ios/writePlist.d.ts +7 -0
  275. package/esm/react-native-lib/ios/writePlist.d.ts.map +1 -0
  276. package/esm/react-native-lib/ios/writePlist.js +24 -0
  277. package/package.json +27 -30
  278. package/script/_dnt.polyfills.d.ts +111 -0
  279. package/script/_dnt.polyfills.d.ts.map +1 -0
  280. package/script/_dnt.polyfills.js +144 -0
  281. package/script/_dnt.shims.d.ts +6 -0
  282. package/script/_dnt.shims.d.ts.map +1 -0
  283. package/script/_dnt.shims.js +65 -0
  284. package/script/clean-assets/android.d.ts +6 -0
  285. package/script/clean-assets/android.d.ts.map +1 -0
  286. package/script/clean-assets/android.js +60 -0
  287. package/script/clean-assets/ios.d.ts +7 -0
  288. package/script/clean-assets/ios.d.ts.map +1 -0
  289. package/script/clean-assets/ios.js +62 -0
  290. package/script/cli.d.ts +2 -0
  291. package/script/cli.d.ts.map +1 -0
  292. package/script/cli.js +105 -0
  293. package/script/copy-assets/android.d.ts +6 -0
  294. package/script/copy-assets/android.d.ts.map +1 -0
  295. package/script/copy-assets/android.js +67 -0
  296. package/script/copy-assets/ios.d.ts +7 -0
  297. package/script/copy-assets/ios.d.ts.map +1 -0
  298. package/script/copy-assets/ios.js +68 -0
  299. package/script/deps/jsr.io/@std/cli/1.0.24/parse_args.d.ts +343 -0
  300. package/script/deps/jsr.io/@std/cli/1.0.24/parse_args.d.ts.map +1 -0
  301. package/script/deps/jsr.io/@std/cli/1.0.24/parse_args.js +361 -0
  302. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
  303. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
  304. package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +48 -0
  305. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
  306. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
  307. package/script/deps/jsr.io/@std/internal/1.0.12/os.js +8 -0
  308. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +2 -0
  309. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +1 -0
  310. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +10 -0
  311. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +4 -0
  312. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +1 -0
  313. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.js +45 -0
  314. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +2 -0
  315. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +1 -0
  316. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.js +26 -0
  317. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +40 -0
  318. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +1 -0
  319. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.js +49 -0
  320. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +2 -0
  321. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +1 -0
  322. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +11 -0
  323. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +4 -0
  324. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +1 -0
  325. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.js +23 -0
  326. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +2 -0
  327. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +1 -0
  328. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +12 -0
  329. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +35 -0
  330. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +1 -0
  331. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +237 -0
  332. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +2 -0
  333. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +1 -0
  334. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +11 -0
  335. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +2 -0
  336. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +1 -0
  337. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +80 -0
  338. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +2 -0
  339. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +1 -0
  340. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.js +12 -0
  341. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +2 -0
  342. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +1 -0
  343. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +22 -0
  344. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +2 -0
  345. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +1 -0
  346. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +18 -0
  347. package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts +27 -0
  348. package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +1 -0
  349. package/script/deps/jsr.io/@std/path/1.1.3/basename.js +38 -0
  350. package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts +28 -0
  351. package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +1 -0
  352. package/script/deps/jsr.io/@std/path/1.1.3/common.js +36 -0
  353. package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts +15 -0
  354. package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +1 -0
  355. package/script/deps/jsr.io/@std/path/1.1.3/constants.js +20 -0
  356. package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +22 -0
  357. package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +1 -0
  358. package/script/deps/jsr.io/@std/path/1.1.3/dirname.js +31 -0
  359. package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts +22 -0
  360. package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +1 -0
  361. package/script/deps/jsr.io/@std/path/1.1.3/extname.js +31 -0
  362. package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts +22 -0
  363. package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +1 -0
  364. package/script/deps/jsr.io/@std/path/1.1.3/format.js +30 -0
  365. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +22 -0
  366. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +1 -0
  367. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.js +31 -0
  368. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +77 -0
  369. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +1 -0
  370. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +86 -0
  371. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +22 -0
  372. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +1 -0
  373. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.js +31 -0
  374. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +17 -0
  375. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +1 -0
  376. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.js +45 -0
  377. package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts +23 -0
  378. package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +1 -0
  379. package/script/deps/jsr.io/@std/path/1.1.3/join.js +32 -0
  380. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +28 -0
  381. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +1 -0
  382. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.js +37 -0
  383. package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts +213 -0
  384. package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +1 -0
  385. package/script/deps/jsr.io/@std/path/1.1.3/mod.js +232 -0
  386. package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +26 -0
  387. package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +1 -0
  388. package/script/deps/jsr.io/@std/path/1.1.3/normalize.js +35 -0
  389. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +29 -0
  390. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +1 -0
  391. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +38 -0
  392. package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts +35 -0
  393. package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +1 -0
  394. package/script/deps/jsr.io/@std/path/1.1.3/parse.js +42 -0
  395. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +2 -0
  396. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +1 -0
  397. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.js +11 -0
  398. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +39 -0
  399. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +1 -0
  400. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.js +55 -0
  401. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +13 -0
  402. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +1 -0
  403. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.js +17 -0
  404. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +30 -0
  405. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +1 -0
  406. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +67 -0
  407. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +37 -0
  408. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +1 -0
  409. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.js +96 -0
  410. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +24 -0
  411. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +1 -0
  412. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.js +31 -0
  413. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +16 -0
  414. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +1 -0
  415. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +24 -0
  416. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +72 -0
  417. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +1 -0
  418. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +85 -0
  419. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +17 -0
  420. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +1 -0
  421. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +26 -0
  422. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +31 -0
  423. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +1 -0
  424. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.js +48 -0
  425. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +20 -0
  426. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +1 -0
  427. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +43 -0
  428. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +37 -0
  429. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +1 -0
  430. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +61 -0
  431. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +20 -0
  432. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +1 -0
  433. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +35 -0
  434. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +25 -0
  435. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +1 -0
  436. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.js +118 -0
  437. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +20 -0
  438. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +1 -0
  439. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.js +109 -0
  440. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +17 -0
  441. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +1 -0
  442. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +95 -0
  443. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +17 -0
  444. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +1 -0
  445. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +30 -0
  446. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +16 -0
  447. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +1 -0
  448. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +23 -0
  449. package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts +24 -0
  450. package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +1 -0
  451. package/script/deps/jsr.io/@std/path/1.1.3/relative.js +33 -0
  452. package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +22 -0
  453. package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +1 -0
  454. package/script/deps/jsr.io/@std/path/1.1.3/resolve.js +33 -0
  455. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +22 -0
  456. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +1 -0
  457. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.js +31 -0
  458. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +21 -0
  459. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +1 -0
  460. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +32 -0
  461. package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts +38 -0
  462. package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +1 -0
  463. package/script/deps/jsr.io/@std/path/1.1.3/types.js +4 -0
  464. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +4 -0
  465. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +1 -0
  466. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.js +20 -0
  467. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +22 -0
  468. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +1 -0
  469. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.js +50 -0
  470. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +13 -0
  471. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +1 -0
  472. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.js +17 -0
  473. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +17 -0
  474. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +1 -0
  475. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +116 -0
  476. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +17 -0
  477. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +1 -0
  478. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.js +85 -0
  479. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +24 -0
  480. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +1 -0
  481. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.js +31 -0
  482. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +18 -0
  483. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +1 -0
  484. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +33 -0
  485. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +71 -0
  486. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +1 -0
  487. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +85 -0
  488. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +17 -0
  489. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +1 -0
  490. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +41 -0
  491. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +18 -0
  492. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +1 -0
  493. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.js +80 -0
  494. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +21 -0
  495. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +1 -0
  496. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +44 -0
  497. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +19 -0
  498. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +1 -0
  499. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +138 -0
  500. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +20 -0
  501. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +1 -0
  502. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +35 -0
  503. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +25 -0
  504. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +1 -0
  505. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.js +179 -0
  506. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +23 -0
  507. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +1 -0
  508. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.js +134 -0
  509. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +17 -0
  510. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +1 -0
  511. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +190 -0
  512. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +17 -0
  513. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +1 -0
  514. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +37 -0
  515. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +17 -0
  516. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +1 -0
  517. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +52 -0
  518. package/script/get-config.d.ts +14 -0
  519. package/script/get-config.d.ts.map +1 -0
  520. package/script/get-config.js +78 -0
  521. package/script/main.d.ts +11 -0
  522. package/script/main.d.ts.map +1 -0
  523. package/script/main.js +275 -0
  524. package/script/manifest/index.d.ts +11 -0
  525. package/script/manifest/index.d.ts.map +1 -0
  526. package/script/manifest/index.js +68 -0
  527. package/script/mod.d.ts +5 -0
  528. package/script/mod.d.ts.map +1 -0
  529. package/script/mod.js +49 -0
  530. package/script/package.json +3 -0
  531. package/script/react-native-lib/ios/createGroup.d.ts +8 -0
  532. package/script/react-native-lib/ios/createGroup.d.ts.map +1 -0
  533. package/script/react-native-lib/ios/createGroup.js +32 -0
  534. package/script/react-native-lib/ios/createGroupWithMessage.d.ts +8 -0
  535. package/script/react-native-lib/ios/createGroupWithMessage.d.ts.map +1 -0
  536. package/script/react-native-lib/ios/createGroupWithMessage.js +28 -0
  537. package/script/react-native-lib/ios/getBuildProperty.d.ts +19 -0
  538. package/script/react-native-lib/ios/getBuildProperty.d.ts.map +1 -0
  539. package/script/react-native-lib/ios/getBuildProperty.js +26 -0
  540. package/script/react-native-lib/ios/getGroup.d.ts +10 -0
  541. package/script/react-native-lib/ios/getGroup.d.ts.map +1 -0
  542. package/script/react-native-lib/ios/getGroup.js +38 -0
  543. package/script/react-native-lib/ios/getPlist.d.ts +7 -0
  544. package/script/react-native-lib/ios/getPlist.d.ts.map +1 -0
  545. package/script/react-native-lib/ios/getPlist.js +67 -0
  546. package/script/react-native-lib/ios/getPlistPath.d.ts +2 -0
  547. package/script/react-native-lib/ios/getPlistPath.d.ts.map +1 -0
  548. package/script/react-native-lib/ios/getPlistPath.js +54 -0
  549. package/script/react-native-lib/ios/writePlist.d.ts +7 -0
  550. package/script/react-native-lib/ios/writePlist.d.ts.map +1 -0
  551. package/script/react-native-lib/ios/writePlist.js +63 -0
  552. package/.eslintignore +0 -1
  553. package/lib/clean-assets/android.js +0 -8
  554. package/lib/clean-assets/ios.js +0 -44
  555. package/lib/cli-args.js +0 -45
  556. package/lib/cli.js +0 -69
  557. package/lib/copy-assets/android.js +0 -8
  558. package/lib/copy-assets/ios.js +0 -44
  559. package/lib/get-config.js +0 -28
  560. package/lib/index.js +0 -289
  561. package/lib/manifest/index.js +0 -24
  562. package/lib/manifest/migartion/0.js +0 -20
  563. package/lib/manifest/migartion/1.js +0 -5
  564. package/lib/manifest/migartion/index.js +0 -7
  565. package/lib/react-native-lib/ios/createGroup.js +0 -34
  566. package/lib/react-native-lib/ios/createGroupWithMessage.js +0 -32
  567. package/lib/react-native-lib/ios/getGroup.js +0 -42
  568. package/lib/react-native-lib/ios/getPlist.js +0 -25
  569. package/lib/react-native-lib/ios/getPlistPath.js +0 -22
  570. package/lib/react-native-lib/ios/writePlist.js +0 -31
@@ -0,0 +1,35 @@
1
+ import type { ParsedPath } from "./types.js";
2
+ export type { ParsedPath } from "./types.js";
3
+ /**
4
+ * Return an object containing the parsed components of the path.
5
+ *
6
+ * Use {@linkcode https://jsr.io/@std/path/doc/~/format | format()} to reverse
7
+ * the result.
8
+ *
9
+ * @example Usage
10
+ * ```ts
11
+ * import { parse } from "@std/path/parse";
12
+ * import { assertEquals } from "@std/assert";
13
+ *
14
+ * if (Deno.build.os === "windows") {
15
+ * const parsedPathObj = parse("C:\\path\\to\\script.ts");
16
+ * assertEquals(parsedPathObj.root, "C:\\");
17
+ * assertEquals(parsedPathObj.dir, "C:\\path\\to");
18
+ * assertEquals(parsedPathObj.base, "script.ts");
19
+ * assertEquals(parsedPathObj.ext, ".ts");
20
+ * assertEquals(parsedPathObj.name, "script");
21
+ * } else {
22
+ * const parsedPathObj = parse("/path/to/dir/script.ts");
23
+ * parsedPathObj.root; // "/"
24
+ * parsedPathObj.dir; // "/path/to/dir"
25
+ * parsedPathObj.base; // "script.ts"
26
+ * parsedPathObj.ext; // ".ts"
27
+ * parsedPathObj.name; // "script"
28
+ * }
29
+ * ```
30
+ *
31
+ * @param path Path to process
32
+ * @returns An object with the parsed path components.
33
+ */
34
+ export declare function parse(path: string): ParsedPath;
35
+ //# sourceMappingURL=parse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.3/parse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI7C,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAE9C"}
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // Copyright 2018-2025 the Deno authors. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.parse = parse;
6
+ const os_js_1 = require("../../internal/1.0.12/os.js");
7
+ const parse_js_1 = require("./posix/parse.js");
8
+ const parse_js_2 = require("./windows/parse.js");
9
+ /**
10
+ * Return an object containing the parsed components of the path.
11
+ *
12
+ * Use {@linkcode https://jsr.io/@std/path/doc/~/format | format()} to reverse
13
+ * the result.
14
+ *
15
+ * @example Usage
16
+ * ```ts
17
+ * import { parse } from "@std/path/parse";
18
+ * import { assertEquals } from "@std/assert";
19
+ *
20
+ * if (Deno.build.os === "windows") {
21
+ * const parsedPathObj = parse("C:\\path\\to\\script.ts");
22
+ * assertEquals(parsedPathObj.root, "C:\\");
23
+ * assertEquals(parsedPathObj.dir, "C:\\path\\to");
24
+ * assertEquals(parsedPathObj.base, "script.ts");
25
+ * assertEquals(parsedPathObj.ext, ".ts");
26
+ * assertEquals(parsedPathObj.name, "script");
27
+ * } else {
28
+ * const parsedPathObj = parse("/path/to/dir/script.ts");
29
+ * parsedPathObj.root; // "/"
30
+ * parsedPathObj.dir; // "/path/to/dir"
31
+ * parsedPathObj.base; // "script.ts"
32
+ * parsedPathObj.ext; // ".ts"
33
+ * parsedPathObj.name; // "script"
34
+ * }
35
+ * ```
36
+ *
37
+ * @param path Path to process
38
+ * @returns An object with the parsed path components.
39
+ */
40
+ function parse(path) {
41
+ return os_js_1.isWindows ? (0, parse_js_2.parse)(path) : (0, parse_js_1.parse)(path);
42
+ }
@@ -0,0 +1,2 @@
1
+ export declare function isPosixPathSeparator(code: number): boolean;
2
+ //# sourceMappingURL=_util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_util.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.3/posix/_util.ts"],"names":[],"mappings":"AAOA,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE1D"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // Copyright 2018-2025 the Deno authors. MIT license.
3
+ // Copyright the Browserify authors. MIT License.
4
+ // Ported from https://github.com/browserify/path-browserify/
5
+ // This module is browser compatible.
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.isPosixPathSeparator = isPosixPathSeparator;
8
+ const constants_js_1 = require("../_common/constants.js");
9
+ function isPosixPathSeparator(code) {
10
+ return code === constants_js_1.CHAR_FORWARD_SLASH;
11
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Return the last portion of a `path`.
3
+ * Trailing directory separators are ignored, and optional suffix is removed.
4
+ *
5
+ * @example Usage
6
+ * ```ts
7
+ * import { basename } from "@std/path/posix/basename";
8
+ * import { assertEquals } from "@std/assert";
9
+ *
10
+ * assertEquals(basename("/home/user/Documents/"), "Documents");
11
+ * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
12
+ * assertEquals(basename("/home/user/Documents/image.png", ".png"), "image");
13
+ * assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
14
+ * assertEquals(basename(new URL("file:///home/user/Documents/image.png"), ".png"), "image");
15
+ * ```
16
+ *
17
+ * @example Working with URLs
18
+ *
19
+ * Note: This function doesn't automatically strip hash and query parts from
20
+ * URLs. If your URL contains a hash or query, remove them before passing the
21
+ * URL to the function. This can be done by passing the URL to `new URL(url)`,
22
+ * and setting the `hash` and `search` properties to empty strings.
23
+ *
24
+ * ```ts
25
+ * import { basename } from "@std/path/posix/basename";
26
+ * import { assertEquals } from "@std/assert";
27
+ *
28
+ * assertEquals(basename("https://deno.land/std/path/mod.ts"), "mod.ts");
29
+ * assertEquals(basename("https://deno.land/std/path/mod.ts", ".ts"), "mod");
30
+ * assertEquals(basename("https://deno.land/std/path/mod.ts?a=b"), "mod.ts?a=b");
31
+ * assertEquals(basename("https://deno.land/std/path/mod.ts#header"), "mod.ts#header");
32
+ * ```
33
+ *
34
+ * @param path The path to extract the name from.
35
+ * @param suffix The suffix to remove from extracted name.
36
+ * @returns The extracted name.
37
+ */
38
+ export declare function basename(path: string | URL, suffix?: string): string;
39
+ //# sourceMappingURL=basename.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"basename.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.3/posix/basename.ts"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,MAAM,SAAK,GAAG,MAAM,CAYhE"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ // Copyright 2018-2025 the Deno authors. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.basename = basename;
6
+ const basename_js_1 = require("../_common/basename.js");
7
+ const from_file_url_js_1 = require("./from_file_url.js");
8
+ const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
9
+ const _util_js_1 = require("./_util.js");
10
+ /**
11
+ * Return the last portion of a `path`.
12
+ * Trailing directory separators are ignored, and optional suffix is removed.
13
+ *
14
+ * @example Usage
15
+ * ```ts
16
+ * import { basename } from "@std/path/posix/basename";
17
+ * import { assertEquals } from "@std/assert";
18
+ *
19
+ * assertEquals(basename("/home/user/Documents/"), "Documents");
20
+ * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
21
+ * assertEquals(basename("/home/user/Documents/image.png", ".png"), "image");
22
+ * assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
23
+ * assertEquals(basename(new URL("file:///home/user/Documents/image.png"), ".png"), "image");
24
+ * ```
25
+ *
26
+ * @example Working with URLs
27
+ *
28
+ * Note: This function doesn't automatically strip hash and query parts from
29
+ * URLs. If your URL contains a hash or query, remove them before passing the
30
+ * URL to the function. This can be done by passing the URL to `new URL(url)`,
31
+ * and setting the `hash` and `search` properties to empty strings.
32
+ *
33
+ * ```ts
34
+ * import { basename } from "@std/path/posix/basename";
35
+ * import { assertEquals } from "@std/assert";
36
+ *
37
+ * assertEquals(basename("https://deno.land/std/path/mod.ts"), "mod.ts");
38
+ * assertEquals(basename("https://deno.land/std/path/mod.ts", ".ts"), "mod");
39
+ * assertEquals(basename("https://deno.land/std/path/mod.ts?a=b"), "mod.ts?a=b");
40
+ * assertEquals(basename("https://deno.land/std/path/mod.ts#header"), "mod.ts#header");
41
+ * ```
42
+ *
43
+ * @param path The path to extract the name from.
44
+ * @param suffix The suffix to remove from extracted name.
45
+ * @returns The extracted name.
46
+ */
47
+ function basename(path, suffix = "") {
48
+ if (path instanceof URL) {
49
+ path = (0, from_file_url_js_1.fromFileUrl)(path);
50
+ }
51
+ (0, basename_js_1.assertArgs)(path, suffix);
52
+ const lastSegment = (0, basename_js_1.lastPathSegment)(path, _util_js_1.isPosixPathSeparator);
53
+ const strippedSegment = (0, strip_trailing_separators_js_1.stripTrailingSeparators)(lastSegment, _util_js_1.isPosixPathSeparator);
54
+ return suffix ? (0, basename_js_1.stripSuffix)(strippedSegment, suffix) : strippedSegment;
55
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The character used to separate entries in the PATH environment variable.
3
+ */
4
+ export declare const DELIMITER: ":";
5
+ /**
6
+ * The character used to separate components of a file path.
7
+ */
8
+ export declare const SEPARATOR: "/";
9
+ /**
10
+ * A regular expression that matches one or more path separators.
11
+ */
12
+ export declare const SEPARATOR_PATTERN: RegExp;
13
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.3/posix/constants.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,SAAS,EAAG,GAAY,CAAC;AACtC;;GAEG;AACH,eAAO,MAAM,SAAS,EAAG,GAAY,CAAC;AACtC;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAQ,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // Copyright 2018-2025 the Deno authors. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SEPARATOR_PATTERN = exports.SEPARATOR = exports.DELIMITER = void 0;
6
+ /**
7
+ * The character used to separate entries in the PATH environment variable.
8
+ */
9
+ exports.DELIMITER = ":";
10
+ /**
11
+ * The character used to separate components of a file path.
12
+ */
13
+ exports.SEPARATOR = "/";
14
+ /**
15
+ * A regular expression that matches one or more path separators.
16
+ */
17
+ exports.SEPARATOR_PATTERN = /\/+/;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Return the directory path of a `path`.
3
+ *
4
+ * @example Usage
5
+ * ```ts
6
+ * import { dirname } from "@std/path/posix/dirname";
7
+ * import { assertEquals } from "@std/assert";
8
+ *
9
+ * assertEquals(dirname("/home/user/Documents/"), "/home/user");
10
+ * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
11
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
12
+ * assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
13
+ * ```
14
+ *
15
+ * @example Working with URLs
16
+ *
17
+ * ```ts
18
+ * import { dirname } from "@std/path/posix/dirname";
19
+ * import { assertEquals } from "@std/assert";
20
+ *
21
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
22
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts?a=b"), "https://deno.land/std/path");
23
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts#header"), "https://deno.land/std/path");
24
+ * ```
25
+ *
26
+ * @param path The path to get the directory from.
27
+ * @returns The directory path.
28
+ */
29
+ export declare function dirname(path: string | URL): string;
30
+ //# sourceMappingURL=dirname.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dirname.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.3/posix/dirname.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAmClD"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ // Copyright 2018-2025 the Deno authors. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.dirname = dirname;
6
+ const dirname_js_1 = require("../_common/dirname.js");
7
+ const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
8
+ const _util_js_1 = require("./_util.js");
9
+ const from_file_url_js_1 = require("./from_file_url.js");
10
+ /**
11
+ * Return the directory path of a `path`.
12
+ *
13
+ * @example Usage
14
+ * ```ts
15
+ * import { dirname } from "@std/path/posix/dirname";
16
+ * import { assertEquals } from "@std/assert";
17
+ *
18
+ * assertEquals(dirname("/home/user/Documents/"), "/home/user");
19
+ * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
20
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
21
+ * assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
22
+ * ```
23
+ *
24
+ * @example Working with URLs
25
+ *
26
+ * ```ts
27
+ * import { dirname } from "@std/path/posix/dirname";
28
+ * import { assertEquals } from "@std/assert";
29
+ *
30
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
31
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts?a=b"), "https://deno.land/std/path");
32
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts#header"), "https://deno.land/std/path");
33
+ * ```
34
+ *
35
+ * @param path The path to get the directory from.
36
+ * @returns The directory path.
37
+ */
38
+ function dirname(path) {
39
+ if (path instanceof URL) {
40
+ path = (0, from_file_url_js_1.fromFileUrl)(path);
41
+ }
42
+ (0, dirname_js_1.assertArg)(path);
43
+ let end = -1;
44
+ let matchedNonSeparator = false;
45
+ for (let i = path.length - 1; i >= 1; --i) {
46
+ if ((0, _util_js_1.isPosixPathSeparator)(path.charCodeAt(i))) {
47
+ if (matchedNonSeparator) {
48
+ end = i;
49
+ break;
50
+ }
51
+ }
52
+ else {
53
+ matchedNonSeparator = true;
54
+ }
55
+ }
56
+ // No matches. Fallback based on provided path:
57
+ //
58
+ // - leading slashes paths
59
+ // "/foo" => "/"
60
+ // "///foo" => "/"
61
+ // - no slash path
62
+ // "foo" => "."
63
+ if (end === -1) {
64
+ return (0, _util_js_1.isPosixPathSeparator)(path.charCodeAt(0)) ? "/" : ".";
65
+ }
66
+ return (0, strip_trailing_separators_js_1.stripTrailingSeparators)(path.slice(0, end), _util_js_1.isPosixPathSeparator);
67
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Return the extension of the `path` with leading period.
3
+ *
4
+ * @example Usage
5
+ * ```ts
6
+ * import { extname } from "@std/path/posix/extname";
7
+ * import { assertEquals } from "@std/assert";
8
+ *
9
+ * assertEquals(extname("/home/user/Documents/file.ts"), ".ts");
10
+ * assertEquals(extname("/home/user/Documents/"), "");
11
+ * assertEquals(extname("/home/user/Documents/image.png"), ".png");
12
+ * assertEquals(extname(new URL("file:///home/user/Documents/file.ts")), ".ts");
13
+ * assertEquals(extname(new URL("file:///home/user/Documents/file.ts?a=b")), ".ts");
14
+ * assertEquals(extname(new URL("file:///home/user/Documents/file.ts#header")), ".ts");
15
+ * ```
16
+ *
17
+ * @example Working with URLs
18
+ *
19
+ * Note: This function doesn't automatically strip hash and query parts from
20
+ * URLs. If your URL contains a hash or query, remove them before passing the
21
+ * URL to the function. This can be done by passing the URL to `new URL(url)`,
22
+ * and setting the `hash` and `search` properties to empty strings.
23
+ *
24
+ * ```ts
25
+ * import { extname } from "@std/path/posix/extname";
26
+ * import { assertEquals } from "@std/assert";
27
+ *
28
+ * assertEquals(extname("https://deno.land/std/path/mod.ts"), ".ts");
29
+ * assertEquals(extname("https://deno.land/std/path/mod.ts?a=b"), ".ts?a=b");
30
+ * assertEquals(extname("https://deno.land/std/path/mod.ts#header"), ".ts#header");
31
+ * ```
32
+ *
33
+ * @param path The path to get the extension from.
34
+ * @returns The extension (ex. for `file.ts` returns `.ts`).
35
+ */
36
+ export declare function extname(path: string | URL): string;
37
+ //# sourceMappingURL=extname.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extname.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.3/posix/extname.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAoDlD"}
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ // Copyright 2018-2025 the Deno authors. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.extname = extname;
6
+ const constants_js_1 = require("../_common/constants.js");
7
+ const assert_path_js_1 = require("../_common/assert_path.js");
8
+ const _util_js_1 = require("./_util.js");
9
+ const from_file_url_js_1 = require("./from_file_url.js");
10
+ /**
11
+ * Return the extension of the `path` with leading period.
12
+ *
13
+ * @example Usage
14
+ * ```ts
15
+ * import { extname } from "@std/path/posix/extname";
16
+ * import { assertEquals } from "@std/assert";
17
+ *
18
+ * assertEquals(extname("/home/user/Documents/file.ts"), ".ts");
19
+ * assertEquals(extname("/home/user/Documents/"), "");
20
+ * assertEquals(extname("/home/user/Documents/image.png"), ".png");
21
+ * assertEquals(extname(new URL("file:///home/user/Documents/file.ts")), ".ts");
22
+ * assertEquals(extname(new URL("file:///home/user/Documents/file.ts?a=b")), ".ts");
23
+ * assertEquals(extname(new URL("file:///home/user/Documents/file.ts#header")), ".ts");
24
+ * ```
25
+ *
26
+ * @example Working with URLs
27
+ *
28
+ * Note: This function doesn't automatically strip hash and query parts from
29
+ * URLs. If your URL contains a hash or query, remove them before passing the
30
+ * URL to the function. This can be done by passing the URL to `new URL(url)`,
31
+ * and setting the `hash` and `search` properties to empty strings.
32
+ *
33
+ * ```ts
34
+ * import { extname } from "@std/path/posix/extname";
35
+ * import { assertEquals } from "@std/assert";
36
+ *
37
+ * assertEquals(extname("https://deno.land/std/path/mod.ts"), ".ts");
38
+ * assertEquals(extname("https://deno.land/std/path/mod.ts?a=b"), ".ts?a=b");
39
+ * assertEquals(extname("https://deno.land/std/path/mod.ts#header"), ".ts#header");
40
+ * ```
41
+ *
42
+ * @param path The path to get the extension from.
43
+ * @returns The extension (ex. for `file.ts` returns `.ts`).
44
+ */
45
+ function extname(path) {
46
+ if (path instanceof URL) {
47
+ path = (0, from_file_url_js_1.fromFileUrl)(path);
48
+ }
49
+ (0, assert_path_js_1.assertPath)(path);
50
+ let startDot = -1;
51
+ let startPart = 0;
52
+ let end = -1;
53
+ let matchedSlash = true;
54
+ // Track the state of characters (if any) we see before our first dot and
55
+ // after any path separator we find
56
+ let preDotState = 0;
57
+ for (let i = path.length - 1; i >= 0; --i) {
58
+ const code = path.charCodeAt(i);
59
+ if ((0, _util_js_1.isPosixPathSeparator)(code)) {
60
+ // If we reached a path separator that was not part of a set of path
61
+ // separators at the end of the string, stop now
62
+ if (!matchedSlash) {
63
+ startPart = i + 1;
64
+ break;
65
+ }
66
+ continue;
67
+ }
68
+ if (end === -1) {
69
+ // We saw the first non-path separator, mark this as the end of our
70
+ // extension
71
+ matchedSlash = false;
72
+ end = i + 1;
73
+ }
74
+ if (code === constants_js_1.CHAR_DOT) {
75
+ // If this is our first dot, mark it as the start of our extension
76
+ if (startDot === -1)
77
+ startDot = i;
78
+ else if (preDotState !== 1)
79
+ preDotState = 1;
80
+ }
81
+ else if (startDot !== -1) {
82
+ // We saw a non-dot and non-path separator before our dot, so we should
83
+ // have a good chance at having a non-empty extension
84
+ preDotState = -1;
85
+ }
86
+ }
87
+ if (startDot === -1 ||
88
+ end === -1 ||
89
+ // We saw a non-dot character immediately before the dot
90
+ preDotState === 0 ||
91
+ // The (right-most) trimmed path component is exactly '..'
92
+ (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)) {
93
+ return "";
94
+ }
95
+ return path.slice(startDot, end);
96
+ }
@@ -0,0 +1,24 @@
1
+ import type { ParsedPath } from "../types.js";
2
+ /**
3
+ * Generate a path from `ParsedPath` object.
4
+ *
5
+ * @example Usage
6
+ * ```ts
7
+ * import { format } from "@std/path/posix/format";
8
+ * import { assertEquals } from "@std/assert";
9
+ *
10
+ * const path = format({
11
+ * root: "/",
12
+ * dir: "/path/dir",
13
+ * base: "file.txt",
14
+ * ext: ".txt",
15
+ * name: "file"
16
+ * });
17
+ * assertEquals(path, "/path/dir/file.txt");
18
+ * ```
19
+ *
20
+ * @param pathObject The path object to format.
21
+ * @returns The formatted path.
22
+ */
23
+ export declare function format(pathObject: Partial<ParsedPath>): string;
24
+ //# sourceMappingURL=format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.3/posix/format.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,MAAM,CAG9D"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ // Copyright 2018-2025 the Deno authors. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.format = format;
6
+ const format_js_1 = require("../_common/format.js");
7
+ /**
8
+ * Generate a path from `ParsedPath` object.
9
+ *
10
+ * @example Usage
11
+ * ```ts
12
+ * import { format } from "@std/path/posix/format";
13
+ * import { assertEquals } from "@std/assert";
14
+ *
15
+ * const path = format({
16
+ * root: "/",
17
+ * dir: "/path/dir",
18
+ * base: "file.txt",
19
+ * ext: ".txt",
20
+ * name: "file"
21
+ * });
22
+ * assertEquals(path, "/path/dir/file.txt");
23
+ * ```
24
+ *
25
+ * @param pathObject The path object to format.
26
+ * @returns The formatted path.
27
+ */
28
+ function format(pathObject) {
29
+ (0, format_js_1.assertArg)(pathObject);
30
+ return (0, format_js_1._format)("/", pathObject);
31
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Converts a file URL to a path string.
3
+ *
4
+ * @example Usage
5
+ * ```ts
6
+ * import { fromFileUrl } from "@std/path/posix/from-file-url";
7
+ * import { assertEquals } from "@std/assert";
8
+ *
9
+ * assertEquals(fromFileUrl(new URL("file:///home/foo")), "/home/foo");
10
+ * ```
11
+ *
12
+ * @param url The file URL to convert.
13
+ * @returns The path string.
14
+ */
15
+ export declare function fromFileUrl(url: URL | string): string;
16
+ //# sourceMappingURL=from_file_url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"from_file_url.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,MAAM,CAKrD"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // Copyright 2018-2025 the Deno authors. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.fromFileUrl = fromFileUrl;
6
+ const from_file_url_js_1 = require("../_common/from_file_url.js");
7
+ /**
8
+ * Converts a file URL to a path string.
9
+ *
10
+ * @example Usage
11
+ * ```ts
12
+ * import { fromFileUrl } from "@std/path/posix/from-file-url";
13
+ * import { assertEquals } from "@std/assert";
14
+ *
15
+ * assertEquals(fromFileUrl(new URL("file:///home/foo")), "/home/foo");
16
+ * ```
17
+ *
18
+ * @param url The file URL to convert.
19
+ * @returns The path string.
20
+ */
21
+ function fromFileUrl(url) {
22
+ url = (0, from_file_url_js_1.assertArg)(url);
23
+ return decodeURIComponent(url.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
24
+ }