Skip to content
Open
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
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,16 @@ Handlebars Parser

The official Handlebars.js parser. This package contains the definition for
for the Handlebars language AST, and the parser for parsing into that AST.


Notes
-----

If consumers of this package or their dependants get following error message:

```
require() of ES Module .../.pnpm/@handlebars+parser@file+..+handlebars-parser/node_modules/@handlebars/parser/dist/cjs/index.js not supported.
Instead change the require of index.js in null to a dynamic import() which is available in all CommonJS modules.
```

then the solution is to bump [node >= 20.19](https://nodejs.org/en/blog/release/v20.19.0/).
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": "^20.18.0"
"node": "^20.19.0"
},
"publishConfig": {
"access": "public",
Expand Down