Nils Knappmeier
2ab261eab7
v4.4.4
v4.4.4
2019-10-20 21:33:00 +02:00
Nils Knappmeier
143ac806da
Update release notes
2019-10-20 21:32:09 +02:00
Nils Knappmeier
f1752fe66f
fix: prevent zero length tokens in raw-blocks ( #1577 )
...
This comment ensures that the lexer is not stuck on zero-length tokens, in raw-blocks like {{{{a}}}} {{{{/a}}}}
2019-10-20 21:24:55 +02:00
Nils Knappmeier
0b593bfe5d
chore: link to s3 bucket with https, add "npm ci" to build instructions
2019-10-08 22:19:01 +02:00
Nils Knappmeier
2e53fba68f
v4.4.3
v4.4.3
2019-10-08 22:05:35 +02:00
Nils Knappmeier
ba570c42cf
Update release notes
2019-10-08 22:04:57 +02:00
Alexander Schramm
0440af2147
added missing type fields in typings and tests for them
2019-10-08 19:44:06 +02:00
Nils Knappmeier
b793350fec
v4.4.2
v4.4.2
2019-10-02 22:44:36 +02:00
Nils Knappmeier
26d0f7a80d
Update release notes
2019-10-02 22:44:03 +02:00
Nils Knappmeier
b7eada0149
chore: fix grunt-saucelabs dependency
2019-10-02 22:42:52 +02:00
Nils Knappmeier
b8e769fcb6
v4.4.1
v4.4.1
2019-10-02 21:52:34 +02:00
Nils Knappmeier
9cb31653a4
Update release notes
2019-10-02 21:51:56 +02:00
Nils Knappmeier
c53f340374
chore: use @knappi/grunt-saucelabs instead of github-dependency
...
- mostly because installing dependencies from github takes really
long in this case.
2019-10-02 21:46:16 +02:00
Nils Knappmeier
059b330579
v4.4.0
v4.4.0
2019-09-29 15:29:13 +02:00
Nils Knappmeier
8f6047cdfd
Update release notes
2019-09-29 15:28:36 +02:00
antelle
cf7545ef5a
Added support for iterable objects in {{#each}} helper ( #1557 )
...
* Added support for iterable object in {{#each}} helper
Currently {{#each}} helper supports either arrays, or objects,
however nowadays you can define custom iterable objects by overriding
a special method called Symbol.iterator, which results in empty result
being rendered.
* improved a test for iterables in {{#each}} returning empty result
* #each helper: using ES5 instead of generator functions in tests
* #each helper: using ES5 in the helper itself
2019-09-29 14:57:47 +02:00
Nils Knappmeier
c958cc8955
v4.3.4
v4.3.4
2019-09-28 13:25:05 +02:00
Nils Knappmeier
b250b2d53a
Update release notes
2019-09-28 13:24:18 +02:00
Nils Knappmeier
ff4d827c09
fix: harden "propertyIsEnumerable"-check
...
- "container" is an internal object that is most likely
not accessible through templateing (unlike the proto of "Object", which might be.)
In order to prevent overriding this method, we
use "propertyIsEnumerable" from the constructor.
2019-09-28 10:36:49 +02:00
Nils Knappmeier
e4738491b3
v4.3.3
v4.3.3
2019-09-27 07:46:55 +02:00
Nils Knappmeier
54f7e11b28
Update release notes
2019-09-27 07:46:12 +02:00
Nils Knappmeier
8742bde701
fix test case for browsers that do not support __defineGetter__
2019-09-27 00:09:04 +02:00
Nils Knappmeier
2357140c68
v4.3.2
v4.3.2
2019-09-26 23:58:48 +02:00
Nils Knappmeier
c5cbeac039
Update release notes
2019-09-26 23:58:13 +02:00
Nils Knappmeier
213c0bbe3c
Use Object.prototype.propertyIsEnumerable to check for constructors
...
- context.propertyIsEnumerable can be replaced
via __definedGetter__
- This is a fix specific to counter a known RCE exploit.
Other fixes will follow.
closes #1563
2019-09-26 23:55:24 +02:00
Nils Knappmeier
050cca0866
v4.3.1
v4.3.1
2019-09-25 00:32:32 +02:00
Nils Knappmeier
2d5579078b
Update release notes
2019-09-25 00:31:48 +02:00
Nils Knappmeier
e3639e2407
fix saucelabs tests (internet explorer)
2019-09-25 00:18:02 +02:00
Nils Knappmeier
c2a17c7b30
fix saucelabs tests (internet explorer)
2019-09-25 00:00:51 +02:00
Nils Knappmeier
1266838829
do not break on precompiled templates from Handlebars >=4.0.0 <4.3.0
...
- The version-range above have compiler version 7 and
precompiled templates expecte the (block)
HelperMissing-functions in "helpers" and not in "container.hooks".
- Handlebars now accepts precompiled templates of version 7.
- If a precompiled template with version 7 is loaded,
the (block)HelperMissing-functions are kept in "helpers"
2019-09-24 23:45:09 +02:00
Nils Knappmeier
64ecb9ea84
add test for #1560
2019-09-24 22:28:52 +02:00
Matt Hinchliffe
93444c58db
Ensure allowCallsToHelperMissing runtime option is optional in typings
2019-09-24 22:27:16 +02:00
Nils Knappmeier
d148d7cb1f
check "allowCallsToHelperMissing"
2019-09-24 08:37:37 +02:00
Nils Knappmeier
a89081d440
v4.3.0
v4.3.0
2019-09-24 08:04:35 +02:00
Nils Knappmeier
bba65605b1
Update release notes
2019-09-24 08:03:52 +02:00
Nils Knappmeier
06b7224ed9
adjust compiler revision
2019-09-24 07:31:19 +02:00
Nils Knappmeier
2078c727c6
Disallow calling "helperMissing" and "blockHelperMissing" directly
...
closes #1558
2019-09-24 07:31:19 +02:00
Nils Knappmeier
fff3e40402
v4.2.1
v4.2.1
2019-09-20 19:40:48 +02:00
Nils Knappmeier
35bcd4405f
Update release notes
2019-09-20 19:40:10 +02:00
Caleb Mazalevskis
00b4f2ff98
Fix some small typos.
2019-09-20 19:01:03 +02:00
Nils Knappmeier
e47b5ec192
integration-tests for various webpack-scenarios
...
related to #1553
- registering helpers on an instance retrieved via
`import`, compiling the template on an instance
retrieved via `require`
- using `@roundingwellos/babel-plugin-handlebars-inline-precompile` to load plugins inline
2019-09-20 18:58:17 +02:00
Paul Falgout
c55a7bed78
fix: use cjs for browser fields
...
We should not be using pre-built files for the `browser`. Resolves https://github.com/wycats/handlebars.js/issues/1553
2019-09-20 18:54:42 +02:00
Nils Knappmeier
164c7ceea4
v4.2.0
v4.2.0
2019-09-03 21:58:07 +02:00
Nils Knappmeier
6ab48d8def
Update release notes
2019-09-03 21:57:30 +02:00
Nils Knappmeier
8ac20285f6
Merge pull request #1534 from AndrewLeedham/4.x
...
Add VM TS mapping
2019-09-03 21:45:31 +02:00
Nils Knappmeier
888750ec27
fix typings of resolvePartial-options
...
- derived from the object structure seen in the debugger
closes #1534
2019-09-03 21:40:21 +02:00
Andrew Leedham
133b96a2ff
Add "Handlebars.VM.resolvePartial" to type definitions
...
- Handlebars.VM is actually not part of the API,
but Handlebars.VM.resolvePartial is mentioned
in the documentation and is thus now treated
as part of the API.
Closes #1534
2019-09-03 21:33:35 +02:00
Nils Knappmeier
f119497312
chore: attempt to fix saucelabs problems with custom lib
...
- custom "grunt-saucelabs"
- which uses custom "sauce-tunnel"
- which uses current "sauce connect proxy"
2019-08-31 23:58:21 +02:00
Nils Knappmeier
62b64ecc3d
chore: add comment to integration test
2019-08-31 23:53:28 +02:00
Nils Knappmeier
a57b6824e0
add webpack test
2019-08-31 21:00:14 +02:00