Commit Graph
4037 Commits
Author SHA1 Message Date
fisker Cheung f83eb9d5ef Preserve non-ASCII whitespace characters in HTML (#8137)
* Add html whitespace tests

* `U+0005` -> `U+2005`

* Update tests

* Fix whitespace

* Add changelog

* Another space

* Restore `non-breaking` check

* Add space between tests

* Extract all space related codes to utils

* Fix indent detect

* Update changelog

* Another space

* Rename

* Rename

* Rename

* Use `htmlTrimFirstLine` and `htmlTrimEnd`

* Assert with output

* `htmlTrimPreserveIndentation`

* Update changelog

* Fix another space
2020-04-25 16:56:28 +03:00
fisker Cheung c0cd681af0 Run tests on Node.js v14 (#8126) 2020-04-25 14:10:44 +08:00
Masashi Hiranoandfisker Cheung 1528e45ff2 JS: Fix end-of-line comments if followed by trailing whitespace (#8069)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2020-04-25 10:38:06 +08:00
Brian Schlenker 2a7515b77e Remove trailing semicolon on single line html style attribute (#8013) 2020-04-25 09:48:26 +08:00
fisker Cheung f470142e16 test: Allow assert output (#8142)
* test: Allow assert output

* Use `outdent`
2020-04-25 09:23:34 +08:00
fisker Cheung a14ba46a81 Add test for issue 8147 (#8148) 2020-04-24 23:18:40 +03:00
fisker Cheung ea2169a97f Build: Fix cache logic (#8128) 2020-04-24 11:00:06 +08:00
fisker Cheung f68114ebf8 website: Use selected text as range (#8089) 2020-04-24 10:38:39 +08:00
fisker Cheung 1c93dcefca Test comments in empty js file (#8115) 2020-04-23 20:36:58 +03:00
Georgii Dolzhykov 9db1d9fae6 add tests from #6259 and #7883 2020-04-23 19:25:42 +03:00
fisker Cheung ab1ea713d6 Missing files on lint (#8127) 2020-04-23 19:33:40 +08:00
dependabot-preview[bot] 23539f1801 Bump escape-string-regexp from 3.0.0 to 4.0.0 (#8132)
Bumps [escape-string-regexp](https://github.com/sindresorhus/escape-string-regexp) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/escape-string-regexp/releases)
- [Commits](https://github.com/sindresorhus/escape-string-regexp/compare/v3.0.0...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-23 13:41:29 +03:00
dependabot-preview[bot] 10bcbbf108 Bump @iarna/toml from 2.2.4 to 2.2.5 (#8133)
Bumps [@iarna/toml](https://github.com/iarna/iarna-toml) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/iarna/iarna-toml/releases)
- [Changelog](https://github.com/iarna/iarna-toml/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/iarna/iarna-toml/compare/v2.2.4...v2.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-23 13:41:17 +03:00
dependabot-preview[bot] 6e53168389 Bump resolve from 1.16.1 to 1.17.0 (#8134)
Bumps [resolve](https://github.com/browserify/resolve) from 1.16.1 to 1.17.0.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.16.1...v1.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-23 13:40:51 +03:00
dependabot-preview[bot] 43ddd7821e Bump rollup from 2.7.1 to 2.7.2 (#8131)
Bumps [rollup](https://github.com/rollup/rollup) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.7.1...v2.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-23 13:40:39 +03:00
dependabot-preview[bot] 9d77fd0f5c Bump eslint-config-prettier from 6.10.1 to 6.11.0 (#8125)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.10.1 to 6.11.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.10.1...v6.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-23 10:38:08 +08:00
dependabot-preview[bot] 4b208edb08 Bump rollup from 2.6.1 to 2.7.1 (#8124)
Bumps [rollup](https://github.com/rollup/rollup) from 2.6.1 to 2.7.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.6.1...v2.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-23 10:37:33 +08:00
fisker Cheung 305fea8a59 Codebase install test (#6373) 2020-04-23 10:37:09 +08:00
dependabot-preview[bot] 52b678a79e Bump webpack from 4.42.1 to 4.43.0 (#8123)
Bumps [webpack](https://github.com/webpack/webpack) from 4.42.1 to 4.43.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.42.1...v4.43.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-22 16:18:51 +03:00
dependabot-preview[bot] 47f57bec57 Bump webpack from 4.42.1 to 4.43.0 in /website (#8118)
Bumps [webpack](https://github.com/webpack/webpack) from 4.42.1 to 4.43.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.42.1...v4.43.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-22 13:49:02 +03:00
dependabot-preview[bot] b3689c6f41 Bump @iarna/toml from 2.2.3 to 2.2.4 (#8102)
Bumps [@iarna/toml](https://github.com/iarna/iarna-toml) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/iarna/iarna-toml/releases)
- [Changelog](https://github.com/iarna/iarna-toml/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/iarna/iarna-toml/compare/v2.2.3...v2.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-22 12:40:08 +08:00
dependabot-preview[bot] cc8eaf1f59 Bump @rollup/plugin-replace from 2.3.1 to 2.3.2 (#8092)
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.3.1...replace-v2.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-22 07:20:46 +09:00
dependabot-preview[bot] 7ca32caae2 Bump @typescript-eslint/typescript-estree from 2.27.0 to 2.29.0 (#8101)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.27.0 to 2.29.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.29.0/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-22 06:09:45 +09:00
Georgii Dolzhykov bba220ec0f Merge branch 'patch-release' 2020-04-21 20:13:24 +03:00
Georgii Dolzhykov d33f8a3e2c Bump Prettier dependency to 2.0.5 2020-04-21 20:09:17 +03:00
Georgii Dolzhykov 6b22977cb5 Release 2.0.5 2020-04-21 20:05:11 +03:00
fisker Cheung 2f6ef511c5 Bump angular-html-parser to v1.5.0 (#8107) 2020-04-21 17:09:39 +03:00
dependabot-preview[bot] c65606f0a3 Bump resolve from 1.16.0 to 1.16.1 (#8099)
Bumps [resolve](https://github.com/browserify/resolve) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.16.0...v1.16.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
# Conflicts:
#	package.json
2020-04-21 17:03:18 +03:00
fisker Cheung 6ad8a7fef3 Use resolve if require.resolve is overridden (#8072)
# Conflicts:
#	package.json
2020-04-21 17:02:48 +03:00
Georgii Dolzhykov 3ce819d72f chore: ignore test*.js in eslint and ts configs 2020-04-21 17:00:39 +03:00
fisker Cheung 09d24debf0 Test json parse errors (#8103) 2020-04-21 14:38:30 +03:00
fisker Cheung d2f51d7494 Fix ignore bug on windows (#8098)
* Fix file ignore bug on windows

* Use `ignore.ignores`

* Fix -stdin-filepath

* Add changelog
2020-04-21 14:33:20 +03:00
dependabot-preview[bot] 34ae463444 Bump @glimmer/syntax from 0.50.4 to 0.51.0 (#8100)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.50.4 to 0.51.0.
- [Release notes](https://github.com/glimmerjs/glimmer-vm/releases)
- [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.50.4...v0.51.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-21 13:43:35 +03:00
dependabot-preview[bot] 9ad12ac49c Bump resolve from 1.16.0 to 1.16.1 (#8099)
Bumps [resolve](https://github.com/browserify/resolve) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.16.0...v1.16.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-21 13:43:06 +03:00
fisker CheungandGeorgii Dolzhykov 3a373074bc Run tests on snippets instead of files (#8088)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-04-21 15:57:58 +08:00
fisker Cheung cfb28d632c Use resolve if require.resolve is overridden (#8072) 2020-04-21 10:09:26 +03:00
Georgii Dolzhykov 299f2cad58 chore: ignore test*.js in eslint and ts configs 2020-04-20 20:06:37 +03:00
dependabot-preview[bot] ea8330a22f Bump @rollup/plugin-json from 4.0.2 to 4.0.3 (#8091)
Bumps [@rollup/plugin-json](https://github.com/rollup/plugins) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/url-v4.0.2...json-v4.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-20 14:01:20 +03:00
dependabot-preview[bot] a9365e9925 Bump cspell from 4.0.56 to 4.0.57 (#8093)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.56 to 4.0.57.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.56...cspell@4.0.57)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-20 14:01:10 +03:00
dependabot-preview[bot] c4e10dd111 Bump jest from 25.3.0 to 25.4.0 (#8090)
Bumps [jest](https://github.com/facebook/jest) from 25.3.0 to 25.4.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v25.3.0...v25.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-20 12:38:08 +03:00
Georgii Dolzhykov b66f4af4d8 playground: fix how ranges are rendered (#8086) 2020-04-20 11:52:19 +03:00
fisker Cheung eaca5dbe26 Correct standalone test environment variable (#8080) 2020-04-20 00:58:04 +03:00
fisker Cheung fc5f5462ea Simplify production tests (#8075) 2020-04-20 00:57:53 +03:00
fisker Cheung 71fbd6149a Refactor production tests (#8073)
# Conflicts:
#	scripts/test-dist.js
2020-04-20 00:57:31 +03:00
Georgii Dolzhykov 58905cdf57 chore: update .gitignore and tsconfig.json
- I often find myself testing formatting on more than one test file, so now files like `test2.js` in the root are ignored.
- Coverage reports contain JS files. `tsc` should ignore them.
2020-04-20 00:45:06 +03:00
fisker Cheung 0f3967b5ab Correct standalone test environment variable (#8080) 2020-04-19 02:29:12 +08:00
fisker Cheung be56c725c0 Show options in test title (#7785)
* Show options in test title

* Update snapshots
2020-04-18 16:09:07 +03:00
dependabot-preview[bot] 34f77e5649 Bump @glimmer/syntax from 0.50.3 to 0.50.4 (#8070)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.50.3 to 0.50.4.
- [Release notes](https://github.com/glimmerjs/glimmer-vm/releases)
- [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.50.3...v0.50.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-18 16:08:37 +03:00
fisker Cheung be094b8886 Simplify production tests (#8075) 2020-04-18 02:17:04 +08:00
fisker Cheung 118b79f0c9 Refactor production tests (#8073) 2020-04-18 01:24:22 +08:00