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
Jordan Mele
a65a55382c
Moved uglify-js from optionalDependencies to peerDependencies
2020-04-24 22:09:12 +02:00
Hannah Wolfe
8727d2015a
chore: bumping yargs to v15
...
fixes #1673
- we no longer need to pin to yargs 14 for node 6 & 8 support
2020-04-03 21:03:29 +01:00
Hannah Wolfe
75794c5dbc
breaking: drop support for Node.js < v10
...
- handlebars is changing to a policy of only supporting current and active versions of Node.js
2020-04-03 20:03:37 +01:00
Hannah Wolfe
3438891bd2
Revert "Switch cmd parser to latest minimist"
...
This reverts commit c2f1e62031 .
2020-04-03 19:26:21 +01:00
Hannah Wolfe
0ec71dcc5c
Merge branch '4.x'
2020-04-03 19:24:50 +01:00
Hannah Wolfe
e6ad93ea01
v4.7.6
2020-04-03 18:56:22 +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
6f17a8e75c
Merge branch '4.x'
2020-04-02 20:34:06 +01:00
Hannah Wolfe
1fd2edee2a
v4.7.5
2020-04-02 20:09:49 +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
Hannah Wolfe
f8eade7b41
Merge branch '4.x'
2020-04-01 18:54:36 +01:00
Hannah Wolfe
7adc19ab40
v4.7.4
2020-04-01 18:20:30 +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
Nils Knappmeier
2ea32e8db9
Merge branch '4.x'
...
# Conflicts:
# components/bower.json
# components/handlebars.js.nuspec
# components/package.json
# package.json
2020-02-05 06:13:36 +01:00
Nils Knappmeier
c9789691af
v4.7.3
2020-02-05 06:10:33 +01:00
papasmile
a32d05f2fc
Include Type Definition for runtime.js in Package
2020-02-04 21:58:49 +01:00
Nils Knappmeier
586e672c8b
v4.7.2
2020-01-13 21:53:14 +01:00
Nils Knappmeier
14ba3d0c43
v4.7.1
2020-01-12 13:21:08 +01:00
Nils Knappmeier
0d5c807017
v4.7.0
2020-01-10 17:24:06 +01:00
Nils Knappmeier
0c8230c253
Merge branch '4.x'
...
# Conflicts:
# components/bower.json
# components/handlebars.js.nuspec
# components/package.json
# package.json
2020-01-09 00:17:28 +01:00
Nils Knappmeier
91a1b5d2f4
v4.6.0
2020-01-08 23:45:15 +01:00
Nils Knappmeier
d337f40d0e
test: show diff when test:bin fails
2020-01-08 23:17:23 +01:00
Nils Knappmeier
d23ccf636a
Merge branch '4.x'
...
# Conflicts:
# Gruntfile.js
# package-lock.json
# package.json
2019-12-14 18:46:25 +01:00
Nils Knappmeier
14b621caf5
test/style: remove or hide unused code in git.js, add tests
2019-12-14 18:41:06 +01:00
Nils Knappmeier
1ebce2b53c
test/style: use nyc instead of istanbul, npm audit fix
2019-12-14 18:41:06 +01:00
Nils Knappmeier
44ee971e44
Merge branch '4.x'
2019-12-05 08:02:40 +01:00
Nils Knappmeier
c40d9f33ad
chore: active linting and formatting on commit
2019-12-05 08:01:33 +01:00
Nils Knappmeier
4085e066fc
Merge branch 'rebuild'
...
# Conflicts:
# Gruntfile.js
# package-lock.json
# package.json
# spec/amd-runtime.html
# spec/amd.html
2019-12-03 22:28:41 +01:00
Nils Knappmeier
e913dc5f12
chore: restructure build commands
...
- move dtslint (checkTypes) away from Gruntfile.js
(as it disturbs debugging `grunt`)
and call it directly as npm-script in travis-ci
- re-group task definition in Gruntfile.js
- use a multi-job travis build to
run linting, format, dtslint and tests
in parallel
- run only "npm test" on appveyor
- rename Grunt-tasks for be more descriptive
- SAUCE_USERNAME is not a secret variable anymore
it can be easily guessed anyway and the
[secure] value messes up with a lot of the
log output
- linting on commit disable during transition
2019-12-03 22:21:30 +01:00
Nils Knappmeier
1f61f21250
chore: configure prettier and eslint
...
- add prettier to do formatting
- add eslint-config-prettier to
disable rules conflicting with prettier
- remove eslint from grunt workflow
- use lint-stage to lint and format
on precommit
- use eslint and prettier in travis directly
- remove rules that are already part of
the "recommended" ruleset
That rational is that eslint and prettier should be run in
Travis-CI, on commit and as IDE integration (highlighting
errors directlry). They don't need to be run along with
test-cases. Getting linting errors when running the tests
because of missing semicolons is just annoying, but doesn't
help the overall code-quality.
2019-12-02 22:40:05 +01:00
Nils Knappmeier
dce6f54fdf
Merge branch '4.x'
...
# Conflicts:
# components/bower.json
# components/handlebars.js.nuspec
# components/package.json
# package-lock.json
# package.json
# spec/amd-runtime.html
# spec/amd.html
2019-11-18 08:26:56 +01:00
Nils Knappmeier
c819c8b533
v4.5.3
2019-11-18 08:10:26 +01:00
Nils Knappmeier
93516a0b07
test: add sinon.js for spies, deprecate current assertions
...
- the goal is to get overall cleaner test.
- chai and sinon are standard libraries for testing
assertions and spies. We should not use custom ones.
2019-11-15 16:38:28 +01:00
Nils Knappmeier
93e284ed9b
chore: add chai and dirty-chai for better test assertions
2019-11-15 16:38:28 +01:00
Nils Knappmeier
8de121d21c
v4.5.2
2019-11-13 22:07:27 +01:00
Nils Knappmeier
b0bb2a42b4
Merge branch '4.x'
...
# Conflicts:
# components/bower.json
# components/handlebars.js.nuspec
# components/package.json
# package-lock.json
# package.json
2019-11-09 06:47:10 +01:00
Nils Knappmeier
7ef86173ab
v4.5.1
2019-10-29 05:42:23 +01:00
Nils Knappmeier
5e9d17f8fa
fix: move "eslint-plugin-compat" to devDependencies
2019-10-29 05:17:03 +01:00
Nils Knappmeier
b24797da01
v4.5.0
2019-10-28 19:47:51 +01:00
Nils Knappmeier
088e61812a
chore: add eslint-plugin-compat and eslint-plugin-es5
...
- tests are not compiled with babel and must thus be in
es5
- we don't use polyfills, so we need to make sure no
functions aren't used that are not supported by popular browsers. (like Object.assign in Safari and IE11)
- Boths are errors that usually only appear when running
tests in SauceLabs, which happens only on _after_
merging a PR.
2019-10-28 19:17:57 +01:00
Nils Knappmeier
8e1cce7918
v4.4.5
2019-10-20 23:08:10 +02:00
Nils Knappmeier
2ab261eab7
v4.4.4
2019-10-20 21:33:00 +02:00
Nils Knappmeier
566536b03d
Merge branch '4.x'
...
# Conflicts:
# components/bower.json
# components/handlebars.js.nuspec
# components/package.json
# package-lock.json
# package.json
2019-10-08 22:22:01 +02:00
Nils Knappmeier
2e53fba68f
v4.4.3
2019-10-08 22:05:35 +02:00
Nils Knappmeier
b793350fec
v4.4.2
2019-10-02 22:44:36 +02:00
Nils Knappmeier
b7eada0149
chore: fix grunt-saucelabs dependency
2019-10-02 22:42:52 +02:00
Nils Knappmeier
b8e769fcb6
v4.4.1
2019-10-02 21:52:34 +02:00