Bjorn Lu
be1eff0305
[feat] add enableSourcemap option ( #6835 )
2021-10-17 13:04:35 -04:00
Tommy Groshong
a232d68a41
docs: small spelling fixes in docs and comments ( #6653 )
2021-08-15 13:27:43 -07:00
Dominik G
e94d1f50bc
[fix] use consistent relative source filename for js sourcemaps ( #6598 )
2021-08-03 18:03:36 -04:00
Simon H
4ca2af41df
[fix] add filename to combined source map if needed ( #6089 )
2021-07-23 09:44:26 -07:00
Hofer Ivan
5cfefeb6e7
support rendering components in a shadow dom ( #5870 )
2021-07-21 15:51:31 -04:00
Tan Li Hau
cb189ad0ec
[chore] update code-red, estree-walker, is-reference ( #6551 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2021-07-20 22:33:02 -07:00
Tan Li Hau
2cec6a94bc
[feat] sourcemap markup ( #6427 )
...
* sourcemap markup
* sourcemap textnode
* update test
2021-07-10 12:12:44 +08:00
Ben McCann
37b1a20c17
Add spaces next to infix operators ( #5902 )
2021-01-26 20:36:12 -08:00
Conduitry
93cf65d804
Revert "work around mysterious test failure and add TODO"
...
This reverts commit c4419007f0
.
2021-01-25 19:54:29 -05:00
Conduitry
c4419007f0
work around mysterious test failure and add TODO
2021-01-25 17:48:44 -05:00
milahu
0d19f67ec4
Parse attached sourcemap from preprocessor ( #5854 )
2021-01-19 09:53:10 -08:00
dmitrage
68538c61eb
Fix various issues with preprocess source maps ( #5754 )
2020-12-16 10:26:21 -08:00
milahu
3d68ceaf8f
support using decoded sourcemaps from SourceMapGenerator ( #5732 )
...
Co-authored-by: Conduitry <git@chor.date>
2020-11-30 16:08:08 -05:00
halfnelson
dcfbd69516
Preprocessor sourcemap support ( #5584 )
...
Co-authored-by: Milan Hauth <milahu@gmail.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2020-11-19 10:38:41 -08:00
halfnelson
7c1e6a6ce7
refactor sourcemap and preprocessor tests ( #5583 )
...
Co-authored-by: Milan Hauth <milahu@gmail.com>
2020-10-25 08:35:10 -04:00
Ben McCann
229a16d6e7
upgrade ESLint config ( #5472 )
2020-09-29 20:19:43 -04:00
Ben McCann
0645631b28
Use TypeScript in tests ( #5433 )
2020-09-29 11:19:21 -04:00
nomnomnomnom
cf72b41575
fix misaligned line numbers in sourcemaps ( #4738 )
2020-04-28 16:49:44 -04:00
Rich Harris
cd21acfb3c
Bitmask-based change tracking ( #3945 )
...
* start updating tests
* start implementing bitmask-based change tracking (#1943 )
* oops
* fix some await block stuff
* slots
* reactive declarations
* component bindings etc
* start fixing slots
* fix store value invalidations
* slot stuff
* fixes
* fix
* fixes
* fix some slot stuff
* fix some invalidations
* fix if blocks
* fix a test
* destructuring in lets
* fix shadowing
* fix if block case
* all runtime tests passinfg
* almost all tests passing
* update tests
* never hoist writable vars in dev mode, fix debug statements
* beef up shadowing test
* always use renderer.reference
* fix sourcemaps
* ugh so close
* all tests passing. phase one complete, i guess
* add test for component with more than 31 dynamic values
* stable sort
* stable sort that preserves order
* linting
* failing test for bitmask overflow
* ok i think this is it
* lint
* rename changed to dirty, for more internal consistency
* update tests
* use bitwise comparison
* add comments... sort of
* update tests
* moar comments
* I don't know what happened to these tests
2019-11-23 17:51:54 -05:00
Tan Li Hau
5dbb08d19b
allow solo for test suite ( #3747 )
2019-10-23 14:52:49 -04:00
Rich Harris
b9f14846b0
Structured code generation ( #3539 )
2019-10-16 10:57:23 -04:00
James Garbutt
caebe0deb8
Introduce ESLint to svelte sources ( #2958 )
...
* introduce eslint
* add lint npm script
* first eslint run
* use tsc stronger checks for unused vars
* fix strict typescript unused checks
* reintroduce unicode oddities
* revert ordering changes
* revert whitespace changes
* set indent lint rule as error and ignore outliers
* revert some more unicode
* reintroduce scissors unicode again
2019-06-09 11:31:28 -04:00
Richard Harris
80ce72362b
update css tests
2019-03-15 23:12:54 -04:00
Richard Harris
de0aa3ccaa
update sourcemap tests
2019-03-15 22:54:41 -04:00
Rich Harris
206a3d0131
update tests
2019-02-08 09:32:36 -05:00
Rich Harris
687e352209
rename .html files to .svelte
2019-02-08 08:48:10 -05:00
Rich Harris
f45e2b70fd
Implement reactive assignments ( #1839 )
...
This also includes elements of RFCs 2 and 3
2018-12-15 19:18:03 -05:00
Rich Harris
9031c16905
[WIP] Refactor, change where validation occurs ( #1721 )
...
Refactor, change where validation occurs
2018-09-15 17:37:20 -04:00
Rich Harris
5a457bfb87
rename loc to start, include character info in locations
2018-04-16 21:50:57 -04:00
Rich Harris
cae4dd93bf
fix some more tests
2018-04-16 00:03:22 -04:00
Rich Harris
87a8e37150
remove cascade option
2018-04-15 23:53:17 -04:00
Rich Harris
a3add04e7c
remove code, map and cssMap from svelte.compile output
2018-04-15 19:34:42 -04:00
Rich-Harris
9092b1c58a
dont generate test output if no css
2018-04-01 11:17:22 -04:00
Rich-Harris
00877e8ebd
output { js, css, ast } from svelte.compile - fixes #795
2018-04-01 10:46:07 -04:00
Rich Harris
1ad28e6fe6
use base36 for style classes
2018-02-24 19:23:33 -05:00
Rich Harris
9971283671
update tests
2018-02-24 15:26:57 -05:00
Emil Ajdyna
f9fc7c9e91
Base scoping hashes on CSS content rather than entire file
2018-01-13 18:05:01 +01:00
Rich Harris
b5821b846a
fix annoying test failure
2017-11-21 11:47:22 -05:00
Rich Harris
7cc192ad4c
fix test
2017-09-18 15:33:33 -04:00
Rich Harris
7b1299904b
minify css and remove unused styles ( #697 )
2017-07-29 15:51:15 -04:00
Rich Harris
1271510d00
better CSS sourcemaps
2017-07-21 20:37:45 -04:00
Rich Harris
4639b8d349
move css logic into new Stylesheet class, add CSS sourcemap support
2017-07-07 18:06:42 -04:00
Rich Harris
4e28c9b82c
hack sourcemap to mitigate confusion caused by missing data for each block ( #681 )
2017-06-27 11:03:09 -04:00
Rich Harris
10ecd81734
prettierfy test files
2017-06-02 22:04:36 -04:00
Rich-Harris
cf626ff880
retain binding sourcemaps to the extent possible
2017-04-01 17:19:11 -04:00
Rich Harris
da3f751e3c
fix test
2017-03-17 13:58:49 -04:00
Rich Harris
1579c50327
test binding values work with sourcemaps
2017-03-17 11:40:46 -04:00
Rich-Harris
6de2ee1bf8
update gitignore, remove some files from repo
2017-03-15 17:27:02 -04:00
Rich-Harris
60ed068a59
move tests around to facilitate registering babel based on environment
2017-03-07 14:10:28 -05:00
Rich Harris
543ee2f870
update tests
2017-03-01 11:45:55 -05:00