You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes from upstream:
8fcc90e implement abs function
cbbd4bb fix default module paths assuming gojq is located in a bin directory
45d4c5b change behavior of walk with multiple outputs
846cf99 fix stderr to output strings in raw format
c352d50 change zero division to produce an error when dividend is zero
d579009 fix empty string repeating with the maximum integer
d4de65c fix string multiplication by zero to emit empty string
04b48fd remove deprecated leaf_paths function
c882861 bump up version to 0.12.13
c310d5d update CHANGELOG.md for v0.12.13
8fb5cc3 update dependencies
fb00b66 improve error message of indices, setpath, delpaths functions
error: expected an object but got: array ([{"frames":[{"flags":{"co ...])
192
+
error: setpath(["headers","a"]; 1) cannot be applied to {"footers":[],"frames":[{" ...: expected an object but got: array ([{"frames":[{"flags":{"co ...])
193
193
mp3> .headers[0] = 1
194
194
{
195
195
"footers": [],
@@ -853,13 +853,13 @@ mp3> .headers[0] |= empty
853
853
"headers": []
854
854
}
855
855
mp3> .headers | setpath(["a"]; 1)
856
-
error: expected an object but got: array ([{"frames":[{"flags":{"co ...])
856
+
error: setpath(["a"]; 1) cannot be applied to [{"frames":[{"flags":{"com ...: expected an object but got: array ([{"frames":[{"flags":{"co ...])
857
857
mp3> .headers | setpath([0]; 1)
858
858
[
859
859
1
860
860
]
861
861
mp3> .headers | delpaths([["a"]])
862
-
error: expected an object but got: array ([{"frames":[{"flags":{"co ...])
862
+
error: delpaths([["a"]]) cannot be applied to [{"frames":[{"flags":{"com ...: expected an object but got: array ([{"frames":[{"flags":{"co ...])
error: expected an object but got: string ("\u0000\u0000\u0000\u0000 ...")
110
+
error: setpath(["headers",0,"padding","a"]; 1) cannot be applied to {"footers":[],"frames":[{" ...: expected an object but got: string ("\u0000\u0000\u0000\u0000 ...")
111
111
mp3> .headers[0].padding[0] = 1
112
-
error: expected an array but got: string ("\u0000\u0000\u0000\u0000 ...")
112
+
error: setpath(["headers",0,"padding",0]; 1) cannot be applied to {"footers":[],"frames":[{" ...: expected an array but got: string ("\u0000\u0000\u0000\u0000 ...")
113
113
mp3> .headers[0].padding.a |= empty
114
114
error: expected an object with key "a" but got: string
115
115
mp3> .headers[0].padding[0] |= empty
116
-
error: expected an array but got: string ("\u0000\u0000\u0000\u0000 ...")
116
+
error: delpaths([["headers",0,"padding",0]]) cannot be applied to {"footers":[],"frames":[{" ...: expected an array but got: string ("\u0000\u0000\u0000\u0000 ...")
117
117
mp3> .headers[0].padding | setpath(["a"]; 1)
118
-
error: expected an object but got: string ("\u0000\u0000\u0000\u0000 ...")
118
+
error: setpath(["a"]; 1) cannot be applied to "\u0000\u0000\u0000\u0000\ ...: expected an object but got: string ("\u0000\u0000\u0000\u0000 ...")
119
119
mp3> .headers[0].padding | setpath([0]; 1)
120
-
error: expected an array but got: string ("\u0000\u0000\u0000\u0000 ...")
120
+
error: setpath([0]; 1) cannot be applied to "\u0000\u0000\u0000\u0000\ ...: expected an array but got: string ("\u0000\u0000\u0000\u0000 ...")
121
121
mp3> .headers[0].padding | delpaths([["a"]])
122
-
error: expected an object but got: string ("\u0000\u0000\u0000\u0000 ...")
122
+
error: delpaths([["a"]]) cannot be applied to "\u0000\u0000\u0000\u0000\ ...: expected an object but got: string ("\u0000\u0000\u0000\u0000 ...")
123
123
mp3> .headers[0].padding | delpaths([[0]])
124
-
error: expected an array but got: string ("\u0000\u0000\u0000\u0000 ...")
124
+
error: delpaths([[0]]) cannot be applied to "\u0000\u0000\u0000\u0000\ ...: expected an array but got: string ("\u0000\u0000\u0000\u0000 ...")
error: expected an array but got: object ({"experimental_indicator" ...})
480
+
error: setpath(["headers",0,"header","fl ...]; 1) cannot be applied to {"footers":[],"frames":[{" ...: expected an array but got: object ({"experimental_indicator" ...})
0 commit comments