@port-labs/jq-node-bindings 1.0.5 → 1.1.0-dev

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 (349) hide show
  1. package/.claude/settings.local.json +12 -0
  2. package/configure +6 -5
  3. package/deps/jq/.claude/settings.local.json +7 -0
  4. package/deps/jq/.gitattributes +1 -3
  5. package/deps/jq/AUTHORS +55 -1
  6. package/deps/jq/COPYING +40 -0
  7. package/deps/jq/Makefile.am +40 -36
  8. package/deps/jq/NEWS.md +277 -2
  9. package/deps/jq/README.md +23 -5
  10. package/deps/jq/compile-ios.sh +1 -1
  11. package/deps/jq/config/m4/check-math-func.m4 +2 -2
  12. package/deps/jq/config/m4/find-func-no-libs2.m4 +3 -3
  13. package/deps/jq/configure.ac +10 -18
  14. package/deps/jq/docs/Pipfile.lock +368 -313
  15. package/deps/jq/docs/README.md +3 -4
  16. package/deps/jq/docs/build_manpage.py +1 -1
  17. package/deps/jq/docs/build_mantests.py +1 -1
  18. package/deps/jq/docs/build_website.py +1 -8
  19. package/deps/jq/docs/content/download/default.yml +49 -9
  20. package/deps/jq/docs/content/index.yml +9 -0
  21. package/deps/jq/docs/content/manual/{manual.yml → dev/manual.yml} +218 -61
  22. package/deps/jq/docs/content/manual/v1.3/manual.yml +0 -5
  23. package/deps/jq/docs/content/manual/v1.4/manual.yml +0 -5
  24. package/deps/jq/docs/content/manual/v1.5/manual.yml +3 -8
  25. package/deps/jq/docs/content/manual/v1.6/manual.yml +3 -8
  26. package/deps/jq/docs/content/manual/v1.7/manual.yml +499 -500
  27. package/deps/jq/docs/content/manual/v1.8/manual.yml +3858 -0
  28. package/deps/jq/docs/content/tutorial/default.yml +3 -3
  29. package/deps/jq/docs/manual_schema.yml +0 -3
  30. package/deps/jq/docs/public/CNAME +1 -0
  31. package/deps/jq/docs/templates/index.html.j2 +10 -10
  32. package/deps/jq/docs/templates/manual.html.j2 +14 -3
  33. package/deps/jq/docs/templates/shared/_head.html.j2 +8 -3
  34. package/deps/jq/docs/templates/shared/_navbar.html.j2 +4 -4
  35. package/deps/jq/jq.1.prebuilt +219 -44
  36. package/deps/jq/jq.spec +2 -2
  37. package/deps/jq/libjq.pc.in +1 -1
  38. package/deps/jq/scripts/version +1 -1
  39. package/deps/jq/sig/v1.7.1/jq-1.7.1.tar.gz.asc +16 -0
  40. package/deps/jq/sig/v1.7.1/jq-1.7.1.zip.asc +16 -0
  41. package/deps/jq/sig/v1.7.1/jq-linux-amd64.asc +16 -0
  42. package/deps/jq/sig/v1.7.1/jq-linux-arm64.asc +16 -0
  43. package/deps/jq/sig/v1.7.1/jq-linux-armel.asc +16 -0
  44. package/deps/jq/sig/v1.7.1/jq-linux-armhf.asc +16 -0
  45. package/deps/jq/sig/v1.7.1/jq-linux-i386.asc +16 -0
  46. package/deps/jq/sig/v1.7.1/jq-linux-mips.asc +16 -0
  47. package/deps/jq/sig/v1.7.1/jq-linux-mips64.asc +16 -0
  48. package/deps/jq/sig/v1.7.1/jq-linux-mips64el.asc +16 -0
  49. package/deps/jq/sig/v1.7.1/jq-linux-mips64r6.asc +16 -0
  50. package/deps/jq/sig/v1.7.1/jq-linux-mips64r6el.asc +16 -0
  51. package/deps/jq/sig/v1.7.1/jq-linux-mipsel.asc +16 -0
  52. package/deps/jq/sig/v1.7.1/jq-linux-mipsr6.asc +16 -0
  53. package/deps/jq/sig/v1.7.1/jq-linux-mipsr6el.asc +16 -0
  54. package/deps/jq/sig/v1.7.1/jq-linux-powerpc.asc +16 -0
  55. package/deps/jq/sig/v1.7.1/jq-linux-ppc64el.asc +16 -0
  56. package/deps/jq/sig/v1.7.1/jq-linux-riscv64.asc +16 -0
  57. package/deps/jq/sig/v1.7.1/jq-linux-s390x.asc +16 -0
  58. package/deps/jq/sig/v1.7.1/jq-linux64.asc +16 -0
  59. package/deps/jq/sig/v1.7.1/jq-macos-amd64.asc +16 -0
  60. package/deps/jq/sig/v1.7.1/jq-macos-arm64.asc +16 -0
  61. package/deps/jq/sig/v1.7.1/jq-osx-amd64.asc +16 -0
  62. package/deps/jq/sig/v1.7.1/jq-win64.exe.asc +16 -0
  63. package/deps/jq/sig/v1.7.1/jq-windows-amd64.exe.asc +16 -0
  64. package/deps/jq/sig/v1.7.1/jq-windows-i386.exe.asc +16 -0
  65. package/deps/jq/sig/v1.7.1/sha256sum.txt +26 -0
  66. package/deps/jq/sig/v1.8.0/jq-1.8.0.tar.gz.asc +16 -0
  67. package/deps/jq/sig/v1.8.0/jq-1.8.0.zip.asc +16 -0
  68. package/deps/jq/sig/v1.8.0/jq-linux-amd64.asc +16 -0
  69. package/deps/jq/sig/v1.8.0/jq-linux-arm64.asc +16 -0
  70. package/deps/jq/sig/v1.8.0/jq-linux-armel.asc +16 -0
  71. package/deps/jq/sig/v1.8.0/jq-linux-armhf.asc +16 -0
  72. package/deps/jq/sig/v1.8.0/jq-linux-i386.asc +16 -0
  73. package/deps/jq/sig/v1.8.0/jq-linux-mips.asc +16 -0
  74. package/deps/jq/sig/v1.8.0/jq-linux-mips64.asc +16 -0
  75. package/deps/jq/sig/v1.8.0/jq-linux-mips64el.asc +16 -0
  76. package/deps/jq/sig/v1.8.0/jq-linux-mips64r6.asc +16 -0
  77. package/deps/jq/sig/v1.8.0/jq-linux-mips64r6el.asc +16 -0
  78. package/deps/jq/sig/v1.8.0/jq-linux-mipsel.asc +16 -0
  79. package/deps/jq/sig/v1.8.0/jq-linux-mipsr6.asc +16 -0
  80. package/deps/jq/sig/v1.8.0/jq-linux-mipsr6el.asc +16 -0
  81. package/deps/jq/sig/v1.8.0/jq-linux-powerpc.asc +16 -0
  82. package/deps/jq/sig/v1.8.0/jq-linux-ppc64el.asc +16 -0
  83. package/deps/jq/sig/v1.8.0/jq-linux-riscv64.asc +16 -0
  84. package/deps/jq/sig/v1.8.0/jq-linux-s390x.asc +16 -0
  85. package/deps/jq/sig/v1.8.0/jq-linux64.asc +16 -0
  86. package/deps/jq/sig/v1.8.0/jq-macos-amd64.asc +16 -0
  87. package/deps/jq/sig/v1.8.0/jq-macos-arm64.asc +16 -0
  88. package/deps/jq/sig/v1.8.0/jq-osx-amd64.asc +16 -0
  89. package/deps/jq/sig/v1.8.0/jq-win64.exe.asc +16 -0
  90. package/deps/jq/sig/v1.8.0/jq-windows-amd64.exe.asc +16 -0
  91. package/deps/jq/sig/v1.8.0/jq-windows-i386.exe.asc +16 -0
  92. package/deps/jq/sig/v1.8.0/sha256sum.txt +26 -0
  93. package/deps/jq/src/builtin.c +446 -271
  94. package/deps/jq/src/builtin.jq +25 -60
  95. package/deps/jq/src/bytecode.h +8 -3
  96. package/deps/jq/src/compile.c +22 -43
  97. package/deps/jq/src/compile.h +1 -1
  98. package/deps/jq/src/execute.c +20 -25
  99. package/deps/jq/src/jq_test.c +113 -44
  100. package/deps/jq/src/jv.c +134 -42
  101. package/deps/jq/src/jv.h +10 -3
  102. package/deps/jq/src/jv_alloc.c +8 -5
  103. package/deps/jq/src/jv_alloc.h +0 -1
  104. package/deps/jq/src/jv_aux.c +41 -8
  105. package/deps/jq/src/jv_dtoa.c +4 -12
  106. package/deps/jq/src/jv_dtoa_tsd.c +5 -4
  107. package/deps/jq/src/jv_dtoa_tsd.h +1 -1
  108. package/deps/jq/src/jv_parse.c +5 -3
  109. package/deps/jq/src/jv_print.c +87 -65
  110. package/deps/jq/src/jv_unicode.c +18 -0
  111. package/deps/jq/src/jv_unicode.h +2 -0
  112. package/deps/jq/src/lexer.c +303 -278
  113. package/deps/jq/src/lexer.h +5 -4
  114. package/deps/jq/src/lexer.l +8 -2
  115. package/deps/jq/src/libm.h +15 -5
  116. package/deps/jq/src/linker.c +6 -4
  117. package/deps/jq/src/locfile.c +12 -12
  118. package/deps/jq/src/main.c +204 -270
  119. package/deps/jq/src/parser.c +1105 -1273
  120. package/deps/jq/src/parser.y +149 -181
  121. package/deps/jq/src/util.c +46 -48
  122. package/deps/jq/src/util.h +1 -1
  123. package/deps/jq/tests/base64.test +12 -0
  124. package/deps/jq/tests/jq.test +429 -37
  125. package/deps/jq/tests/jq_fuzz_load_file.c +1 -0
  126. package/deps/jq/tests/man.test +46 -13
  127. package/deps/jq/tests/manonig.test +13 -0
  128. package/deps/jq/tests/onig.test +40 -2
  129. package/deps/jq/tests/optional.test +4 -12
  130. package/deps/jq/tests/setup +5 -1
  131. package/deps/jq/tests/shtest +358 -130
  132. package/deps/jq/tests/uri.test +38 -0
  133. package/deps/jq/tests/uritest +5 -0
  134. package/deps/jq/{src → vendor}/decNumber/decBasic.c +1 -1
  135. package/deps/jq/{src → vendor}/decNumber/decCommon.c +1 -1
  136. package/deps/jq/{src → vendor}/decNumber/decNumber.c +4 -4
  137. package/deps/jq/{modules → vendor}/oniguruma/CMakeLists.txt +5 -3
  138. package/deps/jq/{modules → vendor}/oniguruma/HISTORY +45 -7
  139. package/deps/jq/{modules → vendor}/oniguruma/Makefile.am +1 -1
  140. package/deps/jq/{modules → vendor}/oniguruma/README.md +10 -23
  141. package/deps/jq/{modules → vendor}/oniguruma/compile +29 -13
  142. package/deps/jq/{modules → vendor}/oniguruma/config.guess +91 -27
  143. package/deps/jq/{modules → vendor}/oniguruma/config.sub +716 -242
  144. package/deps/jq/{modules → vendor}/oniguruma/configure.ac +2 -2
  145. package/deps/jq/{modules → vendor}/oniguruma/depcomp +10 -9
  146. package/deps/jq/{modules → vendor}/oniguruma/doc/API +3 -1
  147. package/deps/jq/{modules → vendor}/oniguruma/doc/API.ja +3 -1
  148. package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.BUILTIN +10 -1
  149. package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.BUILTIN.ja +9 -1
  150. package/deps/jq/{modules → vendor}/oniguruma/doc/RE +12 -13
  151. package/deps/jq/{modules → vendor}/oniguruma/doc/RE.ja +12 -13
  152. package/deps/jq/{modules → vendor}/oniguruma/doc/SYNTAX.md +202 -167
  153. package/deps/jq/{modules → vendor}/oniguruma/doc/UNICODE_PROPERTIES +33 -1
  154. package/deps/jq/vendor/oniguruma/doc/onig_syn_md.c +667 -0
  155. package/deps/jq/{modules → vendor}/oniguruma/harnesses/base.c +1 -1
  156. package/deps/jq/{modules → vendor}/oniguruma/install-sh +9 -9
  157. package/deps/jq/{modules → vendor}/oniguruma/missing +50 -29
  158. package/deps/jq/{modules → vendor}/oniguruma/sample/callback_each_match.c +1 -3
  159. package/deps/jq/vendor/oniguruma/sbom.cdx.json +44 -0
  160. package/deps/jq/{modules → vendor}/oniguruma/src/ascii.c +4 -1
  161. package/deps/jq/{modules → vendor}/oniguruma/src/gperf_fold_key_conv.py +4 -4
  162. package/deps/jq/{modules → vendor}/oniguruma/src/gperf_unfold_key_conv.py +4 -4
  163. package/deps/jq/vendor/oniguruma/src/make_unicode_egcb.sh +7 -0
  164. package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_egcb_data.py +20 -19
  165. package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_fold.sh +5 -5
  166. package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_fold_data.py +37 -37
  167. package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_property.sh +2 -2
  168. package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_property_data.py +66 -65
  169. package/deps/jq/vendor/oniguruma/src/make_unicode_wb.sh +7 -0
  170. package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_wb_data.py +20 -19
  171. package/deps/jq/{modules → vendor}/oniguruma/src/oniguruma.h +6 -3
  172. package/deps/jq/{modules → vendor}/oniguruma/src/regcomp.c +14 -6
  173. package/deps/jq/{modules → vendor}/oniguruma/src/regerror.c +2 -2
  174. package/deps/jq/{modules → vendor}/oniguruma/src/regexec.c +85 -14
  175. package/deps/jq/{modules → vendor}/oniguruma/src/regint.h +17 -4
  176. package/deps/jq/{modules → vendor}/oniguruma/src/regparse.c +115 -27
  177. package/deps/jq/{modules → vendor}/oniguruma/src/regsyntax.c +10 -7
  178. package/deps/jq/{modules → vendor}/oniguruma/src/st.c +49 -75
  179. package/deps/jq/{modules → vendor}/oniguruma/src/st.h +3 -10
  180. package/deps/jq/{modules → vendor}/oniguruma/src/unicode_egcb_data.c +54 -49
  181. package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold1_key.c +1567 -1507
  182. package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold2_key.c +1 -1
  183. package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold3_key.c +1 -1
  184. package/deps/jq/vendor/oniguruma/src/unicode_fold_data.c +1619 -0
  185. package/deps/jq/{modules → vendor}/oniguruma/src/unicode_property_data.c +5520 -4178
  186. package/deps/jq/{modules → vendor}/oniguruma/src/unicode_property_data_posix.c +239 -83
  187. package/deps/jq/vendor/oniguruma/src/unicode_unfold_key.c +3497 -0
  188. package/deps/jq/{modules → vendor}/oniguruma/src/unicode_wb_data.c +51 -19
  189. package/deps/jq/{modules → vendor}/oniguruma/src/utf16_be.c +3 -2
  190. package/deps/jq/{modules → vendor}/oniguruma/src/utf16_le.c +3 -2
  191. package/deps/jq/{modules → vendor}/oniguruma/test/test_back.c +3 -3
  192. package/deps/jq/{modules → vendor}/oniguruma/test/test_options.c +2 -2
  193. package/deps/jq/{modules → vendor}/oniguruma/test/test_syntax.c +54 -2
  194. package/deps/jq/{modules → vendor}/oniguruma/test/test_utf8.c +19 -5
  195. package/deps/jq/{modules → vendor}/oniguruma/test/testc.c +1 -1
  196. package/deps/jq/{modules → vendor}/oniguruma/test/testp.c +1 -1
  197. package/deps/jq/{modules → vendor}/oniguruma/test-driver +13 -6
  198. package/deps/jq/{modules → vendor}/oniguruma/windows/CMakeLists.txt +1 -1
  199. package/package.json +4 -3
  200. package/test/santiy-async.test.js +4 -4
  201. package/test/santiy.test.js +4 -4
  202. package/test/template.test.js +6 -6
  203. package/deps/jq/modules/oniguruma/src/make_unicode_egcb.sh +0 -7
  204. package/deps/jq/modules/oniguruma/src/make_unicode_wb.sh +0 -7
  205. package/deps/jq/modules/oniguruma/src/unicode_fold_data.c +0 -1592
  206. package/deps/jq/modules/oniguruma/src/unicode_unfold_key.c +0 -3394
  207. package/deps/jq/scripts/update-website +0 -30
  208. /package/deps/jq/{src → vendor}/decNumber/ICU-license.html +0 -0
  209. /package/deps/jq/{src → vendor}/decNumber/decContext.c +0 -0
  210. /package/deps/jq/{src → vendor}/decNumber/decContext.h +0 -0
  211. /package/deps/jq/{src → vendor}/decNumber/decDPD.h +0 -0
  212. /package/deps/jq/{src → vendor}/decNumber/decDouble.c +0 -0
  213. /package/deps/jq/{src → vendor}/decNumber/decDouble.h +0 -0
  214. /package/deps/jq/{src → vendor}/decNumber/decNumber.h +0 -0
  215. /package/deps/jq/{src → vendor}/decNumber/decNumberLocal.h +0 -0
  216. /package/deps/jq/{src → vendor}/decNumber/decPacked.c +0 -0
  217. /package/deps/jq/{src → vendor}/decNumber/decPacked.h +0 -0
  218. /package/deps/jq/{src → vendor}/decNumber/decQuad.c +0 -0
  219. /package/deps/jq/{src → vendor}/decNumber/decQuad.h +0 -0
  220. /package/deps/jq/{src → vendor}/decNumber/decSingle.c +0 -0
  221. /package/deps/jq/{src → vendor}/decNumber/decSingle.h +0 -0
  222. /package/deps/jq/{src → vendor}/decNumber/decimal128.c +0 -0
  223. /package/deps/jq/{src → vendor}/decNumber/decimal128.h +0 -0
  224. /package/deps/jq/{src → vendor}/decNumber/decimal32.c +0 -0
  225. /package/deps/jq/{src → vendor}/decNumber/decimal32.h +0 -0
  226. /package/deps/jq/{src → vendor}/decNumber/decimal64.c +0 -0
  227. /package/deps/jq/{src → vendor}/decNumber/decimal64.h +0 -0
  228. /package/deps/jq/{src → vendor}/decNumber/decnumber.pdf +0 -0
  229. /package/deps/jq/{src → vendor}/decNumber/example1.c +0 -0
  230. /package/deps/jq/{src → vendor}/decNumber/example2.c +0 -0
  231. /package/deps/jq/{src → vendor}/decNumber/example3.c +0 -0
  232. /package/deps/jq/{src → vendor}/decNumber/example4.c +0 -0
  233. /package/deps/jq/{src → vendor}/decNumber/example5.c +0 -0
  234. /package/deps/jq/{src → vendor}/decNumber/example6.c +0 -0
  235. /package/deps/jq/{src → vendor}/decNumber/example7.c +0 -0
  236. /package/deps/jq/{src → vendor}/decNumber/example8.c +0 -0
  237. /package/deps/jq/{src → vendor}/decNumber/readme.txt +0 -0
  238. /package/deps/jq/{modules → vendor}/oniguruma/.travis.yml +0 -0
  239. /package/deps/jq/{modules → vendor}/oniguruma/AUTHORS +0 -0
  240. /package/deps/jq/{modules → vendor}/oniguruma/COPYING +0 -0
  241. /package/deps/jq/{modules → vendor}/oniguruma/ChangeLog +0 -0
  242. /package/deps/jq/{modules → vendor}/oniguruma/NEWS +0 -0
  243. /package/deps/jq/{modules → vendor}/oniguruma/README +0 -0
  244. /package/deps/jq/{modules → vendor}/oniguruma/README_japanese +0 -0
  245. /package/deps/jq/{modules → vendor}/oniguruma/autogen.sh +0 -0
  246. /package/deps/jq/{modules → vendor}/oniguruma/cmake/Config.cmake.in +0 -0
  247. /package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.API +0 -0
  248. /package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.API.ja +0 -0
  249. /package/deps/jq/{modules → vendor}/oniguruma/doc/FAQ +0 -0
  250. /package/deps/jq/{modules → vendor}/oniguruma/doc/FAQ.ja +0 -0
  251. /package/deps/jq/{modules → vendor}/oniguruma/harnesses/ascii_compatible.dict +0 -0
  252. /package/deps/jq/{modules → vendor}/oniguruma/harnesses/deluxe.c +0 -0
  253. /package/deps/jq/{modules → vendor}/oniguruma/harnesses/dict_conv.py +0 -0
  254. /package/deps/jq/{modules → vendor}/oniguruma/harnesses/fuzzer.options +0 -0
  255. /package/deps/jq/{modules → vendor}/oniguruma/harnesses/libfuzzer-onig.cpp +0 -0
  256. /package/deps/jq/{modules → vendor}/oniguruma/harnesses/regset.c +0 -0
  257. /package/deps/jq/{modules → vendor}/oniguruma/index.html +0 -0
  258. /package/deps/jq/{modules → vendor}/oniguruma/index_ja.html +0 -0
  259. /package/deps/jq/{modules → vendor}/oniguruma/m4/.whatever +0 -0
  260. /package/deps/jq/{modules → vendor}/oniguruma/make_win.bat +0 -0
  261. /package/deps/jq/{modules → vendor}/oniguruma/make_win32.bat +0 -0
  262. /package/deps/jq/{modules → vendor}/oniguruma/make_win64.bat +0 -0
  263. /package/deps/jq/{modules → vendor}/oniguruma/onig-config.cmake.in +0 -0
  264. /package/deps/jq/{modules → vendor}/oniguruma/onig-config.in +0 -0
  265. /package/deps/jq/{modules → vendor}/oniguruma/oniguruma.pc.cmake.in +0 -0
  266. /package/deps/jq/{modules → vendor}/oniguruma/oniguruma.pc.in +0 -0
  267. /package/deps/jq/{modules → vendor}/oniguruma/sample/CMakeLists.txt +0 -0
  268. /package/deps/jq/{modules → vendor}/oniguruma/sample/Makefile.am +0 -0
  269. /package/deps/jq/{modules → vendor}/oniguruma/sample/bug_fix.c +0 -0
  270. /package/deps/jq/{modules → vendor}/oniguruma/sample/callout.c +0 -0
  271. /package/deps/jq/{modules → vendor}/oniguruma/sample/count.c +0 -0
  272. /package/deps/jq/{modules → vendor}/oniguruma/sample/crnl.c +0 -0
  273. /package/deps/jq/{modules → vendor}/oniguruma/sample/echo.c +0 -0
  274. /package/deps/jq/{modules → vendor}/oniguruma/sample/encode.c +0 -0
  275. /package/deps/jq/{modules → vendor}/oniguruma/sample/listcap.c +0 -0
  276. /package/deps/jq/{modules → vendor}/oniguruma/sample/names.c +0 -0
  277. /package/deps/jq/{modules → vendor}/oniguruma/sample/posix.c +0 -0
  278. /package/deps/jq/{modules → vendor}/oniguruma/sample/regset.c +0 -0
  279. /package/deps/jq/{modules → vendor}/oniguruma/sample/scan.c +0 -0
  280. /package/deps/jq/{modules → vendor}/oniguruma/sample/simple.c +0 -0
  281. /package/deps/jq/{modules → vendor}/oniguruma/sample/sql.c +0 -0
  282. /package/deps/jq/{modules → vendor}/oniguruma/sample/syntax.c +0 -0
  283. /package/deps/jq/{modules → vendor}/oniguruma/sample/user_property.c +0 -0
  284. /package/deps/jq/{modules → vendor}/oniguruma/src/Makefile.am +0 -0
  285. /package/deps/jq/{modules → vendor}/oniguruma/src/Makefile.windows +0 -0
  286. /package/deps/jq/{modules → vendor}/oniguruma/src/big5.c +0 -0
  287. /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.cmake.in +0 -0
  288. /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.win32 +0 -0
  289. /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.win64 +0 -0
  290. /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.windows.in +0 -0
  291. /package/deps/jq/{modules → vendor}/oniguruma/src/cp1251.c +0 -0
  292. /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp.c +0 -0
  293. /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp_prop.c +0 -0
  294. /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp_prop.gperf +0 -0
  295. /package/deps/jq/{modules → vendor}/oniguruma/src/euc_kr.c +0 -0
  296. /package/deps/jq/{modules → vendor}/oniguruma/src/euc_tw.c +0 -0
  297. /package/deps/jq/{modules → vendor}/oniguruma/src/gb18030.c +0 -0
  298. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_1.c +0 -0
  299. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_10.c +0 -0
  300. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_11.c +0 -0
  301. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_13.c +0 -0
  302. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_14.c +0 -0
  303. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_15.c +0 -0
  304. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_16.c +0 -0
  305. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_2.c +0 -0
  306. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_3.c +0 -0
  307. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_4.c +0 -0
  308. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_5.c +0 -0
  309. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_6.c +0 -0
  310. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_7.c +0 -0
  311. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_8.c +0 -0
  312. /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_9.c +0 -0
  313. /package/deps/jq/{modules → vendor}/oniguruma/src/koi8.c +0 -0
  314. /package/deps/jq/{modules → vendor}/oniguruma/src/koi8_r.c +0 -0
  315. /package/deps/jq/{modules → vendor}/oniguruma/src/make_property.sh +0 -0
  316. /package/deps/jq/{modules → vendor}/oniguruma/src/mktable.c +0 -0
  317. /package/deps/jq/{modules → vendor}/oniguruma/src/onig_init.c +0 -0
  318. /package/deps/jq/{modules → vendor}/oniguruma/src/oniggnu.h +0 -0
  319. /package/deps/jq/{modules → vendor}/oniguruma/src/onigposix.h +0 -0
  320. /package/deps/jq/{modules → vendor}/oniguruma/src/regenc.c +0 -0
  321. /package/deps/jq/{modules → vendor}/oniguruma/src/regenc.h +0 -0
  322. /package/deps/jq/{modules → vendor}/oniguruma/src/regext.c +0 -0
  323. /package/deps/jq/{modules → vendor}/oniguruma/src/reggnu.c +0 -0
  324. /package/deps/jq/{modules → vendor}/oniguruma/src/regparse.h +0 -0
  325. /package/deps/jq/{modules → vendor}/oniguruma/src/regposerr.c +0 -0
  326. /package/deps/jq/{modules → vendor}/oniguruma/src/regposix.c +0 -0
  327. /package/deps/jq/{modules → vendor}/oniguruma/src/regtrav.c +0 -0
  328. /package/deps/jq/{modules → vendor}/oniguruma/src/regversion.c +0 -0
  329. /package/deps/jq/{modules → vendor}/oniguruma/src/sjis.c +0 -0
  330. /package/deps/jq/{modules → vendor}/oniguruma/src/sjis_prop.c +0 -0
  331. /package/deps/jq/{modules → vendor}/oniguruma/src/sjis_prop.gperf +0 -0
  332. /package/deps/jq/{modules → vendor}/oniguruma/src/unicode.c +0 -0
  333. /package/deps/jq/{modules → vendor}/oniguruma/src/utf32_be.c +0 -0
  334. /package/deps/jq/{modules → vendor}/oniguruma/src/utf32_le.c +0 -0
  335. /package/deps/jq/{modules → vendor}/oniguruma/src/utf8.c +0 -0
  336. /package/deps/jq/{modules → vendor}/oniguruma/test/CMakeLists.txt +0 -0
  337. /package/deps/jq/{modules → vendor}/oniguruma/test/Makefile.am +0 -0
  338. /package/deps/jq/{modules → vendor}/oniguruma/test/test.sh +0 -0
  339. /package/deps/jq/{modules → vendor}/oniguruma/test/test_regset.c +0 -0
  340. /package/deps/jq/{modules → vendor}/oniguruma/test/testu.c +0 -0
  341. /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/stub.c +0 -0
  342. /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_back.config +0 -0
  343. /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_regset.config +0 -0
  344. /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_syntax.config +0 -0
  345. /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_utf8.config +0 -0
  346. /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/testc.config +0 -0
  347. /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/testu.config +0 -0
  348. /package/deps/jq/{modules → vendor}/oniguruma/tis.config +0 -0
  349. /package/deps/jq/{modules → vendor}/oniguruma/windows/testc.c +0 -0
