Jakob Linskeseder
8e23642ea2
Fix integration-tests issue with npm >= 7
...
Fixes the following error when running integration-tests:
```
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: webpack-test@1.0.0
npm ERR! Found: handlebars@5.0.0-alpha.1
npm ERR! node_modules/handlebars
npm ERR! dev handlebars@"file:../../.." from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer handlebars@">= 1.3.0 < 5" from handlebars-loader@1.7.1
npm ERR! node_modules/handlebars-loader
npm ERR! dev handlebars-loader@"^1.7.1" from the root project
npm ERR!
```
2022-05-17 21:19:48 +02:00
James Wilson
88ac06875f
use https instead of git for mustache submodule
2022-03-19 19:19:27 +01:00
Jakob Linskeseder
c68bc08a0d
Fix typo
2022-01-08 00:39:29 +01:00
Nils Knappmeier
6cfbc2653a
Use eslint-env "shared-node-browser" for shared handlebars code
2022-01-07 18:15:48 +01:00
Jakob Linskeseder
b65135acef
Replace shields.io with faster badgen.net
...
Badgen is a faster successor of shields.io:
https://github.com/badgen/badgen.net
Backport from `master`-branch.
2021-12-30 00:58:48 +01:00
Jakob Linskeseder
e2f63da5c0
Don't create security alerts for dev-dependencies
2021-12-29 22:48:01 +01:00
Jakob Linskeseder
78e7e28ff9
Replace custom test-server with Grunt connect
2021-12-29 21:35:16 +01:00
Jakob Linskeseder
03d387bf8e
Fix rollup warning when importing Handlebars as ESM
...
Closes #1696
2021-12-29 21:35:16 +01:00
Jakob Linskeseder
e0f50b4eec
Add integration-tests to CI workflow
2021-12-29 21:35:16 +01:00
Jakob Linskeseder
9ed9418488
Replace Saucelabs with Playwright
...
Also reorganized npm scripts.
2021-12-29 21:35:16 +01:00
Jakob Linskeseder
ef0fc290b9
Move print-script.js-file in tests-folder
...
Also removed it from published files, since the script doesn't seem to be used.
Fourth part of reorganizing and cleaning up test-folders.
2021-12-29 21:35:16 +01:00
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