Skip to content

Commit

Permalink
Merge pull request #17 from metalsmith/feature/release-1.2.0-proposal
Browse files Browse the repository at this point in the history
feat: Node8-compatible release, update Handlebars 4.7.7, update changelog (#16)
  • Loading branch information
webketje committed Jan 3, 2022
2 parents 4a75f4b + 4a3e5c7 commit baea3be
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ language: node_js
sudo: false

node_js:
- "8"
- "9"
- "10"
- "11"
- "12"
- 8
- 10
- 12
- 16

notifications:
email: false
Expand Down
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v1.2.0: 2021-12-16

- Updated to Handlebars 4.7.7
- Documented render options in readme

## v1.1.0: 2018-01-28

- Updated Boilerplate
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ handlebars.render('<h1>Hello {{name}}!</h1>', {}, locals).body
//=> '<h1>Hello World!</h1>'
```

In addition to the standard [Handlebars compile options](https://handlebarsjs.com/api-reference/compilation.html#handlebars-compile-template-options), the render method can be passed objects for `partials`, `helpers` and `decorators` (deprecated).

## License

MIT
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"index.js"
],
"dependencies": {
"handlebars": "^4.0.1"
"handlebars": "^4.7.7"
},
"devDependencies": {
"test-jstransformer": "^1.0.0",
"xo": "*"
"test-jstransformer": "^1.1.0",
"xo": "^0.25.4"
},
"scripts": {
"test": "test-jstransformer",
Expand Down

0 comments on commit baea3be

Please sign in to comment.