Skip to content

Commit 3b1a0fc

Browse files
authored
Update to pug 3.0.0 & drop Node.js < 10 (#182)
Also updates development dependencies
1 parent 09799b2 commit 3b1a0fc

15 files changed

Lines changed: 2970 additions & 3698 deletions

‎.travis.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ sudo: false
33
language: node_js
44

55
node_js:
6-
- "6"
7-
- "8"
86
- "10"
7+
- "12"
8+
- "14"
99

1010
matrix:
1111
fast_finish: true

‎CHANGELOG‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v3.0.0
2+
date: 2021-02-23
3+
changes:
4+
- Update to pug 3.0.0
5+
- Drop Node.js < 10 support.
16
v2.0.0:
27
date: 2018-09-07
38
changes:

‎README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Task targets, files and options may be specified according to the grunt [Configu
2828
### Options
2929

3030
#### pretty
31-
Type: `Boolean`
31+
Type: `Boolean`
3232
Default: `false`
3333

3434
Output indented HTML.
@@ -98,21 +98,21 @@ pugfilters.another = function(block) {};
9898
```
9999

100100
#### compileDebug
101-
Type: `Boolean`
101+
Type: `Boolean`
102102
Default: `true`
103103

104104
Add Pug debug instructions to generated JS templates.
105105

106106
#### client
107-
Type: `Boolean`
107+
Type: `Boolean`
108108
Default: `false`
109109

110110
Compile to JS template functions for client-side use rather than directly to HTML.
111111

112112
Make sure to also include the Pug runtime (only `runtime.js`) as described in the [Pug documentation](https://github.com/visionmedia/pug#browser-support).
113113

114114
#### namespace
115-
Type: `String`, `Boolean`
115+
Type: `String`, `Boolean`
116116
Default: `'JST'`
117117

118118
The namespace in which the precompiled templates will be assigned. Use dot notation (*e.g.* `App.Templates`) for nested namespaces or `false` for no namespace wrapping.
@@ -121,7 +121,7 @@ When set to `false` with **amd** option set to `true`, the templates will be ret
121121

122122

123123
#### amd
124-
Type: `Boolean`
124+
Type: `Boolean`
125125
Default: `false`
126126

127127
Wraps the output file with an AMD define function and returns the compiled template namespace unless namespace has been explicitly set to false in which case the template function will be returned directly.
@@ -237,7 +237,7 @@ pug: {
237237

238238

239239
## Release History
240-
240+
* 2021-02-23 v3.0.0 Update to pug 3.0.0. Drop Node.js < 10 support.
241241
* 2018-09-07   v2.0.0   Drop Node.js < 6 support. Update dependencies.
242242
* 2016-03-04   v1.0.0   Point main to task and remove peerDeps. Update docs and tests.
243243
* 2015-07-08   v0.15.0   Update to jade 1.11.0. Add test for Codeblocks

‎appveyor.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ version: "{build}"
55
# What combinations to test
66
environment:
77
matrix:
8-
- nodejs_version: "6"
9-
platform: x86
10-
- nodejs_version: "8"
11-
platform: x86
128
- nodejs_version: "10"
139
platform: x86
10+
- nodejs_version: "12"
11+
platform: x86
12+
- nodejs_version: "14"
13+
platform: x64
1414

1515
install:
1616
- ps: Install-Product node $env:nodejs_version $env:platform

0 commit comments

Comments
 (0)