Skip to content

Commit 6f98371

Browse files
committed
merge from 2.7
2 parents db6d8b9 + 822222e commit 6f98371

8 files changed

+34
-18
lines changed

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
## Change Log
22

3+
### v2.7.5 (2016/12/09 13:49 +00:00)
4+
- [#756](https://github.com/linkedin/dustjs/pull/756) Decrease security vulnerabilities by upgrading cli dependency (#754 #748) (@danactive)
5+
6+
### v2.7.4 (2016/09/13 02:52 +00:00)
7+
- [#744](https://github.com/linkedin/dustjs/pull/744) Don't use instanceof to determine if a Context is a Context. Instead use a flag on the instance itself so it can survive object merges. (@sethkinast)
8+
9+
### v2.6.3 (2016/07/26 18:03 +00:00)
10+
- [#736](https://github.com/linkedin/dustjs/pull/736) Prioritize resolution of .then (@brianmhunt)
11+
- [#734](https://github.com/linkedin/dustjs/pull/734) Bump deps (@sethkinast)
12+
- [#703](https://github.com/linkedin/dustjs/pull/703) Upgrade to peg.js 0.9 (@sethkinast)
13+
- [#705](https://github.com/linkedin/dustjs/pull/705) When rendering with a Context object, use the templateName provided by the template (@sethkinast)
14+
- [#701](https://github.com/linkedin/dustjs/pull/701) Fix stacktrace logging for IE8 (@sethkinast)
15+
- [#700](https://github.com/linkedin/dustjs/pull/700) At `DEBUG` loglevel, log the full stack trace on errors (@r1b)
16+
- [#690](https://github.com/linkedin/dustjs/pull/690) Update deps (@sethkinast)
17+
- [#689](https://github.com/linkedin/dustjs/pull/689) Make the AMD loader pass the template directly rather than communicating via the cache (@aredridel)
18+
319
### v2.7.2 (2015/06/08 20:41 +00:00)
420
- [#673](https://github.com/linkedin/dustjs/pull/673) Pass the current context to filters (@sethkinast)
521
- [#676](https://github.com/linkedin/dustjs/pull/676) If a Promise is resolved with an array, iterate over it instead of rendering the whole array at once. Closes #674 (@sethkinast)

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dustjs-linkedin",
3-
"version": "2.7.2",
3+
"version": "2.7.5",
44
"homepage": "https://github.com/linkedin/dustjs",
55
"authors": [
66
"Veena Basavaraj <vybs@users.noreply.github.com>",

dist/dust-core.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! dustjs-linkedin - v2.7.2
1+
/*! dustjs-linkedin - v2.7.5
22
* http://dustjs.com/
33
* Copyright (c) 2021 Aleksander Williams; Released under the MIT License */
44
(function (root, factory) {
@@ -11,7 +11,7 @@
1111
}
1212
}(this, function() {
1313
var dust = {
14-
"version": "2.7.2"
14+
"version": "2.7.5"
1515
},
1616
NONE = 'NONE', ERROR = 'ERROR', WARN = 'WARN', INFO = 'INFO', DEBUG = 'DEBUG',
1717
EMPTY_FUNC = function() {};
@@ -750,7 +750,7 @@
750750

751751
/**
752752
* Like Chunk#map but additionally resolves a thenable. If the thenable succeeds the callback is invoked with
753-
* a new chunk that can be used to asynchronously render or write to it, otherwise if the thenable is rejected
753+
* a new chunk that can be used to asynchronously render or write to it, otherwise if the thenable is rejected
754754
* then the error body is rendered if available, an error is logged, and the callback is never invoked.
755755
* @param {Chunk} The current chunk to insert a new chunk
756756
* @param thenable {Thenable} the target thenable to await
@@ -765,8 +765,8 @@
765765
try {
766766
callback(asyncChunk, data);
767767
} catch (err) {
768-
// handle errors the same way Chunk#map would. This logic is only here since the thenable defers
769-
// logic such that the try / catch in Chunk#map would not capture it.
768+
// handle errors the same way Chunk#map would. This logic is only here since the thenable defers
769+
// logic such that the try / catch in Chunk#map would not capture it.
770770
dust.log(err, ERROR);
771771
asyncChunk.setError(err);
772772
}

dist/dust-core.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dust-full.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! dustjs-linkedin - v2.7.2
1+
/*! dustjs-linkedin - v2.7.5
22
* http://dustjs.com/
33
* Copyright (c) 2021 Aleksander Williams; Released under the MIT License */
44
(function (root, factory) {
@@ -11,7 +11,7 @@
1111
}
1212
}(this, function() {
1313
var dust = {
14-
"version": "2.7.2"
14+
"version": "2.7.5"
1515
},
1616
NONE = 'NONE', ERROR = 'ERROR', WARN = 'WARN', INFO = 'INFO', DEBUG = 'DEBUG',
1717
EMPTY_FUNC = function() {};

dist/dust-full.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/dust.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99
}(this, function() {
1010
var dust = {
11-
"version": "2.7.2"
11+
"version": "2.7.5"
1212
},
1313
NONE = 'NONE', ERROR = 'ERROR', WARN = 'WARN', INFO = 'INFO', DEBUG = 'DEBUG',
1414
EMPTY_FUNC = function() {};
@@ -747,7 +747,7 @@
747747

748748
/**
749749
* Like Chunk#map but additionally resolves a thenable. If the thenable succeeds the callback is invoked with
750-
* a new chunk that can be used to asynchronously render or write to it, otherwise if the thenable is rejected
750+
* a new chunk that can be used to asynchronously render or write to it, otherwise if the thenable is rejected
751751
* then the error body is rendered if available, an error is logged, and the callback is never invoked.
752752
* @param {Chunk} The current chunk to insert a new chunk
753753
* @param thenable {Thenable} the target thenable to await
@@ -762,8 +762,8 @@
762762
try {
763763
callback(asyncChunk, data);
764764
} catch (err) {
765-
// handle errors the same way Chunk#map would. This logic is only here since the thenable defers
766-
// logic such that the try / catch in Chunk#map would not capture it.
765+
// handle errors the same way Chunk#map would. This logic is only here since the thenable defers
766+
// logic such that the try / catch in Chunk#map would not capture it.
767767
dust.log(err, ERROR);
768768
asyncChunk.setError(err);
769769
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dustjs-linkedin",
3-
"version": "2.7.2",
3+
"version": "2.7.5",
44
"author": {
55
"name": "Aleksander Williams",
66
"url": "http://akdubya.github.com/dustjs"

0 commit comments

Comments
 (0)