Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [1.7.1](https://github.com/posthtml/posthtml-expressions/compare/v1.7.0...v1.7.1) (2020-12-02)


### Bug Fixes

* throw if strict mode ([2c0c0d1](https://github.com/posthtml/posthtml-expressions/commit/2c0c0d1a181b280ba72f76c6530a1c626ab987e6))



# [1.7.0](https://github.com/posthtml/posthtml-expressions/compare/v1.6.2...v1.7.0) (2020-11-24)


Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ function walk (opts, nodes) {
}

// handle additional syntax errors
if (typeof target !== 'object') {
if (typeof target !== 'object' && opts.strictMode) {
throw new Error('You must provide an array or object to loop through')
}

Expand Down
Loading