3201 Commits

Author SHA1 Message Date
mde
9d80803113 Removed istanbul 2019-11-19 11:10:36 -08:00
mde
7477c2a621 Get Jake out of the test loop 2019-11-19 11:10:19 -08:00
mde
4f8eeaa799 Force strict mode for tests 2019-11-19 11:03:26 -08:00
mde
0729c2a323 Need package script for test 2019-11-19 10:54:45 -08:00
mde
5e42d6cef1 Attempt to restore Node v4 support 2019-11-19 10:50:00 -08:00
mde
2d4e004b14 Removed support for Node 4 2019-11-18 18:02:46 -08:00
mde
5cd81afdc5 Version 2.7.3 2019-11-18 17:59:48 -08:00
mde
228d8e45b7 More discreet post-install 2019-11-18 17:58:56 -08:00
mde
bd3f7c8b2d Version 2.7.2 2019-11-13 12:52:08 -08:00
mde
b9b6ddde9b Added postinstall message 2019-11-13 12:51:46 -08:00
mde
7ce8c08659 Cleaning is a prereq of linting 2019-11-13 12:51:19 -08:00
mde
7875569f81 Change Jakefile to jakefile.js in package task 2019-11-13 12:43:23 -08:00
mde
2c20ec6d2a Removed ad hoc package scripts, documented build tasks 2019-11-13 12:22:21 -08:00
mde
81cc34f82e Updated Jake version 2019-11-13 12:18:58 -08:00
mde
631f7e775f Changed Jakefile to jakefile.js 2019-11-13 12:17:35 -08:00
mde
5d650d754d Removed specific contributors' list -- we have too many of them to list 2019-11-13 12:16:41 -08:00
ExE Boss
9d5b8d57ec docs(README): Improve main heading 2019-11-05 23:17:03 +01:00
ExE Boss
ed3f88eb6a docs(README): Use consistent badge style 2019-11-05 23:03:54 +01:00
ExE Boss
e9ee6b24d0 test: Improve test summary in environments without async support 2019-11-05 22:59:59 +01:00
ExE Boss
8abc892a49 refactor(rethrow): Avoid changing input params 2019-11-05 22:44:39 +01:00
Matthew Eernisse
8cdf6460b9 Merge pull request #470 from nwoltman/concat-string
Use string concatenation to build the output string
2019-10-31 18:35:16 -07:00
Nathan Woltman
4434314d53 Use string concatenation to build the output string
Switching from pushing to an array and using .join() to using simple string concatenation yields performance gains up to 260%.
2019-10-30 22:55:14 -04:00
Matthew Eernisse
da51ca331a Merge pull request #465 from EB-Forks/docs/fix-ejs-code-block-language
docs: Fix EJS code block language
2019-10-29 22:58:05 -07:00
Matthew Eernisse
12a75410b7 Merge pull request #466 from EB-Forks/feat/set-function-name
feat: Set compiled function name
2019-10-29 22:51:55 -07:00
ExE Boss
ef38defe3d test: Add tests for compiled function name 2019-10-20 18:45:17 +02:00
ExE Boss
45e6f9276d docs(JSDoc): Add type annotations to variables in Template.compile() 2019-10-20 14:36:47 +02:00
ExE Boss
92f33141fd feat: Set compiled function name 2019-10-20 14:30:26 +02:00
ExE Boss
b489b6cb57 docs: Fix EJS code block language 2019-10-20 13:14:34 +02:00
ExE Boss
64eca526cb docs(JSDoc): Improve type information 2019-10-20 13:03:52 +02:00
ExE Boss
c600a788b7 chore(travis): Add Node 10 and Node 12 2019-10-20 00:56:06 +02:00
ExE Boss
d6376fa71b fix: Correct error message when async != true (#460) 2019-10-19 22:59:37 +02:00
Matthew Eernisse
e10447df94 Merge pull request #452 from EB-Forks/feat/destructured-locals
feat: Add support for destructuring locals
2019-09-12 07:59:21 -07:00
S2-
09c0f513f6 Show compiled templates in debugger (#456)
This commit adds a sourceURL directive to the generated template function.
This makes generated template code visible in the debugger.
See https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Debug_eval_sources
2019-09-10 03:16:38 +02:00
Matthew Eernisse
3dc11e99c3 Merge pull request #459 from EB-Forks/test/disable-legacy-include-directive
test: Assert that disabling legacy includes works correctly
2019-09-09 17:12:14 -07:00
ExE Boss
5f6e6ef08b test: Assert that disabling legacy includes works correctly 2019-09-10 02:08:47 +02:00
ExE Boss
edc6025ecf Merge branch 'master' into feat/destructured-locals 2019-09-10 01:53:08 +02:00
ExE Boss
9edca4e0bf docs: Add information about destructuring to README.md 2019-09-10 01:51:06 +02:00
Matthew Eernisse
b364cc300b Merge pull request #458 from EB-Forks/feat/disable-legacy-include-directive
This is great. We can introduce as an opt defaulting to on, then default to off, then remove this thing completely.
2019-09-08 12:05:33 -07:00
ExE Boss
e3d128b2f6 feat: Allow disabling legacy include preprocessor directives 2019-09-06 18:04:47 +02:00
mde
3de0adee1f Version 2.7.1 2019-09-02 12:31:08 -07:00
mde
cce319f40f Minor version bump to deprecate use of require.extensions 2019-09-02 12:26:20 -07:00
ExE Boss
eb639428fe feat: Add support for destructuring locals 2019-08-24 21:39:06 +02:00
mde
63a5082025 Version 2.6.2 2019-06-15 08:26:28 -07:00
mde
27640e8bb8 Updated CHANGELOG for release 2019-06-15 08:18:50 -07:00
mde
cea58ff080 Merge branch 'master' of github.com:mde/ejs 2019-06-02 09:59:22 -07:00
mde
8a6abe4a28 Recognize both *nix and Windows abs paths 2019-06-02 09:57:20 -07:00
Matthew Eernisse
f2c77d78d2 Merge pull request #430 from S2-/remove-cache
add remove function to cache
2019-03-06 08:38:39 -08:00
s2
2daec5dc61 add remove function to cache 2019-03-06 10:43:13 +01:00
Matthew Eernisse
9b5bbf11a6 Merge pull request #411 from ThisNameWasTaken/master
Expose Template class
2018-11-27 09:17:41 -08:00
Adrian
ca7fe2005d Expose Template class 2018-11-24 22:27:28 +02:00