build: ejs@3.1.6
Before adoption: this commit came in with the history the project adopted, so no landing records it.
closes #4572 closes #4573
authored by Aravind Nair · committed by Douglas Christopher Wilson · parent eb76236 · Browse files · 10 files·+19 added−20 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
10 files+19 added−20 removed
- other:+19 added−20 removed
Provenance
- Commit
884e080- Tree
6a3ecde- Author
Aravind Nair <22199259+aravindvnair99@users.noreply.github.com>- Committer
Douglas Christopher Wilson <doug@somethingdoug.com>- Parent
eb76236
10 files changed+19 added−20 removed
modified:examples/auth/views/login.ejs+2 added-3 removed
1 2-<% var title = 'Authentication Example' %>3-<% include head %>2+<%- include('head', { title: 'Authentication Example' }) -%>3 4 <h1>Login</h1>5 <%- message %>6 Try accessing <a href="/restricted">/restricted</a>, then authenticate with "tj" and "foobar".10 unmodified lines17 <input type="submit" value="Login">18 </p>19 </form>20 22-<% include foot %>21+<%- include('foot') -%>modified:examples/ejs/views/users.html+2 added-2 removed
11234567891010<% include header.html %><%- include('header.html') -%>
<h1>Users</h1><ul id="users"> <% users.forEach(function(user){ %> <li><%= user.name %> <<%= user.email %>></li> <% }) %></ul>
<% include footer.html %><%- include('footer.html') -%>modified:examples/error-pages/views/404.ejs+2 added-2 removed
1-<% include error_header %>1+<%- include('error_header') -%>2 <h2>Cannot find <%= url %></h2>3-<% include footer %>3+<%- include('footer') -%>modified:examples/error-pages/views/500.ejs+2 added-2 removed
1-<% include error_header %>1+<%- include('error_header') -%>2 <h2>Error: <%= error.message %></h2>3 <% if (settings['verbose errors']) { %>4 <pre><%= error.stack %></pre>5 <% } else { %>6 <p>An error occurred!</p>7 <% } %>8-<% include footer %>8+<%- include('footer') -%>modified:examples/route-separation/views/posts/index.ejs+2 added-2 removed
1-<% include ../header %>1+<%- include('../header') -%>2 3 <h1>Posts</h1>4 5 <dl id="posts">2 unmodified lines8 <dd><%= post.body %></dd>9 <% }) %>10 </dl>11 12-<% include ../footer %>12+<%- include('../footer') -%>modified:examples/route-separation/views/users/edit.ejs+2 added-2 removed
1-<% include ../header %>1+<%- include('../header') -%>2 3 <h1>Editing <%= user.name %></h1>4 5 <div id="user">13 unmodified lines19 </p>20 </form>21 </div>22 23-<% include ../footer %>23+<%- include('../footer') -%>modified:examples/route-separation/views/users/index.ejs+2 added-2 removed
1-<% include ../header %>1+<%- include('../header') -%>2 3 <h1><%= title %></h1>4 5 <div id="users">4 unmodified lines10 </li>11 <% }) %>12 </div>13 14-<% include ../footer %>14+<%- include('../footer') -%>modified:examples/route-separation/views/users/view.ejs+2 added-2 removed
1-<% include ../header %>1+<%- include('../header') -%>2 3 <h1><%= user.name %></h1>4 5 <div id="user">6 <p>Email: <%= user.email %></p>7 </div>8 9-<% include ../footer %>9+<%- include('../footer') -%>modified:examples/route-separation/views/index.ejs+2 added-2 removed
1-<% include header %>1+<%- include('header') -%>2 3 <h1><%= title %></h1>4 5 <ul>6 <li>Visit the <a href="/users">users</a> page.</li>7 <li>Visit the <a href="/posts">posts</a> page.</li>8 </ul>9 10-<% include footer %>10+<%- include('footer') -%>modified:package.json+1 added-1 removed
62 unmodified lines63 "after": "0.8.2",64 "connect-redis": "3.4.2",65 "cookie-parser": "~1.4.4",66 "cookie-session": "1.3.3",67- "ejs": "2.7.2",67+ "ejs": "3.1.6",68 "eslint": "2.13.1",69 "express-session": "1.17.0",70 "hbs": "4.1.2",71 "istanbul": "0.4.5",28 unmodified lines