Jakob Linskeseder
29ed243268
Replace shields.io with faster badgen.net
...
Badgen is a faster successor of shields.io:
https://github.com/badgen/badgen.net
2021-12-30 00:57:40 +01:00
Jakob Linskeseder
dd6ff05079
Add npm version and stats to README
2021-12-30 00:47:47 +01:00
Jakob Linskeseder
c18ed16f71
Update repository URL
...
Related to c295ef085f .
2021-12-30 00:47:47 +01:00
Jakob Linskeseder
7e5890cf5a
Fix build-status badge in README
2021-12-30 00:08:26 +01:00
Jakob Linskeseder
c7278d176a
Fix security issue in y18n (CVE-2020-7774)
...
See https://github.com/advisories/GHSA-c4w7-xm78-47vh .
2021-12-30 00:04:27 +01:00
Jay Linski
35ea8e61bf
Merge pull request #1774 from handlebars-lang/merge-4.x
...
Merge branch 4.x into master
2021-12-29 23:47:46 +01:00
Jakob Linskeseder
a98b01c2ee
Fix TypeScript linting
...
Also upgraded to `@definitelytyped/dtslint`.
2021-12-29 23:43:57 +01:00
Jakob Linskeseder
b3b26712d9
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!
```
2021-12-29 23:29:47 +01:00
Jakob Linskeseder
37f4ea18b4
Remove AMD tests
...
AMD modules were removed in v5.
2021-12-29 23:21:14 +01:00
Jakob Linskeseder
48870b41f7
Update to lock-file version 2
2021-12-29 23:11:07 +01:00
Jakob Linskeseder
82c613244a
Merge branch '4.x' into merge-4.x
2021-12-29 23:10:11 +01:00
Jakob Linskeseder
e2f63da5c0
Don't create security alerts for dev-dependencies
2021-12-29 22:48:01 +01:00
Jakob Linskeseder
4da5882660
Remove non-standard package.json property
...
This was added in 88ee4757e7
and is not used anymore since a2687fdf50 .
2021-12-29 21:48:34 +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
476d61667d
Sort in-the-wild list by name
...
Also changed protocol to https.
2021-12-23 23:31:15 +01:00
Jakob Linskeseder
5ba0c72fe6
Add vite-package to in-the-wild list
...
Resolves https://github.com/handlebars-lang/docs/pull/70
2021-12-23 23:31:15 +01:00
Jakob Linskeseder
49621c15ac
Remove archived projects from in-the-wild list
2021-12-23 23:31:15 +01:00
Jakob Linskeseder
1dc2c0bffb
Link to new live demo (playground) on docs site
...
This site is served via HTTPS and provides the latest
Handlebars.js versions.
2021-12-23 23:31:15 +01:00
Jakob Linskeseder
fe58756da2
Fix typos
...
This was found by running an IntellijIDE
code inspection for proofreading.
2021-12-22 20:36:26 +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
Jakob Linskeseder
b0f1a62ddb
Add missing release for tag v4.2.2
2021-12-03 21:01:26 +01:00
Jakob Linskeseder
7d9450d3c3
Add missing release for tag v4.3.5
...
Also updated all URLs
2021-12-03 20:46:55 +01:00
Jay Linski
8eefee56ff
Replace Travis CI with GitHub action ( #1772 )
2021-12-03 19:04:01 +01:00
Mehdi
e538c29d92
Fix Grammar in "compiler-api"
2021-11-24 00:09:56 +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
6790c080c6
Merge branch '4.x'
...
# Conflicts:
# components/bower.json
# components/handlebars.js.nuspec
# components/package.json
# integration-testing/multi-nodejs-test/test.sh
# package-lock.json
# package.json
2021-02-15 10:54:38 +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
Pedro Lamas
2f509a8fca
Add handlebars-action to Handlebars in the Wild ( #1722 )
2021-02-15 08:57:22 +01:00
Chris Garrett
19bdace85a
[FEAT] Extract the Handlebars parser ( #1713 )
...
Extracts the parser to `@handlebars/parser`, where it can be shared
between different implementations. This means that e.g. Glimmer/Ember
will be able to iterate on new features without forcing Handlebars to
adopt them immediately, and vice versa. All implementors will be able to
absorb changes as it makes sense for them.
2021-02-15 08:56:25 +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
Nils Knappmeier
071003b89c
docs: add note about reporting security-issues to contributing.md
2020-11-10 23:50:01 +01:00
Jay Linski
1a08e1d0a7
Update repository links
...
The project was moved, but some links weren't updated accordingly.
2020-08-12 08:42:19 +01:00
Nils Knappmeier
212f9d930b
Merge branch '4.x'
...
# Conflicts:
# integration-testing/multi-nodejs-test/test.sh
# spec/string-params.js
# spec/subexpressions.js
# spec/track-ids.js
2020-05-05 00:08:00 +02:00
John Boehr
77825f8d35
refator: In spec tests, use expectTemplate over equals and shouldThrow ( #1683 )
2020-05-05 00:04:33 +02:00
Jordan Mele
a65a55382c
Moved uglify-js from optionalDependencies to peerDependencies
2020-04-24 22:09:12 +02:00
Tim Gates
b1034a6702
docs: Fix simple typo, mulitple -> multiple
...
There is a small typo in lib/handlebars/compiler/whitespace-control.js.
Should read `multiple` rather than `mulitple`.
2020-04-15 23:04:50 +02:00