Commits
Commits on Oct 29, 2022
-
We have to remove `--failAfterWarnings` from our Rollup integration-test, because Typescript, when targeting es5, will use global `this` for transpilation. Rollup warns about this, since it replaces `this` with `undefined`: ``` src/index.js → dist/bundle.js... (!) `this` has been rewritten to `undefined` https://rollupjs.org/guide/en/#error-this-is-undefined ../../../node_modules/@handlebars/parser/dist/esm/printer.js 1: var __spreadArrays = (this && this.__spreadArrays) || function () {} ``` See https://github.com/handlebars-lang/handlebars-parser/releases/tag/v2.0.0
Copy the full SHA e668696View commit details -
Fix integration-tests by not using browserlist from root
The `browserlist`-config was introduced in 6bc73fd. See https://webpack.js.org/configuration/target/#browserslist.
Copy the full SHA 262b84bView commit details -
Prettier v2 has the following breaking changes: * enforces spaces between `function` and params * enforces trailing commas by default
Copy the full SHA e534a91View commit details -
This is needed in order to use `globalThis`, see #1894. It also made it possible to remove some old polyfills and fallbacks.
Copy the full SHA f6ff3bfView commit details -
Remove support for IE11 and dead browsers
Handlebars v5 will target modern browsers, while older browsers will still receive support via version 4.x.
Copy the full SHA 83baaa4View commit details
Commits on Oct 16, 2022
-
Test on Node 18 and drop EOL Node 10
* Updated lock-file to fix npm/cli#4859. * Updated integration-tests to webpack 5 to fix webpack/webpack#14532. * Added `mode` to webpack-integration-tests to avoid the warning `The 'mode' option has not been set...`. * Replaced outdated `grunt-bg-shell`-package to get rid of coffee-script warnings
Copy the full SHA 785a63eView commit details
Commits on May 17, 2022
-
Fix bundler issue with webpack 5
As explained in issue #1844 and in issue webpack/webpack#15007 (comment), the way we used the `browser`-field was wrong. The main reason for using the `browser`-field is the requirement of `require('fs')` in the main-entry-file. The workaround for this was using `require('handlebars/lib/handlebars')`, but now it will also work via `require('handlebars')` for bundlers that respect the `browser`-field. The `"./runtime"`-config was removed, because it didn't have any effect. In order to detect regressions, the webpack-integration test was extended to test with different webpack versions. Fixes #1174 Closes #1844
Copy the full SHA 9bff03fView commit details
Commits on Jan 1, 2022
-
Remove outdated
ecopackage from benchThe `eco`-templates (Embedded CoffeeScript templates) had their last update over 10 years ago, so we can remove this dependency from our benchmark.
Copy the full SHA 0896d00View commit details
Commits on Dec 29, 2021
-
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! ```
Copy the full SHA b3b2671View commit details -
Copy the full SHA 37f4ea1View commit details -
Copy the full SHA 82c6132View commit details -
Copy the full SHA 78e7e28View commit details -
Copy the full SHA 03d387bView commit details -
Copy the full SHA e0f50b4View commit details -
Copy the full SHA 9ed9418View commit details -
Move
print-script.js-file intests-folderAlso removed it from published files, since the script doesn't seem to be used. Fourth part of reorganizing and cleaning up test-folders.
Copy the full SHA ef0fc29View commit details -
Move
integration-testing-folder intests-folderThird part of reorganizing and cleaning up test-folders.
Copy the full SHA edc65b5View commit details -
Move
bench-folder intests-folderFirst part of reorganizing and cleaning up test-folders.
Copy the full SHA 3bd0fa8View commit details