Update dependency handlebars to version 4.0.8 #194
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request updates dependency handlebars from version
4.0.6
to4.0.8
Changelog
4.0.8 / 2017-05-02
This is in order to make sure that the master-branch version is not
confused with the stable 4.x
4.0.7 / 2017-04-29
Conflicts:
spec/regressions.js
Fixes #1319
Original behaviour:
as context instead. (#1093)
last context and adds the current context to the stack, if it is not.
This is done, so that inside a block-helper, the ".." path can be used
to go back to the parent element.
though it shouldn't be, because the "null != {}"
Fix:
instead of "{}". "nullContext" is a sealed empty object.
only added to the stack, if it is not the nullContext.
Backwards compatibility within 4.0.x-versions:
with runtime-versions 4.0.0 - 4.0.6, because of the "nullContext"
property. That's way, the compiled code reads
"(container.nullContext || {})" so that the behavior will degrade
gracefully with older runtime versions: Everything else will work
fine, but Add [skip ci] to pin dependency PR #1319 will still be broken, if you use a newer compiler
with a pre 4.0.7 runtime.
Document whitespace compatibility difference with mustache
Fixes #1324
Update README to be more accurate
Copied from the website at @wycats' request.
Addresses #1119.
parser: Change suffix to use ES6 default module export
but will enable others to use a pure ES6 module distribution
via annotation, but this has no effect anymore due to the above change
Squashed by @nknapp
(cherry picked from commit 508347e)
but will enable others to use a pure ES6 module distribution
via annotation, but this has no effect anymore due to the above change
Squashed by @nknapp
Merge 4.x into master
Conflicts:
Gruntfile.js
lib/handlebars/exception.js
spec/partials.js
spec/regressions.js
Fixes #1252
the "invokePartial"-function to store the @partial-block for the partial.
Avoid duplicate // sourceMappingURL=... lines when minifying AND
generating a map. UglifyJS2 will write the line when minifying.
(cherry picked from commit 660a117)
Avoid duplicate // sourceMappingURL=... lines when minifying AND
generating a map. UglifyJS2 will write the line when minifying.
Closes #1302
While trying to answer #1302, I noticed that the compiler-api example did not work in (because `nameLookup` is actually at the prototype). This example has a jsfiddle that proves it is working.
It does not provide an solve the exact problem of the reporter, but it answers the question.
Extending from eslint:recommended so we stay up to date on the latest
recommended rules.
There is `README.markdown` in handlebars.js repository, not a `README.md`.
This small change is meant to make LibreJS happy.
Closes: #1273
Original PR by @travnels, commit-message edited by @nknapp
Rule 'no-empty-label' was removed and replaced by: ‘no-labels’. ‘no-labels’ already in the project
Rules 'space-after-keywords' and 'space-return-throw-case' wer removed and replaced by ‘keyword-spacing’.
Code corrections
According to npm's documentation[1], dependencies on github
repositories are declared with the following syntax:
"module": "person/module"
This commit changes the package.json syntax on istanbul's dependency,
to follow the documentation.
[1] https://docs.npmjs.com/files/package.json#github-urls
(node:30288) DeprecationWarning: sys is deprecated. Use util instead.
(cherry picked from commit 9a36966 by @travnels)
(node:30288) DeprecationWarning: sys is deprecated. Use util instead.
I've noticed that many issues are answered with "Please provide a jsfiddle".
This issue template tells the reporter to do that from the start.
Fixes #1284
Appearently, there is a use-case of stringifying the error in order to
evaluated its properties on another system. There was a regression
from 4.0.5 to 4.0.6 that the column-property of compilation errors
was not enumerable anymore in 4.0.6 (due to commit 20c965c) and
thus was not included in the output of "JSON.stringify".
Related to #1284
The test ensures that the property is there, because it is important to
some people.