Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
migrate ejs to v3
  • Loading branch information
JacksonTian committed May 8, 2022
1 parent bdf22df commit d3f3b5f
Show file tree
Hide file tree
Showing 9 changed files with 3,999 additions and 3,218 deletions.
7,199 changes: 3,991 additions & 3,208 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions package.json
Expand Up @@ -21,12 +21,10 @@
},
"devDependencies": {
"codecov": "^3.8.3",
"coveralls": "*",
"eslint": "^8.15.0",
"express": "^4.10.0",
"methods": "*",
"mocha": "*",
"mocha-lcov-reporter": "*",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"should": "~3.0.0",
"supertest": "^2.0.1"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/include-chain.ejs
@@ -1 +1 @@
<% include include-chain-2 %>
<%- include('include-chain-2') %>
2 changes: 1 addition & 1 deletion test/fixtures/subfolder/sub-include-chain.ejs
@@ -1 +1 @@
<% include ../parent-include-chain %>
<%- include('../parent-include-chain') %>
2 changes: 1 addition & 1 deletion test/fixtures/subfolder/sublocals.ejs
@@ -1 +1 @@
<% include subitem %>
<%- include('subitem') %>
2 changes: 1 addition & 1 deletion test/fixtures/with-include-chain-subfolder.ejs
@@ -1 +1 @@
<html><head><title>ejs-locals-include-sub</title></head><body><% include subfolder/sub-include-chain %></body></html>
<html><head><title>ejs-locals-include-sub</title></head><body><%- include('subfolder/sub-include-chain') %></body></html>
2 changes: 1 addition & 1 deletion test/fixtures/with-include-chain.ejs
@@ -1 +1 @@
<html><head><title>ejs-locals-include</title></head><body><% include include-chain %></body></html>
<html><head><title>ejs-locals-include</title></head><body><%- include('include-chain') %></body></html>
2 changes: 1 addition & 1 deletion test/fixtures/with-include.ejs
@@ -1 +1 @@
<html><head><title>ejs-locals</title></head><body><% include locals %></body></html>
<html><head><title>ejs-locals</title></head><body><%- include('locals') %></body></html>
2 changes: 1 addition & 1 deletion test/fixtures/with-two-includes.ejs
@@ -1 +1 @@
<html><head><title>ejs-locals-two-includes</title></head><body><% include locals %><% include subfolder/sublocals %></body></html>
<html><head><title>ejs-locals-two-includes</title></head><body><%- include('locals') %><%- include('subfolder/sublocals') %></body></html>

0 comments on commit d3f3b5f

Please sign in to comment.