norn-cli 1.3.5 → 1.3.6
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/CHANGELOG.md +7 -0
- package/dist/cli.js +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the "Norn" extension will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.3.6] - 2026-02-09
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **Empty Array and Object Assertions**: Support for asserting against empty literals
|
|
9
|
+
- `assert $1.body.items == []` now works for empty array comparison
|
|
10
|
+
- `assert $1.body.data == {}` now works for empty object comparison
|
|
11
|
+
|
|
5
12
|
## [1.3.5] - 2026-02-09
|
|
6
13
|
|
|
7
14
|
### Fixed
|
package/dist/cli.js
CHANGED
|
@@ -18961,6 +18961,12 @@ function resolveValue(expr, responses, variables, getValueByPath2, responseIndex
|
|
|
18961
18961
|
if (trimmed.toLowerCase() === "null") {
|
|
18962
18962
|
return { value: null };
|
|
18963
18963
|
}
|
|
18964
|
+
if (trimmed === "[]") {
|
|
18965
|
+
return { value: [] };
|
|
18966
|
+
}
|
|
18967
|
+
if (trimmed === "{}") {
|
|
18968
|
+
return { value: {} };
|
|
18969
|
+
}
|
|
18964
18970
|
return { value: void 0, error: `Cannot resolve expression: ${trimmed}` };
|
|
18965
18971
|
}
|
|
18966
18972
|
function getNestedValue2(obj, path5) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "norn-cli",
|
|
3
3
|
"displayName": "Norn - REST Client",
|
|
4
4
|
"description": "A powerful REST client for making HTTP requests with sequences, variables, scripts, and cookie support",
|
|
5
|
-
"version": "1.3.
|
|
5
|
+
"version": "1.3.6",
|
|
6
6
|
"publisher": "Norn-PeterKrustanov",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Peter Krastanov"
|