Jakob Linskeseder
edc65b5c19
Move integration-testing-folder in tests-folder
...
Third part of reorganizing and cleaning up test-folders.
2021-12-29 21:35:16 +01:00
Jakob Linskeseder
715f4af179
Remove redundant task-part in task-tests-folder
...
Second part of reorganizing and cleaning up test-folders.
2021-12-29 21:35:16 +01:00
Jakob Linskeseder
3bd0fa8b32
Move bench-folder in tests-folder
...
First part of reorganizing and cleaning up test-folders.
2021-12-29 21:35:16 +01:00
Jakob Linskeseder
c295ef085f
Update repository URL
2021-12-03 23:12:20 +01:00
Jakob Linskeseder
c1ad3c8057
Update contributing guidelines
2021-12-03 23:12:20 +01:00
Jakob Linskeseder
af92e32822
Run CI tests on more versions
2021-12-03 23:12:20 +01:00
Jakob Linskeseder
2954e7ea66
Don't rely on Node.js global object
...
If `global` is used and handlebars is compiled for browser
usage without a Node.js `global` polyfill, handlebars
fails with a `global is undefined` error.
Fixes #1593
2021-12-03 21:57:55 +01:00
Jay Linski
8eefee56ff
Replace Travis CI with GitHub action ( #1772 )
2021-12-03 19:04:01 +01:00
Shon Frazier
fd93073146
Fix Mustache links
...
...to point to 'https://mustache.github.io/ ...'
2021-11-23 23:58:57 +01:00
Nils Knappmeier
a9a8e40321
v4.7.7
v4.7.7
2021-02-15 10:36:07 +01:00
Nils Knappmeier
e66aed5b99
Update release notes
2021-02-15 10:35:33 +01:00
Nils Knappmeier
7d4d170ce4
disable IE in Saucelabs tests
...
The SauceLabs IE setup has problems and does not work
with the endpoints that we use to run them. This is a Saucelabs problem, but it has been there for a year now. Until we use another API, I will simply remove the browsers
2021-02-15 09:59:41 +01:00
Nils Knappmeier
eb860c0899
fix weird error in integration tests
...
somehow the variable "$i" gets overwritten in integration-testing/multi-nodejs-test/test.sh:20, which is why we now rename it to a more meaningful variable
2021-02-15 09:50:16 +01:00
Nils Knappmeier
b6d3de7123
fix: check prototype property access in strict-mode ( #1736 )
2021-02-13 13:41:40 +01:00
Nils Knappmeier
f058970169
fix: escape property names in compat mode ( #1736 )
2021-02-13 13:40:53 +01:00
John Boehr
77825f8d35
refator: In spec tests, use expectTemplate over equals and shouldThrow ( #1683 )
2020-05-05 00:04:33 +02:00
Hannah Wolfe
3789a30955
chore: start testing on Node.js 12 and 13
...
- make sure we're aware of all compatibility issues
2020-04-03 20:05:19 +01:00
Hannah Wolfe
e6ad93ea01
v4.7.6
v4.7.6
2020-04-03 18:56:22 +01:00
Hannah Wolfe
2bf4fc6fd3
Update release notes
2020-04-03 18:55:39 +01:00
Hannah Wolfe
b64202bc91
Update release-notes.md
...
- indicate changes have been reverted
2020-04-03 18:47:56 +01:00
Douglas Christopher Wilson
c2f1e62031
Switch cmd parser to latest minimist
2020-04-03 18:44:30 +01:00
Hannah Wolfe
08e9a11a34
Revert "chore: set Node.js compatibility to v6+"
...
This reverts commit 309d2b49a1 .
2020-04-03 18:44:30 +01:00
Hannah Wolfe
1fd2edee2a
v4.7.5
v4.7.5
2020-04-02 20:09:49 +01:00
Hannah Wolfe
3c9c2f5cf2
Update release notes
2020-04-02 20:09:16 +01:00
Hannah Wolfe
16487a088e
chore: downgrade yargs to v14
...
- allows us to support Node v6 and v8 for now
2020-04-02 19:28:36 +01:00
Hannah Wolfe
309d2b49a1
chore: set Node.js compatibility to v6+
...
- drop support for versions less than Node v6 via engines
- update integration tests to also test newer versions
2020-04-02 19:28:35 +01:00
Nils Knappmeier
645ac73844
test: fix integration tests
...
- They should fail, if any test fails
- Use "set -e" instead of "|| exit 1", because it suffices to be specified
at the top of each file
2020-04-02 19:25:37 +01:00
Nils Knappmeier
b454b02147
docs: update release-docs in CONTRIBUTING.md
...
- remove ember testing
- add docs for updating the website.
- add list of required accesses to publish
2020-04-02 14:10:47 +02:00
Hannah Wolfe
7adc19ab40
v4.7.4
v4.7.4
2020-04-01 18:20:30 +01:00
Hannah Wolfe
9dd8d10e12
Update release notes
2020-04-01 18:19:34 +01:00
Hannah Wolfe
4671c4b383
Use tmp directory for files written during tests
...
- Add spec/tmp directory with .gitkeep file to indicate the folder is intentional
- Add the folder contents to .gitignore
- Use this folder to output the sourcemap file during bin tests. This file is a sideeffect of the main test
2020-04-01 18:04:14 +01:00
DeeDeeG
e46baa1fe2
tasks/test-bin.js: Delete duplicate test
...
Per comment by @ErisDS on the GitHub PR:
https://github.com/wycats/handlebars.js/pull/1666#issuecomment-606805248
2020-04-01 17:25:35 +01:00
Hannah Wolfe
c491b4ea25
Revert "Update release-notes.md"
...
This reverts commit 738391a064 .
Think this needs to be left to the release tool :|
2020-04-01 17:21:20 +01:00
Hannah Wolfe
738391a064
Update release-notes.md
2020-03-31 17:05:33 +01:00
Aori Nevo
80c4516fda
chore: add unit tests for cli options ( #1666 )
...
- adds full unit tests for all cli options
- demonstrates that nothing changes between minimist and yargs except a minor order change in the --help text
- proves b9c4b253e works the same as before
Co-authored-by: fabb <fabb@users.noreply.github.com >
2020-03-31 16:54:11 +01:00
Avi Vahl
d79212a662
fix: migrate from optimist to yargs ( #1666 )
...
closes #1658
- adapted code from master to latest yargs (`.option` calls).
```
4.x:
found 188 vulnerabilities (169 low, 4 moderate, 14 high, 1 critical) in 5815 scanned packages
4.x with this PR:
found 32 vulnerabilities (17 low, 1 moderate, 13 high, 1 critical) in 5829 scanned packages
```
2020-03-31 16:54:11 +01:00
Avi Vahl
b440c38886
chore: ignore external @types in tests
...
- some indirect dependencies install @types packages which are not compatible with the older typescript.
- adjusted test's tsconfig to not pick these up automatically, as the actual .d.ts does not depend on these external types.
2020-03-31 16:53:54 +01:00
Eli Skeggs
2dba7eee3f
docs: fix comparison link
2020-03-05 15:10:10 +01:00
Nils Knappmeier
c9789691af
v4.7.3
v4.7.3
2020-02-05 06:10:33 +01:00
Nils Knappmeier
9278f217e0
Update release notes
2020-02-05 06:10:09 +01:00
roydukkey
d78cc73d3c
Fixes spelling and punctuation
...
(cherry picked from commit fd3ca85d13 )
2020-02-05 06:06:42 +01:00
ismailjones
4de51fe26b
Add Type Definition for Handlebars.VERSION, Fixes #1647
2020-02-04 23:32:10 +01:00
papasmile
a32d05f2fc
Include Type Definition for runtime.js in Package
2020-02-04 21:58:49 +01:00
Nils Knappmeier
ad63f5189f
chore: add missing "await" in aws-s3 publishing code
...
closes #1644
2020-01-21 21:52:23 +01:00
Nils Knappmeier
586e672c8b
v4.7.2
v4.7.2
2020-01-13 21:53:14 +01:00
Nils Knappmeier
f0c6c4cc1f
Update release notes
2020-01-13 21:52:50 +01:00
Nils Knappmeier
a4fd391ba1
chore: execute saucelabs-task only if access-key exists
...
- up to now, the existance of the SAUCE_USERNAME was checked
but this variable is even present in pull-requests from other
repos. This means that builds fail, because the access key
is not there.
This change looks for SAUCE_ACCESS_KEY instead, which is
a secure variable, only present in build originating from
the handlebars.js repo.
2020-01-13 21:47:51 +01:00
Nils Knappmeier
9d5aa363cf
fix: don't wrap helpers that are not functions
...
- helpers should always be a function, but in #1639 one seems to
be undefined. This was not a problem before 4.6 because helpers
weren't wrapped then.
Now, we must take care only to wrap helpers (when adding
the "lookupProperty" function to the options), if they
are really functions.
2020-01-13 21:39:01 +01:00
Nils Knappmeier
14ba3d0c43
v4.7.1
v4.7.1
2020-01-12 13:21:08 +01:00
Nils Knappmeier
4cddfe7017
Update release notes
2020-01-12 13:20:37 +01:00