Skip to content

Commit 82aad83

Browse files
committed
fix: cannot find module nunjucks/src/object, introduced in v3.6.0
1 parent 4185ada commit 82aad83

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change log
22

3-
## 3.6.0 (2024-03-08)
3+
## 3.6.1 (2024-03-08)
4+
5+
- fix: cannot find module 'nunjucks/src/object', introduced in v3.6.0
6+
7+
## 3.6.0 (2024-03-08) DEPRECATED
48

59
- feat: resolve resource files in an attribute containing the JSON value using the `require()` function,\
610
source template:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-bundler-webpack-plugin",
3-
"version": "3.6.0",
3+
"version": "3.6.1",
44
"description": "HTML bundler plugin for webpack handles a template as an entry point, extracts CSS and JS from their sources referenced in HTML, supports template engines like Eta, EJS, Handlebars, Nunjucks.",
55
"keywords": [
66
"html",

src/Common/HtmlParser.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// - comparing numbers is faster than comparing strings
33
// - transforming a string to a byte array with TextEncoder.encode() is 100x faster than charCodeAt() via `for` loop
44

5-
const { Obj } = require('nunjucks/src/object');
65
const textEncoder = new TextEncoder();
76
const spaceCodes = textEncoder.encode(' \n\r\t\f');
87
const tagEndCodes = textEncoder.encode(' \n\r\t\f/>');

0 commit comments

Comments
 (0)