package/deps/jq/NEWS.md CHANGED
@@ -1,3 +1,278 @@
1
+ # 1.8.1
2
+
3
+ This is a patch release to fix security, performance, and build issues found in 1.8.0.
4
+ Full commit log can be found at <https://github.com/jqlang/jq/compare/jq-1.8.0...jq-1.8.1>.
5
+
6
+ ## Security fixes
7
+
8
+ - CVE-2025-49014: Fix heap use after free in `f_strftime`, `f_strflocaltime`.
9
+ @wader 499c91bca9d4d027833bc62787d1bb075c03680e
10
+ - GHSA-f946-j5j2-4w5m: Fix stack overflow in `node_min_byte_len` of oniguruma.
11
+ @wader 5e159b34b179417e3e0404108190a2ac7d65611c
12
+
13
+ ## CLI changes
14
+
15
+ - Fix assertion failure when syntax error happens at the end of the query. @itchyny #3350
16
+
17
+ ## Changes to existing functions
18
+
19
+ - Fix portability of `strptime/1` especially for Windows. @itchyny #3342
20
+
21
+ ## Language changes
22
+
23
+ - Revert the change of `reduce`/`foreach` state variable in 1.8.0 (#3205).
24
+ This change was reverted due to serious performance regression. @itchyny #3349
25
+
26
+ ## Documentation changes
27
+
28
+ - Add LICENSE notice of NetBSD's `strptime()` to COPYING. @itchyny #3344
29
+
30
+ ## Build improvements
31
+
32
+ - Fix build on old Mac with old sed. @qianbinbin #3336
33
+
34
+ # 1.8.0
35
+
36
+ We are pleased to announce the release of version 1.8.0.
37
+ This release includes a number of improvements since the last version.
38
+ Note that some changes may introduce breaking changes to existing scripts,
39
+ so be sure to read the following information carefully.
40
+ Full commit log can be found at <https://github.com/jqlang/jq/compare/jq-1.7.1...jq-1.8.0>.
41
+
42
+ ## Releasing
43
+
44
+ - Change the version number pattern to `1.X.Y` (`1.8.0` instead of `1.8`). @itchyny #2999
45
+ - Generate provenance attestations for release artifacts and docker image. @lectrical #3225
46
+
47
+ ```sh
48
+ gh attestation verify --repo jqlang/jq jq-linux-amd64
49
+ gh attestation verify --repo jqlang/jq oci://ghcr.io/jqlang/jq:1.8.0
50
+ ```
51
+
52
+ ## Security fixes
53
+
54
+ - CVE-2024-23337: Fix signed integer overflow in `jvp_array_write` and `jvp_object_rehash`.
55
+ @itchyny de21386681c0df0104a99d9d09db23a9b2a78b1e
56
+ - The fix for this issue now limits the maximum size of arrays and objects to 536870912 (`2^29`) elements.
57
+ - CVE-2024-53427: Reject NaN with payload while parsing JSON.
58
+ @itchyny a09a4dfd55e6c24d04b35062ccfe4509748b1dd3
59
+ - The fix for this issue now drops support for NaN with payload in JSON (like `NaN123`).
60
+ Other JSON extensions like `NaN` and `Infinity` are still supported.
61
+ - CVE-2025-48060: Fix heap buffer overflow in `jv_string_vfmt`.
62
+ @itchyny c6e041699d8cd31b97375a2596217aff2cfca85b
63
+ - Fix use of uninitialized value in `check_literal`. @itchyny #3324
64
+ - Fix segmentation fault on `strftime/1`, `strflocaltime/1`. @itchyny #3271
65
+ - Fix unhandled overflow in `@base64d`. @emanuele6 #3080
66
+
67
+ ## CLI changes
68
+
69
+ - Fix `--indent 0` implicitly enabling `--compact-output`. @amarshall @gbrlmarn @itchyny #3232
70
+
71
+ ```sh
72
+ $ jq --indent 0 . <<< '{ "foo": ["hello", "world"] }'
73
+ {
74
+ "foo": [
75
+ "hello",
76
+ "world"
77
+ ]
78
+ }
79
+ # Previously, this implied --compact-output, but now outputs with new lines.
80
+ ```
81
+
82
+ - Improve error messages to show problematic position in the filter. @itchyny #3292
83
+
84
+ ```sh
85
+ $ jq -n '1 + $foo + 2'
86
+ jq: error: $foo is not defined at <top-level>, line 1, column 5:
87
+ 1 + $foo + 2
88
+ ^^^^
89
+ jq: 1 compile error
90
+ ```
91
+
92
+ - Include column number in parser and compiler error messages. @liviubobocu #3257
93
+ - Fix error message for string literal beginning with single quote. @mattmeyers #2964
94
+
95
+ ```sh
96
+ $ jq .foo <<< "{'foo':'bar'}"
97
+ jq: parse error: Invalid string literal; expected ", but got ' at line 1, column 7
98
+ # Previously, the error message was Invalid numeric literal at line 1, column 7.
99
+ ```
100
+
101
+ - Improve `JQ_COLORS` environment variable to support larger escapes like truecolor. @SArpnt #3282
102
+
103
+ ```sh
104
+ JQ_COLORS="38;2;255;173;173:38;2;255;214;165:38;2;253;255;182:38;2;202;255;191:38;2;155;246;255:38;2;160;196;255:38;2;189;178;255:38;2;255;198;255" jq -nc '[null,false,true,42,{"a":"bc"}]'
105
+ ```
106
+
107
+ - Add `--library-path` long option for `-L`. @thaliaarchi #3194
108
+ - Fix `--slurp --stream` when input has no trailing newline character. @itchyny #3279
109
+ - Fix `--indent` option to error for malformed values. @thaliaarchi #3195
110
+ - Fix option parsing of `--binary` on non-Windows platforms. @calestyo #3131
111
+ - Fix issue with `~/.jq` on Windows where `$HOME` is not set. @kirkoman #3114
112
+ - Fix broken non-Latin output in the command help on Windows. @itchyny #3299
113
+ - Increase the maximum parsing depth for JSON to 10000. @itchyny #3328
114
+ - Parse short options in order given. @thaliaarchi #3194
115
+ - Consistently reset color formatting. @thaliaarchi #3034
116
+
117
+ ## New functions
118
+
119
+ - Add `trim/0`, `ltrim/0` and `rtrim/0` to trim leading and trailing white spaces. @wader #3056
120
+
121
+ ```sh
122
+ $ jq -n '" hello " | trim, ltrim, rtrim'
123
+ "hello"
124
+ "hello "
125
+ " hello"
126
+ ```
127
+
128
+ - Add `trimstr/1` to trim string from both ends. @gbrlmarn #3319
129
+
130
+ ```sh
131
+ $ jq -n '"foobarfoo" | trimstr("foo")'
132
+ "bar"
133
+ ```
134
+
135
+ - Add `add/1`. Generator variant of `add/0`. @myaaaaaaaaa #3144
136
+
137
+ ```sh
138
+ $ jq -c '.sum = add(.xs[])' <<< '{"xs":[1,2,3]}'
139
+ {"xs":[1,2,3],"sum":6}
140
+ ```
141
+
142
+ - Add `skip/2` as the counterpart to `limit/2`. @itchyny #3181
143
+
144
+ ```sh
145
+ $ jq -nc '[1,2,3,4,5] | [skip(2; .[])]'
146
+ [3,4,5]
147
+ ```
148
+
149
+ - Add `toboolean/0` to convert strings to booleans. @brahmlower @itchyny #2098
150
+
151
+ ```sh
152
+ $ jq -n '"true", "false" | toboolean'
153
+ true
154
+ false
155
+ ```
156
+
157
+ - Add `@urid` format. Reverse of `@uri`. @fmgornick #3161
158
+
159
+ ```sh
160
+ $ jq -Rr '@urid' <<< '%6a%71'
161
+ jq
162
+ ```
163
+
164
+ ## Changes to existing functions
165
+
166
+ - Use code point index for `indices/1`, `index/1` and `rindex/1`. @wader #3065
167
+ - This is a breaking change. Use `utf8bytelength/0` to get byte index.
168
+ - Improve `tonumber/0` performance and rejects numbers with leading or trailing
169
+ white spaces. @itchyny @thaliaarchi #3055 #3195
170
+ - This is a breaking change. Use `trim/0` to remove leading and trailing white spaces.
171
+ - Populate timezone data when formatting time. This fixes timezone name in
172
+ `strftime/1`, `strflocaltime/1` for DST. @marcin-serwin @sihde #3203 #3264 #3323
173
+ - Preserve numerical precision on unary negation, `abs/0`, `length/0`. @itchyny #3242 #3275
174
+ - Make `last(empty)` yield no output values like `first(empty)`. @itchyny #3179
175
+ - Make `ltrimstr/1` and `rtrimstr/1` error for non-string inputs. @emanuele6 #2969
176
+ - Make `limit/2` error for negative count. @itchyny #3181
177
+ - Fix `mktime/0` overflow and allow fewer elements in date-time representation array. @emanuele6 #3070 #3162
178
+ - Fix non-matched optional capture group. @wader #3238
179
+ - Provide `strptime/1` on all systems. @george-hopkins @fdellwing #3008 #3094
180
+ - Fix `_WIN32` port of `strptime`. @emanuele6 #3071
181
+ - Improve `bsearch/1` performance by implementing in C. @eloycoto #2945
182
+ - Improve `unique/0` and `unique_by/1` performance. @itchyny @emanuele6 #3254 #3304
183
+ - Fix error messages including long string literal not to break Unicode characters. @itchyny #3249
184
+ - Remove `pow10/0` as it has been deprecated in glibc 2.27. Use `exp10/0` instead. @itchyny #3059
185
+ - Remove private (and undocumented) `_nwise` filter. @itchyny #3260
186
+
187
+ ## Language changes
188
+
189
+ - Fix precedence of binding syntax against unary and binary operators.
190
+ Also, allow some expressions as object values. @itchyny #3053 #3326
191
+ - This is a breaking change that may change the output of filters with binding syntax as follows.
192
+
193
+ ```sh
194
+ $ jq -nc '[-1 as $x | 1,$x]'
195
+ [1,-1] # previously, [-1,-1]
196
+ $ jq -nc '1 | . + 2 as $x | -$x'
197
+ -3 # previously, -1
198
+ $ jq -nc '{x: 1 + 2, y: false or true, z: null // 3}'
199
+ {"x":3,"y":true,"z":3} # previously, syntax error
200
+ ```
201
+
202
+ - Support Tcl-style multiline comments. @emanuele6 #2989
203
+
204
+ ```sh
205
+ #!/bin/sh --
206
+ # Can be use to do shebang scripts.
207
+ # Next line will be seen as a comment be of the trailing backslash. \
208
+ exec jq ...
209
+ # this jq expression will result in [1]
210
+ [
211
+ 1,
212
+ # \
213
+ 2
214
+ ]
215
+ ```
216
+
217
+ - Fix `foreach` not to break init backtracking with `DUPN`. @kanwren #3266
218
+
219
+ ```sh
220
+ $ jq -n '[1, 2] | foreach .[] as $x (0, 1; . + $x)'
221
+ 1
222
+ 3
223
+ 2
224
+ 4
225
+ ```
226
+
227
+ - Fix `reduce`/`foreach` state variable should not be reset each iteration. @itchyny #3205
228
+
229
+ ```sh
230
+ $ jq -n 'reduce range(5) as $x (0; .+$x | select($x!=2))'
231
+ 8
232
+ $ jq -nc '[foreach range(5) as $x (0; .+$x | select($x!=2); [$x,.])]'
233
+ [[0,0],[1,1],[3,4],[4,8]]
234
+ ```
235
+
236
+ - Support CRLF line breaks in filters. @itchyny #3274
237
+ - Improve performance of repeating strings. @itchyny #3272
238
+
239
+ ## Documentation changes
240
+
241
+ - Switch the homepage to custom domain [jqlang.org](https://jqlang.org). @itchyny @owenthereal #3243
242
+ - Make latest release instead of development version the default manual. @wader #3130
243
+ - Add opengraph meta tags. @wader #3247
244
+ - Replace jqplay.org with play.jqlang.org @owenthereal #3265
245
+ - Add missing line from decNumber's licence to `COPYING`. @emanuele6 #3106
246
+ - Various document improvements. @tsibley #3322, @itchyny #3240, @jhcarl0814 #3239,
247
+ @01mf02 #3184, @thaliaarchi #3199, @NathanBaulch #3173, @cjlarose #3164,
248
+ @sheepster1 #3105, #3103, @kishoreinvits #3042, @jbrains #3035, @thalman #3033,
249
+ @SOF3 #3017, @wader #3015, @wllm-rbnt #3002
250
+
251
+ ## Build improvements
252
+
253
+ - Fix build with GCC 15 (C23). @emanuele6 #3209
254
+ - Fix build with `-Woverlength-strings` @emanuele6 #3019
255
+ - Fix compiler warning `type-limits` in `found_string`. @itchyny #3263
256
+ - Fix compiler error in `jv_dtoa.c` and `builtin.c`. @UlrichEckhardt #3036
257
+ - Fix warning: a function definition without a prototype is deprecated. @itchyny #3259
258
+ - Define `_BSD_SOURCE` in `builtin.c` for OpenBSD support. @itchyny #3278
259
+ - Define empty `JV_{,V}PRINTF_LIKE` macros if `__GNUC__` is not defined. @emanuele6 #3160
260
+ - Avoid `ctype.h` abuse: cast `char` to `unsigned char` first. @riastradh #3152
261
+ - Remove multiple calls to free when successively calling `jq_reset`. @Sameesunkaria #3134
262
+ - Enable IBM z/OS support. @sachintu47 #3277
263
+ - Fix insecure `RUNPATH`. @orbea #3212
264
+ - Avoid zero-length `calloc`. @itchyny #3280
265
+ - Move oniguruma and decNumber to vendor directory. @itchyny #3234
266
+
267
+ ## Test improvements
268
+
269
+ - Run tests in C locale. @emanuele6 #3039
270
+ - Improve reliability of `NO_COLOR` tests. @dag-erling #3188
271
+ - Improve `shtest` not to fail if `JQ_COLORS` and `NO_COLOR` are already set. @SArpnt #3283
272
+ - Refactor constant folding tests. @itchyny #3233
273
+ - Make tests pass when `--disable-decnum`. @nicowilliams 6d02d53f515bf1314d644eee93ba30b0d11c7d2b
274
+ - Disable Valgrind by default during testing. @itchyny #3269
275
+
1
276
  # 1.7.1
2
277
 
3
278
  ## Security
@@ -43,7 +318,7 @@
43
318
  - Remove `-dirty` version suffix for windows release build. @itchyny #2888
44
319
  - Make use of `od` in tests more compatible. @nabijaczleweli @emanuele6 @nicowilliams #2922
45
320
  - Add dependabot. @yeikel #2889
46
- - Extend fuzzing setup to fuzz parser and and JSON serializer. @DavidKorczynski @emanuele6 #2952
321
+ - Extend fuzzing setup to fuzz parser and JSON serializer. @DavidKorczynski @emanuele6 #2952
47
322
  - Keep releasing executables with legacy names. @itchyny #2951
48
323
 
49
324
  # 1.7
@@ -262,7 +537,7 @@ Full commit log can be found at <https://github.com/jqlang/jq/compare/jq-1.6...j
262
537
  - Fix `contains/1` to handle strings with NUL. @nicowilliams 61cd6db
263
538
  - Fix `stderr/0` to output raw text without any decoration. @itchyny #2751
264
539
  - Fix `nth/2` to emit empty on index out of range. @itchyny #2674
265
- - Fix `implode` to not assert and instead replace invalid unicode codepoints. @wader #2646
540
+ - Fix `implode` to not assert and instead replace invalid Unicode codepoints. @wader #2646
266
541
  - Fix `indices/1` and `rindex/1` in case of overlapping matches in strings. @emanuele6 #2718
267
542
  - Fix `sub/3` to resolve issues involving global search-and-replace (gsub) operations. @pkoppstein #2641
268
543
  - Fix `significand/0`, `gamma/0` and `drem/2` to be available on macOS. @itchyny #2756 #2775
package/deps/jq/README.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  ## Documentation
6
6
 
7
- - **Official Documentation**: [jqlang.github.io/jq](https://jqlang.github.io/jq)
8
- - **Try jq Online**: [jqplay.org](https://jqplay.org)
7
+ - **Official Documentation**: [jqlang.org](https://jqlang.org)
8
+ - **Try jq Online**: [play.jqlang.org](https://play.jqlang.org)
9
9
 
10
10
  ## Installation
11
11
 
@@ -17,6 +17,20 @@ Download the latest releases from the [GitHub release page](https://github.com/j
17
17
 
18
18
  Pull the [jq image](https://github.com/jqlang/jq/pkgs/container/jq) to start quickly with Docker.
19
19
 
20
+ #### Run with Docker
21
+
22
+ ##### Example: Extracting the version from a `package.json` file
23
+
24
+ ```bash
25
+ docker run --rm -i ghcr.io/jqlang/jq:latest < package.json '.version'
26
+ ```
27
+
28
+ ##### Example: Extracting the version from a `package.json` file with a mounted volume
29
+
30
+ ```bash
31
+ docker run --rm -i -v "$PWD:$PWD" -w "$PWD" ghcr.io/jqlang/jq:latest '.version' package.json
32
+ ```
33
+
20
34
  ### Building from source
21
35
 
22
36
  #### Dependencies
@@ -29,9 +43,10 @@ Pull the [jq image](https://github.com/jqlang/jq/pkgs/container/jq) to start qui
29
43
  #### Instructions
30
44
 
31
45
  ```console
32
- git submodule update --init # if building from git to get oniguruma
33
- autoreconf -i # if building from git
46
+ git submodule update --init # if building from git to get oniguruma
47
+ autoreconf -i # if building from git
34
48
  ./configure --with-oniguruma=builtin
49
+ make clean # if upgrading from a version previously built from source
35
50
  make -j8
36
51
  make check
37
52
  sudo make install
@@ -57,4 +72,7 @@ For details on cross-compilation, check out the [GitHub Actions file](.github/wo
57
72
 
58
73
  ## License
59
74
 
60
- `jq` is released under the [MIT License](COPYING).
75
+ `jq` is released under the [MIT License](COPYING). `jq`'s documentation is
76
+ licensed under the [Creative Commons CC BY 3.0](COPYING).
77
+ `jq` uses parts of the open source C library "decNumber", which is distributed
78
+ under [ICU License](COPYING)
@@ -3,7 +3,7 @@
3
3
 
4
4
  # Defaults
5
5
  set -e
6
- oniguruma='6.9.3'
6
+ oniguruma='6.9.10'
7
7
 
8
8
  unset CFLAGS
9
9
  unset CXXFLAGS
@@ -2,8 +2,8 @@ dnl AC_CHECK_MATH_FUNC(func)
2
2
  AC_DEFUN([AC_CHECK_MATH_FUNC], [
3
3
  AC_LANG(C)
4
4
  AC_CHECK_LIB([m],[$1],[
5
- eval "ac_tr_func=HAVE_[]upcase($1)"
6
- AC_DEFINE_UNQUOTED($ac_tr_func)
5
+ m4_define([ac_tr_func], [HAVE_]m4_toupper($1))
6
+ AC_DEFINE(ac_tr_func, 1, [Define if you have the $1 math function.])
7
7
  ],[
8
8
  ])
9
9
  ])
@@ -42,7 +42,7 @@ case "$ac_res" in
42
42
  yes)
43
43
  eval "ac_cv_func_$1=yes"
44
44
  eval "LIB_$1="
45
- AC_DEFINE_UNQUOTED($ac_tr_func)
45
+ AC_DEFINE_UNQUOTED($ac_tr_func, 1, [Define if the $1 function is available.])
46
46
  AC_MSG_RESULT([yes])
47
47
  ;;
48
48
  no)
@@ -53,8 +53,8 @@ case "$ac_res" in
53
53
  *)
54
54
  eval "ac_cv_func_$1=yes"
55
55
  eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
56
- AC_DEFINE_UNQUOTED($ac_tr_func)
57
- AC_DEFINE_UNQUOTED($ac_tr_lib)
56
+ AC_DEFINE_UNQUOTED($ac_tr_func, 1, [Define if you have the $1 function.])
57
+ AC_DEFINE_UNQUOTED($ac_tr_lib, 1, [Define if you have the $2 library.])
58
58
  AC_MSG_RESULT([yes, in $ac_res])
59
59
  ;;
60
60
  esac
@@ -1,6 +1,6 @@
1
1
  m4_define([jq_version], m4_esyscmd_s([scripts/version])))
2
2
 
3
- AC_INIT([jq],[jq_version],[https://github.com/jqlang/jq/issues],[jq],[https://jqlang.github.io/jq])
3
+ AC_INIT([jq],[jq_version],[https://github.com/jqlang/jq/issues],[jq],[https://jqlang.org])
4
4
 
5
5
  dnl Created autoconf implementation thompson@dtosolutions, 26NOV12
6
6
  AC_PREREQ([2.65])
@@ -39,11 +39,6 @@ if test "$USE_MAINTAINER_MODE" = yes; then
39
39
  AC_CHECK_PROGS(LEX, flex lex)
40
40
  fi
41
41
 
42
- dnl Check for valgrind
43
- AC_CHECK_PROGS(valgrind_cmd, valgrind)
44
- if test "x$valgrind_cmd" = "x" ; then
45
- AC_MSG_WARN([valgrind is required to test jq.])
46
- fi
47
42
  AC_CHECK_FUNCS(memmem)
48
43
 
49
44
  AC_CHECK_HEADER("sys/cygwin.h", [have_cygwin=1;])
@@ -54,10 +49,9 @@ dnl Running tests with Valgrind is slow. It is faster to iterate on
54
49
  dnl code without Valgrind until tests pass, then enable Valgrind and
55
50
  dnl fix leaks.
56
51
  AC_ARG_ENABLE([valgrind],
57
- AS_HELP_STRING([--disable-valgrind],[do not run tests under Valgrind]))
52
+ AS_HELP_STRING([--enable-valgrind],[enable Valgrind during testing]))
58
53
 
59
- dnl Running tests with Valgrind is slow; address sanitizer (ASAN) is
60
- dnl faster.
54
+ dnl Address sanitizer (ASan)
61
55
  AC_ARG_ENABLE([asan],
62
56
  AS_HELP_STRING([--enable-asan],[enable address sanitizer]))
63
57
 
@@ -111,10 +105,10 @@ AC_ARG_ENABLE([decnum],
111
105
  AS_HELP_STRING([--disable-decnum],[disable decnum support]))
112
106
 
113
107
  AS_IF([test "x$enable_decnum" != "xno"],[
114
- AC_DEFINE([USE_DECNUM],1)
108
+ AC_DEFINE([USE_DECNUM], 1, [Define to enable decnum support.])
115
109
  ])
116
110
 
117
- AM_CONDITIONAL([ENABLE_VALGRIND], [test "x$enable_valgrind" != xno])
111
+ AM_CONDITIONAL([ENABLE_VALGRIND], [test "x$enable_valgrind" = xyes])
118
112
  AM_CONDITIONAL([ENABLE_ASAN], [test "x$enable_asan" = xyes])
119
113
  AM_CONDITIONAL([ENABLE_UBSAN], [test "x$enable_ubsan" = xyes])
120
114
  AM_CONDITIONAL([ENABLE_GCOV], [test "x$enable_gcov" = xyes])
@@ -125,7 +119,7 @@ AM_CONDITIONAL([ENABLE_ALL_STATIC], [test "x$enable_all_static" = xyes])
125
119
  dnl Find pthread, if we have it. We do this first because we may set -pthread on CFLAGS
126
120
  dnl which can cause various macros to be defined (__REENTRANT on Darwin, for example)
127
121
  AX_PTHREAD([
128
- AC_DEFINE([HAVE_PTHREAD], [1])
122
+ AC_DEFINE([HAVE_PTHREAD], [1], [Define to enable POSIX threads support.])
129
123
  LIBS="$PTHREAD_LIBS $LIBS"
130
124
  CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
131
125
  CC="$PTHREAD_CC"
@@ -201,7 +195,6 @@ AC_CHECK_MATH_FUNC(lgamma_r)
201
195
  AC_CHECK_MATH_FUNC(nearbyint)
202
196
  AC_CHECK_MATH_FUNC(nextafter)
203
197
  AC_CHECK_MATH_FUNC(nexttoward)
204
- AC_CHECK_MATH_FUNC(pow10) # Not available with glibc version >= 2.27
205
198
  AC_CHECK_MATH_FUNC(pow)
206
199
  AC_CHECK_MATH_FUNC(remainder)
207
200
  AC_CHECK_MATH_FUNC(rint)
@@ -275,10 +268,10 @@ AS_IF([test "x$with_oniguruma" != xno], [
275
268
  AC_MSG_NOTICE([Oniguruma was not found. Will use the packaged oniguruma.])
276
269
  ])
277
270
  ])
278
- AS_IF([test "x$build_oniguruma" = xyes && test -f "${srcdir}/modules/oniguruma/configure.ac" ], [
279
- onig_CFLAGS="-I${srcdir}/modules/oniguruma/src"
280
- onig_LDFLAGS="-L${srcdir}/modules/oniguruma/src -Wl,-rpath,${libdir}"
281
- AC_CONFIG_SUBDIRS([modules/oniguruma])
271
+ AS_IF([test "x$build_oniguruma" = xyes && test -f "${srcdir}/vendor/oniguruma/configure.ac" ], [
272
+ onig_CFLAGS="-I${srcdir}/vendor/oniguruma/src"
273
+ onig_LDFLAGS="-L${srcdir}/vendor/oniguruma/src -Wl,-rpath,${libdir}"
274
+ AC_CONFIG_SUBDIRS([vendor/oniguruma])
282
275
  AC_DEFINE([HAVE_LIBONIG],1,[Define to 1 if the system includes libonig])
283
276
  ])
284
277
  CFLAGS="$save_CFLAGS"
@@ -289,7 +282,6 @@ AC_SUBST(onig_LDFLAGS)
289
282
 
290
283
  AM_CONDITIONAL([BUILD_ONIGURUMA], [test "x$build_oniguruma" = xyes])
291
284
  AM_CONDITIONAL([WITH_ONIGURUMA], [test "x$with_oniguruma" != xno])
292
- AC_SUBST([BUNDLER], ["$bundle_cmd"])
293
285
 
294
286
  AC_CONFIG_MACRO_DIRS([config/m4 m4])
295
287
  AC_CONFIG_FILES([Makefile libjq.pc])