@port-labs/jq-node-bindings 1.0.1 → 1.0.3
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.
- package/deps/jq/COPYING +1 -9
- package/deps/jq/Makefile.am +13 -18
- package/deps/jq/NEWS.md +2 -2
- package/deps/jq/README.md +3 -18
- package/deps/jq/configure.ac +1 -0
- package/deps/jq/docs/Pipfile.lock +59 -72
- package/deps/jq/docs/README.md +1 -1
- package/deps/jq/docs/build_manpage.py +1 -1
- package/deps/jq/docs/build_mantests.py +1 -1
- package/deps/jq/docs/content/download/default.yml +1 -23
- package/deps/jq/docs/content/index.yml +0 -5
- package/deps/jq/docs/content/manual/{dev/manual.yml → manual.yml} +36 -162
- package/deps/jq/docs/content/manual/v1.3/manual.yml +5 -0
- package/deps/jq/docs/content/manual/v1.4/manual.yml +5 -0
- package/deps/jq/docs/content/manual/v1.5/manual.yml +8 -3
- package/deps/jq/docs/content/manual/v1.6/manual.yml +8 -3
- package/deps/jq/docs/content/manual/v1.7/manual.yml +11 -6
- package/deps/jq/docs/content/tutorial/default.yml +3 -3
- package/deps/jq/docs/manual_schema.yml +3 -0
- package/deps/jq/docs/templates/index.html.j2 +6 -6
- package/deps/jq/docs/templates/manual.html.j2 +1 -11
- package/deps/jq/jq.1.prebuilt +26 -162
- package/deps/jq/jq.spec +1 -1
- package/deps/jq/src/builtin.c +211 -298
- package/deps/jq/src/builtin.jq +7 -13
- package/deps/jq/src/bytecode.h +3 -8
- package/deps/jq/src/compile.c +2 -2
- package/deps/jq/src/decNumber/decBasic.c +1 -1
- package/deps/jq/src/decNumber/decCommon.c +1 -1
- package/deps/jq/src/decNumber/decNumber.c +4 -4
- package/deps/jq/src/execute.c +42 -22
- package/deps/jq/src/jq.h +1 -1
- package/deps/jq/src/jq_test.c +7 -69
- package/deps/jq/src/jv.c +12 -17
- package/deps/jq/src/jv.h +0 -3
- package/deps/jq/src/jv_aux.c +4 -3
- package/deps/jq/src/jv_dtoa.c +1 -1
- package/deps/jq/src/jv_parse.c +0 -2
- package/deps/jq/src/jv_print.c +27 -21
- package/deps/jq/src/jv_unicode.c +0 -18
- package/deps/jq/src/jv_unicode.h +0 -2
- package/deps/jq/src/lexer.c +262 -283
- package/deps/jq/src/lexer.h +2 -3
- package/deps/jq/src/lexer.l +1 -7
- package/deps/jq/src/libm.h +5 -15
- package/deps/jq/src/linker.c +4 -6
- package/deps/jq/src/main.c +252 -179
- package/deps/jq/src/util.c +35 -41
- package/deps/jq/src/util.h +1 -1
- package/deps/jq/tests/jq.test +10 -148
- package/deps/jq/tests/jq_fuzz_load_file.c +0 -1
- package/deps/jq/tests/man.test +8 -26
- package/deps/jq/tests/setup +0 -4
- package/deps/jq/tests/shtest +39 -150
- package/index.d.ts +3 -2
- package/lib/jq.js +2 -2
- package/lib/templateAsync.js +8 -15
- package/package.json +2 -2
- package/src/binding.cc +46 -27
- package/test/santiy-async.test.js +4 -0
- package/deps/jq/sig/v1.7.1/jq-1.7.1.tar.gz.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-1.7.1.zip.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-amd64.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-arm64.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-armel.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-armhf.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-i386.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-mips.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-mips64.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-mips64el.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-mips64r6.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-mips64r6el.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-mipsel.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-mipsr6.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-mipsr6el.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-powerpc.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-ppc64el.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-riscv64.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux-s390x.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-linux64.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-macos-amd64.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-macos-arm64.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-osx-amd64.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-win64.exe.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-windows-amd64.exe.asc +0 -16
- package/deps/jq/sig/v1.7.1/jq-windows-i386.exe.asc +0 -16
- package/deps/jq/sig/v1.7.1/sha256sum.txt +0 -26
- package/deps/jq/tests/uri.test +0 -38
- package/deps/jq/tests/uritest +0 -5
package/deps/jq/COPYING
CHANGED
|
@@ -106,15 +106,6 @@ shall not be used in advertising or otherwise to promote the sale, use
|
|
|
106
106
|
or other dealings in this Software without prior written authorization
|
|
107
107
|
of the copyright holder.
|
|
108
108
|
|
|
109
|
-
--------------------------------------------------------------------------------
|
|
110
|
-
All trademarks and registered trademarks mentioned herein are the property of their respective owners.
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
jv_thread.h is copied from Heimdal's lib/base/heimbase.h and some code
|
|
115
|
-
in jv.c is copied from Heimdal's lib/base/dll.c:
|
|
116
|
-
|
|
117
|
-
|
|
118
109
|
Portions Copyright (c) 2016 Kungliga Tekniska Högskolan
|
|
119
110
|
(Royal Institute of Technology, Stockholm, Sweden).
|
|
120
111
|
All rights reserved.
|
|
@@ -142,3 +133,4 @@ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
|
142
133
|
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
143
134
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
144
135
|
OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
136
|
+
|
package/deps/jq/Makefile.am
CHANGED
|
@@ -19,8 +19,7 @@ LIBJQ_SRC = src/builtin.c src/bytecode.c src/compile.c src/execute.c \
|
|
|
19
19
|
|
|
20
20
|
### C build options
|
|
21
21
|
|
|
22
|
-
AM_CFLAGS = -Wextra -Wall -Wno-unused-parameter -Wno-unused-function
|
|
23
|
-
-Woverlength-strings
|
|
22
|
+
AM_CFLAGS = -Wextra -Wall -Wno-unused-parameter -Wno-unused-function
|
|
24
23
|
|
|
25
24
|
if WIN32
|
|
26
25
|
AM_CFLAGS += -municode
|
|
@@ -33,8 +32,8 @@ ACLOCAL_AMFLAGS = -I config/m4
|
|
|
33
32
|
# While there is some autoconf macro support for lex/flex, it doesn't support
|
|
34
33
|
# header file creation so we'll use good old make
|
|
35
34
|
if MAINTAINER_MODE
|
|
36
|
-
BUILT_SOURCES = src/lexer.h src/lexer.c src/parser.h src/parser.c
|
|
37
|
-
|
|
35
|
+
BUILT_SOURCES = src/lexer.h src/lexer.c src/parser.h src/parser.c \
|
|
36
|
+
src/builtin.inc src/config_opts.inc src/version.h
|
|
38
37
|
src/lexer.c: src/lexer.l
|
|
39
38
|
$(AM_V_LEX) flex -o src/lexer.c --header-file=src/lexer.h $<
|
|
40
39
|
src/lexer.h: src/lexer.c
|
|
@@ -120,12 +119,7 @@ src/main.c: src/version.h src/config_opts.inc
|
|
|
120
119
|
|
|
121
120
|
src/builtin.inc: $(srcdir)/src/builtin.jq
|
|
122
121
|
mkdir -p src
|
|
123
|
-
$(AM_V_GEN)
|
|
124
|
-
sed -e 's/$$/ /' \
|
|
125
|
-
-e 's/\([0123456789]\) /\1, /g' \
|
|
126
|
-
-e 's/ $$//' \
|
|
127
|
-
-e 's/ 0/ 0/g' \
|
|
128
|
-
-e 's/ \([123456789]\)/ 0\1/g' > $@
|
|
122
|
+
$(AM_V_GEN) sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/\\n"/' $(srcdir)/src/builtin.jq > $@
|
|
129
123
|
src/builtin.o: src/builtin.inc
|
|
130
124
|
|
|
131
125
|
CLEANFILES = src/version.h .remake-version-h src/builtin.inc src/config_opts.inc
|
|
@@ -141,7 +135,7 @@ endif
|
|
|
141
135
|
|
|
142
136
|
### Tests (make check)
|
|
143
137
|
|
|
144
|
-
TESTS = tests/mantest tests/jqtest tests/shtest tests/utf8test tests/base64test
|
|
138
|
+
TESTS = tests/mantest tests/jqtest tests/shtest tests/utf8test tests/base64test
|
|
145
139
|
if !WIN32
|
|
146
140
|
TESTS += tests/optionaltest
|
|
147
141
|
endif
|
|
@@ -160,11 +154,11 @@ check_DATA = tests/man.test
|
|
|
160
154
|
# Making changes to the manpage without having the python deps means your
|
|
161
155
|
# tests won't run. If you aren't making changes to the examples, you probably
|
|
162
156
|
# don't care. But if you are, then you need to run the tests anyway.
|
|
163
|
-
tests/man.test tests/manonig.test: $(srcdir)/docs/content/manual/
|
|
157
|
+
tests/man.test tests/manonig.test: $(srcdir)/docs/content/manual/manual.yml
|
|
164
158
|
if ENABLE_DOCS
|
|
165
159
|
$(AM_V_GEN) ( cd ${abs_srcdir}/docs && \
|
|
166
|
-
|
|
167
|
-
|
|
160
|
+
$(PIPENV) run python validate_manual_schema.py content/manual/manual.yml && \
|
|
161
|
+
$(PIPENV) run python build_mantests.py )
|
|
168
162
|
else
|
|
169
163
|
@echo Changes to the manual.yml require docs to be enabled to update the manual test.
|
|
170
164
|
@echo As a result, the manual test is out of date.
|
|
@@ -176,11 +170,11 @@ endif
|
|
|
176
170
|
# manpage, then we'll end up using the cached version. Otherwise, we need to
|
|
177
171
|
# rebuild it.
|
|
178
172
|
man_MANS = jq.1
|
|
179
|
-
jq.1.prebuilt: $(srcdir)/docs/content/manual/
|
|
173
|
+
jq.1.prebuilt: $(srcdir)/docs/content/manual/manual.yml
|
|
180
174
|
if ENABLE_DOCS
|
|
181
175
|
$(AM_V_GEN) ( cd ${abs_srcdir}/docs && \
|
|
182
|
-
|
|
183
|
-
|
|
176
|
+
$(PIPENV) run python validate_manual_schema.py content/manual/manual.yml && \
|
|
177
|
+
$(PIPENV) run python build_manpage.py ) > $@
|
|
184
178
|
else
|
|
185
179
|
@echo Changes to the manual.yml require docs to be enabled to update the manpage.
|
|
186
180
|
@echo As a result, the manpage is out of date.
|
|
@@ -218,6 +212,7 @@ EXTRA_DIST = $(DOC_FILES) $(man_MANS) $(TESTS) $(TEST_LOG_COMPILER) \
|
|
|
218
212
|
jq.1.prebuilt jq.spec src/lexer.c src/lexer.h src/parser.c \
|
|
219
213
|
src/parser.h src/version.h src/builtin.jq scripts/version \
|
|
220
214
|
libjq.pc \
|
|
215
|
+
tests/base64.test tests/jq-f-test.sh tests/jq.test \
|
|
221
216
|
tests/modules/a.jq tests/modules/b/b.jq tests/modules/c/c.jq \
|
|
222
217
|
tests/modules/c/d.jq tests/modules/data.json \
|
|
223
218
|
tests/modules/home1/.jq tests/modules/home2/.jq/g.jq \
|
|
@@ -231,7 +226,7 @@ EXTRA_DIST = $(DOC_FILES) $(man_MANS) $(TESTS) $(TEST_LOG_COMPILER) \
|
|
|
231
226
|
tests/onig.supp tests/local.supp \
|
|
232
227
|
tests/setup tests/torture/input0.json \
|
|
233
228
|
tests/optional.test tests/man.test tests/manonig.test \
|
|
234
|
-
tests/jq.test tests/onig.test tests/base64.test
|
|
229
|
+
tests/jq.test tests/onig.test tests/base64.test \
|
|
235
230
|
tests/utf8-truncate.jq tests/jq-f-test.sh \
|
|
236
231
|
tests/no-main-program.jq tests/yes-main-program.jq
|
|
237
232
|
|
package/deps/jq/NEWS.md
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
- Remove `-dirty` version suffix for windows release build. @itchyny #2888
|
|
44
44
|
- Make use of `od` in tests more compatible. @nabijaczleweli @emanuele6 @nicowilliams #2922
|
|
45
45
|
- Add dependabot. @yeikel #2889
|
|
46
|
-
- Extend fuzzing setup to fuzz parser and JSON serializer. @DavidKorczynski @emanuele6 #2952
|
|
46
|
+
- Extend fuzzing setup to fuzz parser and and JSON serializer. @DavidKorczynski @emanuele6 #2952
|
|
47
47
|
- Keep releasing executables with legacy names. @itchyny #2951
|
|
48
48
|
|
|
49
49
|
# 1.7
|
|
@@ -262,7 +262,7 @@ Full commit log can be found at <https://github.com/jqlang/jq/compare/jq-1.6...j
|
|
|
262
262
|
- Fix `contains/1` to handle strings with NUL. @nicowilliams 61cd6db
|
|
263
263
|
- Fix `stderr/0` to output raw text without any decoration. @itchyny #2751
|
|
264
264
|
- Fix `nth/2` to emit empty on index out of range. @itchyny #2674
|
|
265
|
-
- Fix `implode` to not assert and instead replace invalid
|
|
265
|
+
- Fix `implode` to not assert and instead replace invalid unicode codepoints. @wader #2646
|
|
266
266
|
- Fix `indices/1` and `rindex/1` in case of overlapping matches in strings. @emanuele6 #2718
|
|
267
267
|
- Fix `sub/3` to resolve issues involving global search-and-replace (gsub) operations. @pkoppstein #2641
|
|
268
268
|
- Fix `significand/0`, `gamma/0` and `drem/2` to be available on macOS. @itchyny #2756 #2775
|
package/deps/jq/README.md
CHANGED
|
@@ -17,17 +17,6 @@ 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
|
-
|
|
21
|
-
#### Run with Docker
|
|
22
|
-
##### Example: Extracting the version from a `package.json` file
|
|
23
|
-
```bash
|
|
24
|
-
docker run --rm -i ghcr.io/jqlang/jq:latest < package.json '.version'
|
|
25
|
-
```
|
|
26
|
-
##### Example: Extracting the version from a `package.json` file with a mounted volume
|
|
27
|
-
```bash
|
|
28
|
-
docker run --rm -i -v "$PWD:$PWD" -w "$PWD" ghcr.io/jqlang/jq:latest '.version' package.json
|
|
29
|
-
```
|
|
30
|
-
|
|
31
20
|
### Building from source
|
|
32
21
|
|
|
33
22
|
#### Dependencies
|
|
@@ -40,10 +29,9 @@ docker run --rm -i -v "$PWD:$PWD" -w "$PWD" ghcr.io/jqlang/jq:latest '.version'
|
|
|
40
29
|
#### Instructions
|
|
41
30
|
|
|
42
31
|
```console
|
|
43
|
-
git submodule update --init
|
|
44
|
-
autoreconf -i
|
|
32
|
+
git submodule update --init # if building from git to get oniguruma
|
|
33
|
+
autoreconf -i # if building from git
|
|
45
34
|
./configure --with-oniguruma=builtin
|
|
46
|
-
make clean # if upgrading from a version previously built from source
|
|
47
35
|
make -j8
|
|
48
36
|
make check
|
|
49
37
|
sudo make install
|
|
@@ -69,7 +57,4 @@ For details on cross-compilation, check out the [GitHub Actions file](.github/wo
|
|
|
69
57
|
|
|
70
58
|
## License
|
|
71
59
|
|
|
72
|
-
`jq` is released under the [MIT License](COPYING).
|
|
73
|
-
licensed under the [Creative Commons CC BY 3.0](COPYING).
|
|
74
|
-
`jq` uses parts of the open source C library "decNumber", which is distributed
|
|
75
|
-
under [ICU License](COPYING)
|
|
60
|
+
`jq` is released under the [MIT License](COPYING).
|
package/deps/jq/configure.ac
CHANGED
|
@@ -201,6 +201,7 @@ AC_CHECK_MATH_FUNC(lgamma_r)
|
|
|
201
201
|
AC_CHECK_MATH_FUNC(nearbyint)
|
|
202
202
|
AC_CHECK_MATH_FUNC(nextafter)
|
|
203
203
|
AC_CHECK_MATH_FUNC(nexttoward)
|
|
204
|
+
AC_CHECK_MATH_FUNC(pow10) # Not available with glibc version >= 2.27
|
|
204
205
|
AC_CHECK_MATH_FUNC(pow)
|
|
205
206
|
AC_CHECK_MATH_FUNC(remainder)
|
|
206
207
|
AC_CHECK_MATH_FUNC(rint)
|
|
@@ -40,12 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
"jinja2": {
|
|
42
42
|
"hashes": [
|
|
43
|
-
"sha256:
|
|
44
|
-
"sha256:
|
|
43
|
+
"sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852",
|
|
44
|
+
"sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"
|
|
45
45
|
],
|
|
46
46
|
"index": "pypi",
|
|
47
|
-
"
|
|
48
|
-
"version": "==3.1.5"
|
|
47
|
+
"version": "==3.1.2"
|
|
49
48
|
},
|
|
50
49
|
"jsonschema": {
|
|
51
50
|
"hashes": [
|
|
@@ -171,70 +170,59 @@
|
|
|
171
170
|
},
|
|
172
171
|
"markupsafe": {
|
|
173
172
|
"hashes": [
|
|
174
|
-
"sha256:
|
|
175
|
-
"sha256:
|
|
176
|
-
"sha256:
|
|
177
|
-
"sha256:
|
|
178
|
-
"sha256:
|
|
179
|
-
"sha256:
|
|
180
|
-
"sha256:
|
|
181
|
-
"sha256:
|
|
182
|
-
"sha256:
|
|
183
|
-
"sha256:
|
|
184
|
-
"sha256:
|
|
185
|
-
"sha256:
|
|
186
|
-
"sha256:
|
|
187
|
-
"sha256:
|
|
188
|
-
"sha256:
|
|
189
|
-
"sha256:
|
|
190
|
-
"sha256:
|
|
191
|
-
"sha256:
|
|
192
|
-
"sha256:
|
|
193
|
-
"sha256:
|
|
194
|
-
"sha256:
|
|
195
|
-
"sha256:
|
|
196
|
-
"sha256:
|
|
197
|
-
"sha256:
|
|
198
|
-
"sha256:
|
|
199
|
-
"sha256:
|
|
200
|
-
"sha256:
|
|
201
|
-
"sha256:
|
|
202
|
-
"sha256:
|
|
203
|
-
"sha256:
|
|
204
|
-
"sha256:
|
|
205
|
-
"sha256:
|
|
206
|
-
"sha256:
|
|
207
|
-
"sha256:
|
|
208
|
-
"sha256:
|
|
209
|
-
"sha256:
|
|
210
|
-
"sha256:
|
|
211
|
-
"sha256:
|
|
212
|
-
"sha256:
|
|
213
|
-
"sha256:
|
|
214
|
-
"sha256:
|
|
215
|
-
"sha256:
|
|
216
|
-
"sha256:
|
|
217
|
-
"sha256:
|
|
218
|
-
"sha256:
|
|
219
|
-
"sha256:
|
|
220
|
-
"sha256:
|
|
221
|
-
"sha256:
|
|
222
|
-
"sha256:
|
|
223
|
-
"sha256:
|
|
224
|
-
"sha256:d8213e09c917a951de9d09ecee036d5c7d36cb6cb7dbaece4c71a60d79fb9798",
|
|
225
|
-
"sha256:e07c3764494e3776c602c1e78e298937c3315ccc9043ead7e685b7f2b8d47b3c",
|
|
226
|
-
"sha256:e17c96c14e19278594aa4841ec148115f9c7615a47382ecb6b82bd8fea3ab0c8",
|
|
227
|
-
"sha256:e444a31f8db13eb18ada366ab3cf45fd4b31e4db1236a4448f68778c1d1a5a2f",
|
|
228
|
-
"sha256:e6a2a455bd412959b57a172ce6328d2dd1f01cb2135efda2e4576e8a23fa3b0f",
|
|
229
|
-
"sha256:eaa0a10b7f72326f1372a713e73c3f739b524b3af41feb43e4921cb529f5929a",
|
|
230
|
-
"sha256:eb7972a85c54febfb25b5c4b4f3af4dcc731994c7da0d8a0b4a6eb0640e1d178",
|
|
231
|
-
"sha256:ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0",
|
|
232
|
-
"sha256:f3818cb119498c0678015754eba762e0d61e5b52d34c8b13d770f0719f7b1d79",
|
|
233
|
-
"sha256:f8b3d067f2e40fe93e1ccdd6b2e1d16c43140e76f02fb1319a05cf2b79d99430",
|
|
234
|
-
"sha256:fcabf5ff6eea076f859677f5f0b6b5c1a51e70a376b0579e0eadef8db48c6b50"
|
|
173
|
+
"sha256:05fb21170423db021895e1ea1e1f3ab3adb85d1c2333cbc2310f2a26bc77272e",
|
|
174
|
+
"sha256:0a4e4a1aff6c7ac4cd55792abf96c915634c2b97e3cc1c7129578aa68ebd754e",
|
|
175
|
+
"sha256:10bbfe99883db80bdbaff2dcf681dfc6533a614f700da1287707e8a5d78a8431",
|
|
176
|
+
"sha256:134da1eca9ec0ae528110ccc9e48041e0828d79f24121a1a146161103c76e686",
|
|
177
|
+
"sha256:1577735524cdad32f9f694208aa75e422adba74f1baee7551620e43a3141f559",
|
|
178
|
+
"sha256:1b40069d487e7edb2676d3fbdb2b0829ffa2cd63a2ec26c4938b2d34391b4ecc",
|
|
179
|
+
"sha256:282c2cb35b5b673bbcadb33a585408104df04f14b2d9b01d4c345a3b92861c2c",
|
|
180
|
+
"sha256:2c1b19b3aaacc6e57b7e25710ff571c24d6c3613a45e905b1fde04d691b98ee0",
|
|
181
|
+
"sha256:2ef12179d3a291be237280175b542c07a36e7f60718296278d8593d21ca937d4",
|
|
182
|
+
"sha256:338ae27d6b8745585f87218a3f23f1512dbf52c26c28e322dbe54bcede54ccb9",
|
|
183
|
+
"sha256:3c0fae6c3be832a0a0473ac912810b2877c8cb9d76ca48de1ed31e1c68386575",
|
|
184
|
+
"sha256:3fd4abcb888d15a94f32b75d8fd18ee162ca0c064f35b11134be77050296d6ba",
|
|
185
|
+
"sha256:42de32b22b6b804f42c5d98be4f7e5e977ecdd9ee9b660fda1a3edf03b11792d",
|
|
186
|
+
"sha256:504b320cd4b7eff6f968eddf81127112db685e81f7e36e75f9f84f0df46041c3",
|
|
187
|
+
"sha256:525808b8019e36eb524b8c68acdd63a37e75714eac50e988180b169d64480a00",
|
|
188
|
+
"sha256:56d9f2ecac662ca1611d183feb03a3fa4406469dafe241673d521dd5ae92a155",
|
|
189
|
+
"sha256:5bbe06f8eeafd38e5d0a4894ffec89378b6c6a625ff57e3028921f8ff59318ac",
|
|
190
|
+
"sha256:65c1a9bcdadc6c28eecee2c119465aebff8f7a584dd719facdd9e825ec61ab52",
|
|
191
|
+
"sha256:68e78619a61ecf91e76aa3e6e8e33fc4894a2bebe93410754bd28fce0a8a4f9f",
|
|
192
|
+
"sha256:69c0f17e9f5a7afdf2cc9fb2d1ce6aabdb3bafb7f38017c0b77862bcec2bbad8",
|
|
193
|
+
"sha256:6b2b56950d93e41f33b4223ead100ea0fe11f8e6ee5f641eb753ce4b77a7042b",
|
|
194
|
+
"sha256:787003c0ddb00500e49a10f2844fac87aa6ce977b90b0feaaf9de23c22508b24",
|
|
195
|
+
"sha256:7ef3cb2ebbf91e330e3bb937efada0edd9003683db6b57bb108c4001f37a02ea",
|
|
196
|
+
"sha256:8023faf4e01efadfa183e863fefde0046de576c6f14659e8782065bcece22198",
|
|
197
|
+
"sha256:8758846a7e80910096950b67071243da3e5a20ed2546e6392603c096778d48e0",
|
|
198
|
+
"sha256:8afafd99945ead6e075b973fefa56379c5b5c53fd8937dad92c662da5d8fd5ee",
|
|
199
|
+
"sha256:8c41976a29d078bb235fea9b2ecd3da465df42a562910f9022f1a03107bd02be",
|
|
200
|
+
"sha256:8e254ae696c88d98da6555f5ace2279cf7cd5b3f52be2b5cf97feafe883b58d2",
|
|
201
|
+
"sha256:9402b03f1a1b4dc4c19845e5c749e3ab82d5078d16a2a4c2cd2df62d57bb0707",
|
|
202
|
+
"sha256:962f82a3086483f5e5f64dbad880d31038b698494799b097bc59c2edf392fce6",
|
|
203
|
+
"sha256:9dcdfd0eaf283af041973bff14a2e143b8bd64e069f4c383416ecd79a81aab58",
|
|
204
|
+
"sha256:aa7bd130efab1c280bed0f45501b7c8795f9fdbeb02e965371bbef3523627779",
|
|
205
|
+
"sha256:ab4a0df41e7c16a1392727727e7998a467472d0ad65f3ad5e6e765015df08636",
|
|
206
|
+
"sha256:ad9e82fb8f09ade1c3e1b996a6337afac2b8b9e365f926f5a61aacc71adc5b3c",
|
|
207
|
+
"sha256:af598ed32d6ae86f1b747b82783958b1a4ab8f617b06fe68795c7f026abbdcad",
|
|
208
|
+
"sha256:b076b6226fb84157e3f7c971a47ff3a679d837cf338547532ab866c57930dbee",
|
|
209
|
+
"sha256:b7ff0f54cb4ff66dd38bebd335a38e2c22c41a8ee45aa608efc890ac3e3931bc",
|
|
210
|
+
"sha256:bfce63a9e7834b12b87c64d6b155fdd9b3b96191b6bd334bf37db7ff1fe457f2",
|
|
211
|
+
"sha256:c011a4149cfbcf9f03994ec2edffcb8b1dc2d2aede7ca243746df97a5d41ce48",
|
|
212
|
+
"sha256:c9c804664ebe8f83a211cace637506669e7890fec1b4195b505c214e50dd4eb7",
|
|
213
|
+
"sha256:ca379055a47383d02a5400cb0d110cef0a776fc644cda797db0c5696cfd7e18e",
|
|
214
|
+
"sha256:cb0932dc158471523c9637e807d9bfb93e06a95cbf010f1a38b98623b929ef2b",
|
|
215
|
+
"sha256:cd0f502fe016460680cd20aaa5a76d241d6f35a1c3350c474bac1273803893fa",
|
|
216
|
+
"sha256:ceb01949af7121f9fc39f7d27f91be8546f3fb112c608bc4029aef0bab86a2a5",
|
|
217
|
+
"sha256:d080e0a5eb2529460b30190fcfcc4199bd7f827663f858a226a81bc27beaa97e",
|
|
218
|
+
"sha256:dd15ff04ffd7e05ffcb7fe79f1b98041b8ea30ae9234aed2a9168b5797c3effb",
|
|
219
|
+
"sha256:df0be2b576a7abbf737b1575f048c23fb1d769f267ec4358296f31c2479db8f9",
|
|
220
|
+
"sha256:e09031c87a1e51556fdcb46e5bd4f59dfb743061cf93c4d6831bf894f125eb57",
|
|
221
|
+
"sha256:e4dd52d80b8c83fdce44e12478ad2e85c64ea965e75d66dbeafb0a3e77308fcc",
|
|
222
|
+
"sha256:fec21693218efe39aa7f8599346e90c705afa52c5b31ae019b2e57e8f6542bb2"
|
|
235
223
|
],
|
|
236
|
-
"markers": "python_version >= '3.
|
|
237
|
-
"version": "==
|
|
224
|
+
"markers": "python_version >= '3.7'",
|
|
225
|
+
"version": "==2.1.3"
|
|
238
226
|
},
|
|
239
227
|
"pkgutil-resolve-name": {
|
|
240
228
|
"hashes": [
|
|
@@ -403,12 +391,11 @@
|
|
|
403
391
|
},
|
|
404
392
|
"zipp": {
|
|
405
393
|
"hashes": [
|
|
406
|
-
"sha256:
|
|
407
|
-
"sha256:
|
|
394
|
+
"sha256:679e51dd4403591b2d6838a48de3d283f3d188412a9782faadf845f298736ba0",
|
|
395
|
+
"sha256:ebc15946aa78bd63458992fc81ec3b6f7b1e92d51c35e6de1c3804e73b799147"
|
|
408
396
|
],
|
|
409
|
-
"
|
|
410
|
-
"
|
|
411
|
-
"version": "==3.19.1"
|
|
397
|
+
"markers": "python_version < '3.10'",
|
|
398
|
+
"version": "==3.16.2"
|
|
412
399
|
}
|
|
413
400
|
},
|
|
414
401
|
"develop": {}
|
package/deps/jq/docs/README.md
CHANGED
|
@@ -16,7 +16,7 @@ you have `pipenv` installed, you can install the dependencies by running
|
|
|
16
16
|
Also, you may need to run `virtualenv -p /usr/bin/python3 venv/` and
|
|
17
17
|
then `source venv/bin/activate`, and only then `pipenv sync`.
|
|
18
18
|
|
|
19
|
-
Once this is done, rerun `./configure
|
|
19
|
+
Once this is done, rerun `./configure` in the jq root directory and then
|
|
20
20
|
the `Makefile` will be able to generate the jq manpage. You can just run
|
|
21
21
|
`make jq.1` to build the manpage manually, and `make tests/man.test` to
|
|
22
22
|
update the manual tests.
|
|
@@ -209,7 +209,7 @@ def dedent_body(body):
|
|
|
209
209
|
|
|
210
210
|
def convert_manual_to_markdown():
|
|
211
211
|
f = StringIO()
|
|
212
|
-
manual = load_yml_file("content/manual/
|
|
212
|
+
manual = load_yml_file("content/manual/manual.yml")
|
|
213
213
|
f.write(manual.get('manpage_intro', '\n'))
|
|
214
214
|
f.write(dedent_body(manual.get('body', '\n')))
|
|
215
215
|
for section in manual.get('sections', []):
|
|
@@ -5,7 +5,7 @@ import re
|
|
|
5
5
|
regex_program_pattern = re.compile(
|
|
6
6
|
r'\b(?:test|match|capture|scan|split|splits|sub|gsub)\s*\(')
|
|
7
7
|
|
|
8
|
-
with open('content/manual/
|
|
8
|
+
with open('content/manual/manual.yml') as source, \
|
|
9
9
|
open('../tests/man.test', 'w') as man, \
|
|
10
10
|
open('../tests/manonig.test', 'w') as manonig:
|
|
11
11
|
manual = yaml.safe_load(source)
|
|
@@ -32,13 +32,6 @@ body:
|
|
|
32
32
|
* jq is in the official [Arch](https://archlinux.org/packages/?q=jq) repository.
|
|
33
33
|
Install using `sudo pacman -S jq`.
|
|
34
34
|
|
|
35
|
-
* jq 1.7.1 binaries for
|
|
36
|
-
[AMD64](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-amd64)
|
|
37
|
-
or
|
|
38
|
-
[ARM64](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-arm64)
|
|
39
|
-
or
|
|
40
|
-
[i386](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-i386).
|
|
41
|
-
|
|
42
35
|
* jq 1.7 binaries for
|
|
43
36
|
[AMD64](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-linux-amd64)
|
|
44
37
|
or
|
|
@@ -74,11 +67,6 @@ body:
|
|
|
74
67
|
|
|
75
68
|
* Use [Fink](https://finkproject.org) to install jq with `fink install jq`.
|
|
76
69
|
|
|
77
|
-
* jq 1.7.1 binaries for
|
|
78
|
-
[AMD64](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-macos-amd64)
|
|
79
|
-
or
|
|
80
|
-
[ARM64](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-macos-arm64).
|
|
81
|
-
|
|
82
70
|
* jq 1.7 binaries for
|
|
83
71
|
[AMD64](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-macos-amd64)
|
|
84
72
|
or
|
|
@@ -128,12 +116,7 @@ body:
|
|
|
128
116
|
* Use [scoop](https://scoop.sh/) to install jq with `scoop install jq`.
|
|
129
117
|
|
|
130
118
|
* Use [Chocolatey NuGet](https://chocolatey.org/) to install jq with
|
|
131
|
-
`
|
|
132
|
-
|
|
133
|
-
* jq 1.7.1 executables for
|
|
134
|
-
[AMD64](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-windows-amd64.exe)
|
|
135
|
-
or
|
|
136
|
-
[i386](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-windows-i386.exe).
|
|
119
|
+
`chocolatey install jq`.
|
|
137
120
|
|
|
138
121
|
* jq 1.7 executables for
|
|
139
122
|
[AMD64](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-windows-amd64.exe)
|
|
@@ -165,8 +148,6 @@ body:
|
|
|
165
148
|
SHA-256 checksums are provided for all release and pre-release binaries.
|
|
166
149
|
They can be found under
|
|
167
150
|
[sig/v1.x/sha256sum.txt](https://github.com/jqlang/jq/tree/master/sig).
|
|
168
|
-
The checksums for jq 1.7.1 are in
|
|
169
|
-
[sig/v1.7.1/sha256sum.txt](https://raw.githubusercontent.com/jqlang/jq/master/sig/v1.7.1/sha256sum.txt).
|
|
170
151
|
The checksums for jq 1.7 are in
|
|
171
152
|
[sig/v1.7/sha256sum.txt](https://raw.githubusercontent.com/jqlang/jq/master/sig/v1.7/sha256sum.txt).
|
|
172
153
|
The checksums for jq 1.6 are in
|
|
@@ -177,8 +158,6 @@ body:
|
|
|
177
158
|
Additionally, all release artifacts are signed by a jq release key. We have two release keys, [one for 1.6 and older releases](https://raw.githubusercontent.com/jqlang/jq/master/sig/jq-release-old.key), and [one for 1.7 and newer releases](https://raw.githubusercontent.com/jqlang/jq/master/sig/jq-release-new.key).
|
|
178
159
|
Signatures can be found under
|
|
179
160
|
[sig/v1.x/\*.asc](https://github.com/jqlang/jq/tree/master/sig).
|
|
180
|
-
The signatures for jq 1.7.1 are in
|
|
181
|
-
[sig/v1.7.1/\*.asc](https://github.com/jqlang/jq/tree/master/sig/v1.7.1).
|
|
182
161
|
The signatures for jq 1.7 are in
|
|
183
162
|
[sig/v1.7/\*.asc](https://github.com/jqlang/jq/tree/master/sig/v1.7).
|
|
184
163
|
The signatures for jq 1.6 are in
|
|
@@ -190,7 +169,6 @@ body:
|
|
|
190
169
|
|
|
191
170
|
### From source on Linux, macOS, Cygwin, and other POSIX-like operating systems
|
|
192
171
|
|
|
193
|
-
* [Source tarball for jq 1.7.1](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-1.7.1.tar.gz)
|
|
194
172
|
* [Source tarball for jq 1.7](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-1.7.tar.gz)
|
|
195
173
|
* [Source tarball for jq 1.6](https://github.com/jqlang/jq/releases/download/jq-1.6/jq-1.6.tar.gz)
|
|
196
174
|
* [Source tarball for jq 1.5](https://github.com/jqlang/jq/releases/download/jq-1.5/jq-1.5.tar.gz)
|
|
@@ -32,11 +32,6 @@ tail: |
|
|
|
32
32
|
on [Libera.Chat](https://libera.chat/). For more interactive discussions, feel free to join our [Discord server](https://discord.gg/yg6yjNmgAC).
|
|
33
33
|
|
|
34
34
|
news:
|
|
35
|
-
- date: 13 December 2023
|
|
36
|
-
body: |
|
|
37
|
-
jq 1.7.1 released. Security (CVE-2023-50246, CVE-2023-50268) and bug fixes.
|
|
38
|
-
See [release notes](https://github.com/jqlang/jq/releases/tag/jq-1.7.1) for details.
|
|
39
|
-
|
|
40
35
|
- date: 7 September 2023
|
|
41
36
|
body: |
|
|
42
37
|
After a five-year hiatus, we've returned with a revitalized [GitHub organization](https://github.com/jqlang)
|